/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-temporal-gen.cc | 30 GrowableFixedArray list(state()); in TemporalInstantFixedArrayFromIterable() 39 // 3. Let list be a new empty List. in TemporalInstantFixedArrayFromIterable() 42 {list.var_array(), list.var_length(), list.var_capacity()}); in TemporalInstantFixedArrayFromIterable() 61 // iii. Append nextValue to the end of the List list. in TemporalInstantFixedArrayFromIterable() 62 list.Push(next_value); in TemporalInstantFixedArrayFromIterable() 87 return list.ToFixedArray(); in TemporalInstantFixedArrayFromIterable()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_query_sw.c | 119 static const struct pipe_driver_query_info list[] = { variable 130 return ARRAY_SIZE(list); in etna_sw_get_driver_query_info() 132 if (index >= ARRAY_SIZE(list)) in etna_sw_get_driver_query_info() 135 *info = list[index]; in etna_sw_get_driver_query_info() 152 info->max_active_queries = ARRAY_SIZE(list); in etna_sw_get_driver_query_group_info() 153 info->num_queries = ARRAY_SIZE(list); in etna_sw_get_driver_query_group_info()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | buffer9.h | 34 #include "util/list.h" 71 struct list_head list; /* for update_buffers */ member 124 if ((buf->managed.dirty) && list_is_empty(&buf->managed.list)) in NineBindBufferToDevice() 125 list_add(&buf->managed.list, &device->update_buffers); in NineBindBufferToDevice() 131 list_delinit(&old->managed.list); in NineBindBufferToDevice() 142 if (list_is_empty(&(b)->managed.list)) \ 143 list_add(&(b)->managed.list, &(b)->base.base.device->update_buffers); \
|
/third_party/python/Tools/scripts/ |
H A D | dutree.py | 39 list = [] 43 list.append((tsub, key)) 46 ## list.append((total - sum, os.curdir)) 47 list.sort() 48 list.reverse() 49 width = len(repr(list[0][0])) 50 for tsub, key in list:
|
/third_party/typescript/tests/baselines/reference/ |
H A D | contravariantInferenceAndTypeGuard.js | 7 type IteratorFn<TData, TResult, TContext = List<TData>> = (this: TContext, item: TData, node: ListItem<TData>, list: List<TData>) => TResult; 8 type FilterFn<TData, TResult extends TData, TContext = List<TData>> = (this: TContext, item: TData, node: ListItem<TData>, list: List<TData>) => item is TResult; 20 const filter1 = list2.filter(function(item, node, list): item is Test { 24 list; // $ExpectType List<Test | null> 33 var filter1 = list2.filter(function (item, node, list) {
37 list; // $ExpectType List<Test | null>
|
H A D | genericArrayPropertyAssignment.js | 2 function isEmpty(list: {length:number;}) 4 return list.length ===0; 12 function isEmpty(list) {
13 return list.length === 0;
|
/third_party/python/Objects/ |
H A D | accu.c | 63 /* Each item in a list of unicode objects has an overhead (in 64-bit in _PyAccu_Accumulate() 65 * - 8 bytes for the list slot in _PyAccu_Accumulate() 95 PyObject *list, *res; in _PyAccu_Finish() local 97 list = acc->small; in _PyAccu_Finish() 101 list = _PyAccu_FinishAsList(acc); in _PyAccu_Finish() 102 if (!list) in _PyAccu_Finish() 105 res = join_list_unicode(list); in _PyAccu_Finish() 106 Py_DECREF(list); in _PyAccu_Finish()
|
/third_party/selinux/libselinux/utils/ |
H A D | getconlist.c | 22 char **list, *cur_context = NULL; in main() local 71 /* Get the list and print it */ in main() 75 cur_context, &list); in main() 77 ret = get_ordered_context_list(user, cur_context, &list); in main() 79 for (i = 0; list[i]; i++) in main() 80 puts(list[i]); in main() 81 freeconary(list); in main()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api.c | 42 struct list_head list; /* for insertion in enabled ports list */ member 330 * are in sync and correct, return the list of matchin keysets 395 /* Return the list of keyfields for the keyset */ 400 /* Check that the keyset exists in the vcap keyset list */ in vcap_keyfields() 413 /* Check that the keyset exists in the vcap keyset list */ in vcap_keyfieldset() 440 /* Check that the keyset exists in the vcap keyset list */ in vcap_keyfield_count() 543 INIT_LIST_HEAD(&dst->ctrl.list); in vcap_copy_from_client_keyfield() 598 INIT_LIST_HEAD(&dst->ctrl.list); in vcap_copy_from_client_actionfield() 673 list_for_each_entry(ckf, &ri->data.keyfields, ctrl.list) { in vcap_encode_rule_keyset() [all...] |
/kernel/linux/linux-5.10/net/sctp/ |
H A D | bind_addr.c | 55 list_for_each_entry(addr, &src->address_list, list) { in sctp_bind_addr_copy() 67 list_for_each_entry(addr, &src->address_list, list) { in sctp_bind_addr_copy() 92 * the list of bound addresses that the older endpoint used. 104 list_for_each_entry(addr, &src->address_list, list) { in sctp_bind_addr_dup() 123 /* Dispose of the address list. */ 128 /* Empty the bind address list. */ in sctp_bind_addr_clean() 129 list_for_each_entry_safe(addr, temp, &bp->address_list, list) { in sctp_bind_addr_clean() 130 list_del_rcu(&addr->list); in sctp_bind_addr_clean() 139 /* Empty the bind address list. */ in sctp_bind_addr_free() 143 /* Add an address to the bind address list i [all...] |
/kernel/linux/linux-5.10/net/core/ |
H A D | flow_offload.c | 238 list_for_each_entry(block_cb, &block->cb_list, list) { in flow_block_cb_lookup() 327 struct list_head list; member 356 struct list_head list; member 367 list_for_each_entry(cur, &flow_indir_dev_list, list) { in existing_qdiscs_register() 382 list_for_each_entry(indr_dev, &flow_block_indr_dev_list, list) { in flow_indr_dev_register() 397 list_add(&indr_dev->list, &flow_block_indr_dev_list); in flow_indr_dev_register() 411 list_for_each_entry_safe(this, next, &flow_block_indr_list, indr.list) { in __flow_block_indr_cleanup() 414 list_move(&this->indr.list, cleanup_list); in __flow_block_indr_cleanup() 422 list_for_each_entry_safe(this, next, cleanup_list, indr.list) { in flow_block_indr_notify() 423 list_del(&this->indr.list); in flow_block_indr_notify() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/ |
H A D | mtd_blkdevs.c | 11 #include <linux/list.h> 35 list_del(&dev->list); in blktrans_dev_release() 286 list_for_each_entry(d, &tr->devs, list) { in add_mtd_blktrans_dev() 292 list_add_tail(&new->list, &d->list); in add_mtd_blktrans_dev() 300 list_add_tail(&new->list, &d->list); in add_mtd_blktrans_dev() 317 list_add_tail(&new->list, &tr->devs); in add_mtd_blktrans_dev() 407 list_del(&new->list); in add_mtd_blktrans_dev() 456 list_for_each_entry(tr, &blktrans_majors, list) in blktrans_notify_remove() [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | property.c | 90 INIT_LIST_HEAD(&property->list); in tb_property_alloc() 201 list_add_tail(&property->list, &dir->properties); in __tb_property_parse_dir() 300 list_for_each_entry_safe(property, tmp, &dir->properties, list) { in tb_property_free_dir() 301 list_del(&property->list); in tb_property_free_dir() 320 list_for_each_entry(property, &dir->properties, list) { in tb_property_dir_length() 427 list_for_each_entry(property, &dir->properties, list) { in __tb_property_format_dir() 524 list_for_each_entry(property, &dir->properties, list) { in tb_property_copy_dir() 563 list_add_tail(&p->list, &d->properties); in tb_property_copy_dir() 596 list_add_tail(&property->list, &parent->properties); in tb_property_add_immediate() 633 list_add_tail(&property->list, in tb_property_add_data() [all...] |
/kernel/linux/linux-6.6/net/sctp/ |
H A D | bind_addr.c | 55 list_for_each_entry(addr, &src->address_list, list) { in sctp_bind_addr_copy() 67 list_for_each_entry(addr, &src->address_list, list) { in sctp_bind_addr_copy() 92 * the list of bound addresses that the older endpoint used. 104 list_for_each_entry(addr, &src->address_list, list) { in sctp_bind_addr_dup() 123 /* Dispose of the address list. */ 128 /* Empty the bind address list. */ in sctp_bind_addr_clean() 129 list_for_each_entry_safe(addr, temp, &bp->address_list, list) { in sctp_bind_addr_clean() 130 list_del_rcu(&addr->list); in sctp_bind_addr_clean() 139 /* Empty the bind address list. */ in sctp_bind_addr_free() 143 /* Add an address to the bind address list i [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | avc.c | 73 static int avc_parse_nal_units(AVIOContext *pb, NALUList *list, in avc_parse_nal_units() argument 83 const size_t nalu_limit = SIZE_MAX / sizeof(*list->nalus); in avc_parse_nal_units() 92 } else if (list->nb_nalus >= nalu_limit) { in avc_parse_nal_units() 95 NALU *tmp = av_fast_realloc(list->nalus, &list->nalus_array_size, in avc_parse_nal_units() 96 (list->nb_nalus + 1) * sizeof(*list->nalus)); in avc_parse_nal_units() 99 list->nalus = tmp; in avc_parse_nal_units() 100 tmp[list->nb_nalus++] = (NALU){ .offset = nal_start - p, in avc_parse_nal_units() 114 int ff_nal_units_create_list(NALUList *list, cons argument 120 ff_nal_units_write_list(const NALUList *list, AVIOContext *pb, const uint8_t *buf) ff_nal_units_write_list() argument [all...] |
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_struct-json/ |
H A D | main.c | 14 * list of child structs in JSON using lws_struct APIs. 20 lws_dll2_t list; member 33 lws_dll2_t list; member 40 lws_dll2_t list; member 46 lws_dll2_t list; member 87 sai_jig_seq_item_t, list, 93 LSM_LIST (sai_jig_target_t, gpio_owner, sai_jig_gpio_t, list, 95 LSM_LIST (sai_jig_target_t, seq_owner, sai_jig_sequence_t, list, 102 LSM_LIST (sai_jig_t, target_owner, sai_jig_target_t, list, 162 * a child list "target 468 lws_dll2_t list; global() member 740 struct x { lws_dll2_t list; const char *sz; }; main() member [all...] |
/third_party/node/deps/npm/node_modules/yallist/ |
H A D | yallist.js | 7 function Yallist (list) { 17 if (list && typeof list.forEach === 'function') { 18 list.forEach(function (item) { 31 if (node.list !== this) { 32 throw new Error('removing node which does not belong to this list') 53 node.list.length-- 56 node.list = null 66 if (node.list) { 67 node.list [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | gas_server.c | 13 #include "utils/list.h" 24 struct dl_list list; member 36 struct dl_list list; member 48 struct dl_list handlers; /* struct gas_server_handler::list */ 49 struct dl_list responses; /* struct gas_server_response::list */ 72 dl_list_del(&response->list); in gas_server_response_timeout() 155 dl_list_add(&gas->responses, &response->list); in gas_server_send_resp() 225 list) { in gas_server_rx_initial_req() 272 dl_list_del(&response->list); in gas_server_handle_rx_comeback_req() 306 dl_list_del(&response->list); in gas_server_handle_rx_comeback_req() [all...] |
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | bpf_lru_list.c | 16 /* Helpers to get the local list index */ 30 /* Local list helpers */ 77 if (&node->list == l->next_inactive_rotation) in __bpf_lru_node_move_to_free() 83 list_move(&node->list, free_list); in __bpf_lru_node_move_to_free() 86 /* Move nodes from local list to the LRU list */ 98 list_move(&node->list, &l->lists[tgt_type]); in __bpf_lru_node_move_in() 101 /* Move nodes between or within active and inactive list (like 123 if (&node->list == l->next_inactive_rotation) in __bpf_lru_node_move() 126 list_move(&node->list, in __bpf_lru_node_move() [all...] |
/kernel/linux/linux-5.10/fs/proc/ |
H A D | kcore.c | 30 #include <linux/list.h> 88 list_add_tail(&new->list, &kclist_head); in kclist_add() 100 list_for_each_entry(m, &kclist_head, list) { in get_kcore_size() 136 list_add(&ent->list, head); in kcore_ram_list() 157 list_for_each_entry(tmp, head, list) { in get_sparsemem_vmemmap_info() 171 list_add_tail(&vmm->list, head); in get_sparsemem_vmemmap_info() 221 list_add_tail(&ent->list, head); in kclist_add_private() 224 list_del(&ent->list); in kclist_add_private() 234 static int kcore_ram_list(struct list_head *list) in kcore_ram_list() argument 249 ret = walk_system_ram_range(0, end_pfn, list, kclist_add_privat in kcore_ram_list() [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | bpf_lru_list.c | 16 /* Helpers to get the local list index */ 30 /* Local list helpers */ 77 if (&node->list == l->next_inactive_rotation) in __bpf_lru_node_move_to_free() 83 list_move(&node->list, free_list); in __bpf_lru_node_move_to_free() 86 /* Move nodes from local list to the LRU list */ 98 list_move(&node->list, &l->lists[tgt_type]); in __bpf_lru_node_move_in() 101 /* Move nodes between or within active and inactive list (like 123 if (&node->list == l->next_inactive_rotation) in __bpf_lru_node_move() 126 list_move(&node->list, in __bpf_lru_node_move() [all...] |
/kernel/liteos_a/kernel/extended/power/ |
H A D | los_pm.c | 8 * 1. Redistributions of source code must retain the above copyright notice, this list of 11 * 2. Redistributions in binary form must reproduce the above copyright notice, this list 63 LOS_DL_LIST list; member 421 LOS_DL_LIST *list = head->pstNext; in LOS_PmLockInfoShow() local 424 while (list != head) { in LOS_PmLockInfoShow() 425 lock = LOS_DL_LIST_ENTRY(list, OsPmLockCB, list); in LOS_PmLockInfoShow() 427 list = list->pstNext; in LOS_PmLockInfoShow() 442 LOS_DL_LIST *list in OsPmLockRequest() local 518 LOS_DL_LIST *list = head->pstNext; LOS_PmLockRelease() local [all...] |
/kernel/liteos_m/components/power/ |
H A D | los_pm.c | 8 * 1. Redistributions of source code must retain the above copyright notice, this list of 11 * 2. Redistributions in binary form must reproduce the above copyright notice, this list 54 LOS_DL_LIST list; member 556 LOS_DL_LIST *list = head->pstNext; in LOS_PmLockInfoShow() local 561 while (list != head) { in LOS_PmLockInfoShow() 562 lock = LOS_DL_LIST_ENTRY(list, OsPmLockCB, list); in LOS_PmLockInfoShow() 564 list = list->pstNext; in LOS_PmLockInfoShow() 580 LOS_DL_LIST *list in OsPmLockRequest() local 639 LOS_DL_LIST *list = head->pstNext; LOS_PmLockRelease() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dxva2_h264.c | 224 unsigned list; in fill_slice_long() local 247 for (list = 0; list < 2; list++) { in fill_slice_long() 249 for (i = 0; i < FF_ARRAY_ELEMS(slice->RefPicList[list]); i++) { in fill_slice_long() 250 if (list < sl->list_count && i < sl->ref_count[list]) { in fill_slice_long() 251 const H264Picture *r = sl->ref_list[list][i].parent; in fill_slice_long() 258 fill_picture_entry(&slice->RefPicList[list][i], index, in fill_slice_long() 259 sl->ref_list[list][ in fill_slice_long() [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_extplug.c | 69 free(parm->list); in snd_ext_parm_set_minmax() 70 parm->list = NULL; in snd_ext_parm_set_minmax() 78 * set the list of available values for the given parameter 85 int snd_ext_parm_set_list(struct snd_ext_parm *parm, unsigned int num_list, const unsigned int *list) in snd_ext_parm_set_list() argument 92 memcpy(new_list, list, sizeof(*new_list) * num_list); in snd_ext_parm_set_list() 95 free(parm->list); in snd_ext_parm_set_list() 97 parm->list = new_list; in snd_ext_parm_set_list() 104 free(parm->list); in snd_ext_parm_clear() 109 * limit the interval to the given list 111 int snd_interval_list(snd_interval_t *ival, int num_list, unsigned int *list) in snd_interval_list() argument 780 snd_pcm_extplug_set_slave_param_list(snd_pcm_extplug_t *extplug, int type, unsigned int num_list, const unsigned int *list) snd_pcm_extplug_set_slave_param_list() argument 828 snd_pcm_extplug_set_param_list(snd_pcm_extplug_t *extplug, int type, unsigned int num_list, const unsigned int *list) snd_pcm_extplug_set_param_list() argument [all...] |