/AliOS-Things-master/components/osal_aos/example/ |
A D | task_example.c | 26 #define MODULE_NAME "aos_task_example" macro 40 printf("[%s]task1 is running!\n", MODULE_NAME); in task1_entry() 41 printf("[%s]task1 resume task2!\n", MODULE_NAME); in task1_entry() 52 printf("[%s]task1 suspend task2!\n", MODULE_NAME); in task1_entry() 55 printf("[%s]task1 resume task2 failed!\n", MODULE_NAME); in task1_entry() 60 printf("[%s]task1 resume task2 again!\n", MODULE_NAME); in task1_entry() 70 printf("[%s]task1 signal a semphone!\n", MODULE_NAME); in task1_entry() 80 printf("[%s]task2 is running!\n", MODULE_NAME); in task2_entry() 83 printf("[%s]task2 wait semphone failed!\n", MODULE_NAME); in task2_entry() 105 printf("[%s]create %s error\n", MODULE_NAME, "task2"); in aos_task_example() [all …]
|
A D | mem_example.c | 20 #define MODULE_NAME "aos_mem_example" macro 41 printf("[%s]aos_malloc error\n", MODULE_NAME); in mem_alloc() 45 printf("[%s]aos_malloc success!\n", MODULE_NAME); in mem_alloc() 63 printf("[%s]aos_zalloc error\n", MODULE_NAME); in mem_alloc() 67 printf("[%s]aos_zalloc success!\n", MODULE_NAME); in mem_alloc() 82 printf("[%s]aos_calloc error\n", MODULE_NAME); in mem_alloc() 86 printf("[%s]aos_calloc success!\n", MODULE_NAME); in mem_alloc() 109 printf("[%s]aos_malloc error\n", MODULE_NAME); in mem_realloc() 124 printf("[%s]aos_realloc task1 error\n", MODULE_NAME); in mem_realloc() 128 printf("[%s]aos_realloc success!\n", MODULE_NAME); in mem_realloc()
|
A D | event_example.c | 24 #define MODULE_NAME "aos_event_example" macro 69 printf("[%s] %p sem wait error\n", MODULE_NAME, (void *)aos_task_self()); in taskA_entry() 77 …printf("[%s][%s]field1=%ld, field2=%ld, field3=%ld, field4=%ld\n", MODULE_NAME, TASKA_NAME, record… in taskA_entry() 103 printf("[%s]%p sem wait error\n", MODULE_NAME, (void *)aos_task_self()); in taskB_entry() 111 …printf("[%s][%s]field1=%ld, field2=%ld, field3=%ld, field4=%ld\n", MODULE_NAME, TASKB_NAME, record… in taskB_entry() 136 printf("[%s]create sem error\n", MODULE_NAME); in aos_event_example() 144 printf("[%s]create %s error\n", MODULE_NAME, TASKA_NAME); in aos_event_example() 151 printf("[%s]create %s error\n", MODULE_NAME, TASKB_NAME); in aos_event_example() 157 printf("[%s]set event 1!\n", MODULE_NAME); in aos_event_example() 163 printf("[%s]set event 2!\n", MODULE_NAME); in aos_event_example()
|
A D | mutex_example.c | 25 #define MODULE_NAME "aos_mutex_example" macro 65 printf("[%s] %p mutex lock error\n", MODULE_NAME, (void *)aos_task_self()); in task_entry() 73 …printf("[%s] %p field1=%ld, field2=%ld, field3=%ld, field4=%ld\n", MODULE_NAME, (void *)aos_task_s… in task_entry() 85 printf("[%s]%p mutex unlock error\n", MODULE_NAME, (void *)aos_task_self()); in task_entry() 100 printf("[%s]create mutex error\n", MODULE_NAME); in aos_mutex_example() 108 printf("[%s]create %s error\n", MODULE_NAME, TASKA_NAME); in aos_mutex_example() 115 printf("[%s]create %s error\n", MODULE_NAME, TASKB_NAME); in aos_mutex_example()
|
A D | queue_example.c | 27 #define MODULE_NAME "aos_queue_example" macro 71 printf("[%s]send buf queue error\n", MODULE_NAME); in taskA_entry() 95 printf("[%s]%d recv message : ", MODULE_NAME, rev_size); in taskB_entry() 101 printf("[%s]recv buf queue error\n", MODULE_NAME); in taskB_entry() 122 printf("[%s]create queue error\n", MODULE_NAME); in aos_queue_example() 130 printf("[%s]create %s error\n", MODULE_NAME, TASKA_NAME); in aos_queue_example() 138 printf("[%s]create %s error\n", MODULE_NAME, TASKB_NAME); in aos_queue_example()
|
A D | timer_example.c | 24 #define MODULE_NAME "aos_timer_example" macro 58 printf("[%s]create timer error\n", MODULE_NAME); in aos_timer_example_task() 67 printf("[%s]timer expires %d times\n", MODULE_NAME, timer_count); in aos_timer_example_task() 79 printf("[%s]timer expires %d times\n", MODULE_NAME, timer_count); in aos_timer_example_task() 89 printf("[%s]create %s error\n", MODULE_NAME, "task_timer_test"); in aos_timer_example()
|
A D | sem_example.c | 26 #define MODULE_NAME "aos_sem_example" macro 66 printf("[%s] %p sem wait error\n", MODULE_NAME, (void *)aos_task_self()); in task_entry() 74 …printf("[%s]%p field1=%ld, field2=%ld, field3=%ld, field4=%ld\n", MODULE_NAME, (void *)aos_task_se… in task_entry() 103 printf("[%s]create sem error\n", MODULE_NAME); in aos_sem_example() 111 printf("[%s]create %s error\n", MODULE_NAME, TASKA_NAME); in aos_sem_example() 118 printf("[%s]create %s error\n", MODULE_NAME, TASKB_NAME); in aos_sem_example()
|
A D | workqueue_example.c | 37 #define MODULE_NAME "aos_workqueue_example" macro
|
/AliOS-Things-master/components/py_engine/external/app_mgr/ |
A D | app_message.h | 12 #define MODULE_NAME aos_get_platform_type() // module type macro
|
A D | app_message.c | 496 res = snprintf(msg, msg_len, DEVICE_INFO_UPDATE_FMT, APPLICATION, MODULE_NAME); in pyamp_devinfo_report_service()
|
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/advanced/aiot/ |
A D | module_aiot.h | 10 #define MODULE_NAME aos_get_platform_type() // module type macro
|
A D | module_aiot_activeinfo.c | 59 MODULE_NAME in amp_app_devinfo_report()
|
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/ |
A D | module_aiot.h | 12 #define MODULE_NAME aos_get_platform_type() // module type macro
|
A D | module_aiot_activeinfo.c | 57 MODULE_NAME); in pyamp_amp_app_devinfo_report()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/aiot/ |
A D | module_aiot.h | 39 #define MODULE_NAME (module_name[MODULE_ID]) macro
|
A D | module_aiot_activeinfo.c | 84 MODULE_NAME in amp_app_devinfo_report()
|