Home
last modified time | relevance | path

Searched refs:head (Results 1 – 14 of 14) sorted by relevance

/system/core/libcutils/
Dlist.c25 void list_add_tail(struct listnode *head, struct listnode *item) in list_add_tail() argument
27 item->next = head; in list_add_tail()
28 item->prev = head->prev; in list_add_tail()
29 head->prev->next = item; in list_add_tail()
30 head->prev = item; in list_add_tail()
/system/extras/latencytop/
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) { in find_latency_entry() argument
296 e = head; in find_latency_entry()
326 struct latency_entry *e, *head; in read_latency_file() local
331 head = list; in read_latency_file()
347 e = find_latency_entry(head, reason); in read_latency_file()
359 e->next = head; in read_latency_file()
360 head = e; in read_latency_file()
365 return head; in read_latency_file()
368 static void print_latency_entries(struct latency_entry *head) { in print_latency_entries() argument
[all …]
/system/core/adb/
Dtest_track_devices.c83 char head[5] = "0000"; in main() local
85 if (unix_read(s, head, 4) < 0) in main()
88 if ( sscanf( head, "%04x", &len ) != 1 ) in main()
94 printf( "received header %.*s (%d bytes):\n%.*s", 4, head, len, len, buffer ); in main()
Dtest_track_jdwp.c83 char head[5] = "0000"; in main() local
85 if (unix_read(s, head, 4) < 0) in main()
88 if ( sscanf( head, "%04x", &len ) != 1 ) in main()
94 printf( "received header %.*s (%d bytes):\n%.*s", 4, head, len, len, buffer ); in main()
Djdwp_service.c148 char head[5]; in jdwp_process_list_msg() local
150 snprintf(head, sizeof head, "%04x", len); in jdwp_process_list_msg()
151 memcpy(buffer, head, 4); in jdwp_process_list_msg()
Dtransport.c375 char head[5]; in list_transports_msg() local
379 snprintf(head, sizeof(head), "%04x", len); in list_transports_msg()
380 memcpy(buffer, head, 4); in list_transports_msg()
/system/extras/showmap/
Dshowmap.c123 static void enqueue_map(mapinfo **head, mapinfo *map, int sort_by_address, int coalesce_by_name) { in enqueue_map() argument
125 mapinfo *current = *head; in enqueue_map()
150 *head = map; in enqueue_map()
166 mapinfo *head = NULL; in load_maps() local
189 enqueue_map(&head, current, sort_by_address, coalesce_by_name); in load_maps()
197 enqueue_map(&head, current, sort_by_address, coalesce_by_name); in load_maps()
201 if (!head) { in load_maps()
206 return head; in load_maps()
/system/extras/showslab/
Dshowslab.c62 struct slab_info *head = NULL, *p = NULL, *prev = NULL; in get_slabinfo() local
100 head = NULL; in get_slabinfo()
104 head = prev = p; in get_slabinfo()
117 head = NULL; in get_slabinfo()
153 return head; in get_slabinfo()
/system/extras/fatblock/
Dimport.c181 static void free_items(struct item *head) in free_items() argument
185 for (tail = head; tail->next; tail = tail->next); in free_items()
188 free_items_head = head; in free_items()
/system/core/libnl_2/
Dattr.c122 int nla_parse(struct nlattr *tb[], int maxtype, struct nlattr *head, in nla_parse() argument
131 nla_for_each_attr(pos, head, len, rem) { in nla_parse()
/system/core/include/diskconfig/
Ddiskconfig.h57 uint8_t head; member
/system/core/libutils/
DRefBase.cpp246 ref_entry* const head = *refs; in removeRef() local
247 ref_entry* ref = head; in removeRef()
262 ref = head; in removeRef()
/system/media/camera/docs/
Dmetadata-generate145 head -n "$start_line" "${dst_file}" > "${tmp_name}"
Dhtml.mako18 <head>
89 </head>