/system/core/include/cutils/ |
D | list.h | 58 static inline void list_add_tail(struct listnode *head, struct listnode *item) in list_add_tail() argument 60 item->next = head; in list_add_tail() 61 item->prev = head->prev; in list_add_tail() 62 head->prev->next = item; in list_add_tail() 63 head->prev = item; in list_add_tail() 66 static inline void list_add_head(struct listnode *head, struct listnode *item) in list_add_head() argument 68 item->next = head->next; in list_add_head() 69 item->prev = head; in list_add_head() 70 head->next->prev = item; in list_add_head() 71 head->next = item; in list_add_head()
|
/system/extras/latencytop/ |
D | latencytop.c | 55 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/ |
D | test_track_devices.c | 83 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()
|
D | test_track_jdwp.c | 83 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()
|
D | jdwp_service.c | 148 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()
|
D | transport.c | 375 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/ |
D | showmap.c | 125 static void enqueue_map(mapinfo **head, mapinfo *map, int sort_by_address, int coalesce_by_name) { in enqueue_map() argument 127 mapinfo *current = *head; in enqueue_map() 152 *head = map; in enqueue_map() 168 mapinfo *head = NULL; in load_maps() local 191 enqueue_map(&head, current, sort_by_address, coalesce_by_name); in load_maps() 199 enqueue_map(&head, current, sort_by_address, coalesce_by_name); in load_maps() 203 if (!head) { in load_maps() 208 return head; in load_maps()
|
/system/extras/showslab/ |
D | showslab.c | 62 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/core/lmkd/ |
D | lmkd.c | 169 static void adjslot_insert(struct adjslot_list *head, struct adjslot_list *new) in adjslot_insert() argument 171 struct adjslot_list *next = head->next; in adjslot_insert() 172 new->prev = head; in adjslot_insert() 175 head->next = new; in adjslot_insert() 186 static struct adjslot_list *adjslot_tail(struct adjslot_list *head) { in adjslot_tail() argument 187 struct adjslot_list *asl = head->prev; in adjslot_tail() 189 return asl == head ? NULL : asl; in adjslot_tail()
|
/system/core/include/diskconfig/ |
D | diskconfig.h | 57 uint8_t head; member
|
/system/core/libutils/ |
D | RefBase.cpp | 250 ref_entry* const head = *refs; in removeRef() local 251 ref_entry* ref = head; in removeRef() 266 ref = head; in removeRef()
|
/system/media/camera/docs/ |
D | metadata-generate | 145 head -n "$start_line" "${dst_file}" > "${tmp_name}"
|
D | html.mako | 18 <head> 101 </head>
|