/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 88 "%s: buffer len=%u; file=%s", __func__, nbytes, filename.c_str()); in nfa_nv_co_read() 97 size_t actualReadData = read(fileStream, pBuffer, nbytes); in nfa_nv_co_read() 133 extern void nfa_nv_co_write(const uint8_t* pBuffer, uint16_t nbytes, in nfa_nv_co_write() argument 138 "%s: bytes=%u; file=%s", __func__, nbytes, filename.c_str()); in nfa_nv_co_write() 143 uint16_t checksum = crcChecksumCompute(pBuffer, nbytes); in nfa_nv_co_write() 145 size_t actualWrittenData = write(fileStream, pBuffer, nbytes); in nfa_nv_co_write() 148 if ((actualWrittenData == 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/timezone/input_tools/android/zone_compactor/main/java/ |
D | ZoneCompactor.java | 61 int nbytes = in.read(buf); in copyFile() local 62 if (nbytes == -1) { in copyFile() 65 out.write(buf, 0, nbytes); in copyFile() 67 byte[] nret = new byte[ret.length + nbytes]; in copyFile() 69 System.arraycopy(buf, 0, nret, ret.length, nbytes); in copyFile()
|
/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 | 159 #define KISS_FFT_TMP_ALLOC(nbytes) alloca(nbytes) argument 162 #define KISS_FFT_TMP_ALLOC(nbytes) KISS_FFT_MALLOC(nbytes) argument
|
/system/update_engine/common/ |
D | utils.cc | 266 size_t nbytes, in AppendBytes() argument 270 vec_p->insert(vec_p->end(), buf, buf + nbytes); in AppendBytes() 272 static void AppendBytes(const uint8_t* buf, size_t nbytes, string* str_p) { in AppendBytes() argument 275 str_p->append(buf, buf + nbytes); in AppendBytes() 292 size_t nbytes = fread(buf, 1, bytes_to_read, fp); in Read() local 293 if (!nbytes) { in Read() 296 AppendBytes(buf, nbytes, out_p); in Read() 298 CHECK(size >= static_cast<off_t>(nbytes)); in Read() 299 size -= nbytes; in Read()
|
/system/core/fastboot/ |
D | fastboot_driver.cpp | 566 size_t nbytes = TRANSPORT_CHUNK_SIZE * nchunks; in SparseWriteCallback() local 567 if (nbytes && SendBuffer(data + total, nbytes)) { // Don't send a ZLP in SparseWriteCallback() 571 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()
|