Home
last modified time | relevance | path

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

12345678910>>...46

/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/webrtc/src/system_wrappers/source/
Dmap_no_stl.cc17 MapNoStlItem::MapNoStlItem(int id, void* item) in MapNoStlItem() argument
21 item_ptr_(item) in MapNoStlItem()
79 MapNoStlItem* item = first_; in Insert() local
81 if (!item) in Insert()
87 while(item->next_) in Insert()
93 if (item->GetId() > id) in Insert()
95 new_item->next_ = item; in Insert()
96 item->prev_ = new_item; in Insert()
97 if (item == first_) in Insert()
103 new_item->prev_ = item->prev_; in Insert()
[all …]
Dlist_no_stl.cc17 ListItem::ListItem(const void* item) in ListItem() argument
20 item_ptr_(item), in ListItem()
25 ListItem::ListItem(const unsigned int item) in ListItem() argument
29 item_(item) in ListItem()
81 ListItem* item = new ListItem(ptr); in PushBack() local
83 PushBackImpl(item); in PushBack()
89 ListItem* item = new ListItem(item_id); in PushBack() local
91 PushBackImpl(item); in PushBack()
97 ListItem* item = new ListItem(item_id); in PushFront() local
99 PushFrontImpl(item); in PushFront()
[all …]
Dlist_unittest.cc41 const ListItem* item) const = 0;
59 ListItem* Next(ListItem* item) const { in Next()
60 return list_.Next(item); in Next()
62 ListItem* Previous(ListItem* item) const { in Previous()
63 return list_.Previous(item); in Previous()
65 virtual int Erase(ListItem* item) = 0;
86 virtual bool DestroyListItemContent(ListItem* item) = 0;
87 bool DestroyListItem(ListItem* item) { in DestroyListItem() argument
88 const bool retval = DestroyListItemContent(item); in DestroyListItem()
89 delete item; in DestroyListItem()
[all …]
Dlist_stl.cc16 ListItem::ListItem(const void* item) in ListItem() argument
18 item_ptr_(item), in ListItem()
23 ListItem::ListItem(const unsigned int item) in ListItem() argument
26 item_(item) in ListItem()
73 ListItem* item = new ListItem(ptr); in PushBack() local
74 list_.push_back(item); in PushBack()
80 ListItem* item = new ListItem(item_id); in PushBack() local
81 list_.push_back(item); in PushBack()
87 ListItem* item = new ListItem(item_id); in PushFront() local
88 list_.push_front(item); in PushFront()
[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/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.c24 pitem *item = pqueue_pop(q); in clear_and_free_queue() local
25 if (item == NULL) { in clear_and_free_queue()
28 pitem_free(item); in clear_and_free_queue()
40 pitem *item = pitem_new(priority, &data); in trivial() local
41 if (item == NULL || in trivial()
42 pqueue_insert(q, item) != item || in trivial()
44 pqueue_peek(q) != item || in trivial()
45 pqueue_pop(q) != item || in trivial()
50 pitem_free(item); in trivial()
65 pitem *curr, *item; in fixed_random() local
[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/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/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/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/freedreno/
Dlist.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/libdrm/tests/radeon/
Dlist.h47 static 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 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 void list_addtail(struct list_head *item, struct list_head *list) in list_addtail() argument
63 item->next = list; in list_addtail()
[all …]
/external/openfst/src/include/fst/
Dunion-find.h45 T FindSet(T item) { in FindSet() argument
46 if (item >= parent_.size() in FindSet()
47 || item == fail_ in FindSet()
48 || parent_[item] == fail_) return fail_; in FindSet()
50 T *p = &parent_[item]; in FindSet()
51 for (; *p != item; item = *p, p = &parent_[item]) { in FindSet()
67 T MakeSet(T item) { in MakeSet() argument
68 if (item >= parent_.size()) { in MakeSet()
70 size_t nitem = item > 0 ? 2 * item : 2; in MakeSet()
74 parent_[item] = item; in MakeSet()
[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>>...46