/AliOS-Things-master/components/SDL2/src/core/linux/ |
A D | SDL_evdev.c | 257 for (item = _this->first; item != NULL; item = item->next) { in SDL_EVDEV_Poll() 263 if (item->out_of_sync && item->is_touchscreen && in SDL_EVDEV_Poll() 480 item->touchscreen_data = SDL_calloc(1, sizeof(*item->touchscreen_data)); in SDL_EVDEV_init_touchscreen() 714 for (item = _this->first; item != NULL; item = item->next) { in SDL_EVDEV_device_added() 721 if (item == NULL) { in SDL_EVDEV_device_added() 726 if (item->fd < 0) { in SDL_EVDEV_device_added() 727 SDL_free(item); in SDL_EVDEV_device_added() 733 close(item->fd); in SDL_EVDEV_device_added() 734 SDL_free(item); in SDL_EVDEV_device_added() 767 for (item = _this->first; item != NULL; item = item->next) { in SDL_EVDEV_device_removed() [all …]
|
A D | SDL_udev.c | 163 SDL_UDEV_CallbackList *item; in SDL_UDEV_Quit() local 184 item = _this->first; in SDL_UDEV_Quit() 186 SDL_free(item); in SDL_UDEV_Quit() 218 for (item = devs; item; item = _this->syms.udev_list_entry_get_next(item)) { in SDL_UDEV_Scan() 475 for (item = _this->first; item != NULL; item = item->next) { in device_event() 515 if (item == NULL) { in SDL_UDEV_AddCallback() 519 item->callback = cb; in SDL_UDEV_AddCallback() 525 _this->last = item; in SDL_UDEV_AddCallback() 537 for (item = _this->first; item != NULL; item = item->next) { in SDL_UDEV_DelCallback() 549 SDL_free(item); in SDL_UDEV_DelCallback() [all …]
|
/AliOS-Things-master/components/SDL2/src/joystick/emscripten/ |
A D | SDL_sysjoystick.c | 59 SDL_zerop(item); in Emscripten_JoyStickConnected() 122 prev = item; in Emscripten_JoyStickDisconnected() 123 item = item->next; in Emscripten_JoyStickDisconnected() 154 SDL_free(item); in Emscripten_JoyStickDisconnected() 165 for (item = SDL_joylist; item; item = next) { in EMSCRIPTEN_JoystickQuit() 241 item = item->next; in JoystickByDeviceIndex() 244 return item; in JoystickByDeviceIndex() 261 item = item->next; in JoystickByIndex() 264 return item; in JoystickByIndex() 347 if (item) { in EMSCRIPTEN_JoystickUpdate() [all …]
|
/AliOS-Things-master/components/SDL2/src/joystick/android/ |
A D | SDL_sysjoystick.c | 235 if (item && item->joystick) { in Android_OnPadDown() 253 if (item && item->joystick) { in Android_OnPadUp() 269 if (item && item->joystick) { in Android_OnJoy() 286 if (item && item->joystick) { in Android_OnHat() 463 item = item->next; in Android_RemoveJoystick() 546 item = item->next; in JoystickByDevIndex() 549 return item; in JoystickByDevIndex() 561 item = item->next; in JoystickByDeviceId() 571 item = item->next; in JoystickByDeviceId() 669 if (item) { in ANDROID_JoystickClose() [all …]
|
/AliOS-Things-master/components/SDL2/src/haptic/android/ |
A D | SDL_syshaptic.c | 80 item = item->next; in HapticByOrder() 82 return item; in HapticByOrder() 89 for (item = SDL_hapticlist; item != NULL; item = item->next) { in HapticByDevId() 92 return item; in HapticByDevId() 102 if (item == NULL ) { in SDL_SYS_HapticName() 106 return item->name; in SDL_SYS_HapticName() 134 return item; in OpenHaptic() 205 for (item = SDL_hapticlist; item; item = next) { in SDL_SYS_HapticQuit() 337 for (item = SDL_hapticlist; item != NULL; item = item->next) { in Android_RemoveHaptic() 340 const int retval = item->haptic ? item->haptic->index : -1; in Android_RemoveHaptic() [all …]
|
/AliOS-Things-master/components/SDL2/src/core/alios/ |
A D | SDL_evdev.c | 261 item->touchscreen_data = SDL_calloc(1, sizeof(*item->touchscreen_data)); in SDL_EVDEV_init_touchscreen() 356 SDL_evdevlist_item *item; in SDL_EVDEV_device_added() local 359 for (item = _this->first; item != NULL; item = item->next) { in SDL_EVDEV_device_added() 366 if (item == NULL) { in SDL_EVDEV_device_added() 371 if (item->fd < 0) { in SDL_EVDEV_device_added() 372 SDL_free(item); in SDL_EVDEV_device_added() 378 close(item->fd); in SDL_EVDEV_device_added() 379 SDL_free(item); in SDL_EVDEV_device_added() 387 close(item->fd); in SDL_EVDEV_device_added() 388 SDL_free(item); in SDL_EVDEV_device_added() [all …]
|
/AliOS-Things-master/components/cjson/src/ |
A D | cJSON.c | 2081 item->prev->next = item->next; in cJSON_DetachItemViaPointer() 2086 item->next->prev = item->prev; in cJSON_DetachItemViaPointer() 2249 if(item) in cJSON_CreateNull() 2260 if(item) in cJSON_CreateTrue() 2271 if(item) in cJSON_CreateFalse() 2282 if(item) in cJSON_CreateBool() 2293 if(item) in cJSON_CreateNumber() 2319 if(item) in cJSON_CreateString() 2369 if(item) in cJSON_CreateRaw() 2950 item = cJSON_GetObjectItem(item, next); in cJSON_GetObjectItemByPath() [all …]
|
/AliOS-Things-master/components/kv/src/ |
A D | kv.c | 75 if (item) { in kv_item_free() 313 if (item->hdr.crc == calc_crc8((uint8_t *)p, item->len)) { in __item_recovery_cb() 315 (item->pos != item->hdr.origin_off)) { in __item_recovery_cb() 344 item->store = (char *)kv_malloc(item->hdr.key_len + item->hdr.val_len); in __item_find_cb() 349 res = kv_flash_read(item->pos + KV_ITEM_HDR_SIZE, item->store, in __item_find_cb() 542 if (!memcmp(item->store + item->hdr.key_len, val, len)) { in kv_item_update() 928 if (!item) { in kv_item_get() 937 memcpy(buffer, (item->store + item->hdr.key_len), item->hdr.val_len); in kv_item_get() 957 if (!item) { in kv_item_delete() 1060 if (!item) { in kv_item_secure_get() [all …]
|
/AliOS-Things-master/components/SDL2/src/haptic/windows/ |
A D | SDL_windowshaptic.c | 84 const int retval = item->haptic ? item->haptic->index : -1; in SDL_SYS_RemoveHapticDevice() 96 SDL_free(item); in SDL_SYS_RemoveHapticDevice() 118 item = item->next; in HapticByDevIndex() 120 return item; in HapticByDevIndex() 130 return item->name; in SDL_SYS_HapticName() 140 if (item->bXInputHaptic) { in SDL_SYS_HapticOpen() 155 SDL_hapticlist_item *item; in SDL_SYS_HapticMouse() local 159 for (item = SDL_hapticlist; item != NULL; item = item->next) { in SDL_SYS_HapticMouse() 271 for (item = SDL_hapticlist; item; item = next) { in SDL_SYS_HapticQuit() 275 next = item->next; in SDL_SYS_HapticQuit() [all …]
|
A D | SDL_xinputhaptic.c | 72 for (item = SDL_hapticlist; item; item = item->next) { in SDL_XINPUT_MaybeAddDevice() 73 if (item->bXInputHaptic && item->userid == userid) { in SDL_XINPUT_MaybeAddDevice() 84 if (item == NULL) { in SDL_XINPUT_MaybeAddDevice() 88 SDL_zerop(item); in SDL_XINPUT_MaybeAddDevice() 97 if (!item->name) { in SDL_XINPUT_MaybeAddDevice() 98 SDL_free(item); in SDL_XINPUT_MaybeAddDevice() 120 for (item = SDL_hapticlist; item != NULL; item = item->next) { in SDL_XINPUT_MaybeRemoveDevice() 121 if (item->bXInputHaptic && item->userid == userid) { in SDL_XINPUT_MaybeRemoveDevice() 125 prev = item; in SDL_XINPUT_MaybeRemoveDevice() 240 for (item = SDL_hapticlist; item != NULL; item = item->next) { in SDL_XINPUT_HapticOpenFromJoystick() [all …]
|
/AliOS-Things-master/components/linkkit/infra/ |
A D | infra_cjson.c | 164 item->size = 0; in parse_array() 1712 if (item) { in lite_cjson_create_null() 1716 return item; in lite_cjson_create_null() 1722 if (item) { in lite_cjson_create_true() 1726 return item; in lite_cjson_create_true() 1732 if (item) { in lite_cjson_create_false() 1742 if (item) { in lite_cjson_create_bool() 1752 if (item) { in lite_cjson_create_number() 1771 if (item) { in lite_cjson_create_string() 1787 if (item) { in lite_cjson_create_array() [all …]
|
/AliOS-Things-master/components/SDL2/src/joystick/linux/ |
A D | SDL_sysjoystick.c | 273 for (item = SDL_joylist; item != NULL; item = item->next) { in MaybeAddDevice() 339 for (item = SDL_joylist; item != NULL; item = item->next) { in MaybeRemoveDevice() 344 item->hwdata->item = NULL; in MaybeRemoveDevice() 380 if (item->hwdata && item->hwdata->gone) { in HandlePendingRemovals() 381 item->hwdata->item = NULL; in HandlePendingRemovals() 409 item = item->next; in HandlePendingRemovals() 456 for (item = SDL_joylist; item != NULL; item = item->next) { in SteamControllerDisconnectedCallback() 460 item->hwdata->item = NULL; in SteamControllerDisconnectedCallback() 593 item = item->next; in JoystickByDevIndex() 806 joystick->hwdata->item = item; in LINUX_JoystickOpen() [all …]
|
/AliOS-Things-master/components/linkkit/external/nghttp2/ |
A D | nghttp2_outbound_item.c | 32 item->cycle = 0; in nghttp2_outbound_item_init() 33 item->qnext = NULL; in nghttp2_outbound_item_init() 34 item->queued = 0; in nghttp2_outbound_item_init() 43 if (item == NULL) { in nghttp2_outbound_item_free() 47 frame = &item->frame; in nghttp2_outbound_item_free() 81 aux_data = &item->aux_data.ext; in nghttp2_outbound_item_free() 110 q->tail = q->tail->qnext = item; in nghttp2_outbound_queue_push() 112 q->head = q->tail = item; in nghttp2_outbound_queue_push() 119 nghttp2_outbound_item *item; in nghttp2_outbound_queue_pop() local 123 item = q->head; in nghttp2_outbound_queue_pop() [all …]
|
A D | nghttp2_submit.c | 86 if (item == NULL) { in submit_headers_shared() 118 frame = &item->frame; in submit_headers_shared() 254 if (item == NULL) { in nghttp2_submit_priority() 260 frame = &item->frame; in nghttp2_submit_priority() 352 if (item == NULL) { in nghttp2_submit_push_promise() 360 frame = &item->frame; in nghttp2_submit_push_promise() 557 if (item == NULL) { in nghttp2_submit_altsvc() 568 frame = &item->frame; in nghttp2_submit_altsvc() 679 if (item == NULL) { in nghttp2_submit_data() 685 frame = &item->frame; in nghttp2_submit_data() [all …]
|
/AliOS-Things-master/components/epoll/src/ |
A D | device.c | 44 pdev = item->epoll; in lwip_epoll_notify() 50 item->revents = revent; in lwip_epoll_notify() 54 item->rdy = 1; in lwip_epoll_notify() 60 item->rdy = 0; in lwip_epoll_notify() 76 pdev = item->epoll; in vfs_epoll_notify() 86 item->rdy = 1; in vfs_epoll_notify() 99 ret = lwip_set_epoll_callback(item->fd, lwip_epoll_notify, item); in epoll_add_event_cb() 105 ret = aos_do_pollfd(item->fd, true, vfs_epoll_notify, &item->compat_evt, item); in epoll_add_event_cb() 232 item->fd = data->fd; in epoll_set_item() 233 item->rdy = 0; in epoll_set_item() [all …]
|
/AliOS-Things-master/components/py_engine/modules/driver/ |
A D | board_mgr.c | 51 board_item_t **item; member 109 item = gpio; in board_parse_gpio() 223 item = uart; in board_parse_uart() 358 item = i2c; in board_parse_i2c() 460 item = spi; in board_parse_spi() 542 item = pwm; in board_parse_pwm() 800 if (NULL == item || cJSON_String != item->type) { in board_parse_json_buff() 835 item = mgr_handle->item[i]; in board_get_items() 896 if (NULL == item || 1 == item->status) { in py_board_attach_item() 942 if (NULL == item || 0 == item->status) { in py_board_get_node_by_name() [all …]
|
/AliOS-Things-master/components/amp/services/board_mgr/ |
A D | board_mgr.c | 50 board_item_t **item; member 120 item = gpio; in board_parse_gpio() 249 item = uart; in board_parse_uart() 402 item = i2c; in board_parse_i2c() 519 item = spi; in board_parse_spi() 1380 if (NULL == item || cJSON_String != item->type) { in board_parse_json_buff() 1402 if (NULL == item || cJSON_String != item->type) { in board_parse_json_buff() 1455 item = mgr_handle->item[i]; in board_get_items() 1525 if (NULL == item || 1 == item->status) in board_attach_item() 1576 if (NULL == item || 0 == item->status) in board_get_node_by_name() [all …]
|
/AliOS-Things-master/components/SDL2/src/haptic/linux/ |
A D | SDL_syshaptic.c | 210 item = item->next; in HapticByDevIndex() 213 return item; in HapticByDevIndex() 258 for (item = SDL_hapticlist; item != NULL; item = item->next) { in MaybeAddDevice() 282 if (item == NULL) { in MaybeAddDevice() 288 SDL_free(item); in MaybeAddDevice() 320 for (item = SDL_hapticlist; item != NULL; item = item->next) { in MaybeRemoveDevice() 323 const int retval = item->haptic ? item->haptic->index : -1; in MaybeRemoveDevice() 343 prev = item; in MaybeRemoveDevice() 486 for (item = SDL_hapticlist; item; item = item->next) { in SDL_SYS_HapticMouse() 563 for (item = SDL_hapticlist; item; item = item->next) { in SDL_SYS_HapticOpenFromJoystick() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/doc/ |
A D | jsbignum.texi | 199 @item LN2 200 @item PI 285 @item 288 @item 445 @item + 446 @item - 447 @item * 450 @item % 454 @item / 471 @item < [all …]
|
A D | quickjs.texi | 100 @item -h 108 @item -i 112 @item -m 138 @item -d 142 @item -q 156 @item -c 158 @item -e 167 @item -m 174 @item -x 409 @item in [all …]
|
/AliOS-Things-master/components/SDL2/src/ |
A D | SDL_assert.c | 101 while (item != NULL) { in SDL_GenerateAssertionReport() 107 item->condition, item->function, item->filename, in SDL_GenerateAssertionReport() 108 item->linenum, item->trigger_count, in SDL_GenerateAssertionReport() 110 item->always_ignore ? "yes" : "no"); in SDL_GenerateAssertionReport() 111 item = item->next; in SDL_GenerateAssertionReport() 415 SDL_assert_data *item; in SDL_ResetAssertionReport() local 416 for (item = triggered_assertions; item != NULL; item = next) { in SDL_ResetAssertionReport() 417 next = (SDL_assert_data *) item->next; in SDL_ResetAssertionReport() 418 item->always_ignore = SDL_FALSE; in SDL_ResetAssertionReport() 419 item->trigger_count = 0; in SDL_ResetAssertionReport() [all …]
|
/AliOS-Things-master/components/cjson/include/ |
A D | cJSON.h | 154 CJSON_PUBLIC(char *) cJSON_Print(const cJSON *item); 156 CJSON_PUBLIC(char *) cJSON_PrintUnformatted(const cJSON *item); 177 CJSON_PUBLIC(char *) cJSON_GetStringValue(cJSON *item); 181 CJSON_PUBLIC(cJSON_bool) cJSON_IsFalse(const cJSON * const item); 182 CJSON_PUBLIC(cJSON_bool) cJSON_IsTrue(const cJSON * const item); 183 CJSON_PUBLIC(cJSON_bool) cJSON_IsBool(const cJSON * const item); 184 CJSON_PUBLIC(cJSON_bool) cJSON_IsNull(const cJSON * const item); 185 CJSON_PUBLIC(cJSON_bool) cJSON_IsNumber(const cJSON * const item); 186 CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item); 187 CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item); [all …]
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/src/location/model/ |
A D | DescribeEndpointsResult.cc | 42 for (const auto &item : allEndpoints) { in parse() local 44 region.endpoint = item["Endpoint"].asString(); in parse() 45 region.id = item["Id"].asString(); in parse() 46 region.namespace_ = item["Namespace"].asString(); in parse() 47 region.serivceCode = item["SerivceCode"].asString(); in parse() 48 region.type = item["Type"].asString(); in parse() 49 auto allProtocols = item["Protocols"]["Protocols"]; in parse() 50 for (const auto &item : allProtocols) { in parse() local 51 region.protocols.push_back(item.asString()); in parse()
|
/AliOS-Things-master/components/freetype/src/tools/ftrandom/ |
A D | ftrandom.c | 254 item->isbinary = item->isascii = item->ishex = false; in figurefiletype() 274 item->isbinary = true; in figurefiletype() 279 item->isbinary = true; in figurefiletype() 286 item->ishex = true; in figurefiletype() 293 item->isbinary = true; in figurefiletype() 298 item->ishex = true; in figurefiletype() 303 item->isbinary = true; in figurefiletype() 309 item->isbinary = true; in figurefiletype() 322 item->name ); in figurefiletype() 323 item->isbinary = true; in figurefiletype() [all …]
|
/AliOS-Things-master/components/SDL2/src/haptic/darwin/ |
A D | SDL_syshaptic.c | 209 item = item->next; in HapticByDevIndex() 212 return item; in HapticByDevIndex() 233 for (item = SDL_hapticlist; item ; item = item->next) in MacHaptic_MaybeAddDevice() 242 if (item == NULL) { in MacHaptic_MaybeAddDevice() 301 for (item = SDL_hapticlist; item != NULL; item = item->next) { in MacHaptic_MaybeRemoveDevice() 304 const int retval = item->haptic ? item->haptic->index : -1; in MacHaptic_MaybeRemoveDevice() 324 prev = item; in MacHaptic_MaybeRemoveDevice() 338 return item->name; in SDL_SYS_HapticName() 584 for (item = SDL_hapticlist; item; item = item->next) { in SDL_SYS_HapticMouse() 646 for (item = SDL_hapticlist; item; item = item->next) { in SDL_SYS_HapticOpenFromJoystick() [all …]
|