Searched refs:WRITES (Results 1 – 3 of 3) sorted by relevance
/external/nanopb-c/tests/encode_unittests/ |
D | encode_unittests.c | 41 #define WRITES(x, y) \ macro 79 TEST(WRITES(pb_encode_varint(&s, 0), "\0")); in main() 80 TEST(WRITES(pb_encode_varint(&s, 1), "\1")); in main() 81 TEST(WRITES(pb_encode_varint(&s, 0x7F), "\x7F")); in main() 82 TEST(WRITES(pb_encode_varint(&s, 0x80), "\x80\x01")); in main() 83 TEST(WRITES(pb_encode_varint(&s, UINT32_MAX), "\xFF\xFF\xFF\xFF\x0F")); in main() 84 TEST(WRITES(pb_encode_varint(&s, UINT64_MAX), "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\x01")); in main() 92 TEST(WRITES(pb_encode_tag(&s, PB_WT_STRING, 5), "\x2A")); in main() 93 TEST(WRITES(pb_encode_tag(&s, PB_WT_VARINT, 99), "\x98\x06")); in main() 102 TEST(WRITES(pb_encode_tag_for_field(&s, &field), "\x50")); in main() [all …]
|
/external/ltp/testcases/kernel/syscalls/asyncio/ |
D | asyncio02.c | 104 #define WRITES 10 /* Number of times buffer is written */ macro 197 i * WRITES); in main() 230 for (i = 0; i < WRITES; i++) { in testrun() 253 if (buffer.st_size != (off_t) (bytes * WRITES)) { in testrun()
|
/external/libmtp/ |
D | README | 852 Then we get to the complicated things: streaming WRITES...
|