Searched refs:bytes_to_write (Results 1 – 7 of 7) sorted by relevance
/external/ltp/testcases/kernel/syscalls/mprotect/ |
D | mprotect02.c | 62 int bytes_to_write, fd, num_bytes; in main() local 80 bytes_to_write = strlen(buf); in main() 82 bytes_to_write = num_bytes; in main() 85 SAFE_WRITE(cleanup, 1, fd, buf, bytes_to_write); in main()
|
/external/zlib/src/contrib/iostream3/ |
D | zfstream.cc | 229 int bytes_to_write = this->pptr() - this->pbase(); in overflow() local 231 if (bytes_to_write > 0) in overflow() 237 if (gzwrite(file, this->pbase(), bytes_to_write) != bytes_to_write) in overflow() 240 this->pbump(-bytes_to_write); in overflow()
|
/external/libmojo/mojo/edk/test/ |
D | test_utils_posix.cc | 19 size_t bytes_to_write, in BlockingWrite() argument 27 ssize_t result = HANDLE_EINTR(write(handle.handle, buffer, bytes_to_write)); in BlockingWrite()
|
D | test_utils_win.cc | 19 size_t bytes_to_write, in BlockingWrite() argument 24 if (!WriteFile(handle.handle, buffer, static_cast<DWORD>(bytes_to_write), in BlockingWrite()
|
D | test_utils.h | 25 size_t bytes_to_write,
|
/external/autotest/server/cros/bluetooth/ |
D | bluetooth_device.py | 658 def write_characteristic(self, uuid, address, bytes_to_write): argument 673 uuid, address, base64.standard_b64encode(bytes_to_write))
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_coverage_libcdep.cc | 639 uptr bytes_to_write = max_idx * sizeof(tr_event_array[0]); in DumpTrace() local 642 while (bytes_to_write) { in DumpTrace() 644 if (WriteToFile(fd, event_bytes, bytes_to_write, &actually_written) && in DumpTrace() 645 actually_written <= bytes_to_write) { in DumpTrace() 646 bytes_to_write -= actually_written; in DumpTrace()
|