/system/core/libcutils/include_outside_system/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/core/libcutils/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/bt/osi/src/ |
D | list.cc | 13 list_node_t* head; member 72 return list->head->data; in list_front() 111 node->next = list->head; in list_prepend() 113 list->head = node; in list_prepend() 114 if (list->tail == NULL) list->tail = list->head; in list_prepend() 128 list->head = node; in list_append() 144 if (list->head->data == data) { in list_remove() 145 list_node_t* next = list_free_node_(list, list->head); in list_remove() 146 if (list->tail == list->head) list->tail = next; in list_remove() 147 list->head = next; in list_remove() [all …]
|
D | ringbuffer.cc | 29 uint8_t* head; member 38 p->head = p->tail = p->base; in ringbuffer_init() 79 rb->head += length; in ringbuffer_delete() 80 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; in ringbuffer_delete() 93 uint8_t* b = ((rb->head - rb->base + offset) % rb->total) + rb->base; in ringbuffer_peek() 111 rb->head += copied; in ringbuffer_pop() 112 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; in ringbuffer_pop()
|
/system/bt/btif/src/ |
D | btif_uid.cc | 38 uid_set_node_t* head; member 48 uid_set_node_t* node = set->head; in uid_set_destroy() 54 set->head = NULL; in uid_set_destroy() 61 uid_set_node_t* node = set->head; in uid_set_find_or_create_node() 69 node->next = set->head; in uid_set_find_or_create_node() 70 set->head = node; in uid_set_find_or_create_node() 96 uid_set_node_t* node = set->head; in uid_set_read_and_clear() 108 node = set->head; in uid_set_read_and_clear()
|
D | btif_profile_queue.cc | 118 const ConnectNode& head = connect_queue.front(); in queue_int_advance() local 120 head.ToString().c_str()); in queue_int_advance() 194 ConnectNode& head = connect_queue.front(); in btif_queue_connect_next() local 196 LOG_INFO("Executing profile connection request:%s", head.ToString().c_str()); in btif_queue_connect_next() 197 bt_status_t b_status = head.connect(); in btif_queue_connect_next() 200 __func__, head.ToString().c_str()); in btif_queue_connect_next()
|
/system/nfc/utils/ |
D | ringbuffer.cc | 28 uint8_t* head; member 40 p->head = p->tail = p->base; in ringbuffer_init() 81 rb->head += length; in ringbuffer_delete() 82 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; in ringbuffer_delete() 95 uint8_t* b = ((rb->head - rb->base + offset) % rb->total) + rb->base; in ringbuffer_peek() 113 rb->head += copied; in ringbuffer_pop() 114 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; in ringbuffer_pop()
|
/system/extras/latencytop/ |
D | latencytop.c | 55 static void print_latency_entries(struct latency_entry* head); 288 static struct latency_entry* find_latency_entry(struct latency_entry* head, char* reason) { in find_latency_entry() argument 291 e = head; in find_latency_entry() 316 struct latency_entry *e, *head; in read_latency_file() local 321 head = list; in read_latency_file() 337 e = find_latency_entry(head, reason); in read_latency_file() 348 e->next = head; in read_latency_file() 349 head = e; in read_latency_file() 354 return head; in read_latency_file() 357 static void print_latency_entries(struct latency_entry* head) { in print_latency_entries() argument [all …]
|
/system/netd/libnetdutils/include/netdutils/ |
D | Slice.h | 120 inline size_t extract(const Slice src, Head& head) { in extract() argument 121 return copy(makeSlice(head), src); in extract() 128 inline size_t extract(const Slice src, Head& head, Tail&... tail) { in extract() argument 129 const auto extracted = extract(src, head); in extract()
|
/system/chre/core/tests/ |
D | memory_manager_test.cc | 78 node *head = static_cast<node *>(manager.nanoappAlloc(&app, sizeof(node))); in TEST() local 79 node *curr = nullptr, *prev = head; in TEST() 90 curr = head; in TEST()
|
/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/nvram/messages/include/nvram/messages/ |
D | tagged_union.h | 121 template <size_t head, size_t... tail> 122 struct Max<head, tail...> { 124 head > Max<tail...>::value ? head : Max<tail...>::value;
|
/system/extras/tests/workloads/ |
D | defs.sh | 89 devInfo=$(adb devices -l | grep -v ^List | head -1) 202 s=$(grep "Binder.*tracing_mark_write.*launching" $traceout 2>/dev/null | head -1| tr [\(\)\[\] 205 s=$(grep activityPause $traceout | head -1 2>/dev/null| tr [\(\)\[\] 222 grep -v Starting | head -1 | tr [\(\)\[\] 229 grep -v Starting | head -1 | tr [\(\)\[\]
|
D | capture.sh | 21 devInfo=$(adb devices -l | grep -v ^List | head -1)
|
D | pwrtest.sh | 279 head -$twentyminutes $powerOutput > $displayPowerOutput 280 head -$twentyminutes $airplanePowerOutput > $airplaneDisplayPowerOutput
|
/system/apex/apexer/ |
D | runtests.sh | 50 head -c 1M </dev/urandom > ${input_dir}/file1 51 head -c 1M </dev/urandom > ${input_dir}/file2 53 head -c 1M </dev/urandom > ${input_dir}/sub/file3
|
/system/teeui/libteeui/include/teeui/ |
D | cbor.h | 64 Array(const Head& head, const Tail&... tail) : head_(head), tail_(tail...) {} 136 Map(const MapElement<HeadKey, HeadValue>& head, const Tail&... tail) 137 : head_(head), tail_(tail...) {} 288 WriteState write(WriteState wState, const Head& head, const Tail&... tail) { 289 wState = write(wState, head);
|
D | msg_formatting.h | 148 WriteStream write(Message<Head, Tail...>, WriteStream out, const Head& head, const Tail&... tail) { in write() argument 149 out = write(out, head); in write()
|
/system/libvintf/test/ |
D | VintfFmTest.cpp | 282 auto head = android::base::StringPrintf(R"(<compatibility-matrix %s type="device">)", in SetUpFiles() local 292 xml3 = head + xml3 + tail; in SetUpFiles() 293 xml2 = head + xml2 + tail; in SetUpFiles() 294 xml1 = head + xml1 + tail; in SetUpFiles()
|
/system/memory/libmemunreachable/ |
D | Allocator.cpp | 90 void MoveToList(Chunk* chunk, LinkedList<Chunk*>* head); 424 void HeapImpl::MoveToList(Chunk* chunk, LinkedList<Chunk*>* head) { in MoveToList() argument 428 LinkedList<Chunk*>* node = head; in MoveToList() 430 while (node->next() != head && node->data() != nullptr && in MoveToList()
|
/system/timezone/testing/data/ |
D | transform-distro-files.sh | 39 TZHEADER=$(head -n1 ${INPUT_TZDATA_FILE} | cut -c1-11)
|
/system/core/libdiskconfig/include/diskconfig/ |
D | diskconfig.h | 57 uint8_t head; member
|
/system/sepolicy/tools/ |
D | check_seapp.c | 28 #define list_init(free_fn) { .head = NULL, .tail = NULL, .freefn = (free_fn) } 48 for(var = (list)->head; var != NULL; var = var->next) /*NOLINT*/ 90 list_element *head; member 235 if (list->head == NULL ) { in list_append() 236 list->head = list->tail = e; in list_append() 252 list_element *cursor = list->head; in list_free() 892 if (!input_file_list.head) { in init()
|
/system/core/shell_and_utilities/ |
D | README.md | 105 head hostname hwclock id ifconfig inotifyd insmod kill load\_policy ln 125 getenforce getprop groups head hostname hwclock id ifconfig inotifyd 147 getenforce getprop groups **gunzip** **gzip** head hostname hwclock id ifconfig 173 getenforce groups gunzip gzip head hostname hwclock id ifconfig inotifyd 200 getenforce **getfattr** grep groups gunzip gzip head **help** hostname hwclock 232 getenforce getfattr **getopt** grep groups gunzip gzip head help hostname 264 fsync getconf getenforce getfattr getopt grep groups gunzip gzip head
|
/system/keymaster/ng/include/ |
D | keymaster_tags.h | 330 std::remove_reference_t<Head> NullOrOr(Head&& head, Tail&&... tail) { 331 if (head.isOk()) return head;
|