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.cpp63 auto connect = [](asocket* tail, asocket* head) { in TEST_F() argument
64 tail->peer = head; in TEST_F()
65 head->peer = tail; in TEST_F()
66 tail->ready(tail); in TEST_F()
75 asocket* tail = create_local_socket(intermediate[1]); in TEST_F() local
76 ASSERT_NE(nullptr, tail); in TEST_F()
79 prev_tail = tail; in TEST_F()
220 asocket* tail = create_local_socket(tail_fd[1]); in TEST_F() local
222 head->peer = tail; in TEST_F()
225 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/
DFlushCommand.h39 explicit FlushCommand(LogReader& reader, bool nonBlock, unsigned long tail, in FlushCommand() argument
44 mTail(tail), in FlushCommand()
DLogReader.cpp60 unsigned long tail = 0; in onDataAvailable() local
64 tail = atol(cp + sizeof(_tail) - 1); in onDataAvailable()
199 cli->getUid(), cli->getGid(), cli->getPid(), nonBlock ? 'n' : 'b', tail, in onDataAvailable()
202 FlushCommand command(*this, nonBlock, tail, logMask, pid, sequence, timeout); in onDataAvailable()
DLogTimes.cpp31 bool nonBlock, unsigned long tail, log_mask_t logMask, in LogTimeEntry() argument
42 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/chre/util/include/chre/util/
Darray_queue.h162 ValueType *pointer, ValueType *base, size_t tail) in ArrayQueueIterator() argument
163 : mPointer(pointer), mBase(base), mTail(tail) {} in ArrayQueueIterator()
/system/core/libpixelflinger/arch-mips64/
Dcol32cb16blend.S75 bltz $a2,tail
91 tail: label
Dt32cb16blend.S105 bltz $a2,tail
147 tail: label
/system/core/liblog/
Dlogger_read.c224 int mode, unsigned int tail, pid_t pid) { in android_logger_list_alloc() argument
235 logger_list->tail = tail; in android_logger_list_alloc()
315 log_id_t logId, int mode, unsigned int tail, pid_t pid) { in android_logger_list_open() argument
316 struct logger_list* logger_list = android_logger_list_alloc(mode, tail, pid); in android_logger_list_open()
Dlocal_logger.c351 unsigned int tail; in writeToLocalNode() local
358 if (!logger_list->tail) { in writeToLocalNode()
363 tail = logger_list->tail; in writeToLocalNode()
372 if ((logMask & (1 << logId)) && !--tail) { in writeToLocalNode()
/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/extras/tests/sdcard/
Dprofile_sdcard.sh41 local t=$(grep 'write_total' /tmp/tmp-sdcard.txt | tail -n 1 | cut -f 6 -d ' ')
/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/debuggerd/libdebuggerd/
Dtombstone.cpp459 static void dump_log_file(log_t* log, pid_t pid, const char* filename, unsigned int tail) { in dump_log_file() argument
468 android_name_to_log_id(filename), ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK, tail, pid); in dump_log_file()
506 tail ? "tail end of " : "", filename); in dump_log_file()
577 static void dump_logs(log_t* log, pid_t pid, unsigned int tail) { in dump_logs() argument
583 dump_log_file(log, pid, "system", tail); in dump_logs()
584 dump_log_file(log, pid, "main", tail); in dump_logs()
/system/core/liblog/include_vndk/log/
Dlog_read.h254 struct logger_list* android_logger_list_alloc(int mode, unsigned int tail,
268 unsigned int tail, pid_t pid);
/system/core/liblog/include/log/
Dlog_read.h254 struct logger_list* android_logger_list_alloc(int mode, unsigned int tail,
268 unsigned int tail, pid_t pid);
/system/tools/hidl/scripts/
Drun-tests.sh53 local instances=$(echo "${output}" | tail -n+2)

12