/third_party/alsa-lib/src/control/ |
H A D | setup.c | 49 struct list_head list; member 63 snd_sctl_elem_t *elem = list_entry(h->elems.next, snd_sctl_elem_t, list); in free_elems() 69 list_del(&elem->list); in free_elems() 90 snd_sctl_elem_t *elem = list_entry(pos, snd_sctl_elem_t, list); in snd_sctl_install() 187 snd_sctl_elem_t *elem = list_entry(pos, snd_sctl_elem_t, list); in snd_sctl_remove() 571 list_add_tail(&elem->list, &h->elems); in add_elem()
|
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
H A D | CodeMangler.java | 46 private String header; // sorted list of defines passed in 146 ArrayList list = new ArrayList(); in CodeMangler() 148 list.add(args[x]); in CodeMangler() 155 list.add(line); in CodeMangler() 158 args = (String[])list.toArray(new String[list.size()]); in CodeMangler() 298 count += process(npath, fin.list(filter)); // recursive call in process()
|
/third_party/libdrm/freedreno/msm/ |
H A D | msm_ringbuffer.c | 40 struct list_head list; member 99 * list of msm_cmd's which correspond to each chunk of cmdstream in 124 return LIST_LAST_ENTRY(&msm_ring->cmd_list, struct msm_cmd, list); in current_cmd() 130 list_del(&cmd->list); in ring_cmd_del() 191 list_addtail(&cmd->list, &msm_ring->cmd_list); in ring_cmd_new() 325 LIST_FOR_EACH_ENTRY_SAFE(cmd, tmp, &msm_ring->cmd_list, list) { in delete_cmds() 623 LIST_FOR_EACH_ENTRY(cmd, &msm_target->cmd_list, list) { in msm_ringbuffer_emit_reloc_ring()
|
/third_party/ltp/testcases/kernel/power_management/lib/ |
H A D | pm_sched_mc.py | 161 if not cpu_phy_id in list(cpu_map.keys()): 165 if not core_id in list(core_info.keys()): 179 if not cpu_phy_id in list(cpu_map.keys()): 189 ''' Routine to generate siblings list 213 # Exclude cpu_id in the list of siblings 237 ''' Read /proc/interrupts info and store in list 570 ids_list = list() 652 cpu_group = list() 703 cpus_utilized = list()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | dissect.c | 33 typeof(l__->list[0]) p__; \ 41 typeof(l1__->list[0]) p1__; \ 42 typeof(l2__->list[0]) p2__; \ 58 static void do_sym_list(struct symbol_list *list); 650 static void do_sym_list(struct symbol_list *list) in do_sym_list() argument 652 DO_LIST(list, sym, do_symbol(sym)); in do_sym_list()
|
H A D | inline.c | 207 struct expression_list *list = expr->args; in copy_expression() local 213 FOR_EACH_PTR(list, arg) { in copy_expression() 219 /* Initializer list statement */ in copy_expression() 221 struct expression_list *list = expr->expr_list; in copy_expression() local 225 FOR_EACH_PTR(list, entry) { in copy_expression() 323 static void unset_replace_list(struct symbol_list *list) in unset_replace_list() argument 326 FOR_EACH_PTR(list, sym) { in unset_replace_list()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_tess.c | 434 list_inithead(&llvm_tcs->variants.list); in draw_create_tess_ctrl_shader() 494 LIST_FOR_EACH_ENTRY_SAFE(li, next, &shader->variants.list, list) { in draw_delete_tess_ctrl_shader() 535 list_inithead(&llvm_tes->variants.list); in draw_create_tess_eval_shader() 621 LIST_FOR_EACH_ENTRY_SAFE(li, next, &shader->variants.list, list) { in draw_delete_tess_eval_shader()
|
/third_party/python/Lib/ |
H A D | codecs.py | 192 for a list of possible values. 266 for a list of possible values. 380 def writelines(self, list): 382 """ Writes the concatenated list of strings to the stream 385 self.write(''.join(list)) 609 and return them as a list. 612 method and are included in the list entries. 723 def writelines(self, list): 725 return self.writer.writelines(list) 839 def writelines(self, list) [all...] |
/third_party/vk-gl-cts/executor/ |
H A D | xeTestLogWriter.cpp | 439 const ri::SampleList& list = static_cast<const ri::SampleList&>(item); in writeResultItem() local 441 << Writer::Attribute("Name", list.name) in writeResultItem() 442 << Writer::Attribute("Description", list.description); in writeResultItem() 444 writeResultItem(list.sampleInfo, dst); in writeResultItem() 446 for (int ndx = 0; ndx < list.samples.getNumItems(); ndx++) in writeResultItem() 447 writeResultItem(list.samples.getItem(ndx), dst); in writeResultItem()
|
/third_party/toybox/kconfig/ |
H A D | confdata.c | 384 if (menu->list) return menu->list; in next_menu() 465 for (menu = rootmenu.list; menu; menu = next_menu(menu)) in conf_write() 474 menu = rootmenu.list; in conf_write() 541 if (menu->list) { in conf_write() 542 menu = menu->list; in conf_write()
|
/third_party/python/Lib/test/ |
H A D | test_bisect.py | 212 precomputed_arr = list(map(keyfunc, arr)) 225 precomputed_arr = list(map(keyfunc, arr)) 241 # a target list, the targetlist remains sorted. 243 data = list(range(-10, 11)) + list(range(-20, 20, 2)) 277 for insorted in (list(), UserList()): 291 class List(list):
|
H A D | test_pkgutil.py | 129 # assert path must be None or list of paths 130 expected_msg = "path must be None or list of paths to look for modules in" 132 list(pkgutil.iter_modules("invalid_path")) 224 list(pkgutil.walk_packages(str_input)) 228 list(pkgutil.walk_packages(bytes_input)) 429 importers = list(iter_importers(fullname)) 447 list(iter_importers('invalid.module')) 450 list(iter_importers('.spam'))
|
/third_party/python/Modules/ |
H A D | _lsprof.c | 362 /* grab a ProfilerContext out of the free list */ in ptrace_enter_call() 368 /* free list exhausted, allocate a new one */ in ptrace_enter_call() 400 /* put pContext into the free list */ in ptrace_leave_call() 511 PyObject *list; member 573 err = PyList_Append(collect->list, info); in statsForEntry() 583 list of profiler_entry objects. 585 getstats() -> list of profiler_entry objects 598 The calls attribute is either None or a list of 625 collect.list = PyList_New(0); in _lsprof_Profiler_getstats_impl() 626 if (collect.list in _lsprof_Profiler_getstats_impl() [all...] |
/third_party/skia/include/core/ |
H A D | SkPath.h | 85 static SkPath Polygon(const std::initializer_list<SkPoint>& list, bool isClosed, in Polygon() argument 88 return Polygon(list.begin(), SkToInt(list.size()), isClosed, fillType, isVolatile); in Polygon() 1224 /** Adds contour created from list. Contour added starts at list[0], then adds a line 1225 for every additional SkPoint in list. If close is true, appends kClose_Verb to SkPath, 1226 connecting last and first SkPoint in list. 1228 If list is empty, append kMove_Verb to path. 1230 @param list array of SkPoint 1234 SkPath& addPoly(const std::initializer_list<SkPoint>& list, boo argument [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | wm_adsp.c | 16 #include <linux/list.h> 311 struct list_head list; member 316 struct list_head *list) in wm_adsp_buf_alloc() 330 if (list) in wm_adsp_buf_alloc() 331 list_add_tail(&buf->list, list); in wm_adsp_buf_alloc() 336 static void wm_adsp_buf_free(struct list_head *list) in wm_adsp_buf_free() argument 338 while (!list_empty(list)) { in wm_adsp_buf_free() 339 struct wm_adsp_buf *buf = list_first_entry(list, in wm_adsp_buf_free() 341 list); in wm_adsp_buf_free() 315 wm_adsp_buf_alloc(const void *src, size_t len, struct list_head *list) wm_adsp_buf_alloc() argument 440 struct list_head list; global() member 457 struct list_head list; global() member 615 struct list_head list; global() member [all...] |
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_fw_module_test.cpp | 19 #include <list> 343 std::list<std::shared_ptr<SubscriberEvent>> GetEvents() in GetEvents() 357 std::list<std::shared_ptr<SubscriberEvent>> events_; 475 void Parse(std::list<std::shared_ptr<SubscriberEvent>> events) in Parse() 663 std::list<std::shared_ptr<SubscriberEvent>> events = subscriber.GetEvents(); in HWTEST_F() 720 std::list<std::shared_ptr<SubscriberEvent>> events = subscriber.GetEvents(); in HWTEST_F() 765 std::list<std::shared_ptr<SubscriberEvent>> events = subscriber.GetEvents(); in HWTEST_F() 805 std::list<std::shared_ptr<SubscriberEvent>> events = subscriber.GetEvents(); in HWTEST_F() 850 std::list<std::shared_ptr<SubscriberEvent>> events = subscriber.GetEvents(); in HWTEST_F() 875 std::list<st in HWTEST_F() [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dhd_rtt.c | 40 #include <linux/list.h> 114 struct list_head list; member 1615 /* returns geofence RTT target list Head */ 1703 /* returns geofence target from list for the peer */ 1733 DHD_RTT(("dhd_rtt_get_geofence_target: Target not found in list," in dhd_rtt_get_geofence_target() 1739 /* add geofence target to the target list */ 1787 /* removes geofence target from the target list */ 1817 /* left shift all the valid entries, as we dont keep holes in list */ in dhd_rtt_remove_geofence_target() 1846 /* deletes/empty geofence target list */ 2084 /* Iterate rtt_results_header list */ in dhd_rtt_stop() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 619 * iavf_find_vlan - Search filter list for specific vlan filter 631 list_for_each_entry(f, &adapter->vlan_filter_list, list) { in iavf_find_vlan() 639 * iavf_add_vlan - Add a vlan filter to the list 660 list_add_tail(&f->list, &adapter->vlan_filter_list); in iavf_add_vlan() 671 * iavf_del_vlan - Remove a vlan filter from the list 727 * iavf_find_filter - Search filter list for specific mac filter 743 list_for_each_entry(f, &adapter->mac_filter_list, list) { in iavf_find_filter() 751 * iavf_add_filter - Add a mac filter to the filter list 773 list_add_tail(&f->list, &adapter->mac_filter_list); in iavf_add_filter() 855 * our own device address from our uc list in iavf_addr_unsync() [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | cls_api.c | 44 /* The list of all installed classifier types */ 47 /* Protects list of registered TC modules. It is pure SMP lock. */ 341 struct list_head list; member 356 list_add_tail_rcu(&chain->list, &block->chain_list); in tcf_chain_create() 383 list_for_each_entry(item, &block->chain0.filter_chain_list, list) in tcf_chain0_head_change() 396 list_del_rcu(&chain->list); in tcf_chain_detach() 448 list_for_each_entry(chain, &block->chain_list, list) { in tcf_chain_lookup() 461 list_for_each_entry_rcu(chain, &block->chain_list, list) { in tcf_chain_lookup_rcu() 659 list_move(&block_cb->list, &bo.cb_list); in tc_block_indr_cleanup() 781 list_add(&item->list, in tcf_chain0_head_change_cb_add() 1244 struct list_head list; global() member [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | signal.c | 444 INIT_LIST_HEAD(&q->list); in __sigqueue_alloc() 466 while (!list_empty(&queue->list)) { in flush_sigqueue() 467 q = list_entry(queue->list.next, struct sigqueue , list); in flush_sigqueue() 468 list_del_init(&q->list); in flush_sigqueue() 497 list_for_each_entry_safe(q, n, &pending->list, list) { in __flush_itimer_signals() 504 list_del_init(&q->list); in __flush_itimer_signals() 568 static void collect_signal(int sig, struct sigpending *list, kernel_siginfo_t *info, in collect_signal() argument 577 list_for_each_entry(q, &list in collect_signal() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_svm.c | 67 struct list_head list; member 103 list_del(&prange->list); in svm_range_unlink() 124 * Add the svm range to svms interval tree and link list 133 list_move_tail(&prange->list, &prange->svms->list); in svm_range_add_to_svms() 336 INIT_LIST_HEAD(&prange->list); in svm_range_new() 447 * range list, and return false to allocate svm_bo from destination in svm_range_validate_svm_bo() 493 * its range list and set prange->svm_bo to null. After this, in svm_range_validate_svm_bo() 830 * @svms: svm range list header 833 * interval tree and link list [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | signal.c | 445 INIT_LIST_HEAD(&q->list); in __sigqueue_alloc() 468 while (!list_empty(&queue->list)) { in flush_sigqueue() 469 q = list_entry(queue->list.next, struct sigqueue , list); in flush_sigqueue() 470 list_del_init(&q->list); in flush_sigqueue() 499 list_for_each_entry_safe(q, n, &pending->list, list) { in __flush_itimer_signals() 506 list_del_init(&q->list); in __flush_itimer_signals() 574 static void collect_signal(int sig, struct sigpending *list, kernel_siginfo_t *info, in collect_signal() argument 583 list_for_each_entry(q, &list in collect_signal() [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A D | cls_api.c | 46 /* The list of all installed classifier types */ 49 /* Protects list of registered TC modules. It is pure SMP lock. */ 464 struct list_head list; member 479 list_add_tail_rcu(&chain->list, &block->chain_list); in tcf_chain_create() 506 list_for_each_entry(item, &block->chain0.filter_chain_list, list) in tcf_chain0_head_change() 519 list_del_rcu(&chain->list); in tcf_chain_detach() 571 list_for_each_entry(chain, &block->chain_list, list) { in tcf_chain_lookup() 584 list_for_each_entry_rcu(chain, &block->chain_list, list) { in tcf_chain_lookup_rcu() 783 list_move(&block_cb->list, &bo.cb_list); in tc_block_indr_cleanup() 905 list_add(&item->list, in tcf_chain0_head_change_cb_add() 1367 struct list_head list; global() member [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/ |
H A D | drv_media_mem.c | 41 #include <linux/list.h> 186 INIT_LIST_HEAD(&p->list); in hil_mmz_create() 287 list_add(&zone->list, &g_mmz_list); in hil_mmz_register() 323 list_del(&zone->list); in hil_mmz_unregister() 415 list_for_each_entry(p, &g_mmz_list, list) { in dump_mem() 450 list_for_each_entry(zone, &g_mmz_list, list) { in hil_mmb_getby_phys() 503 list_for_each_entry(zone, &g_mmz_list, list) { in hil_mmb_getby_sec_addr() 596 list_for_each_entry(p, &g_mmz_list, list) { in list_for_each_mmz() 1082 list_for_each_entry(zone, &g_mmz_list, list) { in hil_mmb_free() 1126 list_for_each_entry_safe(p, q, &mmb->ulist, list) { in hil_mmb_free() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/hid/ |
H A D | hid-input.c | 92 list_for_each_entry(report, &hid->report_enum[k].report_list, list)
in hidinput_find_key() 1906 list_for_each_entry(hidinput, &hid->inputs, list) input_sync(hidinput->input);
in hidinput_report_event() 1915 list_for_each_entry(report, &hid->report_enum[HID_OUTPUT_REPORT].report_list, list)
in hidinput_find_field() 1936 list_for_each_entry(report, &hid->report_enum[HID_OUTPUT_REPORT].report_list, list)
in hidinput_get_led_field() 1958 list_for_each_entry(report, &hid->report_enum[HID_OUTPUT_REPORT].report_list, list)
in hidinput_count_leds() 2127 list_for_each_entry(rep, &rep_enum->report_list, list)
in hidinput_change_resolution_multipliers() 2151 list_for_each_entry(rep, &rep_enum->report_list, list) {
in report_features() 2251 list_add_tail(&hidinput->list, &hid->inputs);
in hidinput_allocate() 2313 list_del(&hidinput->list);
in hidinput_cleanup_hidinput() 2322 list_for_each_entry(report, &hid->report_enum[k].report_list, list)
in hidinput_cleanup_hidinput() [all...] |