/third_party/node/lib/internal/ |
H A D | promise_hooks.js | 44 function makeRunHook(list) { 46 const hookSet = ArrayPrototypeSlice(list); 70 function maybeFastPath(list, runAll) { 71 return list.length > 1 ? runAll : list[0]; 82 function stop(list, hook) { 83 const index = ArrayPrototypeIndexOf(list, hook); 85 ArrayPrototypeSplice(list, index, 1); 91 const list = hooks[name]; 94 ArrayPrototypePush(list, hoo [all...] |
/third_party/selinux/libselinux/src/ |
H A D | query_user_context.c | 8 /* context_menu - given a list of contexts, presents a menu of security contexts 9 * to the user. Returns the number (position in the list) of 12 static int context_menu(char ** list) in context_menu() argument 19 for (i = 0; list[i]; i++) in context_menu() 20 printf("[%d] %s\n", i + 1, list[i]); in context_menu() 34 /* query_user_context - given a list of context, allow the user to choose one. The 35 * default is the first context in the list. Returns 0 on 38 int query_user_context(char ** list, char ** usercon) in query_user_context() argument 41 int choice; /* The index in the list of the sid chosen by in query_user_context() 44 if (!list[ in query_user_context() [all...] |
/applications/standard/app_samples/code/SuperFeature/DistributedAppDev/JsDistributedMusicPlayer/entry/src/main/js/MainAbility/model/ |
H A D | RemoteDeviceModel.js | 61 var list = this.#deviceManager.getAvailableDeviceListSync() 62 logger.debug(TAG, `getTrustedDeviceListSync end, deviceList=${JSON.stringify(list)}`) 63 if (typeof (list) != 'undefined' && typeof (list.length) != 'undefined') { 64 this.deviceList = list 79 logger.debug(TAG, `ready, updated device list=${JSON.stringify(this.deviceList)}`) 81 let list = this.deviceManager.getAvailableDeviceListSync() 82 logger.debug(TAG, `getTrustedDeviceListSync end, deviceList=${JSON.stringify(list)}`) 83 if (typeof (list) !== 'undefined' && typeof (list [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | parse-events.h | 8 #include <linux/list.h> 110 struct list_head list; member 133 struct list_head list; member 162 int parse_events__modifier_event(struct list_head *list, char *str, bool add); 163 int parse_events__modifier_group(struct list_head *list, char *event_mod); 164 int parse_events_name(struct list_head *list, char *name); 165 int parse_events_add_tracepoint(struct list_head *list, int *idx, 170 struct list_head *list, 177 struct list_head *list, 181 struct list_head *list, [all...] |
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | tipc_config.h | 13 * notice, this list of conditions and the following disclaimer. 15 * notice, this list of conditions and the following disclaimer in the 318 * A TLV list descriptor simplifies processing of messages 324 __u32 tlv_space; /* # bytes from curr TLV to list end */ 327 static inline void TLV_LIST_INIT(struct tlv_list_desc *list, in TLV_LIST_INIT() argument 330 list->tlv_ptr = (struct tlv_desc *)data; in TLV_LIST_INIT() 331 list->tlv_space = space; in TLV_LIST_INIT() 334 static inline int TLV_LIST_EMPTY(struct tlv_list_desc *list) in TLV_LIST_EMPTY() argument 336 return (list->tlv_space == 0); in TLV_LIST_EMPTY() 339 static inline int TLV_LIST_CHECK(struct tlv_list_desc *list, __u1 argument 344 TLV_LIST_DATA(struct tlv_list_desc *list) TLV_LIST_DATA() argument 349 TLV_LIST_STEP(struct tlv_list_desc *list) TLV_LIST_STEP() argument [all...] |
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | tipc_config.h | 13 * notice, this list of conditions and the following disclaimer. 15 * notice, this list of conditions and the following disclaimer in the 314 * A TLV list descriptor simplifies processing of messages 320 __u32 tlv_space; /* # bytes from curr TLV to list end */ 323 static inline void TLV_LIST_INIT(struct tlv_list_desc *list, in TLV_LIST_INIT() argument 326 list->tlv_ptr = (struct tlv_desc *)data; in TLV_LIST_INIT() 327 list->tlv_space = space; in TLV_LIST_INIT() 330 static inline int TLV_LIST_EMPTY(struct tlv_list_desc *list) in TLV_LIST_EMPTY() argument 332 return (list->tlv_space == 0); in TLV_LIST_EMPTY() 335 static inline int TLV_LIST_CHECK(struct tlv_list_desc *list, __u1 argument 340 TLV_LIST_DATA(struct tlv_list_desc *list) TLV_LIST_DATA() argument 345 TLV_LIST_STEP(struct tlv_list_desc *list) TLV_LIST_STEP() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/ |
H A D | base.c | 9 #include <linux/list.h> 34 list_add_tail(&dssdev->list, &omapdss_devices_list); in omapdss_device_register() 41 list_del(&dssdev->list); in omapdss_device_unregister() 52 list_for_each_entry(dssdev, &omapdss_devices_list, list) { in omapdss_device_is_registered() 80 list_for_each_entry(dssdev, &omapdss_devices_list, list) { in omapdss_find_device_by_node() 95 struct list_head *list; in omapdss_device_next_output() local 108 list = from ? &from->list : &omapdss_devices_list; in omapdss_device_next_output() 110 list_for_each_entry(dssdev, list, list) { in omapdss_device_next_output() 195 struct list_head list; global() member [all...] |
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | tipc_config.h | 168 static inline void TLV_LIST_INIT(struct tlv_list_desc *list, in TLV_LIST_INIT() argument 171 list->tlv_ptr = (struct tlv_desc *)data; in TLV_LIST_INIT() 172 list->tlv_space = space; in TLV_LIST_INIT() 174 static inline int TLV_LIST_EMPTY(struct tlv_list_desc *list) in TLV_LIST_EMPTY() argument 176 return (list->tlv_space == 0); in TLV_LIST_EMPTY() 178 static inline int TLV_LIST_CHECK(struct tlv_list_desc *list, __u16 exp_type) in TLV_LIST_CHECK() argument 180 return TLV_CHECK(list->tlv_ptr, list->tlv_space, exp_type); in TLV_LIST_CHECK() 182 static inline void *TLV_LIST_DATA(struct tlv_list_desc *list) in TLV_LIST_DATA() argument 184 return TLV_DATA(list in TLV_LIST_DATA() 186 TLV_LIST_STEP(struct tlv_list_desc *list) TLV_LIST_STEP() argument [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_returns.c | 72 nir_cf_list list; in predicate_following() local 73 nir_cf_extract(&list, nir_after_cf_node(&if_stmt->cf_node), in predicate_following() 75 assert(!exec_list_is_empty(&list.list)); in predicate_following() 76 nir_cf_reinsert(&list, nir_before_cf_list(&if_stmt->else_list)); in predicate_following() 142 nir_cf_list list; in lower_returns_in_if() local 143 nir_cf_extract(&list, nir_after_cf_node(&if_stmt->cf_node), in lower_returns_in_if() 148 nir_cf_delete(&list); in lower_returns_in_if() 150 nir_cf_reinsert(&list, nir_after_cf_list(&if_stmt->else_list)); in lower_returns_in_if() 152 nir_cf_reinsert(&list, nir_after_cf_lis in lower_returns_in_if() 168 nir_cf_list list; lower_returns_in_block() local [all...] |
/third_party/toybox/toys/pending/ |
H A D | last.c | 33 struct arg_list *list; 38 if (TT.list) { in free_list() 39 llist_traverse(TT.list, llist_free_arg); in free_list() 40 TT.list = NULL; in free_list() 53 // Find a node and dlink it from the list. 54 static struct arg_list *find_and_dlink(struct arg_list **list, char *devname) in find_and_dlink() argument 56 struct arg_list *l = *list; in find_and_dlink() 58 while (*list) { in find_and_dlink() 62 *list = (*list) in find_and_dlink() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_mmu_hpte.c | 65 /* Add to ePTE list */ in kvmppc_mmu_hpte_cache_map() 69 /* Add to ePTE_long list */ in kvmppc_mmu_hpte_cache_map() 74 /* Add to vPTE list */ in kvmppc_mmu_hpte_cache_map() 78 /* Add to vPTE_long list */ in kvmppc_mmu_hpte_cache_map() 84 /* Add to vPTE_64k list */ in kvmppc_mmu_hpte_cache_map() 141 struct hlist_head *list = &vcpu3s->hpte_hash_vpte_long[i]; in kvmppc_mmu_pte_flush_all() local 143 hlist_for_each_entry_rcu(pte, list, list_vpte_long) in kvmppc_mmu_pte_flush_all() 153 struct hlist_head *list; in kvmppc_mmu_pte_flush_page() local 156 /* Find the list of entries in the map */ in kvmppc_mmu_pte_flush_page() 157 list in kvmppc_mmu_pte_flush_page() 172 struct hlist_head *list; kvmppc_mmu_pte_flush_long() local 215 struct hlist_head *list; kvmppc_mmu_pte_vflush_short() local 236 struct hlist_head *list; kvmppc_mmu_pte_vflush_64k() local 258 struct hlist_head *list; kvmppc_mmu_pte_vflush_long() local 309 struct hlist_head *list = &vcpu3s->hpte_hash_vpte_long[i]; kvmppc_mmu_pte_pflush() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_mmu_hpte.c | 65 /* Add to ePTE list */ in kvmppc_mmu_hpte_cache_map() 69 /* Add to ePTE_long list */ in kvmppc_mmu_hpte_cache_map() 74 /* Add to vPTE list */ in kvmppc_mmu_hpte_cache_map() 78 /* Add to vPTE_long list */ in kvmppc_mmu_hpte_cache_map() 84 /* Add to vPTE_64k list */ in kvmppc_mmu_hpte_cache_map() 141 struct hlist_head *list = &vcpu3s->hpte_hash_vpte_long[i]; in kvmppc_mmu_pte_flush_all() local 143 hlist_for_each_entry_rcu(pte, list, list_vpte_long) in kvmppc_mmu_pte_flush_all() 153 struct hlist_head *list; in kvmppc_mmu_pte_flush_page() local 156 /* Find the list of entries in the map */ in kvmppc_mmu_pte_flush_page() 157 list in kvmppc_mmu_pte_flush_page() 172 struct hlist_head *list; kvmppc_mmu_pte_flush_long() local 215 struct hlist_head *list; kvmppc_mmu_pte_vflush_short() local 236 struct hlist_head *list; kvmppc_mmu_pte_vflush_64k() local 258 struct hlist_head *list; kvmppc_mmu_pte_vflush_long() local 309 struct hlist_head *list = &vcpu3s->hpte_hash_vpte_long[i]; kvmppc_mmu_pte_pflush() local [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
H A D | ivtv-queue.c | 34 INIT_LIST_HEAD(&q->list); in ivtv_queue_init() 52 list_add_tail(&buf->list, &q->list); in ivtv_enqueue() 65 if (!list_empty(&q->list)) { in ivtv_dequeue() 66 buf = list_entry(q->list.next, struct ivtv_buffer, list); in ivtv_dequeue() 67 list_del_init(q->list.next); in ivtv_dequeue() 79 struct ivtv_buffer *buf = list_entry(from->list.next, struct ivtv_buffer, list); in ivtv_queue_move_buf() 81 list_move_tail(from->list in ivtv_queue_move_buf() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/ |
H A D | ivtv-queue.c | 34 INIT_LIST_HEAD(&q->list); in ivtv_queue_init() 52 list_add_tail(&buf->list, &q->list); in ivtv_enqueue() 65 if (!list_empty(&q->list)) { in ivtv_dequeue() 66 buf = list_entry(q->list.next, struct ivtv_buffer, list); in ivtv_dequeue() 67 list_del_init(q->list.next); in ivtv_dequeue() 79 struct ivtv_buffer *buf = list_entry(from->list.next, struct ivtv_buffer, list); in ivtv_queue_move_buf() 81 list_move_tail(from->list in ivtv_queue_move_buf() [all...] |
/third_party/node/deps/v8/src/zone/ |
H A D | zone-handle-set.h | 29 return list()->size(); in size() 38 return Handle<T>(list()->at(static_cast<int>(i))); in at() 50 List* list = zone->New<List>(zone); in insert() 52 list->push_back(singleton()); in insert() 53 list->push_back(value); in insert() 55 list->push_back(value); in insert() 56 list->push_back(singleton()); in insert() 58 DCHECK(IsAligned(reinterpret_cast<Address>(list), kPointerAlignment)); in insert() 59 data_ = reinterpret_cast<Address>(list) | kListTag; in insert() 62 List const* const old_list = list(); in insert() 162 List const* list() const { list() function in v8::internal::final [all...] |
/third_party/libdrm/tests/radeon/ |
H A D | radeon_ttm.c | 37 struct list_head list; in ttm_starve_kernel_private_memory() local 42 list_inithead(&list); in ttm_starve_kernel_private_memory() 50 list_add(&bo->list, &list); in ttm_starve_kernel_private_memory() 52 LIST_FOR_EACH_ENTRY_SAFE(bo, tmp, &list, list) { in ttm_starve_kernel_private_memory() 53 list_del(&bo->list); in ttm_starve_kernel_private_memory()
|
/third_party/icu/icu4c/source/common/ |
H A D | ulist.h | 21 U_CAPI void U_EXPORT2 ulist_addItemEndList(UList *list, const void *data, UBool forceDelete, UErrorCode *status); 23 U_CAPI void U_EXPORT2 ulist_addItemBeginList(UList *list, const void *data, UBool forceDelete, UErrorCode *status); 25 U_CAPI UBool U_EXPORT2 ulist_containsString(const UList *list, const char *data, int32_t length); 27 U_CAPI UBool U_EXPORT2 ulist_removeString(UList *list, const char *data); 29 U_CAPI void *U_EXPORT2 ulist_getNext(UList *list); 31 U_CAPI int32_t U_EXPORT2 ulist_getListSize(const UList *list); 33 U_CAPI void U_EXPORT2 ulist_resetList(UList *list); 35 U_CAPI void U_EXPORT2 ulist_deleteList(UList *list);
|
/third_party/node/deps/icu-small/source/common/ |
H A D | ulist.h | 21 U_CAPI void U_EXPORT2 ulist_addItemEndList(UList *list, const void *data, UBool forceDelete, UErrorCode *status); 23 U_CAPI void U_EXPORT2 ulist_addItemBeginList(UList *list, const void *data, UBool forceDelete, UErrorCode *status); 25 U_CAPI UBool U_EXPORT2 ulist_containsString(const UList *list, const char *data, int32_t length); 27 U_CAPI UBool U_EXPORT2 ulist_removeString(UList *list, const char *data); 29 U_CAPI void *U_EXPORT2 ulist_getNext(UList *list); 31 U_CAPI int32_t U_EXPORT2 ulist_getListSize(const UList *list); 33 U_CAPI void U_EXPORT2 ulist_resetList(UList *list); 35 U_CAPI void U_EXPORT2 ulist_deleteList(UList *list);
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ulist.h | 21 U_CAPI void U_EXPORT2 ulist_addItemEndList(UList *list, const void *data, UBool forceDelete, UErrorCode *status); 23 U_CAPI void U_EXPORT2 ulist_addItemBeginList(UList *list, const void *data, UBool forceDelete, UErrorCode *status); 25 U_CAPI UBool U_EXPORT2 ulist_containsString(const UList *list, const char *data, int32_t length); 27 U_CAPI UBool U_EXPORT2 ulist_removeString(UList *list, const char *data); 29 U_CAPI void *U_EXPORT2 ulist_getNext(UList *list); 31 U_CAPI int32_t U_EXPORT2 ulist_getListSize(const UList *list); 33 U_CAPI void U_EXPORT2 ulist_resetList(UList *list); 35 U_CAPI void U_EXPORT2 ulist_deleteList(UList *list);
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_scheduler.cpp | 131 std::list<AluInstr *> alu_trans; 132 std::list<AluInstr *> alu_vec; 133 std::list<TexInstr *> tex; 134 std::list<AluGroup *> alu_groups; 135 std::list<ExportInstr *> exports; 136 std::list<FetchInstr *> fetches; 137 std::list<WriteOutInstr *> mem_write_instr; 138 std::list<MemRingOutInstr *> mem_ring_writes; 139 std::list<GDSInstr *> gds_op; 140 std::list<WriteTFInst [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-buildid-cache.c | 223 struct strlist *list; in build_id_cache__purge_path() local 227 err = build_id_cache__list_build_ids(pathname, nsi, &list); in build_id_cache__purge_path() 231 strlist__for_each_entry(pos, list) { in build_id_cache__purge_path() 238 strlist__delete(list); in build_id_cache__purge_path() 248 struct strlist *list; in build_id_cache__purge_all() local 253 list = build_id_cache__list_all(false); in build_id_cache__purge_all() 254 if (!list) { in build_id_cache__purge_all() 259 strlist__for_each_entry(pos, list) { in build_id_cache__purge_all() 268 strlist__delete(list); in build_id_cache__purge_all() 353 struct strlist *list; in cmd_buildid_cache() local [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-buildid-cache.c | 224 struct strlist *list; in build_id_cache__purge_path() local 228 err = build_id_cache__list_build_ids(pathname, nsi, &list); in build_id_cache__purge_path() 232 strlist__for_each_entry(pos, list) { in build_id_cache__purge_path() 239 strlist__delete(list); in build_id_cache__purge_path() 249 struct strlist *list; in build_id_cache__purge_all() local 254 list = build_id_cache__list_all(false); in build_id_cache__purge_all() 255 if (!list) { in build_id_cache__purge_all() 260 strlist__for_each_entry(pos, list) { in build_id_cache__purge_all() 269 strlist__delete(list); in build_id_cache__purge_all() 368 struct strlist *list; in cmd_buildid_cache() local [all...] |
/third_party/libwebsockets/lib/core-net/ |
H A D | lws-dsh.c | 85 /* initially the whole buffer is on the free kind (0) list */ in lws_dsh_create() 91 lws_dll2_add_head(&obj->list, &dsh->oha[0].owner); in lws_dsh_create() 96 lws_dll2_clear(&dsh->list); in lws_dsh_create() 98 lws_dll2_add_head(&dsh->list, owner); in lws_dsh_create() 109 lws_dsh_obj_t *obj = lws_container_of(d, lws_dsh_obj_t, list); in search_best_free() 133 lws_dll2_remove(&dsh->list); in lws_dsh_destroy() 161 * Search our free list looking for the smallest guy who will fit in _lws_dsh_alloc_tail() 187 * Move the object from the free list to the oha of the in _lws_dsh_alloc_tail() 190 lws_dll2_remove(&s.best->list); in _lws_dsh_alloc_tail() 199 s.best->list in _lws_dsh_alloc_tail() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/lib/ |
H A D | rheap.c | 4 * to place their list. We cannot do that because the memory we manage may 69 /* and fixup list pointers */ in grow() 74 fixup(blks, blke, delta, &blk->list); in grow() 90 /* add all new blocks to the free list */ in grow() 93 list_add(&blk->list, &info->empty_list); in grow() 133 blk = list_entry(info->empty_list.next, rh_block_t, list); in get_slot() 134 list_del_init(&blk->list); in get_slot() 147 list_add(&blk->list, &info->empty_list); in release_slot() 173 blk = list_entry(l, rh_block_t, list); in attach_free_block() 199 /* No coalescing; list inser in attach_free_block() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/lib/ |
H A D | rheap.c | 4 * to place their list. We cannot do that because the memory we manage may 69 /* and fixup list pointers */ in grow() 74 fixup(blks, blke, delta, &blk->list); in grow() 90 /* add all new blocks to the free list */ in grow() 93 list_add(&blk->list, &info->empty_list); in grow() 133 blk = list_entry(info->empty_list.next, rh_block_t, list); in get_slot() 134 list_del_init(&blk->list); in get_slot() 147 list_add(&blk->list, &info->empty_list); in release_slot() 173 blk = list_entry(l, rh_block_t, list); in attach_free_block() 199 /* No coalescing; list inser in attach_free_block() [all...] |