/kernel/linux/linux-6.6/fs/notify/ |
H A D | notification.c | 24 #include <linux/list.h> 60 * from the list by a different CPU than the one freeing the event. in fsnotify_destroy_event() 62 if (!list_empty(&event->list)) { in fsnotify_destroy_event() 64 WARN_ON(!list_empty(&event->list)); in fsnotify_destroy_event() 89 struct list_head *list = &group->notification_list; in fsnotify_insert_event() local 104 if (!list_empty(&group->overflow_event->list)) { in fsnotify_insert_event() 112 if (!list_empty(list) && merge) { in fsnotify_insert_event() 122 list_add_tail(&event->list, list); in fsnotify_insert_event() 137 * We need to init list hea in fsnotify_remove_queued_event() [all...] |
/third_party/mesa3d/src/freedreno/drm/ |
H A D | freedreno_bo_cache.c | 40 list_inithead(&cache->cache_bucket[i].list); in add_bucket() 93 while (!list_is_empty(&bucket->list)) { in fd_bo_cache_cleanup() 94 bo = list_entry(bucket->list.next, struct fd_bo, list); in fd_bo_cache_cleanup() 101 list_del(&bo->list); in fd_bo_cache_cleanup() 136 * NOTE that intel takes ALLOC_FOR_RENDER bo's from the list tail in find_in_bucket() 140 list_for_each_entry (struct fd_bo, entry, &bucket->list, list) { in find_in_bucket() 145 list_delinit(&bo->list); in find_in_bucket() 207 list_addtail(&bo->list, in fd_bo_cache_free() [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
H A D | scheduler.c | 99 list_for_each_entry(ppir_instr, instr, ready_list, list) { in ppir_insert_ready_list() 105 insert_pos = &instr->list; in ppir_insert_ready_list() 110 list_del(&insert_instr->list); in ppir_insert_ready_list() 111 list_addtail(&insert_instr->list, insert_pos); in ppir_insert_ready_list() 120 ppir_instr *instr = list_first_entry(ready_list, ppir_instr, list); in ppir_schedule_ready_list() 121 list_del(&instr->list); in ppir_schedule_ready_list() 123 /* schedule the instr to the block instr list */ in ppir_schedule_ready_list() 124 list_add(&instr->list, &block->instr_list); in ppir_schedule_ready_list() 162 list_for_each_entry(ppir_instr, instr, &instr_list, list) { in ppir_schedule_block() 175 list_for_each_entry_safe(ppir_instr, instr, &instr_list, list) { in ppir_schedule_block() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | instruction_list_test.cpp | 48 // for every element that is in the list. 50 InstructionList* list = new InstructionList(); in TEST() local 51 list->push_back(std::unique_ptr<Instruction>(new Instruction())); in TEST() 52 list->push_back(std::unique_ptr<Instruction>(new Instruction())); in TEST() 53 delete list; in TEST() 72 InstructionList list; in TEST() local 77 auto new_element = list.end().InsertBefore(std::move(inst)); in TEST() 82 for (auto& i : list) { in TEST() 94 InstructionList list; in TEST() local 102 auto new_element = list in TEST() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | instruction_list_test.cpp | 48 // for every element that is in the list. 50 InstructionList* list = new InstructionList(); in TEST() local 51 list->push_back(std::unique_ptr<Instruction>(new Instruction())); in TEST() 52 list->push_back(std::unique_ptr<Instruction>(new Instruction())); in TEST() 53 delete list; in TEST() 72 InstructionList list; in TEST() local 77 auto new_element = list.end().InsertBefore(std::move(inst)); in TEST() 82 for (auto& i : list) { in TEST() 94 InstructionList list; in TEST() local 102 auto new_element = list in TEST() [all...] |
/third_party/spirv-tools/test/opt/ |
H A D | instruction_list_test.cpp | 48 // for every element that is in the list. 50 InstructionList* list = new InstructionList(); in TEST() local 51 list->push_back(std::unique_ptr<Instruction>(new Instruction())); in TEST() 52 list->push_back(std::unique_ptr<Instruction>(new Instruction())); in TEST() 53 delete list; in TEST() 72 InstructionList list; in TEST() local 77 auto new_element = list.end().InsertBefore(std::move(inst)); in TEST() 82 for (auto& i : list) { in TEST() 94 InstructionList list; in TEST() local 102 auto new_element = list in TEST() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | h264_refs.c | 141 int cur_poc, list; in h264_initialise_ref_list() local 149 for (list = 0; list < 2; list++) { in h264_initialise_ref_list() 150 len = add_sorted(sorted, h->short_ref, h->short_ref_count, cur_poc, 1 ^ list); in h264_initialise_ref_list() 151 len += add_sorted(sorted + len, h->short_ref, h->short_ref_count, cur_poc, 0 ^ list); in h264_initialise_ref_list() 154 len = build_def_list(sl->ref_list[list], FF_ARRAY_ELEMS(sl->ref_list[0]), in h264_initialise_ref_list() 156 len += build_def_list(sl->ref_list[list] + len, in h264_initialise_ref_list() 161 if (len < sl->ref_count[list]) in h264_initialise_ref_list() 162 memset(&sl->ref_list[list][le in h264_initialise_ref_list() 275 int list, i, j; h264_fill_mbaff_ref_list() local 300 int list, index, pic_structure; ff_h264_build_ref_list() local 424 int list, index; ff_h264_decode_ref_pic_list_reordering() local [all...] |
/kernel/linux/linux-5.10/arch/sh/kernel/ |
H A D | unwinder.c | 13 #include <linux/list.h> 33 .list = { 43 * "unwinder_list" is a linked-list of all available unwinders, sorted 52 .next = &stack_reader.list, 53 .prev = &stack_reader.list, 73 best = list_entry(unwinder_list.next, struct unwinder, list); in select_unwinder() 90 o = list_entry(tmp, struct unwinder, list); in unwinder_enqueue() 97 list_add(&ops->list, entry); in unwinder_enqueue() 106 * Install the new stack unwinder on the unwinder list, which is sorted 154 list_del(&curr_unwinder->list); in unwind_stack() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_csa.c | 70 struct list_head list; in amdgpu_map_static_csa() local 75 INIT_LIST_HEAD(&list); in amdgpu_map_static_csa() 80 list_add(&csa_tv.head, &list); in amdgpu_map_static_csa() 81 amdgpu_vm_get_pd_bo(vm, &list, &pd); in amdgpu_map_static_csa() 83 r = ttm_eu_reserve_buffers(&ticket, &list, true, NULL); in amdgpu_map_static_csa() 91 ttm_eu_backoff_reservation(&ticket, &list); in amdgpu_map_static_csa() 103 ttm_eu_backoff_reservation(&ticket, &list); in amdgpu_map_static_csa() 107 ttm_eu_backoff_reservation(&ticket, &list); in amdgpu_map_static_csa()
|
/kernel/linux/linux-6.6/arch/sh/kernel/ |
H A D | unwinder.c | 13 #include <linux/list.h> 33 .list = { 43 * "unwinder_list" is a linked-list of all available unwinders, sorted 52 .next = &stack_reader.list, 53 .prev = &stack_reader.list, 73 best = list_entry(unwinder_list.next, struct unwinder, list); in select_unwinder() 90 o = list_entry(tmp, struct unwinder, list); in unwinder_enqueue() 97 list_add(&ops->list, entry); in unwinder_enqueue() 106 * Install the new stack unwinder on the unwinder list, which is sorted 154 list_del(&curr_unwinder->list); in unwind_stack() [all...] |
/third_party/curl/tests/unit/ |
H A D | unit1654.c | 60 fail_unless(asi->list.size == 4, "wrong number of entries"); 66 fail_unless(asi->list.size == 5, "wrong number of entries"); 71 fail_unless(asi->list.size == 6, "wrong number of entries"); 78 fail_unless(asi->list.size == 8, "wrong number of entries"); 84 fail_unless(asi->list.size == 9, "wrong number of entries"); 91 fail_unless(asi->list.size == 10, "wrong number of entries"); 98 fail_unless(asi->list.size == 12, "wrong number of entries"); 104 fail_unless(asi->list.size == 10, "wrong number of entries");
|
/third_party/ninja/src/ |
H A D | string_piece_util.cc | 41 string JoinStringPiece(const vector<StringPiece>& list, char sep) { in JoinStringPiece() argument 42 if (list.empty()) { in JoinStringPiece() 49 size_t cap = list.size() - 1; in JoinStringPiece() 50 for (size_t i = 0; i < list.size(); ++i) { in JoinStringPiece() 51 cap += list[i].len_; in JoinStringPiece() 56 for (size_t i = 0; i < list.size(); ++i) { in JoinStringPiece() 60 ret.append(list[i].str_, list[i].len_); in JoinStringPiece()
|
/third_party/alsa-lib/src/control/ |
H A D | hcontrol.c | 362 list_add_tail(&elem->list, &hctl->elems); in snd_hctl_elem_add() 368 list_add(&elem->list, &hctl->pelems[idx]->list); in snd_hctl_elem_add() 371 list_add_tail(&elem->list, &hctl->pelems[idx]->list); in snd_hctl_elem_add() 387 list_del(&elem->list); in snd_hctl_elem_remove() 439 list_add_tail(&hctl->pelems[k]->list, &hctl->elems); in snd_hctl_sort() 503 return list_entry(hctl->elems.next, snd_hctl_elem_t, list); in snd_hctl_first_elem() 516 return list_entry(hctl->elems.prev, snd_hctl_elem_t, list); in snd_hctl_last_elem() 527 if (elem->list in snd_hctl_elem_next() 567 snd_ctl_elem_list_t list; snd_hctl_load() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_part_upd/foreach/ |
H A D | foreach_element.h | 19 #include <list> 50 void SetIdArray(const std::list<std::string>& newIdArray) in SetIdArray() 55 const std::list<std::string>& GetIdArray() const in GetIdArray() 69 void RemoveUnusedChildElementsFromRegistery(const std::list<std::string>& newIds) const; 89 // adds elements from given list into a Map with key Element.GetSlot 90 static void MakeElementByIdMap(const std::list<RefPtr<Element>>& elmts, 91 const std::list<std::string>& ids, std::map<std::string, Ace::RefPtr<Element>>& result); 94 std::list<std::string> idArray_;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
H A D | repeat_node.h | 20 #include <list> 49 void FinishRepeatRender(std::list<int32_t>& removedElmtId); 56 const std::list<std::string>& GetTempIds() const in GetTempIds() 61 void SetIds(std::list<std::string>&& ids) in SetIds() 73 std::list<std::string> ids_; 76 std::list<std::string> tempIds_; 77 std::list<RefPtr<UINode>> tempChildren_;
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/ |
H A D | rs_single_frame_composer.h | 19 #include <list>
34 bool SingleFrameModifierAddToList(RSModifierType type, std::list<std::shared_ptr<RSRenderModifier>>& modifierList);
43 bool FindSingleFrameModifier(const std::list<std::shared_ptr<RSRenderModifier>>& modifierList);
44 void EraseSingleFrameModifier(std::list<std::shared_ptr<RSRenderModifier>>& modifierList);
45 void SingleFrameModifierAdd(std::list<std::shared_ptr<RSRenderModifier>>& singleFrameModifierList,
46 std::list<std::shared_ptr<RSRenderModifier>>& modifierList);
48 std::map<RSModifierType, std::list<std::shared_ptr<RSRenderModifier>>> singleFrameDrawCmdModifiers_;
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | resource_ext.h | 9 #include <linux/list.h> 20 * Common resource list management data structure and interfaces to support 63 #define resource_list_for_each_entry(entry, list) \ 64 list_for_each_entry((entry), (list), node) 66 #define resource_list_for_each_entry_safe(entry, tmp, list) \ 67 list_for_each_entry_safe((entry), (tmp), (list), node) 70 resource_list_first_type(struct list_head *list, unsigned long type) in resource_list_first_type() argument 74 resource_list_for_each_entry(entry, list) { in resource_list_first_type()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | resource_ext.h | 9 #include <linux/list.h> 20 * Common resource list management data structure and interfaces to support 63 #define resource_list_for_each_entry(entry, list) \ 64 list_for_each_entry((entry), (list), node) 66 #define resource_list_for_each_entry_safe(entry, tmp, list) \ 67 list_for_each_entry_safe((entry), (tmp), (list), node) 70 resource_list_first_type(struct list_head *list, unsigned long type) in resource_list_first_type() argument 74 resource_list_for_each_entry(entry, list) { in resource_list_first_type()
|
/kernel/linux/linux-6.6/io_uring/ |
H A D | alloc_cache.h | 18 wq_stack_add_head(&entry->node, &cache->list); in io_alloc_cache_put() 28 return !cache->list.next; in io_alloc_cache_empty() 33 if (cache->list.next) { in io_alloc_cache_get() 36 entry = container_of(cache->list.next, struct io_cache_entry, node); in io_alloc_cache_get() 38 cache->list.next = cache->list.next->next; in io_alloc_cache_get() 49 cache->list.next = NULL; in io_alloc_cache_init()
|
/third_party/curl/tests/libtest/ |
H A D | lib1975.c | 42 struct curl_slist *list = NULL; in test() local 64 list = curl_slist_append(list, "Content-Type: application/json"); in test() 65 if(!list) in test() 67 curl_slist_append(list, "X-Amz-Content-Sha256: " in test() 69 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test() 80 curl_slist_free_all(list); in test()
|
/third_party/icu/icu4c/source/common/ |
H A D | localeprioritylist.h | 22 * Parses a list of locales from an accept-language string. 65 const Locale *locale = list.localeAt(index++); 76 Iterator(const LocalePriorityList &list) : list(list), length(list.getLength()) {} in Iterator() argument 78 const LocalePriorityList &list; member in LocalePriorityList::Iterator 106 LocaleAndWeightArray *list = nullptr; member in LocalePriorityList
|
/third_party/node/tools/ |
H A D | utils.py | 7 # notice, this list of conditions and the following disclaimer. 9 # copyright notice, this list of conditions and the following 35 # Reads a .list file into an array of strings 37 list = [] 44 list.append(line) 45 return list 114 list = glob.glob(dir+ '/**/*.' + ext, recursive=True) 116 list = [ x.replace('\\', '/')for x in list] 117 return sorted(list) [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | localeprioritylist.h | 22 * Parses a list of locales from an accept-language string. 65 const Locale *locale = list.localeAt(index++); 76 Iterator(const LocalePriorityList &list) : list(list), length(list.getLength()) {} in Iterator() argument 78 const LocalePriorityList &list; member in LocalePriorityList::Iterator 106 LocaleAndWeightArray *list = nullptr; member in LocalePriorityList
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | localeprioritylist.h | 22 * Parses a list of locales from an accept-language string. 65 const Locale *locale = list.localeAt(index++); 76 Iterator(const LocalePriorityList &list) : list(list), length(list.getLength()) {} in Iterator() argument 78 const LocalePriorityList &list; member in LocalePriorityList::Iterator 106 LocaleAndWeightArray *list = nullptr; member in LocalePriorityList
|
/foundation/arkui/ace_engine/interfaces/napi/kits/observer/ |
H A D | ui_observer.h | 19 #include <list> 115 std::unordered_map<std::optional<std::string>, std::list<std::shared_ptr<UIObserverListener>>>; 123 static std::list<std::shared_ptr<UIObserverListener>> unspecifiedNavigationListeners_; 124 static std::unordered_map<std::string, std::list<std::shared_ptr<UIObserverListener>>> 126 static std::list<std::shared_ptr<UIObserverListener>> scrollEventListeners_; 127 static std::unordered_map<std::string, std::list<std::shared_ptr<UIObserverListener>>> 129 static std::unordered_map<napi_ref, std::list<std::shared_ptr<UIObserverListener>>> 131 static std::unordered_map<int32_t, std::list<std::shared_ptr<UIObserverListener>>> 134 static std::unordered_map<int32_t, std::list<std::shared_ptr<UIObserverListener>>> 136 static std::unordered_map<int32_t, std::list<st [all...] |