Searched refs:nbytes (Results 1 – 5 of 5) sorted by relevance
/aosp14/system/core/libutils/include/utils/ |
H A D | Compat.h | 40 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { in pread64() argument 41 return pread(fd, buf, nbytes, offset); in pread64() 44 static inline ssize_t pwrite64(int fd, const void* buf, size_t nbytes, off64_t offset) { in pwrite64() argument 45 return pwrite(fd, buf, nbytes, offset); in pwrite64()
|
/aosp14/system/core/fastboot/ |
H A D | fastboot_driver.cpp | 616 size_t nbytes = TRANSPORT_CHUNK_SIZE * nchunks; in SparseWriteCallback() local 617 if (nbytes && SendBuffer(data + total, nbytes)) { // Don't send a ZLP in SparseWriteCallback() 621 total += nbytes; in SparseWriteCallback()
|
/aosp14/system/core/fastboot/fuzzy_fastboot/ |
H A D | extensions.cpp | 58 int nbytes = write(fileno(stderr), err_str.c_str(), err_str.length()); in MakeRegex() local 59 static_cast<void>(nbytes); // need to supress the unused nbytes/ or unused result in MakeRegex()
|
/aosp14/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarVerifier.java | 138 public void write(byte[] buf, int off, int nbytes) { in write() argument 139 digest.update(buf, off, nbytes); in write()
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | BootReceiver.java | 195 int nbytes = Os.read(fd, mTraceBuffer, 0, mBufferSize); in onReceive() 196 if (nbytes > 0) { in onReceive()
|