Home
last modified time | relevance | path

Searched refs:list (Results 126 - 150 of 14041) sorted by relevance

12345678910>>...562

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_bo_list.h62 void amdgpu_bo_list_put(struct amdgpu_bo_list *list);
70 struct amdgpu_bo_list **list);
73 amdgpu_bo_list_array_entry(struct amdgpu_bo_list *list, unsigned index) in amdgpu_bo_list_array_entry() argument
75 struct amdgpu_bo_list_entry *array = (void *)&list[1]; in amdgpu_bo_list_array_entry()
80 #define amdgpu_bo_list_for_each_entry(e, list) \
81 for (e = amdgpu_bo_list_array_entry(list, 0); \
82 e != amdgpu_bo_list_array_entry(list, (list)->num_entries); \
85 #define amdgpu_bo_list_for_each_userptr_entry(e, list) \
86 for (e = amdgpu_bo_list_array_entry(list, (lis
[all...]
/third_party/ltp/tools/sparse/sparse-src/
H A Dlib.h144 static inline int symbol_list_size(struct symbol_list *list) in symbol_list_size() argument
146 return ptr_list_size((struct ptr_list *)(list)); in symbol_list_size()
149 static inline int statement_list_size(struct statement_list *list) in statement_list_size() argument
151 return ptr_list_size((struct ptr_list *)(list)); in statement_list_size()
154 static inline int expression_list_size(struct expression_list *list) in expression_list_size() argument
156 return ptr_list_size((struct ptr_list *)(list)); in expression_list_size()
159 static inline int instruction_list_size(struct instruction_list *list) in instruction_list_size() argument
161 return ptr_list_size((struct ptr_list *)(list)); in instruction_list_size()
164 static inline int pseudo_list_size(struct pseudo_list *list) in pseudo_list_size() argument
166 return ptr_list_size((struct ptr_list *)(list)); in pseudo_list_size()
169 bb_list_size(struct basic_block_list *list) bb_list_size() argument
228 add_symbol(struct symbol_list **list, struct symbol *sym) add_symbol() argument
233 add_statement(struct statement_list **list, struct statement *stmt) add_statement() argument
238 add_expression(struct expression_list **list, struct expression *expr) add_expression() argument
243 add_ident(struct ident_list **list, struct ident *ident) add_ident() argument
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCharsetDetector.java24 * The result of the detection operation is a list of possibly matching
70 * analyzed will not be added to the list of possible encodings.
478 List<CSRecognizerInfo> list = new ArrayList<CSRecognizerInfo>();
480 list.add(new CSRecognizerInfo(new CharsetRecog_UTF8(), true));
481 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_16_BE(), true));
482 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_16_LE(), true));
483 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_32_BE(), true));
484 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_32_LE(), true));
486 list.add(new CSRecognizerInfo(new CharsetRecog_mbcs.CharsetRecog_sjis(), true));
487 list
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DCharsetDetector.java25 * The result of the detection operation is a list of possibly matching
69 * analyzed will not be added to the list of possible encodings.
457 List<CSRecognizerInfo> list = new ArrayList<CSRecognizerInfo>();
459 list.add(new CSRecognizerInfo(new CharsetRecog_UTF8(), true));
460 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_16_BE(), true));
461 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_16_LE(), true));
462 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_32_BE(), true));
463 list.add(new CSRecognizerInfo(new CharsetRecog_Unicode.CharsetRecog_UTF_32_LE(), true));
465 list.add(new CSRecognizerInfo(new CharsetRecog_mbcs.CharsetRecog_sjis(), true));
466 list
[all...]
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_conncount.c21 #include <linux/list.h>
51 struct nf_conncount_list list; member
85 static void conn_free(struct nf_conncount_list *list, in conn_free() argument
88 lockdep_assert_held(&list->list_lock); in conn_free()
90 list->count--; in conn_free()
97 find_or_evict(struct net *net, struct nf_conncount_list *list, in find_or_evict() argument
118 conn_free(list, conn); in find_or_evict()
126 struct nf_conncount_list *list, in __nf_conncount_add()
136 list_for_each_entry_safe(conn, conn_n, &list->head, node) { in __nf_conncount_add()
140 found = find_or_evict(net, list, con in __nf_conncount_add()
125 __nf_conncount_add(struct net *net, struct nf_conncount_list *list, const struct nf_conntrack_tuple *tuple, const struct nf_conntrack_zone *zone) __nf_conncount_add() argument
196 nf_conncount_add(struct net *net, struct nf_conncount_list *list, const struct nf_conntrack_tuple *tuple, const struct nf_conntrack_zone *zone) nf_conncount_add() argument
212 nf_conncount_list_init(struct nf_conncount_list *list) nf_conncount_list_init() argument
221 nf_conncount_gc_list(struct net *net, struct nf_conncount_list *list) nf_conncount_gc_list() argument
550 nf_conncount_cache_free(struct nf_conncount_list *list) nf_conncount_cache_free() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dlist.h12 * Simple doubly linked list implementation.
28 * @list: list_head structure to be initialized.
30 * Initializes the list_head to point to itself. If it is a list header,
31 * the result is an empty list.
33 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD() argument
35 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD()
36 list->prev = list; in INIT_LIST_HEAD()
60 * This is only for internal list manipulatio
213 list_move(struct list_head *list, struct list_head *head) list_move() argument
224 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument
259 list_is_first(const struct list_head *list, const struct list_head *head) list_is_first() argument
270 list_is_last(const struct list_head *list, const struct list_head *head) list_is_last() argument
343 list_rotate_to_front(struct list_head *list, struct list_head *head) list_rotate_to_front() argument
363 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) __list_cut_position() argument
389 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) list_cut_position() argument
417 list_cut_before(struct list_head *list, struct list_head *head, struct list_head *entry) list_cut_before() argument
433 __list_splice(const struct list_head *list, struct list_head *prev, struct list_head *next) __list_splice() argument
452 list_splice(const struct list_head *list, struct list_head *head) list_splice() argument
464 list_splice_tail(struct list_head *list, struct list_head *head) list_splice_tail() argument
478 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument
495 list_splice_tail_init(struct list_head *list, struct list_head *head) list_splice_tail_init() argument
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/list/
H A Dlist_scale_test.cpp22 NAPI_START(list, ARKUI_NODE_LIST); in TestListScale001()
27 auto ret = nodeAPI->setAttribute(list, NODE_SCALE, &valueItem); in TestListScale001()
29 ASSERT_EQ(nodeAPI->getAttribute(list, NODE_SCALE)->value[PARAM_0].f32, scaleX); in TestListScale001()
30 ASSERT_EQ(nodeAPI->getAttribute(list, NODE_SCALE)->value[PARAM_1].f32, scaleY); in TestListScale001()
36 NAPI_START(list, ARKUI_NODE_LIST); in TestListScale002()
41 auto ret = nodeAPI->setAttribute(list, NODE_SCALE, &valueItem); in TestListScale002()
43 ASSERT_EQ(nodeAPI->getAttribute(list, NODE_SCALE)->value[PARAM_0].f32, scaleX); in TestListScale002()
44 ASSERT_EQ(nodeAPI->getAttribute(list, NODE_SCALE)->value[PARAM_1].f32, scaleY); in TestListScale002()
50 NAPI_START(list, ARKUI_NODE_LIST); in TestListScale003()
55 auto ret = nodeAPI->setAttribute(list, NODE_SCAL in TestListScale003()
[all...]
H A Dlist_saturate_test.cpp23 NAPI_START(list, ARKUI_NODE_LIST); in TestListSaturate001()
27 auto ret = nodeAPI->setAttribute(list, NODE_SATURATION, &valueItem); in TestListSaturate001()
29 ASSERT_EQ(nodeAPI->getAttribute(list, NODE_SATURATION)->value[PARAM_0].f32, saturate); in TestListSaturate001()
35 NAPI_START(list, ARKUI_NODE_LIST); in TestListSaturate002()
39 auto ret = nodeAPI->setAttribute(list, NODE_SATURATION, &valueItem); in TestListSaturate002()
41 ASSERT_EQ(nodeAPI->getAttribute(list, NODE_SATURATION)->value[PARAM_0].f32, saturate); in TestListSaturate002()
47 NAPI_START(list, ARKUI_NODE_LIST); in TestListSaturate003()
51 auto ret = nodeAPI->setAttribute(list, NODE_SATURATION, &valueItem); in TestListSaturate003()
53 ASSERT_EQ(nodeAPI->getAttribute(list, NODE_SATURATION)->value[PARAM_0].f32, saturate); in TestListSaturate003()
59 NAPI_START(list, ARKUI_NODE_LIS in TestListSaturate004()
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DSchemaUtil.java10 // notice, this list of conditions and the following disclaimer.
12 // copyright notice, this list of conditions and the following disclaimer
331 static int computeSizeInt64ListNoTag(List<Long> list) { in computeSizeInt64ListNoTag() argument
332 final int length = list.size(); in computeSizeInt64ListNoTag()
339 if (list instanceof LongArrayList) { in computeSizeInt64ListNoTag()
340 final LongArrayList primitiveList = (LongArrayList) list; in computeSizeInt64ListNoTag()
346 size += CodedOutputStream.computeInt64SizeNoTag(list.get(i)); in computeSizeInt64ListNoTag()
352 static int computeSizeInt64List(int fieldNumber, List<Long> list, boolean packed) { in computeSizeInt64List() argument
353 final int length = list.size(); in computeSizeInt64List()
357 int size = computeSizeInt64ListNoTag(list); in computeSizeInt64List()
367 computeSizeUInt64ListNoTag(List<Long> list) computeSizeUInt64ListNoTag() argument
388 computeSizeUInt64List(int fieldNumber, List<Long> list, boolean packed) computeSizeUInt64List() argument
403 computeSizeSInt64ListNoTag(List<Long> list) computeSizeSInt64ListNoTag() argument
424 computeSizeSInt64List(int fieldNumber, List<Long> list, boolean packed) computeSizeSInt64List() argument
439 computeSizeEnumListNoTag(List<Integer> list) computeSizeEnumListNoTag() argument
460 computeSizeEnumList(int fieldNumber, List<Integer> list, boolean packed) computeSizeEnumList() argument
475 computeSizeInt32ListNoTag(List<Integer> list) computeSizeInt32ListNoTag() argument
496 computeSizeInt32List(int fieldNumber, List<Integer> list, boolean packed) computeSizeInt32List() argument
511 computeSizeUInt32ListNoTag(List<Integer> list) computeSizeUInt32ListNoTag() argument
532 computeSizeUInt32List(int fieldNumber, List<Integer> list, boolean packed) computeSizeUInt32List() argument
547 computeSizeSInt32ListNoTag(List<Integer> list) computeSizeSInt32ListNoTag() argument
568 computeSizeSInt32List(int fieldNumber, List<Integer> list, boolean packed) computeSizeSInt32List() argument
584 computeSizeFixed32ListNoTag(List<?> list) computeSizeFixed32ListNoTag() argument
588 computeSizeFixed32List(int fieldNumber, List<?> list, boolean packed) computeSizeFixed32List() argument
602 computeSizeFixed64ListNoTag(List<?> list) computeSizeFixed64ListNoTag() argument
606 computeSizeFixed64List(int fieldNumber, List<?> list, boolean packed) computeSizeFixed64List() argument
620 computeSizeBoolListNoTag(List<?> list) computeSizeBoolListNoTag() argument
625 computeSizeBoolList(int fieldNumber, List<?> list, boolean packed) computeSizeBoolList() argument
639 computeSizeStringList(int fieldNumber, List<?> list) computeSizeStringList() argument
676 computeSizeMessageList(int fieldNumber, List<?> list) computeSizeMessageList() argument
693 computeSizeMessageList(int fieldNumber, List<?> list, Schema schema) computeSizeMessageList() argument
710 computeSizeByteStringList(int fieldNumber, List<ByteString> list) computeSizeByteStringList() argument
722 computeSizeGroupList(int fieldNumber, List<MessageLite> list) computeSizeGroupList() argument
734 computeSizeGroupList(int fieldNumber, List<MessageLite> list, Schema schema) computeSizeGroupList() argument
[all...]
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
H A Dadf_cfg.c5 #include <linux/list.h>
23 struct list_head *list; in qat_dev_cfg_show() local
25 list_entry(v, struct adf_cfg_section, list); in qat_dev_cfg_show()
28 list_for_each(list, &sec->param_head) { in qat_dev_cfg_show()
30 list_entry(list, struct adf_cfg_key_val, list); in qat_dev_cfg_show()
128 list_add_tail(&new->list, &sec->param_head); in adf_cfg_keyval_add()
137 list_entry(list_ptr, struct adf_cfg_key_val, list); in adf_cfg_keyval_del_all()
146 struct list_head *list, *tmp; in adf_cfg_section_del_all() local
148 list_for_each_prev_safe(list, tm in adf_cfg_section_del_all()
159 struct list_head *list; adf_cfg_key_value_find() local
174 struct list_head *list; adf_cfg_sec_find() local
[all...]
/third_party/node/tools/gyp/tools/emacs/
H A Dgyp.el53 ;; is a list of section symbols (see gyp-section-name and gyp-parse-to)
54 ;; with most nested section symbol at the front of the list.
55 (set (make-local-variable 'gyp-parse-history) '((1 . (list))))
67 (add-to-list 'auto-mode-alist '("\\.gyp\\'" . gyp-mode))
68 (add-to-list 'auto-mode-alist '("\\.gypi\\'" . gyp-mode))
69 (add-to-list 'auto-mode-alist '("/\\.gclient\\'" . gyp-mode))
74 (regexp-opt (list "dependencies" "export_dependent_settings"))
78 (regexp-opt (list "action" "files" "include_dirs" "includes" "inputs"
83 (regexp-opt (list "conditions" "target_conditions"))
127 "A list o
[all...]
/third_party/ltp/testcases/realtime/include/
H A Dlist.h20 * list.h
23 * This code was kindly borrowed from linux/include/linux/list.h
26 * access the container of the list from the list_head struct.
45 * non-initialized list entries.
51 * Simple doubly linked list implementation.
69 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD() argument
71 list->next = list; in INIT_LIST_HEAD()
72 list->prev = list; in INIT_LIST_HEAD()
158 list_move(struct list_head *list, struct list_head *head) list_move() argument
169 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument
203 __list_splice(struct list_head *list, struct list_head *head) __list_splice() argument
222 list_splice(struct list_head *list, struct list_head *head) list_splice() argument
235 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument
[all...]
/third_party/alsa-lib/include/
H A Dlist.h1 /* Doubly linked list macros compatible with Linux kernel's version
25 /* one-shot definition of a list head */
29 /* initialize a list head explicitly */
46 /* list_for_each - iterate over the linked list
48 * @list: list_head pointer containing the list
50 #define list_for_each(p, list) \
51 for (p = (list)->next; p != (list); p = p->next)
53 /* list_for_each_safe - iterate over the linked list, saf
65 list_add(struct list_head *p, struct list_head *list) list_add() argument
79 list_add_tail(struct list_head *p, struct list_head *list) list_add_tail() argument
[all...]
/third_party/node/test/parallel/
H A Dtest-internal-socket-list-receive.js18 const list = new SocketListReceive(child, key);
19 list.child.emit('internalMessage', { key, cmd: 'NODE_SOCKET_NOTIFY_CLOSE' });
20 list.child.emit('internalMessage', { key, cmd: 'NODE_SOCKET_GET_COUNT' });
33 const list = new SocketListReceive(child, key);
34 list.child.emit('internalMessage', { key, cmd: 'NODE_SOCKET_NOTIFY_CLOSE' });
48 const list = new SocketListReceive(child, key);
49 list.child.emit('internalMessage', { key, cmd: 'NODE_SOCKET_GET_COUNT' });
58 const list = new SocketListReceive(child, key);
59 assert.strictEqual(list.connections, 0);
61 list
[all...]
/kernel/linux/linux-5.10/tools/lib/traceevent/
H A Devent-plugin.c95 * tep_plugin_list_options - get list of plugin options
97 * Returns an array of char strings that list the currently registered
98 * plugin options in the format of <plugin>:<option>. This list can be
110 char **list = NULL; in tep_plugin_list_options() local
117 char **temp = list; in tep_plugin_list_options()
124 list = realloc(list, count + 2); in tep_plugin_list_options()
125 if (!list) { in tep_plugin_list_options()
126 list = temp; in tep_plugin_list_options()
130 list[coun in tep_plugin_list_options()
144 tep_plugin_free_options_list(char **list) tep_plugin_free_options_list() argument
432 tep_print_plugins(struct trace_seq *s, const char *prefix, const char *suffix, const struct tep_plugin_list *list) tep_print_plugins() argument
449 struct tep_plugin_list *list; load_plugin() local
640 struct tep_plugin_list *list = NULL; tep_load_plugins() local
699 struct tep_plugin_list *list; tep_unload_plugins() local
[all...]
/third_party/python/Include/internal/
H A Dpycore_blocks_output_buffer.h9 It maintains a list of bytes object, so there is no overhead of resizing
15 _BlocksOutputBuffer buffer = {.list = NULL};
16 Set .list to NULL for _BlocksOutputBuffer_OnError()
45 PyObject *list; member
109 // ensure .list was set to NULL in _BlocksOutputBuffer_InitAndGrow()
110 assert(buffer->list == NULL); in _BlocksOutputBuffer_InitAndGrow()
125 // create the list in _BlocksOutputBuffer_InitAndGrow()
126 buffer->list = PyList_New(1); in _BlocksOutputBuffer_InitAndGrow()
127 if (buffer->list == NULL) { in _BlocksOutputBuffer_InitAndGrow()
131 PyList_SET_ITEM(buffer->list, in _BlocksOutputBuffer_InitAndGrow()
[all...]
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventcpptest/
H A DHiAppEventCPPTest.cpp72 ParamList list = OH_HiAppEvent_CreateParamList(); in HWTEST_F() local
73 OH_HiAppEvent_AddBoolParam(list, "bool_key", boolean); in HWTEST_F()
75 OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, eventType, list); in HWTEST_F()
89 OH_HiAppEvent_DestroyParamList(list); in HWTEST_F()
108 ParamList list = OH_HiAppEvent_CreateParamList(); in HWTEST_F() local
109 OH_HiAppEvent_AddBoolParam(list, "bool_key", boolean); in HWTEST_F()
111 OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, eventType, list); in HWTEST_F()
125 OH_HiAppEvent_DestroyParamList(list); in HWTEST_F()
134 * @tc.desc The keyvalue is reported as a boolean list.
143 ParamList list in HWTEST_F() local
178 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
215 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
250 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
285 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
320 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
355 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
390 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
425 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
460 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
495 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
530 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
565 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
600 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
635 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
677 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
715 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
747 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
767 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
787 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
812 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
851 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
886 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
921 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
961 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
996 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
1039 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
1077 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
1130 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
1179 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
1216 ParamList list = OH_HiAppEvent_CreateParamList(); HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ishtp/
H A Dclient.c48 list_for_each_entry_safe(rb, next, &cl->dev->read_list.list, list) in ishtp_read_list_flush()
50 list_del(&rb->list); in ishtp_read_list_flush()
96 INIT_LIST_HEAD(&cl->free_rb_list.list); in ishtp_cl_init()
97 INIT_LIST_HEAD(&cl->tx_list.list); in ishtp_cl_init()
98 INIT_LIST_HEAD(&cl->tx_free_list.list); in ishtp_cl_init()
99 INIT_LIST_HEAD(&cl->in_process_list.list); in ishtp_cl_init()
166 * client list
216 * ishtp_cl_unlink() - remove fw_cl from the client device list
471 /* The current rb is the head of the free rb list */ in ishtp_cl_read_start()
[all...]
/kernel/linux/linux-6.6/drivers/hid/intel-ish-hid/ishtp/
H A Dclient.c49 list_for_each_entry_safe(rb, next, &cl->dev->read_list.list, list) in ishtp_read_list_flush()
51 list_del(&rb->list); in ishtp_read_list_flush()
97 INIT_LIST_HEAD(&cl->free_rb_list.list); in ishtp_cl_init()
98 INIT_LIST_HEAD(&cl->tx_list.list); in ishtp_cl_init()
99 INIT_LIST_HEAD(&cl->tx_free_list.list); in ishtp_cl_init()
100 INIT_LIST_HEAD(&cl->in_process_list.list); in ishtp_cl_init()
167 * client list
217 * ishtp_cl_unlink() - remove fw_cl from the client device list
471 /* The current rb is the head of the free rb list */ in ishtp_cl_read_start()
[all...]
/third_party/curl/tests/libtest/
H A Dlib1955.c32 struct curl_slist *list = NULL; in test() local
52 list = curl_slist_append(list, "test3: 1234"); in test()
53 if(!list) in test()
59 curl_slist_append(list, "Content-Type: application/json"); in test()
65 curl_slist_append(list, "test2;"); in test()
70 curl_slist_append(list, "test1:"); in test()
74 curl_slist_append(list, "test0"); in test()
76 curl_slist_append(list, "test_space: t\ts m\t end "); in test()
77 curl_slist_append(list, "tesMixCas in test()
[all...]
/kernel/linux/linux-5.10/tools/include/linux/
H A Dlist.h11 * Simple doubly linked list implementation.
25 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD() argument
27 list->next = list; in INIT_LIST_HEAD()
28 list->prev = list; in INIT_LIST_HEAD()
34 * This is only for internal list manipulation where we know
56 * @head: list head to add it after
70 * @head: list head to add it before
81 * Delete a list entr
154 list_move(struct list_head *list, struct list_head *head) list_move() argument
165 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument
177 list_is_last(const struct list_head *list, const struct list_head *head) list_is_last() argument
234 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) __list_cut_position() argument
260 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) list_cut_position() argument
274 __list_splice(const struct list_head *list, struct list_head *prev, struct list_head *next) __list_splice() argument
293 list_splice(const struct list_head *list, struct list_head *head) list_splice() argument
305 list_splice_tail(struct list_head *list, struct list_head *head) list_splice_tail() argument
319 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument
336 list_splice_tail_init(struct list_head *list, struct list_head *head) list_splice_tail_init() argument
[all...]
/kernel/linux/linux-6.6/tools/include/linux/
H A Dlist.h11 * Simple doubly linked list implementation.
25 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD() argument
27 list->next = list; in INIT_LIST_HEAD()
28 list->prev = list; in INIT_LIST_HEAD()
34 * This is only for internal list manipulation where we know
56 * @head: list head to add it after
70 * @head: list head to add it before
81 * Delete a list entr
154 list_move(struct list_head *list, struct list_head *head) list_move() argument
165 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument
177 list_is_last(const struct list_head *list, const struct list_head *head) list_is_last() argument
234 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) __list_cut_position() argument
260 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) list_cut_position() argument
274 __list_splice(const struct list_head *list, struct list_head *prev, struct list_head *next) __list_splice() argument
293 list_splice(const struct list_head *list, struct list_head *head) list_splice() argument
305 list_splice_tail(struct list_head *list, struct list_head *head) list_splice_tail() argument
319 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument
336 list_splice_tail_init(struct list_head *list, struct list_head *head) list_splice_tail_init() argument
[all...]
/third_party/python/Lib/test/
H A Dtest_list.py8 type2test = list
11 self.assertEqual(list([]), [])
13 l0_3_bis = list(l0_3)
16 self.assertEqual(list(()), [])
17 self.assertEqual(list((0, 1, 2, 3)), [0, 1, 2, 3])
18 self.assertEqual(list(''), [])
19 self.assertEqual(list('spam'), ['s', 'p', 'a', 'm'])
20 self.assertEqual(list(x for x in range(10) if x % 2),
34 # earlier due to a newlib bug. See the following mailing list
38 self.assertRaises(MemoryError, list, rang
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_lpm_map.c37 static struct tlpm_node *tlpm_match(struct tlpm_node *list,
41 static struct tlpm_node *tlpm_add(struct tlpm_node *list, in tlpm_add() argument
51 node = tlpm_match(list, key, n_bits); in tlpm_add()
54 return list; in tlpm_add()
57 /* add new entry with @key/@n_bits to @list and return new head */ in tlpm_add()
62 node->next = list; in tlpm_add()
69 static void tlpm_clear(struct tlpm_node *list) in tlpm_clear() argument
73 /* free all entries in @list */ in tlpm_clear()
75 while ((node = list)) { in tlpm_clear()
76 list in tlpm_clear()
81 tlpm_match(struct tlpm_node *list, const uint8_t *key, size_t n_bits) tlpm_match() argument
110 tlpm_delete(struct tlpm_node *list, const uint8_t *key, size_t n_bits) tlpm_delete() argument
140 struct tlpm_node *list = NULL, *t1, *t2; test_lpm_basic() local
212 struct tlpm_node *t, *list = NULL; test_lpm_map() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_lpm_map.c36 static struct tlpm_node *tlpm_match(struct tlpm_node *list,
40 static struct tlpm_node *tlpm_add(struct tlpm_node *list, in tlpm_add() argument
50 node = tlpm_match(list, key, n_bits); in tlpm_add()
53 return list; in tlpm_add()
56 /* add new entry with @key/@n_bits to @list and return new head */ in tlpm_add()
61 node->next = list; in tlpm_add()
68 static void tlpm_clear(struct tlpm_node *list) in tlpm_clear() argument
72 /* free all entries in @list */ in tlpm_clear()
74 while ((node = list)) { in tlpm_clear()
75 list in tlpm_clear()
80 tlpm_match(struct tlpm_node *list, const uint8_t *key, size_t n_bits) tlpm_match() argument
109 tlpm_delete(struct tlpm_node *list, const uint8_t *key, size_t n_bits) tlpm_delete() argument
139 struct tlpm_node *list = NULL, *t1, *t2; test_lpm_basic() local
213 struct tlpm_node *t, *list = NULL; test_lpm_map() local
[all...]

Completed in 15 milliseconds

12345678910>>...562