Searched defs:nbytes (Results 1 - 4 of 4) sorted by relevance
/system/core/include/utils/ |
H A D | Compat.h | 32 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { argument 33 return pread(fd, buf, nbytes, offset); 36 static inline ssize_t pwrite64(int fd, const void* buf, size_t nbytes, off64_t offset) { argument 37 return pwrite(fd, buf, nbytes, offset);
|
/system/core/libutils/include/utils/ |
H A D | Compat.h | 32 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { argument 33 return pread(fd, buf, nbytes, offset); 36 static inline ssize_t pwrite64(int fd, const void* buf, size_t nbytes, off64_t offset) { argument 37 return pwrite(fd, buf, nbytes, offset);
|
/system/nfc/src/adaptation/ |
H A D | libmain.cc | 72 ** nbytes - number of bytes to read into the buffer. 84 extern void nfa_nv_co_read(uint8_t* pBuffer, uint16_t nbytes, uint8_t block) { argument 88 "%s: buffer len=%u; file=%s", __func__, nbytes, filename.c_str()); 93 size_t actualReadData = read(fileStream, pBuffer, nbytes); 118 ** nbytes - number of bytes to write out to the file. 129 extern void nfa_nv_co_write(const uint8_t* pBuffer, uint16_t nbytes, argument 134 "%s: bytes=%u; file=%s", __func__, nbytes, filename.c_str()); 139 unsigned short checksum = crcChecksumCompute(pBuffer, nbytes); 141 size_t actualWrittenData = write(fileStream, pBuffer, nbytes); 144 if ((actualWrittenData == nbytes) [all...] |
/system/update_engine/common/ |
H A D | utils.cc | 312 // Append |nbytes| of content from |buf| to the vector pointed to by either 314 static void AppendBytes(const uint8_t* buf, size_t nbytes, argument 318 vec_p->insert(vec_p->end(), buf, buf + nbytes); 320 static void AppendBytes(const uint8_t* buf, size_t nbytes, argument 324 str_p->append(buf, buf + nbytes); 341 size_t nbytes = fread(buf, 1, bytes_to_read, fp); local 342 if (!nbytes) { 345 AppendBytes(buf, nbytes, out_p); 347 CHECK(size >= static_cast<off_t>(nbytes)); 348 size -= nbytes; [all...] |
Completed in 135 milliseconds