Searched refs:head (Results 1 - 13 of 13) sorted by relevance

/system/core/include/cutils/
H A Dlist.h58 static inline void list_add_tail(struct listnode *head, struct listnode *item) argument
60 item->next = head;
61 item->prev = head->prev;
62 head->prev->next = item;
63 head->prev = item;
66 static inline void list_add_head(struct listnode *head, struct listnode *item) argument
68 item->next = head->next;
69 item->prev = head;
70 head->next->prev = item;
71 head
[all...]
/system/core/adb/
H A Dtest_track_devices.c83 char head[5] = "0000"; local
85 if (unix_read(s, head, 4) < 0)
88 if ( sscanf( head, "%04x", &len ) != 1 )
94 printf( "received header %.*s (%d bytes):\n%.*s", 4, head, len, len, buffer );
H A Dtest_track_jdwp.c83 char head[5] = "0000"; local
85 if (unix_read(s, head, 4) < 0)
88 if ( sscanf( head, "%04x", &len ) != 1 )
94 printf( "received header %.*s (%d bytes):\n%.*s", 4, head, len, len, buffer );
H A Djdwp_service.c148 char head[5]; local
150 snprintf(head, sizeof head, "%04x", len);
151 memcpy(buffer, head, 4);
H A Dtransport.c375 char head[5]; local
379 snprintf(head, sizeof(head), "%04x", len);
380 memcpy(buffer, head, 4);
/system/extras/latencytop/
H A Dlatencytop.c55 static void print_latency_entries(struct latency_entry *head);
293 static struct latency_entry *find_latency_entry(struct latency_entry *head, char *reason) { argument
296 e = head;
326 struct latency_entry *e, *head; local
331 head = list;
347 e = find_latency_entry(head, reason);
359 e->next = head;
360 head = e;
365 return head;
368 static void print_latency_entries(struct latency_entry *head) { argument
[all...]
/system/extras/showmap/
H A Dshowmap.c125 static void enqueue_map(mapinfo **head, mapinfo *map, int sort_by_address, int coalesce_by_name) { argument
127 mapinfo *current = *head;
152 *head = map;
168 mapinfo *head = NULL; local
191 enqueue_map(&head, current, sort_by_address, coalesce_by_name);
199 enqueue_map(&head, current, sort_by_address, coalesce_by_name);
203 if (!head) {
208 return head;
/system/extras/showslab/
H A Dshowslab.c58 * Returns the head of the new list of slab_info structures, or NULL on error.
62 struct slab_info *head = NULL, *p = NULL, *prev = NULL; local
100 head = NULL;
104 head = prev = p;
117 head = NULL;
153 return head;
/system/core/include/diskconfig/
H A Ddiskconfig.h57 uint8_t head; member in struct:chs
/system/core/lmkd/
H A Dlmkd.c169 static void adjslot_insert(struct adjslot_list *head, struct adjslot_list *new) argument
171 struct adjslot_list *next = head->next;
172 new->prev = head;
175 head->next = new;
186 static struct adjslot_list *adjslot_tail(struct adjslot_list *head) { argument
187 struct adjslot_list *asl = head->prev;
189 return asl == head ? NULL : asl;
/system/core/libutils/
H A DRefBase.cpp250 ref_entry* const head = *refs; local
251 ref_entry* ref = head;
266 ref = head;
/system/media/camera/docs/
H A Dmetadata-generate145 head -n "$start_line" "${dst_file}" > "${tmp_name}"
H A Dhtml.mako18 <head>
101 </head>

Completed in 235 milliseconds