/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/logging/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/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/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/logging/logd/ |
D | LogReader.cpp | 102 unsigned long tail = 0; in onDataAvailable() local 106 tail = atol(cp + sizeof(_tail) - 1); in onDataAvailable() 210 cli->getUid(), cli->getGid(), cli->getPid(), nonBlock ? 'n' : 'b', tail, logMask, in onDataAvailable() 219 std::move(socket_log_writer), nonBlock, tail, in onDataAvailable()
|
D | LogReaderThread.cpp | 31 unsigned long tail, LogMask log_mask, pid_t pid, in LogReaderThread() argument 38 tail_(tail), in LogReaderThread()
|
D | LogBufferTest.h | 112 unsigned long tail = 0; member 127 params.non_block, params.tail, params.log_mask, params.pid, params.start_time, in TestReaderThread()
|
D | LogBufferTest.cpp | 379 auto read_log_messages = ReadLogMessagesNonBlockingThread({.tail = kTailCount}); in TEST_P() 388 auto blocking_reader = TestReaderThread({.non_block = false, .tail = kTailCount}, *this); in TEST_P() 434 auto read_log_messages = ReadLogMessagesNonBlockingThread({.tail = kTailCount}); in TEST_P() 443 auto blocking_reader = TestReaderThread({.non_block = false, .tail = kTailCount}, *this); in TEST_P()
|
/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()
|
D | VintfFmTest.cpp | 284 auto tail = R"(</compatibility-matrix>)"; 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/logging/liblog/include_vndk/log/ |
D | log_read.h | 111 struct logger_list* android_logger_list_alloc(int mode, unsigned int tail, 124 unsigned int tail, pid_t pid);
|
/system/logging/liblog/include/log/ |
D | log_read.h | 111 struct logger_list* android_logger_list_alloc(int mode, unsigned int tail, 124 unsigned int tail, pid_t pid);
|
/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 | 176 ArrayQueueIterator(ValueType *pointer, ValueType *base, size_t tail) in ArrayQueueIterator() argument 177 : mPointer(pointer), mBase(base), mTail(tail) {} in ArrayQueueIterator()
|
/system/security/keystore2/src/database/ |
D | utils.rs | 156 (@gen_consts {$first:ident $(,$tail:ident)*} {$($out:tt)*} {$($count:tt)*}) => { 157 impl_metadata!(@gen_consts {$($tail),*} {$($out)* $first ($($count)*),} {$($count)* + 1});
|
/system/bt/gd/packet/ |
D | packet_view_unittest.cc | 408 PacketView<true> Slice(size_t header, size_t tail) { in Slice() argument 409 return PacketView<true>::GetLittleEndianSubview(header, tail); in Slice() 418 auto tail = GetParam().second; in TEST_P() local 426 auto single_slice = single_view.Slice(header, tail); in TEST_P() 427 auto multi_slice = multi_view.Slice(header, tail); in TEST_P() 429 ASSERT_EQ(single_slice.size(), tail - header); in TEST_P() 459 auto tail = GetParam().second; in TEST_P() local 467 ASSERT_DEATH(auto single_slice = single_view.Slice(header, tail), ""); in TEST_P() 468 ASSERT_DEATH(auto multi_slice = multi_view.Slice(header, tail), ""); in TEST_P()
|
/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/core/debuggerd/libdebuggerd/ |
D | tombstone.cpp | 459 static void dump_log_file(log_t* log, pid_t pid, const char* filename, unsigned int tail) { in dump_log_file() argument 468 android_logger_list_open(android_name_to_log_id(filename), ANDROID_LOG_NONBLOCK, tail, pid); in dump_log_file() 501 _LOG(log, logtype::LOGS, "--------- %slog %s\n", tail ? "tail end of " : "", filename); in dump_log_file() 552 static void dump_logs(log_t* log, pid_t pid, unsigned int tail) { in dump_logs() argument 558 dump_log_file(log, pid, "system", tail); in dump_logs() 559 dump_log_file(log, pid, "main", tail); in dump_logs()
|
/system/core/libutils/ |
D | String8.cpp | 403 size_t tail = index; in removeAll() local 410 memmove(buf + tail, buf + index + skip, next - index - skip); in removeAll() 411 tail += next - index - skip; in removeAll() 414 unlockBuffer(tail); in removeAll()
|