Home
last modified time | relevance | path

Searched refs:bytes_to_write (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/syscalls/mprotect/
Dmprotect02.c62 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/
Dzfstream.cc229 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/
Dtest_utils_posix.cc19 size_t bytes_to_write, in BlockingWrite() argument
27 ssize_t result = HANDLE_EINTR(write(handle.handle, buffer, bytes_to_write)); in BlockingWrite()
Dtest_utils_win.cc19 size_t bytes_to_write, in BlockingWrite() argument
24 if (!WriteFile(handle.handle, buffer, static_cast<DWORD>(bytes_to_write), in BlockingWrite()
Dtest_utils.h25 size_t bytes_to_write,
/external/autotest/server/cros/bluetooth/
Dbluetooth_device.py658 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/
Dsanitizer_coverage_libcdep.cc639 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()