Searched refs:wr_size (Results 1 – 5 of 5) sorted by relevance
/external/perfetto/src/base/ |
D | base64.cc | 65 size_t wr_size = 0; in Base64Encode() local 69 dst[wr_size++] = kEncTable[s[0] >> 2]; in Base64Encode() 74 dst[wr_size++] = kEncTable[carry0 | (s[1] >> 4)]; in Base64Encode() 76 dst[wr_size++] = kEncTable[carry0]; in Base64Encode() 77 dst[wr_size++] = kPadding; in Base64Encode() 78 dst[wr_size++] = kPadding; in Base64Encode() 85 dst[wr_size++] = kEncTable[carry1 | (s[2] >> 6)]; in Base64Encode() 87 dst[wr_size++] = kEncTable[carry1]; in Base64Encode() 88 dst[wr_size++] = kPadding; in Base64Encode() 92 dst[wr_size++] = kEncTable[s[2] & 0x3f]; in Base64Encode() [all …]
|
/external/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe01.c | 18 int rd_size, wr_size; in verify_pipe() local 31 wr_size = SAFE_WRITE(SAFE_WRITE_ALL, fds[1], wrbuf, sizeof(wrbuf)); in verify_pipe() 34 if (rd_size != wr_size) { in verify_pipe() 36 rd_size, wr_size); in verify_pipe() 40 if ((strncmp(rdbuf, wrbuf, wr_size)) != 0) { in verify_pipe()
|
/external/perfetto/src/trace_processor/util/ |
D | streaming_line_reader_unittest.cc | 108 size_t wr_size = static_cast<size_t>(rnd()) % 1000ul; in TEST() local 110 wr_size = std::min(wr_size, avail); in TEST() 111 memcpy(slr.BeginWrite(wr_size), &*it, wr_size); in TEST() 112 slr.EndWrite(wr_size); in TEST() 113 it += static_cast<ssize_t>(wr_size); in TEST()
|
/external/linux-kselftest/tools/testing/selftests/breakpoints/ |
D | breakpoint_test_arm64.c | 112 static bool run_test(int wr_size, int wp_size, int wr, int wp) in run_test() argument 125 child(wr_size, wr); in run_test()
|
/external/perfetto/src/tracing/core/ |
D | tracing_service_impl.cc | 2516 ssize_t wr_size = PERFETTO_EINTR(writev(fd, &iovecs[i], iov_batch_size)); in WriteIntoFile() local 2517 if (wr_size <= 0) { in WriteIntoFile() 2522 total_wr_size += static_cast<size_t>(wr_size); in WriteIntoFile()
|