/third_party/python/Lib/test/ |
H A D | test_bytes.py | 79 self.assertEqual(list(b), list(range(256))) 90 self.assertEqual(list(b), list(range(256))) 95 self.assertEqual(list(b), list(range(256))[1::2]) 108 self.assertEqual(list(b), list(range(256))) 114 b = self.type2test(list(range(256))) 116 self.assertEqual(list( [all...] |
H A D | test_context.py | 249 self.assertEqual(list(ctx1.items()), [(c, 'spam2')]) 250 self.assertEqual(list(ctx1.values()), ['spam2']) 251 self.assertEqual(list(ctx1.keys()), [c]) 252 self.assertEqual(list(ctx1), [c]) 260 self.assertEqual(list(ctx2), []) 283 self.assertEqual(list(ctx.keys()), []) 286 self.assertEqual(list(ctx.keys()), [c]) 290 self.assertEqual(list(ctx.keys()), []) 358 results = list(tp.map(sub, range(10))) 361 self.assertEqual(results, list(rang [all...] |
H A D | _test_multiprocessing.py | 277 # bpo-45735: Using list or tuple as *args* in constructor could 280 args_types = (list, tuple) 287 # pass a tuple or list as args 397 self.assertTrue(type(self.active_children()) is list) 520 self.assertEqual(type(self.active_children()), list) 1715 # Many of the tests for threading.Barrier use a list as an atomic 1717 # length of the list gives the value. We use the class DummyList 1830 return self.manager.list() 2155 self.assertEqual(list(arr[2:7]), list(se 5881 list = property(operator.attrgetter('manager.list')) global() variable in ManagerMixin [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | bss.c | 165 struct wpa_bss_anqp_elem, list))) { in wpa_bss_anqp_free() 166 dl_list_del(&elem->list); in wpa_bss_anqp_free() 228 dl_list_del(&bss->list); in wpa_bss_remove() 257 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { in wpa_bss_get() 415 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { in wpa_bss_remove_oldest_unknown() 441 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { in wpa_bss_remove_oldest() 511 dl_list_add_tail(&wpa_s->bss, &bss->list); in wpa_bss_add() 680 * for the same BSS if that BSS's channel changes. The BSS list in wpa_bss_update() 731 /* Move the entry to the end of the list */ in wpa_bss_update() 732 dl_list_del(&bss->list); in wpa_bss_update() [all...] |
/third_party/node/deps/v8/tools/ignition/ |
H A D | linux_perf_bytecode_annotate_test.py | 70 offsets = list( 76 disassembly = list(
|
/third_party/node/benchmark/buffers/ |
H A D | buffer-concat-fill.js | 13 const list = Array.from({ length: pieces }) 20 Buffer.concat(list, totalLength);
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | test-show-type.c | 7 static void show_symbols(struct symbol_list *list) in show_symbols() argument 11 FOR_EACH_PTR(list, sym) { in show_symbols()
|
H A D | compile-i386.c | 28 * TODO list: 577 struct textbuf *tmp, *list = *buf_p; in textbuf_push() local 579 unsigned int alloc_len = text_len + 1 + sizeof(*list); in textbuf_push() 589 /* add to end of list */ in textbuf_push() 590 if (!list) { in textbuf_push() 591 list = tmp; in textbuf_push() 594 tmp->prev = list->prev; in textbuf_push() 596 list->prev = tmp; in textbuf_push() 598 tmp->next = list; in textbuf_push() 600 *buf_p = list; in textbuf_push() 605 struct textbuf *tmp, *list = *buf_p; textbuf_emit() local 996 struct expression *entry, **list; sort_array() local [all...] |
/third_party/skia/src/gpu/ |
H A D | GrFinishCallbacks.h | 14 #include <list> 19 * Maintains a list of callbacks to be called when work on the GPU is complete. 28 * Call all the callbacks in the list. This will block until all work is done. 35 * Add a new callback to the list. 49 * Returns true if the callback list is empty. 61 std::list<FinishCallback> fCallbacks;
|
/third_party/skia/third_party/externals/tint/src/diagnostic/ |
H A D | diagnostic.cc | 23 List::List(std::initializer_list<Diagnostic> list) : entries_(list) {} in List() argument
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_debugobj_r.py | 10 ti = debugobj_r.WrappedObjectTreeItem(list) 11 self.assertEqual(ti.append, list.append)
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_clone.c | 191 /* clone list of nir_variable: */ 194 const struct exec_list *list) in clone_var_list() 197 foreach_list_typed(nir_variable, var, node, list) { in clone_var_list() 225 /* clone list of nir_register: */ 228 const struct exec_list *list) in clone_reg_list() 231 foreach_list_typed(nir_register, reg, node, list) { in clone_reg_list() 455 /* Stash it in the list of phi sources. We'll walk this list and fix up in clone_phi() 543 * the list. NIR guarantees that the tail of the list i in clone_block() 193 clone_var_list(clone_state *state, struct exec_list *dst, const struct exec_list *list) clone_var_list() argument 227 clone_reg_list(clone_state *state, struct exec_list *dst, const struct exec_list *list) clone_reg_list() argument 607 clone_cf_list(clone_state *state, struct exec_list *dst, const struct exec_list *list) clone_cf_list() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_setup.c | 823 list_del(&variant->list_item_global.list); in remove_setup_variant() 846 if (list_is_empty(&lp->setup_variants_list.list)) { in cull_setup_variants() 849 item = list_last_entry(&lp->setup_variants_list.list, in cull_setup_variants() 850 struct lp_setup_variant_list_item, list); in cull_setup_variants() 872 LIST_FOR_EACH_ENTRY(li, &lp->setup_variants_list.list, list) { in llvmpipe_update_setup() 881 list_move_to(&variant->list_item_global.list, &lp->setup_variants_list.list); in llvmpipe_update_setup() 889 list_add(&variant->list_item_global.list, &lp->setup_variants_list.list); in llvmpipe_update_setup() [all...] |
/third_party/node/deps/v8/src/api/ |
H A D | api-natives.cc | 561 Handle<TemplateList> list; in AddPropertyToPropertyList() local 563 list = TemplateList::New(isolate, length); in AddPropertyToPropertyList() 565 list = handle(TemplateList::cast(maybe_list), isolate); in AddPropertyToPropertyList() 573 list = TemplateList::Add(isolate, list, value); in AddPropertyToPropertyList() 575 templ->set_property_list(*list); in AddPropertyToPropertyList() 666 Handle<TemplateList> list; in AddNativeDataProperty() local 668 list = TemplateList::New(isolate, 1); in AddNativeDataProperty() 670 list = handle(TemplateList::cast(maybe_list), isolate); in AddNativeDataProperty() 672 list in AddNativeDataProperty() [all...] |
/third_party/alsa-lib/src/control/ |
H A D | control_shm.c | 153 static int snd_ctl_shm_elem_list(snd_ctl_t *ctl, snd_ctl_elem_list_t *list) in snd_ctl_shm_elem_list() argument 158 size_t bytes = list->space * sizeof(*list->pids); in snd_ctl_shm_elem_list() 160 snd_ctl_elem_id_t *pids = list->pids; in snd_ctl_shm_elem_list() 163 ctrl->u.element_list = *list; in snd_ctl_shm_elem_list() 168 *list = ctrl->u.element_list; in snd_ctl_shm_elem_list() 169 list->pids = pids; in snd_ctl_shm_elem_list() 170 bytes = list->used * sizeof(*list->pids); in snd_ctl_shm_elem_list()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
H A D | linux_workqueue.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 125 INIT_LIST_HEAD(&wq->list); in __create_workqueue_key() 238 struct list_head *list = head; in WorkListAdd() local 240 list = list->next; in WorkListAdd() 241 if (list == head) { in WorkListAdd() 244 work = worklist_entry(list, struct work_struct, entry); in WorkListAdd() 247 ListAdd(newNode, list->prev, list); in WorkListAdd() [all...] |
/third_party/node/deps/v8/tools/gcmole/ |
H A D | gcmole.py | 76 print(mark * 2, str(format).format(*list(map(str, args)))) 136 args = list(map(str, args)) 271 for condition, files in list(sources.items()): 315 for (key, value) in list(pattern_dict.items()))) 381 for funcname, callers in list(self.funcs.items()): 401 # gcsuspects contains a list("mangled_full_name,name") of all functions that 409 for name, value in list(collector.gc.items()): 412 # gccauses contains a map["mangled_full_name,name"] => list(inner gcsuspects) 426 for name, causes in list(collector.gc_caused.items()): 542 archs = list(ARCHITECTURE [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_compiler.c | 432 bool rc_run_compiler_passes(struct radeon_compiler *c, struct radeon_compiler_pass *list) in rc_run_compiler_passes() argument 434 for (unsigned i = 0; list[i].name; i++) { in rc_run_compiler_passes() 435 if (list[i].predicate) { in rc_run_compiler_passes() 436 list[i].run(c, list[i].user); in rc_run_compiler_passes() 441 if ((c->Debug & RC_DBG_LOG) && list[i].dump) { in rc_run_compiler_passes() 442 fprintf(stderr, "%s: after '%s'\n", shader_name[c->type], list[i].name); in rc_run_compiler_passes() 450 /* Executes a list of compiler passes given in the parameter 'list'. */ 451 void rc_run_compiler(struct radeon_compiler *c, struct radeon_compiler_pass *list) in rc_run_compiler() argument [all...] |
/third_party/toybox/lib/ |
H A D | lib.h | 18 // All these list types can be handled by the same code because first element 45 void llist_traverse(void *list, void (*using)(void *node)); 46 void *llist_pop(void *list); // actually void **list 47 void *dlist_pop(void *list); // actually struct double_list **list 48 void *dlist_lpop(void *list); // also struct double_list **list 49 void dlist_add_nomalloc(struct double_list **list, struct double_list *new); 50 struct double_list *dlist_add(struct double_list **list, cha [all...] |
/third_party/toybox/porting/liteos_a/lib/ |
H A D | lib.h | 18 // All these list types can be handled by the same code because first element 45 void llist_traverse(void *list, void (*using)(void *node)); 46 void *llist_pop(void *list); // actually void **list 47 void *dlist_pop(void *list); // actually struct double_list **list 48 void *dlist_lpop(void *list); // also struct double_list **list 49 void dlist_add_nomalloc(struct double_list **list, struct double_list *new); 50 struct double_list *dlist_add(struct double_list **list, cha [all...] |
/third_party/gn/src/gn/ |
H A D | function_toolchain.cc | 125 deps [string list] 130 This is expressed as a list of targets, and generally these targets will 364 resulting file. These files are used to list header file dependencies 448 outputs [list of strings with substitutions] 477 partial_outputs [list of strings with substitutions] 485 list one object file per source file when whole module optimization 580 runtime_outputs [string list with substitutions] 583 If specified, this list is the subset of the outputs that should be 634 If there is more than one output, this will expand to a list of all of 704 Expands to the inputs to the link step. This will be a list o [all...] |
/third_party/curl/lib/ |
H A D | cookie.c | 59 For a given host and path, return a linked list of cookies that 333 struct curl_slist *list = data->state.cookielist; in Curl_cookie_loadfiles() local 334 if(list) { in Curl_cookie_loadfiles() 336 while(list) { in Curl_cookie_loadfiles() 338 Curl_cookie_init(data, list->data, data->cookies, in Curl_cookie_loadfiles() 345 infof(data, "ignoring failed cookie_init for %s", list->data); in Curl_cookie_loadfiles() 348 list = list->next; in Curl_cookie_loadfiles() 1378 * For a given host and path, return a linked list of cookies that the client 1429 * entry for the return-linked-list in Curl_cookie_getlist() 1719 struct curl_slist *list = NULL; cookie_list() local 1752 struct curl_slist *list; Curl_cookie_list() local [all...] |
/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | descriptor_containers.cc | 10 // notice, this list of conditions and the following disclaimer. 12 // copyright notice, this list of conditions and the following disclaimer 34 // They avoid the allocation of a full dictionary or a full list: they simply 137 // The kind of container: list, or dict by name or value. 155 // The kind of container: list, or dict by name or value. 331 // backward compatibility) to a list containing the same items. 346 // If other is a list in DescriptorSequence_Equal() 348 // return list(self) == other in DescriptorSequence_Equal() 477 ScopedPyObjectPtr list(PyList_New(count)); in Keys() 478 if (list in Keys() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | bss.c | 177 struct wpa_bss_anqp_elem, list))) { in wpa_bss_anqp_free() 178 dl_list_del(&elem->list); in wpa_bss_anqp_free() 240 dl_list_del(&bss->list); in wpa_bss_remove() 266 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { in wpa_bss_get() 391 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { in wpa_bss_remove_oldest_unknown() 417 dl_list_for_each(bss, &wpa_s->bss, struct wpa_bss, list) { in wpa_bss_remove_oldest() 457 dl_list_add_tail(&wpa_s->bss, &bss->list); in wpa_bss_add() 615 * for the same BSS if that BSS's channel changes. The BSS list in wpa_bss_update() 653 /* Move the entry to the end of the list */ in wpa_bss_update() 654 dl_list_del(&bss->list); in wpa_bss_update() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | g2meet.c | 94 struct ePICPixListElem *list; member 445 new_elem->next = hash_elem->list; in epic_add_pixel_to_cache() 446 hash_elem->list = new_elem; in epic_add_pixel_to_cache() 456 if (hash_elem != NULL && hash_elem->list != NULL) in epic_cache_entries_for_pixel() 468 ePICPixListElem *list_elem = hash->bucket[i][j].list; in epic_free_pixel_cache() 771 ePICPixListElem *list, *prev = NULL; in epic_decode_from_cache() local 774 if (!hash_elem || !hash_elem->list) in epic_decode_from_cache() 777 list = hash_elem->list; in epic_decode_from_cache() 778 while (list) { in epic_decode_from_cache() [all...] |