Searched refs:head (Results 1 - 11 of 11) sorted by last modified time

/system/core/adb/
H A Djdwp_service.c148 char head[5]; local
150 snprintf(head, sizeof head, "%04x", len);
151 memcpy(buffer, head, 4);
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 Dtransport.c370 char head[5]; local
374 snprintf(head, sizeof(head), "%04x", len);
375 memcpy(buffer, head, 4);
/system/core/include/diskconfig/
H A Ddiskconfig.h57 uint8_t head; member in struct:chs
/system/core/libcutils/
H A Dlist.c25 void list_add_tail(struct listnode *head, struct listnode *item) argument
27 item->next = head;
28 item->prev = head->prev;
29 head->prev->next = item;
30 head->prev = item;
/system/core/libnl_2/
H A Dattr.c122 int nla_parse(struct nlattr *tb[], int maxtype, struct nlattr *head, argument
131 nla_for_each_attr(pos, head, len, rem) {
/system/extras/fatblock/
H A Dimport.c181 static void free_items(struct item *head) argument
185 for (tail = head; tail->next; tail = tail->next);
188 free_items_head = head;
/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.c123 static void enqueue_map(mapinfo **head, mapinfo *map, int sort_by_address, int coalesce_by_name) { argument
125 mapinfo *current = *head;
150 *head = map;
166 mapinfo *head = NULL; local
189 enqueue_map(&head, current, sort_by_address, coalesce_by_name);
197 enqueue_map(&head, current, sort_by_address, coalesce_by_name);
201 if (!head) {
206 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;

Completed in 3770 milliseconds