Home
last modified time | relevance | path

Searched refs:item (Results 1 – 25 of 1591) sorted by relevance

12345678910>>...64

/external/selinux/libsepol/cil/src/
Dcil_list.c62 struct cil_list_item *item = (*list)->head; in cil_list_destroy() local
64 while (item != NULL) in cil_list_destroy()
66 next = item->next; in cil_list_destroy()
67 if (item->flavor == CIL_LIST) { in cil_list_destroy()
68 cil_list_destroy((struct cil_list**)&(item->data), destroy_data); in cil_list_destroy()
69 free(item); in cil_list_destroy()
71 cil_list_item_destroy(&item, destroy_data); in cil_list_destroy()
73 item = next; in cil_list_destroy()
79 void cil_list_item_init(struct cil_list_item **item) in cil_list_item_init() argument
86 *item = new_item; in cil_list_item_init()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dcompute_memory_pool.c129 struct compute_memory_item *item; in compute_memory_prealloc_chunk() local
136 for (item = pool->item_list; item; item = item->next) { in compute_memory_prealloc_chunk()
137 if (item->start_in_dw > -1) { in compute_memory_prealloc_chunk()
138 if (item->start_in_dw-last_end > size_in_dw) { in compute_memory_prealloc_chunk()
142 last_end = item->start_in_dw + item->size_in_dw; in compute_memory_prealloc_chunk()
161 struct compute_memory_item* item; in compute_memory_postalloc_chunk() local
166 for (item = pool->item_list; item; item = item->next) { in compute_memory_postalloc_chunk()
167 if (item->next) { in compute_memory_postalloc_chunk()
168 if (item->start_in_dw < start_in_dw in compute_memory_postalloc_chunk()
169 && item->next->start_in_dw > start_in_dw) { in compute_memory_postalloc_chunk()
[all …]
/external/wpa_supplicant_8/src/utils/
Dlist.h28 static inline void dl_list_add(struct dl_list *list, struct dl_list *item) in dl_list_add() argument
30 item->next = list->next; in dl_list_add()
31 item->prev = list; in dl_list_add()
32 list->next->prev = item; in dl_list_add()
33 list->next = item; in dl_list_add()
36 static inline void dl_list_add_tail(struct dl_list *list, struct dl_list *item) in dl_list_add_tail() argument
38 dl_list_add(list->prev, item); in dl_list_add_tail()
41 static inline void dl_list_del(struct dl_list *item) in dl_list_del() argument
43 item->next->prev = item->prev; in dl_list_del()
44 item->prev->next = item->next; in dl_list_del()
[all …]
/external/autotest/frontend/client/src/autotest/common/ui/
DMultiListSelectPresenter.java69 Item item = new Item(name, value); in createGeneratedItem() local
70 item.isGeneratedItem = true; in createGeneratedItem()
71 return item; in createGeneratedItem()
74 public int compareTo(Item item) { in compareTo() argument
75 return name.compareTo(item.name); in compareTo()
211 for (Item item : items) {
212 if (item.isSelected() && !selectedItems.contains(item)) {
214 + item.toString());
220 public void addItem(Item item) {
221 if (item.isGeneratedItem && isItemPresent(item)) {
[all …]
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.ui16 <item row="1" column="3" >
22 </item>
23 <item row="0" column="0" colspan="4" >
32 <item row="0" column="0" >
38 </item>
39 <item row="0" column="1" >
48 </item>
49 <item row="1" column="0" >
55 </item>
56 <item row="1" column="1" >
[all …]
Dwpagui.ui21 <item row="0" column="0" >
27 </item>
28 <item row="0" column="1" >
30 </item>
31 <item row="1" column="0" >
37 </item>
38 <item row="1" column="1" >
40 </item>
41 <item row="2" column="0" colspan="2" >
51 <item row="0" column="0" colspan="5" >
[all …]
Dpeers.cpp424 QStandardItem *item = new QStandardItem(*laptop_icon, name); in add_station() local
425 if (item) { in add_station()
432 QStandardItem *item; in add_station() local
433 item = model.itemFromIndex(lst[i]); in add_station()
434 if (item == NULL) in add_station()
436 int type = item->data(peer_role_type).toInt(); in add_station()
444 item->setData(lines[0], peer_role_address); in add_station()
445 item->setData(PEER_TYPE_ASSOCIATED_STATION, in add_station()
447 item->setData(info, peer_role_details); in add_station()
448 item->setToolTip(ItemType(PEER_TYPE_ASSOCIATED_STATION)); in add_station()
[all …]
/external/boringssl/src/ssl/pqueue/
Dpqueue.c72 pitem *item = (pitem *)OPENSSL_malloc(sizeof(pitem)); in pitem_new() local
73 if (item == NULL) { in pitem_new()
77 memcpy(item->priority, prio64be, sizeof(item->priority)); in pitem_new()
79 item->data = data; in pitem_new()
80 item->next = NULL; in pitem_new()
82 return item; in pitem_new()
85 void pitem_free(pitem *item) { in pitem_free() argument
86 if (item == NULL) { in pitem_free()
90 OPENSSL_free(item); in pitem_free()
128 pitem *item = pq->items; in pqueue_size() local
[all …]
Dpqueue_test.c25 pitem *item = pqueue_pop(q); in clear_and_free_queue() local
26 if (item == NULL) { in clear_and_free_queue()
29 pitem_free(item); in clear_and_free_queue()
41 pitem *item = pitem_new(priority, &data); in trivial() local
42 if (item == NULL || in trivial()
43 pqueue_insert(q, item) != item || in trivial()
45 pqueue_peek(q) != item || in trivial()
46 pqueue_pop(q) != item || in trivial()
51 pitem_free(item); in trivial()
66 pitem *curr, *item; in fixed_random() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DVisitor.java19 public void doAt(Object item) { in doAt() argument
20 if (item instanceof Collection) { in doAt()
21 doAt((Collection) item); in doAt()
22 } else if (item instanceof Map) { in doAt()
23 doAt((Map) item); in doAt()
24 } else if (item instanceof Object[]) { in doAt()
25 doAt((Object[]) item); in doAt()
26 } else if (item instanceof UnicodeSet) { in doAt()
27 doAt((UnicodeSet) item); in doAt()
29 doSimpleAt(item); in doAt()
[all …]
/external/libdrm/amdgpu/
Dutil_hash_table.c102 struct util_hash_table_item *item; in util_hash_table_find_iter() local
106 item = (struct util_hash_table_item *)util_hash_iter_data(iter); in util_hash_table_find_iter()
107 if (!ht->compare(item->key, key)) in util_hash_table_find_iter()
120 struct util_hash_table_item *item; in util_hash_table_find_item() local
124 item = (struct util_hash_table_item *)util_hash_iter_data(iter); in util_hash_table_find_item()
125 if (!ht->compare(item->key, key)) in util_hash_table_find_item()
126 return item; in util_hash_table_find_item()
137 struct util_hash_table_item *item; in util_hash_table_set() local
146 item = util_hash_table_find_item(ht, key, key_hash); in util_hash_table_set()
147 if(item) { in util_hash_table_set()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_hash_table.c107 struct util_hash_table_item *item; in util_hash_table_find_iter() local
111 item = (struct util_hash_table_item *)cso_hash_iter_data(iter); in util_hash_table_find_iter()
112 if (!ht->compare(item->key, key)) in util_hash_table_find_iter()
127 struct util_hash_table_item *item; in util_hash_table_find_item() local
131 item = (struct util_hash_table_item *)cso_hash_iter_data(iter); in util_hash_table_find_item()
132 if (!ht->compare(item->key, key)) in util_hash_table_find_item()
133 return item; in util_hash_table_find_item()
147 struct util_hash_table_item *item; in util_hash_table_set() local
156 item = util_hash_table_find_item(ht, key, key_hash); in util_hash_table_set()
157 if(item) { in util_hash_table_set()
[all …]
Du_keymap.c151 struct keymap_item *item; in hash_table_find_iter() local
155 item = (struct keymap_item *) cso_hash_iter_data(iter); in hash_table_find_iter()
156 if (!memcmp(item->key, key, map->key_size)) in hash_table_find_iter()
192 struct keymap_item *item; in util_keymap_insert() local
201 item = hash_table_find_item(map, key, key_hash); in util_keymap_insert()
202 if (item) { in util_keymap_insert()
204 map->delete_func(map, item->key, item->value, user); in util_keymap_insert()
205 item->value = (void *) data; in util_keymap_insert()
209 item = MALLOC_STRUCT(keymap_item); in util_keymap_insert()
210 if (!item) in util_keymap_insert()
[all …]
Du_double_list.h51 static INLINE void list_inithead(struct list_head *item) in list_inithead() argument
53 item->prev = item; in list_inithead()
54 item->next = item; in list_inithead()
57 static INLINE void list_add(struct list_head *item, struct list_head *list) in list_add() argument
59 item->prev = list; in list_add()
60 item->next = list->next; in list_add()
61 list->next->prev = item; in list_add()
62 list->next = item; in list_add()
65 static INLINE void list_addtail(struct list_head *item, struct list_head *list) in list_addtail() argument
67 item->next = list; in list_addtail()
[all …]
/external/lzma/CPP/Windows/Control/
DListView.cpp25 LVITEM item; in GetItemParam() local
26 item.iItem = index; in GetItemParam()
27 item.iSubItem = 0; in GetItemParam()
28 item.mask = LVIF_PARAM; in GetItemParam()
29 bool aResult = GetItem(&item); in GetItemParam()
30 param = item.lParam; in GetItemParam()
46 LVITEM item; in InsertItem() local
47 item.mask = LVIF_TEXT | LVIF_PARAM; in InsertItem()
48 item.iItem = index; in InsertItem()
49 item.lParam = index; in InsertItem()
[all …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DVisitor.java18 public void doAt(Object item) { in doAt() argument
19 if (item instanceof Collection) { in doAt()
20 doAt((Collection) item); in doAt()
21 } else if (item instanceof Map) { in doAt()
22 doAt((Map) item); in doAt()
23 } else if (item instanceof Object[]) { in doAt()
24 doAt((Object[]) item); in doAt()
25 } else if (item instanceof UnicodeSet) { in doAt()
26 doAt((UnicodeSet) item); in doAt()
28 doSimpleAt(item); in doAt()
[all …]
/external/ipsec-tools/src/racoon/
Disakmp_frag.c183 struct isakmp_frag_item *item; local
213 if ((item = racoon_malloc(sizeof(*item))) == NULL) {
222 item->frag_num = frag->index;
223 item->frag_last = (frag->flags & ISAKMP_FRAG_LAST);
224 item->frag_next = NULL;
225 item->frag_packet = buf;
228 if (item->frag_last)
229 last_frag = item->frag_num;
232 iph1->frag_chain = item;
239 last_frag = item->frag_num;
[all …]
/external/vulkan-validation-layers/loader/
DcJSON.c93 static const char *parse_number(cJSON *item, const char *num) { in parse_number() argument
127 item->valuedouble = n; in parse_number()
128 item->valueint = (int)n; in parse_number()
129 item->type = cJSON_Number; in parse_number()
182 static char *print_number(cJSON *item, printbuffer *p) { in print_number() argument
184 double d = item->valuedouble; in print_number()
192 } else if (fabs(((double)item->valueint) - d) <= DBL_EPSILON && in print_number()
200 sprintf(str, "%d", item->valueint); in print_number()
264 static const char *parse_string(cJSON *item, const char *str) { in parse_string() argument
360 item->valuestring = out; in parse_string()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_state_cache.c54 hash_key(struct brw_cache_item *item) in hash_key() argument
56 GLuint *ikey = (GLuint *)item->key; in hash_key()
57 GLuint hash = item->cache_id, i; in hash_key()
59 assert(item->key_size % 4 == 0); in hash_key()
63 for (i = 0; i < item->key_size/4; i++) { in hash_key()
139 struct brw_cache_item *item; in brw_search_cache() local
149 item = search_cache(cache, hash, &lookup); in brw_search_cache()
151 if (item == NULL) in brw_search_cache()
154 *(void **)out_aux = ((char *)item->key + item->key_size); in brw_search_cache()
156 if (item->offset != *inout_offset) { in brw_search_cache()
[all …]
/external/icu/icu4c/source/test/depstest/
Ddependencies.py75 def _ReadFiles(deps_file, item, library_name): argument
77 item_files = item.get("files")
82 if item_files == None: item_files = item["files"] = set()
90 file_to_item[file_name] = item["name"]
92 def _IsLibrary(item): return item and item["type"] == "library" argument
94 def _IsLibraryGroup(item): return item and "library" in item argument
96 def _ReadDeps(deps_file, item, library_name): argument
98 item_deps = item.get("deps")
103 if item_deps == None: item_deps = item["deps"] = set()
107 if item["type"] == "system_symbols" and (_IsLibraryGroup(dep_item) or _IsLibrary(dep_item)):
[all …]
/external/libdrm/
Dutil_double_list.h47 static inline void list_inithead(struct list_head *item) in list_inithead() argument
49 item->prev = item; in list_inithead()
50 item->next = item; in list_inithead()
53 static inline void list_add(struct list_head *item, struct list_head *list) in list_add() argument
55 item->prev = list; in list_add()
56 item->next = list->next; in list_add()
57 list->next->prev = item; in list_add()
58 list->next = item; in list_add()
61 static inline void list_addtail(struct list_head *item, struct list_head *list) in list_addtail() argument
63 item->next = list; in list_addtail()
[all …]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/
Dset.py39 for item in items:
40 self.add(item)
45 def add(self, item): argument
47 if not item in self.items:
48 self.items.append(item)
50 def remove(self, item): argument
52 self.items.remove(item)
54 def discard(self, item): argument
57 self.items.remove(item)
97 for item in other.items:
[all …]
/external/markdown/tests/misc/
Dnested-lists.txt1 * item 1
5 * item 2
7 * item 2-1
8 * item 2-2
10 * item 2-2-1
12 * item 2-3
14 * item 2-3-1
16 * item 3
20 * item 1
21 * item 1-1
[all …]
/external/v8/test/mjsunit/regress/
Dregress-145201.js35 function item(operator) { function
77 item('^');
78 item('~');
79 item('<<');
80 item('<');
81 item('==');
82 item('>>>');
83 item('>>');
84 item('|');
85 item('-');
[all …]
/external/bison/doc/
Dcross-options.texi1 @item @option{--debug}
5 @item @option{--define=@var{name}[=@var{value}]}
9 @item @option{--defines[=@var{file}]}
13 @item @option{--feature[=@var{feature}]}
17 @item @option{--file-prefix=@var{prefix}}
21 @item @option{--force-define=@var{name}[=@var{value}]}
25 @item @option{--graph[=@var{file}]}
29 @item @option{--help}
33 @item @option{--language=@var{language}}
37 @item @option{--locations}
[all …]

12345678910>>...64