Home
last modified time | relevance | path

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

/system/nfc/utils/test/
Dringbuffer_test.cc22 uint8_t peek[10] = {0}; in TEST() local
23 size_t peeked = ringbuffer_peek(rb, 0, peek, 10); in TEST()
27 ASSERT_TRUE(0 == memcmp(buffer, peek, peeked)); in TEST()
37 uint8_t peek[5] = {0}; in TEST() local
49 size_t peeked = ringbuffer_peek(rb, 0, peek, 5); in TEST()
54 ASSERT_TRUE(0 == memcmp(aa, peek, peeked)); in TEST()
79 uint8_t peek[16] = {0}; in TEST() local
80 size_t peeked = ringbuffer_peek(rb, 0, peek, 16); in TEST()
82 ASSERT_TRUE(0 == memcmp(content, peek, peeked)); in TEST()
98 peeked = ringbuffer_peek(rb, 0, peek, 7); in TEST()
[all …]
/system/bt/osi/test/
Dringbuffer_test.cc23 uint8_t peek[10] = {0}; in TEST() local
24 size_t peeked = ringbuffer_peek(rb, 0, peek, 10); in TEST()
28 ASSERT_TRUE(0 == memcmp(buffer, peek, peeked)); in TEST()
38 uint8_t peek[5] = {0}; in TEST() local
50 size_t peeked = ringbuffer_peek(rb, 0, peek, 5); in TEST()
55 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/tools/xsdc/src/com/android/xsdc/
DXsdHandler.java134 stateStack.peek().tags.add(makeElement(state)); in endElement()
137 stateStack.peek().tags.add(makeAttribute(state)); in endElement()
140 stateStack.peek().tags.add(makeComplexType(state)); in endElement()
143 stateStack.peek().tags.add(makeComplexContent(state)); in endElement()
146 stateStack.peek().tags.add(makeSimpleContent(state)); in endElement()
150 stateStack.peek().tags.add(makeEnumRestriction(state)); in endElement()
153 stateStack.peek().tags.add(makeGeneralRestriction(state)); in endElement()
157 stateStack.peek().tags.add(makeGeneralExtension(state)); in endElement()
160 stateStack.peek().tags.add(makeSimpleType(state)); in endElement()
163 stateStack.peek().tags.add(makeSimpleTypeList(state)); in endElement()
[all …]
/system/core/logd/
DLogKlog.cpp127 char *peek, *tok = s; in log_strntok_r() local
145 peek = is_prio(s, len); in log_strntok_r()
146 if (!peek) break; in log_strntok_r()
154 adjust = peek - s; in log_strntok_r()
160 s = peek; in log_strntok_r()
161 if ((*s == '[') && ((peek = is_timestamp(s + 1, len - 1)))) { in log_strntok_r()
162 adjust = peek - s; in log_strntok_r()
168 s = peek; in log_strntok_r()
173 peek = is_timestamp(s, len); in log_strntok_r()
174 if (!peek) break; in log_strntok_r()
[all …]
Dlibaudit.h79 int peek);
Dlibaudit.c198 int audit_get_reply(int fd, struct audit_message* rep, reply_t block, int peek) { in audit_get_reply() argument
212 flags |= peek; in audit_get_reply()
/system/core/liblog/
Dlog_event_list.cpp426 static android_log_list_element android_log_read_next_internal(android_log_context ctx, int peek) { in android_log_read_next_internal() argument
459 if (!peek) { in android_log_read_next_internal()
496 if (!peek) { in android_log_read_next_internal()
515 if (!peek) { in android_log_read_next_internal()
544 if (!peek) { in android_log_read_next_internal()
560 if (peek) { in android_log_read_next_internal()
575 if (!peek) { in android_log_read_next_internal()
582 if (!peek) { in android_log_read_next_internal()
/system/core/base/
Dcmsg_test.cpp114 TEST_P(CmsgTest, peek) { in TEST_P() argument