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.java142 stateStack.peek().tags.add(makeElement(state)); in endElement()
145 stateStack.peek().tags.add(makeAttribute(state)); in endElement()
148 stateStack.peek().tags.add(makeAttributeGroup(state)); in endElement()
151 stateStack.peek().tags.add(makeComplexType(state)); in endElement()
154 stateStack.peek().tags.add(makeComplexContent(state)); in endElement()
157 stateStack.peek().tags.add(makeSimpleContent(state)); in endElement()
161 stateStack.peek().tags.add(makeEnumRestriction(state)); in endElement()
164 stateStack.peek().tags.add(makeGeneralRestriction(state)); in endElement()
168 stateStack.peek().tags.add(makeGeneralExtension(state)); in endElement()
171 stateStack.peek().tags.add(makeSimpleType(state)); in endElement()
[all …]
/system/logging/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.h78 int peek);
Dlibaudit.cpp169 int audit_get_reply(int fd, struct audit_message* rep, reply_t block, int peek) { in audit_get_reply() argument
175 flags |= peek; in audit_get_reply()
/system/logging/liblog/
Dlog_event_list.cpp355 int peek) { in android_log_read_next_internal() argument
385 if (!peek) { in android_log_read_next_internal()
424 if (!peek) { in android_log_read_next_internal()
446 if (!peek) { in android_log_read_next_internal()
482 if (!peek) { in android_log_read_next_internal()
501 if (peek) { in android_log_read_next_internal()
518 if (!peek) { in android_log_read_next_internal()
525 if (!peek) { in android_log_read_next_internal()
/system/libbase/
Dcmsg_test.cpp114 TEST_P(CmsgTest, peek) { in TEST_P() argument