/system/nfc/src/adaptation/ |
D | libmain.cc | 84 extern void nfa_nv_co_read(uint8_t* pBuffer, uint16_t nbytes, uint8_t block) { in nfa_nv_co_read() argument 87 LOG(VERBOSE) << StringPrintf("%s: buffer len=%u; file=%s", __func__, nbytes, in nfa_nv_co_read() 97 size_t actualReadData = read(fileStream, pBuffer, nbytes); in nfa_nv_co_read() 131 extern void nfa_nv_co_write(const uint8_t* pBuffer, uint16_t nbytes, in nfa_nv_co_write() argument 135 LOG(VERBOSE) << StringPrintf("%s: bytes=%u; file=%s", __func__, nbytes, in nfa_nv_co_write() 141 uint16_t checksum = crcChecksumCompute(pBuffer, nbytes); in nfa_nv_co_write() 143 size_t actualWrittenData = write(fileStream, pBuffer, nbytes); in nfa_nv_co_write() 146 if ((actualWrittenData == nbytes) && in nfa_nv_co_write()
|
/system/nfc/src/fuzzers/integration/fakes/ |
D | nfc_adaptation_libmain_fakes.cc | 8 void nfa_nv_co_read(uint8_t* pBuffer, uint16_t nbytes, uint8_t block) { in nfa_nv_co_read() argument 14 std::vector<uint8_t> bytes = g_fuzzed_data->ConsumeBytes<uint8_t>(nbytes); in nfa_nv_co_read() 19 void nfa_nv_co_write(const uint8_t* pBuffer, uint16_t nbytes, in nfa_nv_co_write() argument 22 std::vector<uint8_t> bytes(pBuffer, pBuffer + nbytes); in nfa_nv_co_write()
|
/system/core/libutils/include/utils/ |
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()
|
/system/nfc/src/nfa/include/ |
D | nfa_nv_co.h | 79 extern void nfa_nv_co_read(uint8_t* p_buf, uint16_t nbytes, uint8_t block); 100 extern void nfa_nv_co_write(const uint8_t* p_buf, uint16_t nbytes,
|
/system/extras/memory_replay/ |
D | Utils.h | 28 static __always_inline void MakeAllocationResident(void* ptr, size_t nbytes, int pagesize) { in MakeAllocationResident() argument 30 for (size_t i = 0; i < nbytes; i += pagesize) { in MakeAllocationResident()
|
/system/chre/external/kiss_fft/ |
D | kiss_fft.h | 29 #define KISS_FFT_MALLOC(nbytes) _mm_malloc(nbytes,16) argument
|
D | _kiss_fft_guts.h | 167 #define KISS_FFT_TMP_ALLOC(nbytes) alloca(nbytes) argument 170 #define KISS_FFT_TMP_ALLOC(nbytes) KISS_FFT_MALLOC(nbytes) argument
|
/system/update_engine/liburing_cpp/src/ |
D | IoUring.cpp | 85 IoUringSQE PrepRead(int fd, void* buf, unsigned nbytes, in PrepRead() argument 91 io_uring_prep_read(sqe, fd, buf, nbytes, offset); in PrepRead() 94 IoUringSQE PrepWrite(int fd, const void* buf, unsigned nbytes, in PrepWrite() argument 100 io_uring_prep_write(sqe, fd, buf, nbytes, offset); in PrepWrite()
|
/system/update_engine/liburing_cpp/include/liburing_cpp/ |
D | IoUring.h | 58 virtual IoUringSQE PrepRead(int fd, void *buf, unsigned nbytes, 62 virtual IoUringSQE PrepWrite(int fd, const void *buf, unsigned nbytes,
|
/system/timezone/input_tools/android/zone_compactor/main/java/ |
D | ZoneCompactor.java | 59 int nbytes = in.read(buf); in copyFile() local 60 if (nbytes == -1) { in copyFile() 63 out.write(buf, 0, nbytes); in copyFile()
|
/system/update_engine/common/ |
D | utils.cc | 271 size_t nbytes, in AppendBytes() argument 275 vec_p->insert(vec_p->end(), buf, buf + nbytes); in AppendBytes() 277 static void AppendBytes(const uint8_t* buf, size_t nbytes, string* str_p) { in AppendBytes() argument 280 str_p->append(buf, buf + nbytes); in AppendBytes() 297 size_t nbytes = fread(buf, 1, bytes_to_read, fp); in Read() local 298 if (!nbytes) { in Read() 301 AppendBytes(buf, nbytes, out_p); in Read() 303 CHECK(size >= static_cast<off_t>(nbytes)); in Read() 304 size -= nbytes; in Read()
|
/system/core/fastboot/ |
D | fastboot_driver.cpp | 617 size_t nbytes = TRANSPORT_CHUNK_SIZE * nchunks; in SparseWriteCallback() local 618 if (nbytes && SendBuffer(data + total, nbytes)) { // Don't send a ZLP in SparseWriteCallback() 622 total += nbytes; in SparseWriteCallback()
|
/system/core/fastboot/fuzzy_fastboot/ |
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()
|