/system/core/include/cutils/ |
D | list.h | 29 struct listnode *prev; member 38 .prev = &name, \ 45 for (node = (list)->prev; node != (list); node = node->prev) 55 node->prev = node; in list_init() 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() 69 item->prev = head; in list_add_head() 70 head->next->prev = item; in list_add_head() 76 item->next->prev = item->prev; in list_remove() [all …]
|
D | atomic-mips64.h | 68 int32_t prev, status; in android_atomic_cas() local 77 : [prev] "=&r" (prev), [status] "=&r" (status) in android_atomic_cas() 81 return prev != old_value; in android_atomic_cas() 106 int32_t prev, status; in android_atomic_add() local 113 : [status] "=&r" (status), [prev] "=&r" (prev) in android_atomic_add() 117 return prev; in android_atomic_add() 135 int32_t prev, status; in android_atomic_and() local 142 : [prev] "=&r" (prev), [status] "=&r" (status) in android_atomic_and() 146 return prev; in android_atomic_and() 152 int32_t prev, status; in android_atomic_or() local [all …]
|
D | atomic-mips.h | 75 int32_t prev, status; in android_atomic_cas() local 84 : [prev] "=&r" (prev), [status] "=&r" (status) in android_atomic_cas() 88 return prev != old_value; in android_atomic_cas() 114 int32_t prev, status; in android_atomic_add() local 121 : [status] "=&r" (status), [prev] "=&r" (prev) in android_atomic_add() 125 return prev; in android_atomic_add() 143 int32_t prev, status; in android_atomic_and() local 150 : [prev] "=&r" (prev), [status] "=&r" (status) in android_atomic_and() 154 return prev; in android_atomic_and() 160 int32_t prev, status; in android_atomic_or() local [all …]
|
D | atomic-arm64.h | 111 int32_t prev, status; in android_atomic_add() local 114 prev = *ptr; in android_atomic_add() 115 status = android_atomic_cas(prev, prev + increment, ptr); in android_atomic_add() 117 return prev; in android_atomic_add() 135 int32_t prev, status; in android_atomic_and() local 138 prev = *ptr; in android_atomic_and() 139 status = android_atomic_cas(prev, prev & value, ptr); in android_atomic_and() 141 return prev; in android_atomic_and() 147 int32_t prev, status; in android_atomic_or() local 150 prev = *ptr; in android_atomic_or() [all …]
|
D | atomic-x86_64.h | 83 int32_t prev; in android_atomic_cas() local 85 : "=a" (prev) in android_atomic_cas() 88 return prev != old_value; in android_atomic_cas() 132 int32_t prev, status; in android_atomic_and() local 134 prev = *ptr; in android_atomic_and() 135 status = android_atomic_cas(prev, prev & value, ptr); in android_atomic_and() 137 return prev; in android_atomic_and() 143 int32_t prev, status; in android_atomic_or() local 145 prev = *ptr; in android_atomic_or() 146 status = android_atomic_cas(prev, prev | value, ptr); in android_atomic_or() [all …]
|
D | atomic-x86.h | 75 int32_t prev; in android_atomic_cas() local 77 : "=a" (prev) in android_atomic_cas() 80 return prev != old_value; in android_atomic_cas() 126 int32_t prev, status; in android_atomic_and() local 128 prev = *ptr; in android_atomic_and() 129 status = android_atomic_cas(prev, prev & value, ptr); in android_atomic_and() 131 return prev; in android_atomic_and() 137 int32_t prev, status; in android_atomic_or() local 139 prev = *ptr; in android_atomic_or() 140 status = android_atomic_cas(prev, prev | value, ptr); in android_atomic_or() [all …]
|
D | atomic-arm.h | 73 int32_t prev, status; in android_atomic_cas() local 82 : "=&r" (prev), "=&r" (status), "+m"(*ptr) in android_atomic_cas() 86 return prev != old_value; in android_atomic_cas() 109 int32_t prev, tmp, status; in android_atomic_add() local 115 : "=&r" (prev), "=&r" (tmp), in android_atomic_add() 120 return prev; in android_atomic_add() 136 int32_t prev, tmp, status; in android_atomic_and() local 142 : "=&r" (prev), "=&r" (tmp), in android_atomic_and() 147 return prev; in android_atomic_and() 153 int32_t prev, tmp, status; in android_atomic_or() local [all …]
|
/system/core/adb/ |
D | transport.c | 32 .prev = &transport_list, 37 .prev = &pending_list, 599 t->next->prev = t->prev; in transport_registration_func() 600 t->prev->next = t->next; in transport_registration_func() 655 t->next->prev = t->prev; in transport_registration_func() 656 t->prev->next = t->next; in transport_registration_func() 659 t->prev = transport_list.prev; in transport_registration_func() 660 t->next->prev = t; in transport_registration_func() 661 t->prev->next = t; in transport_registration_func() 664 t->disconnects.next = t->disconnects.prev = &t->disconnects; in transport_registration_func() [all …]
|
D | jdwp_service.c | 107 JdwpProcess* prev; member 164 proc->prev->next = proc->next; in jdwp_process_free() 165 proc->next->prev = proc->prev; in jdwp_process_free() 207 proc->prev = proc; in jdwp_process_alloc() 222 proc->prev = proc->next->prev; in jdwp_process_alloc() 224 proc->prev->next = proc; in jdwp_process_alloc() 225 proc->next->prev = proc; in jdwp_process_alloc() 628 JdwpTracker* prev; member 666 tracker->prev->next = tracker->next; in jdwp_tracker_close() 667 tracker->next->prev = tracker->prev; in jdwp_tracker_close() [all …]
|
D | usb_windows.c | 37 usb_handle *prev; member 63 .prev = &handle_list, 161 handle->prev = handle_list.prev; in register_new_device() 162 handle->prev->next = handle; in register_new_device() 163 handle->next->prev = handle; in register_new_device() 200 ret->prev = ret; in do_usb_open() 383 if ((handle->next != handle) && (handle->prev != handle)) { in usb_close() 384 handle->next->prev = handle->prev; in usb_close() 385 handle->prev->next = handle->next; in usb_close() 386 handle->prev = handle; in usb_close()
|
D | usb_libusb.c | 45 usb_handle *prev; member 63 .prev = &handle_list, 213 h->next->prev = h->prev; in usb_close() 214 h->prev->next = h->next; in usb_close() 215 h->prev = NULL; in usb_close() 237 h->next->prev = h->prev; in usb_kick() 238 h->prev->next = h->next; in usb_kick() 239 h->prev = NULL; in usb_kick() 344 usb->prev = handle_list.prev; in register_device() 345 usb->prev->next = usb; in register_device() [all …]
|
D | fdevent.c | 90 .prev = &list_pending, 470 node->prev = list->prev; in fdevent_plist_enqueue() 471 node->prev->next = node; in fdevent_plist_enqueue() 472 list->prev = node; in fdevent_plist_enqueue() 477 node->prev->next = node->next; in fdevent_plist_remove() 478 node->next->prev = node->prev; in fdevent_plist_remove() 480 node->prev = 0; in fdevent_plist_remove() 491 list->next->prev = list; in fdevent_plist_dequeue() 493 node->prev = 0; in fdevent_plist_dequeue()
|
D | usb_linux.c | 52 usb_handle *prev; member 81 .prev = &handle_list, 547 h->next->prev = h->prev; in usb_close() 548 h->prev->next = h->next; in usb_close() 549 h->prev = 0; in usb_close() 667 usb->prev = handle_list.prev; in register_device() 668 usb->prev->next = usb; in register_device() 669 usb->next->prev = usb; in register_device()
|
D | sockets.c | 54 .prev = &local_socket_list, 63 .prev = &local_socket_closing_list, 92 s->prev = s->next->prev; in insert_local_socket() 93 s->prev->next = s; in insert_local_socket() 94 s->next->prev = s; in insert_local_socket() 116 if (s->prev && s->next) in remove_socket() 118 s->prev->next = s->next; in remove_socket() 119 s->next->prev = s->prev; in remove_socket() 121 s->prev = 0; in remove_socket()
|
D | adb.h | 80 asocket *prev; member 153 adisconnect* prev; member 178 atransport *prev; member 229 alistener *prev; member
|
D | fdevent.h | 70 fdevent *prev; member
|
/system/extras/showmap/ |
D | showmap.c | 40 static int parse_header(const char* line, const mapinfo* prev, mapinfo** mi) { in parse_header() argument 59 if (prev && start == prev->end && is_library(prev->name)) { in parse_header() 63 strlcpy(name, prev->name, sizeof(name)); in parse_header() 126 mapinfo *prev = NULL; in enqueue_map() local 149 if (prev) { in enqueue_map() 150 prev->next = map; in enqueue_map() 158 prev = current; in enqueue_map()
|
/system/core/libutils/ |
D | SharedBuffer.cpp | 115 int32_t prev = 1; in release() local 116 if (onlyOwner() || ((prev = android_atomic_dec(&mRefs)) == 1)) { in release() 122 return prev; in release()
|
/system/core/libbacktrace/ |
D | UnwindPtrace.cpp | 103 backtrace_frame_data_t* prev = &frames->at(num_frames-1); in Unwind() local 104 prev->stack_size = frame->sp - prev->sp; in Unwind()
|
D | UnwindCurrent.cpp | 134 backtrace_frame_data_t* prev = &frames->at(num_frames-1); in UnwindFromContext() local 135 prev->stack_size = frame->sp - prev->sp; in UnwindFromContext()
|
/system/extras/ext4_utils/ |
D | allocate.c | 30 struct region *prev; member 93 if (reg->prev) in region_list_remove() 94 reg->prev->next = reg->next; in region_list_remove() 97 reg->next->prev = reg->prev; in region_list_remove() 103 list->last = reg->prev; in region_list_remove() 106 reg->prev = NULL; in region_list_remove() 116 reg->prev = NULL; in region_list_append() 119 reg->prev = list->last; in region_list_append() 267 struct region *reg = alloc->list.last->prev; in reduce_allocation() 403 reg->prev = NULL; in ext4_allocate_best_fit_partial() [all …]
|
/system/core/toolbox/upstream-netbsd/bin/cat/ |
D | cat.c | 173 int ch, gobble, line, prev; in cook_buf() local 176 for (prev = '\n'; (ch = getc(fp)) != EOF; prev = ch) { in cook_buf() 177 if (prev == '\n') { in cook_buf()
|
/system/core/lmkd/ |
D | lmkd.c | 102 struct adjslot_list *prev; member 172 new->prev = head; in adjslot_insert() 174 next->prev = new; in adjslot_insert() 180 struct adjslot_list *prev = old->prev; in adjslot_remove() local 182 next->prev = prev; in adjslot_remove() 183 prev->next = next; in adjslot_remove() 187 struct adjslot_list *asl = head->prev; in adjslot_tail() 790 procadjslot_list[i].prev = &procadjslot_list[i]; in init()
|
/system/extras/showslab/ |
D | showslab.c | 62 struct slab_info *head = NULL, *p = NULL, *prev = NULL; in get_slabinfo() local 104 head = prev = p; in get_slabinfo() 141 prev->next = p; in get_slabinfo() 142 prev = p; in get_slabinfo()
|
/system/core/libcutils/ |
D | config_utils.c | 324 cnode *prev = cur; in config_free() local 327 free(prev); in config_free()
|