/AliOS-Things-master/components/ble_host/bt_host/port/aos/ |
A D | work.c | 52 work->handler = handler; in k_work_init() 53 work->start_ms = 0; in k_work_init() 54 work->timeout = 0; in k_work_init() 65 k_work_init(&work->work, handler); in k_delayed_work_init() 73 if (atomic_test_bit(work->work.flags, K_WORK_STATE_PENDING)) { in k_delayed_work_submit() 77 work->work.start_ms = k_uptime_get_32(); in k_delayed_work_submit() 78 work->work.timeout = delay; in k_delayed_work_submit() 89 work->work.timeout = 0; in k_delayed_work_cancel() 90 atomic_clear_bit(work->work.flags, K_WORK_STATE_PENDING); in k_delayed_work_cancel() 100 if (work == NULL) { in k_delayed_work_remaining_get() [all …]
|
A D | event_scheduler.c | 15 struct k_work *work; in scheduler_loop() local 25 work = k_queue_first_entry(&g_work_queue.queue); in scheduler_loop() 29 if (now < (work->start_ms + work->timeout)) { in scheduler_loop() 30 delayed_ms = work->start_ms + work->timeout - now; in scheduler_loop() 49 work = k_queue_first_entry(&g_work_queue.queue); in scheduler_loop() 52 if (now >= (work->start_ms + work->timeout)) { in scheduler_loop() 53 k_queue_remove(&g_work_queue.queue, work); in scheduler_loop() 54 if (atomic_test_and_clear_bit(work->flags, K_WORK_STATE_PENDING) && work->handler) { in scheduler_loop() 55 work->handler(work); in scheduler_loop()
|
/AliOS-Things-master/kernel/rhino/ |
A D | k_workqueue.c | 52 work->handle(work->arg); in worker_task() 179 work->wq = wq; in work_timer_cb() 180 work->work_exit = 1; in work_timer_cb() 195 if (work == NULL) { in krhino_work_init() 203 NULL_PARA_CHK(work); in krhino_work_init() 210 work->arg = arg; in krhino_work_init() 211 work->dly = dly; in krhino_work_init() 216 work->dly, 0, (void *)work, 0); in krhino_work_init() 233 NULL_PARA_CHK(work); in krhino_work_run() 262 work->timer->priv = work; in krhino_work_run() [all …]
|
/AliOS-Things-master/components/osal_aos/rhino/ |
A D | aos_workqueue.c | 89 if (work == NULL) { in aos_work_init() 104 *work = w; in aos_work_init() 109 void aos_work_destroy(aos_work_t *work) in aos_work_destroy() argument 113 if (work == NULL) { in aos_work_destroy() 117 w = *work; in aos_work_destroy() 124 aos_free(*work); in aos_work_destroy() 125 *work = NULL; in aos_work_destroy() 148 if (work == NULL) { in aos_work_sched() 152 ret = krhino_work_sched(*work); in aos_work_sched() 164 if (work == NULL) { in aos_work_cancel() [all …]
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | uasyncio_fair.py.exp | 3 task work 2 5 task work 3 7 task work 2 8 task work 3 9 task work 2 10 task work 2 11 task work 3 12 task work 2
|
/AliOS-Things-master/components/ble_host/include/ |
A D | work.h | 26 typedef void (*k_work_handler_t)(struct k_work *work); 46 int k_work_init(struct k_work *work, k_work_handler_t handler); 47 void k_work_submit(struct k_work *work); 52 struct k_work work; member 55 void k_delayed_work_init(struct k_delayed_work *work, k_work_handler_t handler); 56 int k_delayed_work_submit(struct k_delayed_work *work, uint32_t delay); 57 int k_delayed_work_cancel(struct k_delayed_work *work); 58 int k_delayed_work_remaining_get(struct k_delayed_work *work);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/net_os/ |
A D | net_workqueue.h | 16 typedef void (*work_func_t)(struct work_struct *work); 41 struct work_struct work; member 46 #define work_pending(work)\ argument 47 (((work)->status==WORKQUEUE_INQUEUE)?N_TRUE:N_FALSE) 54 struct work_struct *work); 58 extern bool cancel_work_sync(struct work_struct *work); 64 extern void INIT_WORK_DEF( struct work_struct * work, work_func_t func); 67 #define queue_work(wq, work) ({\ argument 69 __ret = queue_work_def(wq, work);\
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/microfrontend/lib/ |
A D | filterbank.c | 39 uint64_t* work = state->work; in FilterbankAccumulateChannels() local 60 *work++ = weight_accumulator; in FilterbankAccumulateChannels() 121 const uint64_t* work = state->work + 1; in FilterbankSqrt() local 124 uint32_t* output = (uint32_t*)state->work; in FilterbankSqrt() 127 *output++ = Sqrt64(*work++) >> scale_down_shift; in FilterbankSqrt() 129 return (uint32_t*)state->work; in FilterbankSqrt() 133 memset(state->work, 0, (state->num_channels + 1) * sizeof(*state->work)); in FilterbankReset()
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/ |
A D | inftrees.c | 32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument 38 unsigned short FAR *work; 147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 183 base = extra = work; /* dummy value--not used */ 217 if (work[sym] + 1U < match) { 219 here.val = work[sym]; 221 else if (work[sym] >= match) { 222 here.op = (unsigned char)(extra[work[sym] - match]); 223 here.val = base[work[sym] - match]; 254 len = lens[work[sym]];
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/infback9/ |
A D | inftree9.c | 32 int inflate_table9(type, lens, codes, table, bits, work) in inflate_table9() argument 38 unsigned short FAR *work; 141 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 177 base = extra = work; /* dummy value--not used */ 213 if ((int)(work[sym]) < end) { 215 this.val = work[sym]; 217 else if ((int)(work[sym]) > end) { 218 this.op = (unsigned char)(extra[work[sym]]); 219 this.val = base[work[sym]]; 249 len = lens[work[sym]];
|
/AliOS-Things-master/components/py_engine/external/unzip/src/ |
A D | inftrees.c | 32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument 38 unsigned short FAR *work; 147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; 183 base = extra = work; /* dummy value--not used */ 219 if ((int)(work[sym]) < end) { 221 here.val = work[sym]; 223 else if ((int)(work[sym]) > end) { 224 here.op = (unsigned char)(extra[work[sym]]); 225 here.val = base[work[sym]]; 256 len = lens[work[sym]];
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/ |
A D | picture_rescale_enc.c | 171 rescaler_t* const work, in RescalePlane() argument 177 num_channels, work); in RescalePlane() 201 rescaler_t* work; in WebPPictureRescale() local 217 work = (rescaler_t*)WebPSafeMalloc(2ULL * width, sizeof(*work)); in WebPPictureRescale() 218 if (work == NULL) { in WebPPictureRescale() 226 tmp.a, width, height, tmp.a_stride, work, 1); in WebPPictureRescale() 233 tmp.y, width, height, tmp.y_stride, work, 1); in WebPPictureRescale() 245 work = (rescaler_t*)WebPSafeMalloc(2ULL * width * 4, sizeof(*work)); in WebPPictureRescale() 246 if (work == NULL) { in WebPPictureRescale() 259 work, 4); in WebPPictureRescale() [all …]
|
/AliOS-Things-master/components/SDL2/src/hidapi/ |
A D | LICENSE-gpl3.txt | 84 To "modify" a work means to copy from or adapt all or part of the work 87 earlier work or a work "based on" the earlier work. 89 A "covered work" means either the unmodified Program or a work based 114 The "source code" for a work means the preferred form of the work 116 form of a work. 136 work) run the object code and to modify the work, including scripts to 152 same work. 191 modification of the work as a means of enforcing, against the work's 509 covered work in a country, or your recipient's use of the covered work 555 permission to link or combine any covered work with a work licensed [all …]
|
/AliOS-Things-master/kernel/rhino/include/ |
A D | k_workqueue.h | 73 kstat_t krhino_work_init(kwork_t *work, work_handle_t handle, void *arg, tick_t dly); 83 kstat_t krhino_work_run(kworkqueue_t *workqueue, kwork_t *work); 92 kstat_t krhino_work_sched(kwork_t *work); 101 kstat_t krhino_work_cancel(kwork_t *work);
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/examples/ |
A D | README.txt | 7 related or neighboring rights to this work. This work is published from: 15 The source code and comments in this directory are the original work of the 17 the work in this directory.
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/ |
A D | rescaler_utils.c | 25 int num_channels, rescaler_t* const work) { in WebPRescalerInit() argument 70 wrk->irow = work; in WebPRescalerInit() 71 wrk->frow = work + num_channels * dst_width; in WebPRescalerInit() 72 memset(work, 0, 2 * dst_width * num_channels * sizeof(*work)); in WebPRescalerInit()
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/tools/ |
A D | README.txt | 12 related or neighboring rights to this work. This work is published from: 17 The source code and comments in this directory are the original work of the 19 the work in this directory.
|
/AliOS-Things-master/components/SDL2/ |
A D | CREDITS.txt | 10 * Gabriel Jacobo for his work on the Android port and generally helping out all around. 26 * Sheena Smith for many months of great work on the SDL wiki creating the API documentation and sty… 30 * Eli Gottlieb for his work on shaped windows during the Google Summer of Code 2010. 32 * Jim Grandpre for his work on multi-touch and gesture recognition during 38 * Aaron Wishnick for his work on audio resampling and pitch shifting during
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/ |
A D | io_dec.c | 309 rescaler_t* work; in InitYUVRescaler() local 315 tmp_size += work_size * sizeof(*work); in InitYUVRescaler() 323 work = (rescaler_t*)p->memory; in InitYUVRescaler() 333 work); in InitYUVRescaler() 336 work + work_size); in InitYUVRescaler() 489 rescaler_t* work; // rescalers work area in InitRGBRescaler() local 508 work = (rescaler_t*)p->memory; in InitRGBRescaler() 509 tmp = (uint8_t*)(work + tmp_size1); in InitRGBRescaler() 519 work + 0 * work_size); in InitRGBRescaler() 522 work + 1 * work_size); in InitRGBRescaler() [all …]
|
/AliOS-Things-master/components/osal_aos/include/aos/ |
A D | kernel.h | 781 aos_status_t aos_work_init(aos_work_t *work, void (*fn)(void *), void *arg, int dly); 790 void aos_work_destroy(aos_work_t *work); 800 aos_status_t aos_work_run(aos_workqueue_t *workqueue, aos_work_t *work); 809 aos_status_t aos_work_sched(aos_work_t *work); 818 aos_status_t aos_work_cancel(aos_work_t *work);
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | pkcs5.c | 228 unsigned char work[MBEDTLS_MD_MAX_SIZE]; in mbedtls_pkcs5_pbkdf2_hmac() local 255 if( ( ret = mbedtls_md_hmac_finish( ctx, work ) ) != 0 ) in mbedtls_pkcs5_pbkdf2_hmac() 258 memcpy( md1, work, md_size ); in mbedtls_pkcs5_pbkdf2_hmac() 276 work[j] ^= md1[j]; in mbedtls_pkcs5_pbkdf2_hmac() 280 memcpy( out_p, work, use_len ); in mbedtls_pkcs5_pbkdf2_hmac()
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/ |
A D | COPYING | 62 0. This License applies to any program or other work which contains 65 refers to any such program or work, and a "work based on the Program" 66 means either the Program or any derivative work under copyright law: 67 that is to say, a work containing the Program or a portion of it, 75 is covered only if its contents constitute a work based on the 91 of it, thus forming a work based on the Program, and copy and 92 distribute such modifications or work under the terms of Section 1 111 does not normally print such an announcement, your work based on 114 These requirements apply to the modified work as a whole. If 155 The source code for a work means the preferred form of the work for [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/test/images/ |
A D | README.txt | 18 BMP files (anchient BMPv2 since v3 does not work): 23 GIF files (anchient GIF '87 since modern GIF does not work):
|
/AliOS-Things-master/components/SDL2/docs/ |
A D | README-nacl.md | 11 platforms. This does not mean it won't work with the other toolchains! 25 provided by NaCl, without which linking properly to SDL won't work (the search 62 SDL_RWops work transparently with nacl_io. Two functions control the mount points: 83 For more information on how nacl_io and mount points work, see: 102 * Key events don't seem to work properly
|
/AliOS-Things-master/components/osal_aos/ |
A D | README.md | 1173 …work实体,每一个work实体都能对应不同的处理接口。即用户只需要创建一个workqueue,则可以完成多个挂接不同处理函数的工作队列。其次,当某些实时性要求较高的任务中,需要进行较繁重钩子处理… 1175 …ue会挂载多个work处理,每个work处理对应一个处理函数。当workqueue得到调度,即其关联的task得到运行,在每次task的调度期间,都会从工作队列中按照先后顺序取出一个work来进行… 1181 | aos_work_init() | work创建函数 | 1182 | aos_work_destroy() | work销毁函数 | 1183 | aos_work_run() | work触发函数 | 1184 | aos_work_sched() | work触发函数(由系统默认工作队列来执行) | 1301 - 当work延时参数为0时,调用aos_work_run()触发多次,则会在对应工作队列中会被执行多次;若work延迟参数不为0,调用aos_work_run()触发多次,则只会在对应工作队列中被…
|