Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 136) sorted by relevance

123456

/system/core/libcutils/include/cutils/
Dlist.h28 struct listnode *next; member
37 .next = &(name), \
42 for ((node) = (list)->next; (node) != (list); (node) = (node)->next)
48 for ((node) = (list)->next, (n) = (node)->next; \
50 (node) = (n), (n) = (node)->next)
54 node->next = node; in list_init()
60 item->next = head; in list_add_tail()
62 head->prev->next = item; in list_add_tail()
68 item->next = head->next; in list_add_head()
70 head->next->prev = item; in list_add_head()
[all …]
/system/core/libcutils/include_vndk/cutils/
Dlist.h28 struct listnode *next; member
37 .next = &(name), \
42 for ((node) = (list)->next; (node) != (list); (node) = (node)->next)
48 for ((node) = (list)->next, (n) = (node)->next; \
50 (node) = (n), (n) = (node)->next)
54 node->next = node; in list_init()
60 item->next = head; in list_add_tail()
62 head->prev->next = item; in list_add_tail()
68 item->next = head->next; in list_add_head()
70 head->next->prev = item; in list_add_head()
[all …]
/system/sepolicy/tools/fc_sort/
Dfc_sort.c45 struct file_context_node *next; member
70 struct file_context_bucket *next; member
160 while (a_current->next && b_current) { in fc_merge()
161 jumpto = a_current->next; in fc_merge()
165 while (b_current && a_current->next && in fc_merge()
166 fc_compare(a_current->next, in fc_merge()
169 temp = a_current->next; in fc_merge()
170 a_current->next = b_current; in fc_merge()
171 b_current = b_current->next; in fc_merge()
172 a_current->next->next = temp; in fc_merge()
[all …]
/system/core/libsparse/
Dbacked_block.cpp46 struct backed_block* next; member
60 return bb->next; in backed_block_iter_next()
123 struct backed_block* next = bb->next; in backed_block_list_destroy() local
125 bb = next; in backed_block_list_destroy()
141 for (end = start; end && end->next; end = end->next) in backed_block_list_move()
152 from->data_blocks = end->next; in backed_block_list_move()
154 for (bb = from->data_blocks; bb; bb = bb->next) { in backed_block_list_move()
155 if (bb->next == start) { in backed_block_list_move()
156 bb->next = end->next; in backed_block_list_move()
164 end->next = nullptr; in backed_block_list_move()
[all …]
/system/bt/osi/src/
Dlist.cc8 struct list_node_t* next; member
97 node->next = prev_node->next; in list_insert_after()
99 prev_node->next = node; in list_insert_after()
111 node->next = list->head; in list_prepend()
125 node->next = NULL; in list_append()
131 list->tail->next = node; in list_append()
145 list_node_t* next = list_free_node_(list, list->head); in list_remove() local
146 if (list->tail == list->head) list->tail = next; in list_remove()
147 list->head = next; in list_remove()
151 for (list_node_t *prev = list->head, *node = list->head->next; node; in list_remove()
[all …]
/system/core/liblog/
Dconfig_write.h29 for ((transp) = node_to_item((transports)->next, \
33 ((transp) != node_to_item((transp)->node.next, \
35 (transp) = node_to_item((transp)->node.next, \
39 for ((transp) = node_to_item((transports)->next, \
41 (n) = (transp)->node.next; \
47 (n) = (transp)->node.next)
Dconfig_read.h29 for ((transp) = node_to_item((transports)->next, \
33 ((transp) != node_to_item((transp)->node.next, \
35 (transp) = node_to_item((transp)->node.next, \
39 for ((transp) = node_to_item((transports)->next, \
41 (n) = (transp)->node.next; \
47 (n) = (transp)->node.next)
/system/extras/showslab/
Dshowslab.c21 struct slab_info *next; member
141 prev->next = p; in get_slabinfo()
149 p->next = NULL; in get_slabinfo()
163 struct slab_info *temp = list->next; in free_slablist()
176 p->next = a; in merge_objs()
178 a = a->next; in merge_objs()
180 p->next = b; in merge_objs()
182 b = b->next; in merge_objs()
186 p->next = (a == NULL) ? b : a; in merge_objs()
187 return list.next; in merge_objs()
[all …]
/system/bt/embdrv/sbc/decoder/srce/
Dframing.c156 INLINE OI_CHAR crc_iterate(uint8_t oldcrc, uint8_t next) { in crc_iterate() argument
159 idx = oldcrc ^ next; in crc_iterate()
170 INLINE OI_CHAR crc_iterate_top4(uint8_t oldcrc, uint8_t next) { in crc_iterate_top4() argument
173 idx = (oldcrc ^ next) >> 4; in crc_iterate_top4()
186 INLINE uint8_t crc_iterate_top4(uint8_t oldcrc, uint8_t next) { in crc_iterate_top4() argument
187 return (oldcrc << 4) ^ crc8_narrow[(oldcrc ^ next) >> 4]; in crc_iterate_top4()
191 INLINE uint8_t crc_iterate(uint8_t crc, uint8_t next) { in crc_iterate() argument
192 crc = (crc << 4) ^ crc8_narrow[(crc ^ next) >> 4]; in crc_iterate()
193 crc = (crc << 4) ^ crc8_narrow[((crc >> 4) ^ next) & 0xf]; in crc_iterate()
199 INLINE uint8_t crc_iterate(uint8_t crc, uint8_t next) { in crc_iterate() argument
[all …]
/system/sepolicy/tools/sepolicy-analyze/
Dtypecmp.c15 for (p = type_rules, c = type_rules->next; c; p = c, c = c->next) { in insert_type_rule()
49 n->next = p->next; in insert_type_rule()
50 p->next = n; in insert_type_rule()
115 l = l->next; in free_type_rules()
126 for (c = l2; c; c = c->next) { in find_match()
212 if (!type_rules[i].next) in analyze_types()
216 free_type_rules(type_rules[i].next); in analyze_types()
217 type_rules[i].next = NULL; in analyze_types()
223 free_type_rules(type_rules[j].next); in analyze_types()
224 type_rules[j].next = NULL; in analyze_types()
[all …]
/system/core/fs_mgr/libdm/
Ddm.cpp195 uint32_t next = sizeof(*io); in GetAvailableTargets() local
196 data_size = io->data_size - next; in GetAvailableTargets()
198 reinterpret_cast<struct dm_target_versions*>(static_cast<char*>(buffer.get()) + next); in GetAvailableTargets()
199 while (next && data_size) { in GetAvailableTargets()
201 if (vers->next == 0) { in GetAvailableTargets()
204 next += vers->next; in GetAvailableTargets()
205 data_size -= vers->next; in GetAvailableTargets()
207 next); in GetAvailableTargets()
258 uint32_t next = sizeof(*io); in GetAvailableDevices() local
259 data_size = io->data_size - next; in GetAvailableDevices()
[all …]
/system/core/libcutils/
Dhashmap.cpp31 Entry* next; member
116 Entry* next = entry->next; in expandIfNecessary() local
118 entry->next = newBuckets[index]; in expandIfNecessary()
120 entry = next; in expandIfNecessary()
144 Entry* next = entry->next; in hashmapFree() local
146 entry = next; in hashmapFree()
177 entry->next = NULL; in createEntry()
220 p = &current->next; in hashmapPut()
233 entry = entry->next; in hashmapGet()
249 *p = current->next; in hashmapRemove()
[all …]
Dconfig_utils.cpp43 for(node = root->first_child; node; node = node->next) in config_find()
57 root->last_child->next = node; in _config_create()
118 char next; member
129 if(cs->next != 0) { in _lex()
130 c = cs->next; in _lex()
131 cs->next = 0; in _lex()
211 cs->next = *data; in _lex()
296 cs.next = 0; in config_load()
325 cur = cur->next; in config_free()
/system/core/libpackagelistparser/
Dpackagelistparser.c95 char *next; in packagelist_parse() local
121 next = buf; in packagelist_parse()
123 cur = strsep(&next, " \t\r\n"); in packagelist_parse()
134 cur = strsep(&next, " \t\r\n"); in packagelist_parse()
157 cur = strsep(&next, " \t\r\n"); in packagelist_parse()
177 cur = strsep(&next, " \t\r\n"); in packagelist_parse()
188 cur = strsep(&next, " \t\r\n"); in packagelist_parse()
199 cur = strsep(&next, " \t\r\n"); in packagelist_parse()
226 cur = strsep(&next, " \t\r\n"); in packagelist_parse()
242 cur = strsep(&next, " \t\r\n"); in packagelist_parse()
/system/bt/btif/src/
Dbtif_uid.cc33 struct uid_set_node_t* next; member
51 node = node->next; in uid_set_destroy()
63 node = node->next; in uid_set_find_or_create_node()
69 node->next = set->head; in uid_set_find_or_create_node()
99 node = node->next; in uid_set_read_and_clear()
117 node = node->next; in uid_set_read_and_clear()
/system/tools/hidl/docs/src/parser/files/
Dpackage.kt35 token = iter.next() in parsePackageInfo()
41 token = iter.next() in parsePackageInfo()
52 token = iter.next() in parsePackageInfo()
55 token = iter.next() in parsePackageInfo()
/system/tools/hidl/docs/src/parser/elements/declarations/
DMethodDeclarationParser.kt43 var token = iter.next() in parseTokens()
48 token = iter.next() in parseTokens()
59 token = iter.next() in parseTokens()
65 token = iter.next() in parseTokens()
72 token = iter.next() in parseTokens()
DAbstractDeclarationParser.kt56 var token = iter.next() in scanDelimitedList()
66 iter.next() in scanDelimitedList()
69 iter.next() in scanDelimitedList()
78 token = iter.next() in scanDelimitedList()
/system/tools/hidl/docs/src/parser/elements/
DDocAnnotationParser.kt62 if (peekToken(iter)?.identifier == TokenGrammar.AT) iter.next() in scanTokens()
69 token = iter.next() in scanTokens()
91 val token = iter.next() in parseTokens()
102 if (iter.hasNext()) this.arg = iter.next().value in parseTokens()
108 descTokens.add(iter.next()) in parseTokens()
/system/core/property_service/libpropertyinfoserializer/
Dspace_tokenizer.h29 auto next = std::string(); in GetNext() local
31 next.push_back(*it_++); in GetNext()
36 return next; in GetNext()
/system/core/libmemunreachable/
DAllocator.cpp99 MapAllocation* next; member
325 for (LinkedList<Chunk*>* it = free_chunks_[i].next(); it->data() != NULL; it = it->next()) { in Empty()
330 for (LinkedList<Chunk*>* it = full_chunks_[i].next(); it->data() != NULL; it = it->next()) { in Empty()
343 Chunk* chunk = free_chunks_[i].next()->data(); in ~HeapImpl()
348 Chunk* chunk = full_chunks_[i].next()->data(); in ~HeapImpl()
369 return free_chunks_[bucket].next()->data()->Alloc(); in AllocLocked()
398 allocation->next = map_allocation_list_; in MapAlloc()
406 while (*allocation && (*allocation)->ptr != ptr) allocation = &(*allocation)->next; in MapFree()
413 *allocation = (*allocation)->next; in MapFree()
430 while (node->next() != head && node->data() != nullptr && in MoveToList()
[all …]
/system/core/libunwindstack/
DJitDebug.cpp34 uint32_t next; member
41 uint32_t next; member
49 uint64_t next; member
119 return code.next; in ReadEntry32Pack()
130 return code.next; in ReadEntry32Pad()
141 return code.next; in ReadEntry64()
/system/extras/simpleperf/
DCallChainJoiner.h105 CacheNode* next = &nodes_[node->leaf_link_next]; in RemoveNodeFromLRUList() local
107 next->leaf_link_prev = node->leaf_link_prev; in RemoveNodeFromLRUList()
111 CacheNode* next = &nodes_[0]; in AppendNodeToLRUList() local
112 CacheNode* prev = &nodes_[next->leaf_link_prev]; in AppendNodeToLRUList()
114 node->leaf_link_prev = next->leaf_link_prev; in AppendNodeToLRUList()
115 next->leaf_link_prev = prev->leaf_link_next = GetNodeIndex(node); in AppendNodeToLRUList()
/system/tools/hidl/docs/src/lexer/
DHidlLexer.kt38 val token = scanner.next() in <lambda>()
83 scanner.next() //annotation tag in <lambda>()
88 annotationArgs.append(scanner.next()).append(" ") in <lambda>()
93 annotationArgs.append(scanner.next()) //')' in <lambda>()
/system/core/libdiskconfig/
Dwrite_lst.c53 item->next = (*lst); in wlist_add()
63 temp_wr = lst->next; in wlist_free()
72 for(; lst; lst = lst->next) { in wlist_commit()

123456