Home
last modified time | relevance | path

Searched refs:tail (Results 1 – 25 of 43) sorted by relevance

12

/system/netd/libnetdutils/
DNetlink.cpp28 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()
DSlice.cpp39 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/
Dlist.cc14 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 …]
Dringbuffer.cc30 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/adb/
Dsocket_test.cpp64 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/
Dringbuffer.cc29 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/libvintf/test/
DAssembleVintfTest.cpp142 std::string tail = in TEST_F() local
158 std::string xmlEmpty = "<compatibility-matrix version=\"1.0\" type=\"framework\">\n" + tail; in TEST_F()
243 tail, in TEST_F()
260 tail, in TEST_F()
276 tail, in TEST_F()
/system/core/logd/
DLogReader.cpp73 unsigned long tail = 0; in onDataAvailable() local
77 tail = atol(cp + sizeof(_tail) - 1); in onDataAvailable()
212 cli->getUid(), cli->getGid(), cli->getPid(), nonBlock ? 'n' : 'b', tail, in onDataAvailable()
221 *this, cli, nonBlock, tail, logMask, pid, sequence, timeout); in onDataAvailable()
DLogTimes.h54 unsigned long tail, log_mask_t logMask, pid_t pid,
DLogTimes.cpp31 bool nonBlock, unsigned long tail, log_mask_t logMask, in LogTimeEntry() argument
38 mTail(tail), in LogTimeEntry()
/system/nvram/messages/include/nvram/messages/
Dtagged_union.h121 template <size_t head, size_t... tail>
122 struct Max<head, tail...> {
124 head > Max<tail...>::value ? head : Max<tail...>::value;
Dstruct.h252 constexpr explicit FieldSpecList(FieldSpec field_spec, Tail... tail)
253 : kFieldSpec(field_spec), kTail(tail...) {}
/system/bt/gd/packet/
Dpacket_view_unittest.cc297 PacketView<true> Slice(size_t header, size_t tail) { in Slice() argument
298 return PacketView<true>::GetLittleEndianSubview(header, tail); in Slice()
307 auto tail = GetParam().second; in TEST_P() local
315 auto single_slice = single_view.Slice(header, tail); in TEST_P()
316 auto multi_slice = multi_view.Slice(header, tail); in TEST_P()
318 ASSERT_EQ(single_slice.size(), tail - header); in TEST_P()
348 auto tail = GetParam().second; in TEST_P() local
356 ASSERT_DEATH(auto single_slice = single_view.Slice(header, tail), ""); in TEST_P()
357 ASSERT_DEATH(auto multi_slice = multi_view.Slice(header, tail), ""); in TEST_P()
/system/bt/vendor_libs/test_vendor_lib/packets/test/
Dpacket_view_test.cc294 PacketView<true> Slice(size_t header, size_t tail) { in Slice() argument
295 return PacketView<true>::SubViewLittleEndian(header, tail); in Slice()
304 auto tail = GetParam().second; in TEST_P() local
312 auto single_slice = single_view.Slice(header, tail); in TEST_P()
313 auto multi_slice = multi_view.Slice(header, tail); in TEST_P()
315 ASSERT_EQ(single_slice.size(), tail - header); in TEST_P()
345 auto tail = GetParam().second; in TEST_P() local
353 ASSERT_DEATH(auto single_slice = single_view.Slice(header, tail), ""); in TEST_P()
354 ASSERT_DEATH(auto multi_slice = multi_view.Slice(header, tail), ""); in TEST_P()
/system/core/libpixelflinger/arch-mips64/
Dcol32cb16blend.S75 bltz $a2,tail
91 tail: label
Dt32cb16blend.S105 bltz $a2,tail
147 tail: label
/system/chre/util/include/chre/util/
Darray_queue.h177 ValueType *pointer, ValueType *base, size_t tail) in ArrayQueueIterator() argument
178 : mPointer(pointer), mBase(base), mTail(tail) {} in ArrayQueueIterator()
/system/core/liblog/
Dlogger_read.cpp206 struct logger_list* android_logger_list_alloc(int mode, unsigned int tail, pid_t pid) { in android_logger_list_alloc() argument
217 logger_list->tail = tail; in android_logger_list_alloc()
286 struct logger_list* android_logger_list_open(log_id_t logId, int mode, unsigned int tail, in android_logger_list_open() argument
288 struct logger_list* logger_list = android_logger_list_alloc(mode, tail, pid); in android_logger_list_open()
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dutil.c226 tail = 0; in procfile()
365 if ((tail || c) && !cflag && !qflag && !lflag && !Lflag) { in procline()
370 tail = Aflag; in procline()
376 tail--; in procline()
/system/core/libpixelflinger/arch-mips/
Dcol32cb16blend.S90 bltz $a2,tail
117 tail: label
/system/netd/libnetdutils/include/netdutils/
DSlice.h128 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/liblog/include_vndk/log/
Dlog_read.h228 struct logger_list* android_logger_list_alloc(int mode, unsigned int tail,
242 unsigned int tail, pid_t pid);
/system/core/liblog/include/log/
Dlog_read.h228 struct logger_list* android_logger_list_alloc(int mode, unsigned int tail,
242 unsigned int tail, pid_t pid);
/system/core/debuggerd/libdebuggerd/
Dtombstone.cpp497 static void dump_log_file(log_t* log, pid_t pid, const char* filename, unsigned int tail) { in dump_log_file() argument
506 android_name_to_log_id(filename), ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK, tail, pid); in dump_log_file()
540 tail ? "tail end of " : "", filename); in dump_log_file()
607 static void dump_logs(log_t* log, pid_t pid, unsigned int tail) { in dump_logs() argument
613 dump_log_file(log, pid, "system", tail); in dump_logs()
614 dump_log_file(log, pid, "main", tail); in dump_logs()
/system/tools/hidl/scripts/
Drun-tests.sh53 local instances=$(echo "${output}" | tail -n+2)

12