/system/netd/libnetdutils/ |
D | Netlink.cpp | 28 Slice tail = buf; in forEachNetlinkMessage() local 29 while (tail.size() >= sizeof(nlmsghdr)) { in forEachNetlinkMessage() 31 extract(tail, hdr); in forEachNetlinkMessage() 33 onMsg(hdr, drop(take(tail, len), sizeof(hdr))); in forEachNetlinkMessage() 34 tail = drop(tail, align(len, 2)); in forEachNetlinkMessage() 40 Slice tail = buf; in forEachNetlinkAttribute() local 41 while (tail.size() >= sizeof(nlattr)) { in forEachNetlinkAttribute() 43 extract(tail, hdr); in forEachNetlinkAttribute() 45 onAttr(hdr, drop(take(tail, len), sizeof(hdr))); in forEachNetlinkAttribute() 46 tail = drop(tail, align(len, 2)); in forEachNetlinkAttribute()
|
D | Slice.cpp | 39 Slice tail = s; in toHex() local 42 while (!tail.empty()) { in toHex() 44 extract(tail, byte); in toHex() 49 tail = drop(tail, 1); in toHex()
|
/system/bt/osi/src/ |
D | list.cc | 14 list_node_t* tail; member 79 return list->tail->data; in list_back() 86 return list->tail; in list_back_node() 100 if (list->tail == prev_node) list->tail = node; in list_insert_after() 114 if (list->tail == NULL) list->tail = list->head; in list_prepend() 127 if (list->tail == NULL) { in list_append() 129 list->tail = node; in list_append() 131 list->tail->next = node; in list_append() 132 list->tail = node; in list_append() 146 if (list->tail == list->head) list->tail = next; in list_remove() [all …]
|
D | ringbuffer.cc | 30 uint8_t* tail; member 38 p->head = p->tail = p->base; in ringbuffer_init() 66 *rb->tail++ = *p++; in ringbuffer_insert() 67 if (rb->tail >= (rb->base + rb->total)) rb->tail = rb->base; in ringbuffer_insert()
|
/system/core/liblog/ |
D | logger_read.cpp | 40 static struct logger_list* android_logger_list_alloc_internal(int mode, unsigned int tail, in android_logger_list_alloc_internal() argument 49 logger_list->tail = tail; in android_logger_list_alloc_internal() 55 struct logger_list* android_logger_list_alloc(int mode, unsigned int tail, pid_t pid) { in android_logger_list_alloc() argument 56 return android_logger_list_alloc_internal(mode, tail, log_time(0, 0), pid); in android_logger_list_alloc() 77 struct logger_list* android_logger_list_open(log_id_t logId, int mode, unsigned int tail, in android_logger_list_open() argument 79 struct logger_list* logger_list = android_logger_list_alloc(mode, tail, pid); in android_logger_list_open()
|
D | logger.h | 31 unsigned int tail; member
|
/system/core/adb/ |
D | socket_test.cpp | 64 auto connect = [](asocket* tail, asocket* head) { in TEST_F() argument 65 tail->peer = head; in TEST_F() 66 head->peer = tail; in TEST_F() 67 tail->ready(tail); in TEST_F() 76 asocket* tail = create_local_socket(unique_fd(intermediate[1])); in TEST_F() local 77 ASSERT_NE(nullptr, tail); in TEST_F() 80 prev_tail = tail; in TEST_F() 239 asocket* tail = create_local_socket(unique_fd(tail_fd[1])); in TEST_F() local 241 head->peer = tail; in TEST_F() 244 tail->peer = head; in TEST_F() [all …]
|
/system/nfc/utils/ |
D | ringbuffer.cc | 29 uint8_t* tail; member 40 p->head = p->tail = p->base; in ringbuffer_init() 68 *rb->tail++ = *p++; in ringbuffer_insert() 69 if (rb->tail >= (rb->base + rb->total)) rb->tail = rb->base; in ringbuffer_insert()
|
/system/core/logd/ |
D | LogReader.cpp | 101 unsigned long tail = 0; in onDataAvailable() local 105 tail = atol(cp + sizeof(_tail) - 1); in onDataAvailable() 208 cli->getUid(), cli->getGid(), cli->getPid(), nonBlock ? 'n' : 'b', tail, logMask, in onDataAvailable() 217 std::move(socket_log_writer), nonBlock, tail, in onDataAvailable()
|
D | LogReaderThread.cpp | 30 unsigned long tail, LogMask log_mask, pid_t pid, in LogReaderThread() argument 37 tail_(tail), in LogReaderThread()
|
D | LogReaderThread.h | 40 std::unique_ptr<LogWriter> writer, bool non_block, unsigned long tail,
|
/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;
|
D | struct.h | 252 constexpr explicit FieldSpecList(FieldSpec field_spec, Tail... tail) 253 : kFieldSpec(field_spec), kTail(tail...) {}
|
/system/core/liblog/include/log/ |
D | log_read.h | 104 struct logger_list* android_logger_list_alloc(int mode, unsigned int tail, 117 unsigned int tail, pid_t pid);
|
/system/core/liblog/include_vndk/log/ |
D | log_read.h | 104 struct logger_list* android_logger_list_alloc(int mode, unsigned int tail, 117 unsigned int tail, pid_t pid);
|
/system/libvintf/test/ |
D | AssembleVintfTest.cpp | 146 std::string tail = in TEST_F() local 164 tail; in TEST_F() 252 tail, in TEST_F() 270 tail, in TEST_F() 287 tail, in TEST_F()
|
/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) { 290 return write(wState, tail...);
|
D | generic_messages.h | 76 WriteStream write(Message<CmdSpec, Tail...>, WriteStream out, const Tail&... tail) { in write() argument 78 return write(Message<Tail...>(), out, tail...); in write()
|
/system/chre/util/include/chre/util/ |
D | array_queue.h | 177 ValueType *pointer, ValueType *base, size_t tail) in ArrayQueueIterator() argument 178 : mPointer(pointer), mBase(base), mTail(tail) {} in ArrayQueueIterator()
|
/system/bt/gd/packet/ |
D | packet_view_unittest.cc | 402 PacketView<true> Slice(size_t header, size_t tail) { in Slice() argument 403 return PacketView<true>::GetLittleEndianSubview(header, tail); in Slice() 412 auto tail = GetParam().second; in TEST_P() local 420 auto single_slice = single_view.Slice(header, tail); in TEST_P() 421 auto multi_slice = multi_view.Slice(header, tail); in TEST_P() 423 ASSERT_EQ(single_slice.size(), tail - header); in TEST_P() 453 auto tail = GetParam().second; in TEST_P() local 461 ASSERT_DEATH(auto single_slice = single_view.Slice(header, tail), ""); in TEST_P() 462 ASSERT_DEATH(auto multi_slice = multi_view.Slice(header, tail), ""); in TEST_P()
|
/system/core/debuggerd/libdebuggerd/ |
D | tombstone.cpp | 449 static void dump_log_file(log_t* log, pid_t pid, const char* filename, unsigned int tail) { in dump_log_file() argument 458 android_logger_list_open(android_name_to_log_id(filename), ANDROID_LOG_NONBLOCK, tail, pid); in dump_log_file() 492 tail ? "tail end of " : "", filename); in dump_log_file() 543 static void dump_logs(log_t* log, pid_t pid, unsigned int tail) { in dump_logs() argument 549 dump_log_file(log, pid, "system", tail); in dump_logs() 550 dump_log_file(log, pid, "main", tail); in dump_logs()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Slice.h | 128 inline size_t extract(const Slice src, Head& head, Tail&... tail) { in extract() argument 130 return extracted + extract(drop(src, extracted), tail...); in extract()
|
/system/tools/hidl/scripts/ |
D | run-tests.sh | 53 local instances=$(echo "${output}" | tail -n+2)
|
/system/core/libutils/ |
D | String8.cpp | 395 size_t tail = index; in removeAll() local 402 memmove(buf + tail, buf + index + skip, next - index - skip); in removeAll() 403 tail += next - index - skip; in removeAll() 406 unlockBuffer(tail); in removeAll()
|
/system/nvram/client/ |
D | nvram_client.c | 266 char* tail = args[2]; in HandleCreateSpace() local 267 while (tail) { in HandleCreateSpace() 278 if (StringToControl(strsep(&tail, ","), &(controls_list[list_size - 1]))) { in HandleCreateSpace()
|