Home
last modified time | relevance | path

Searched refs:peek (Results 1 – 5 of 5) sorted by relevance

/system/bt/osi/test/
Dringbuffer_test.cpp24 uint8_t peek[10] = {0}; in TEST() local
25 size_t peeked = ringbuffer_peek(rb, 0, peek, 10); in TEST()
29 ASSERT_TRUE(0 == memcmp(buffer, peek, peeked)); in TEST()
39 uint8_t peek[5] = {0}; in TEST() local
51 size_t peeked = ringbuffer_peek(rb, 0, peek, 5); in TEST()
56 ASSERT_TRUE(0 == memcmp(aa, peek, peeked)); in TEST()
80 uint8_t peek[16] = {0}; in TEST() local
81 size_t peeked = ringbuffer_peek(rb, 0, peek, 16); in TEST()
83 ASSERT_TRUE(0 == memcmp(content, peek, peeked)); in TEST()
99 peeked = ringbuffer_peek(rb, 0, peek, 7); in TEST()
[all …]
/system/core/logd/
DLogKlog.cpp136 char *peek, *tok = s; in log_strntok_r() local
154 peek = is_prio(s, *len); in log_strntok_r()
155 if (!peek) { in log_strntok_r()
165 adjust = peek - s; in log_strntok_r()
171 s = peek; in log_strntok_r()
172 if ((*s == '[') && ((peek = is_timestamp(s + 1, *len - 1)))) { in log_strntok_r()
173 adjust = peek - s; in log_strntok_r()
179 s = peek; in log_strntok_r()
184 peek = is_timestamp(s, *len); in log_strntok_r()
185 if (!peek) { in log_strntok_r()
[all …]
Dlibaudit.h82 int peek);
Dlibaudit.c209 int audit_get_reply(int fd, struct audit_message *rep, reply_t block, int peek) in audit_get_reply() argument
224 flags |= peek; in audit_get_reply()
/system/core/liblog/
Dlog_event_list.c362 android_log_context ctx, int peek) { in android_log_read_next_internal() argument
396 if (!peek) { in android_log_read_next_internal()
433 if (!peek) { in android_log_read_next_internal()
452 if (!peek) { in android_log_read_next_internal()
481 if (!peek) { in android_log_read_next_internal()
497 if (peek) { in android_log_read_next_internal()
512 if (!peek) { in android_log_read_next_internal()
519 if (!peek) { in android_log_read_next_internal()