/external/libpng/contrib/arm-neon/ |
linux-auxv.c | 39 safe_read(png_structp png_ptr, int fd, void *buffer_in, size_t nbytes) 44 while (nbytes > 0) 53 if (nbytes > INT_MAX) 57 nread = (unsigned int)/*SAFE*/nbytes; 85 nbytes -= (unsigned int)/*SAFE*/iread; 93 return ntotal; /* nbytes == 0 */
|
/external/chromium_org/third_party/smhasher/src/ |
Bitvec.cpp | 40 void printbits2 ( const uint8_t * k, int nbytes ) 44 for(int i = nbytes-1; i >= 0; i--) 205 void lshift8 ( void * blob, int nbytes, int c ) 214 for(int i = nbytes-1; i >= b; i--) 226 for(int i = nbytes-1; i >= 0; i--) 239 int nbytes = len; local 240 int ndwords = nbytes / 4; 284 void rshift8 ( void * blob, int nbytes, int c ) 293 for(int i = 0; i < nbytes-b; i++) 298 for(int i = nbytes-b; i < nbytes; i++ 318 int nbytes = len; local 369 int nbytes = len; local 409 int nbytes = len; local 464 int nbytes = len; local 506 int nbytes = len; local 632 int nbytes = nbits \/ 8; local 678 int nbytes = nbits \/ 8; local 719 int nbytes = nbits \/ 8; local [all...] |
/external/libnfc-nci/src/hal/int/ |
nfc_hal_nv_co.h | 77 ** nbytes - number of bytes to read into the buffer. 89 void nfc_hal_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block); 99 ** nbytes - number of bytes to write out to the file. 109 void nfc_hal_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block);
|
/external/libnfc-nci/src/nfa/include/ |
nfa_nv_co.h | 79 ** nbytes - number of bytes to read into the buffer. 91 NFC_API extern void nfa_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block); 101 ** nbytes - number of bytes to write out to the file. 111 NFC_API extern void nfa_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block);
|
/external/speex/libspeex/ |
kiss_fft.h | 28 #define KISS_FFT_MALLOC(nbytes) memalign(16,nbytes)
|
/external/valgrind/main/include/ |
pub_tool_mallocfree.h | 42 extern void* VG_(malloc) ( const HChar* cc, SizeT nbytes ); 69 extern void* VG_(perm_malloc) ( SizeT nbytes, Int align );
|
/system/core/include/utils/ |
Compat.h | 35 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { 36 return pread(fd, buf, nbytes, offset);
|
/device/google/accessory/arduino/USB_Host_Shield/ |
Usb.h | 133 byte ctrlReq( byte addr, byte ep, byte bmReqType, byte bRequest, byte wValLo, byte wValHi, unsigned int wInd, unsigned int nbytes, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
135 byte getDevDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
136 byte getConfDescr( byte addr, byte ep, unsigned int nbytes, byte conf, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
137 byte getStrDescr( byte addr, byte ep, unsigned int nbytes, byte index, unsigned int langid, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
143 byte getReportDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
144 byte setReport( byte addr, byte ep, unsigned int nbytes, byte interface, byte report_type, byte report_id, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
145 byte getReport( byte addr, byte ep, unsigned int nbytes, byte interface, byte report_type, byte report_id, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
149 byte ctrlData( byte addr, byte ep, unsigned int nbytes, char* dataptr, boolean direction, unsigned int nak_limit = USB_NAK_LIMIT );
151 byte inTransfer( byte addr, byte ep, unsigned int nbytes, char* data, unsigned int nak_limit = USB_NAK_LIMIT );
152 int newInTransfer( byte addr, byte ep, unsigned int nbytes, char* data, unsigned int nak_limit = USB_NAK_LIMIT) [all...] |
/external/oprofile/libutil++/ |
bfd_spu_support.cpp | 69 file_ptr nbytes, file_ptr offset) 74 nbytes = fread(buf, sizeof(char), nbytes, my_stream->stream); 79 return nbytes;
|
/external/valgrind/main/VEX/priv/ |
main_globals.c | 53 void (*vex_log_bytes) ( HChar*, Int nbytes ) = NULL;
|
main_globals.h | 54 extern void (*vex_log_bytes) ( HChar*, Int nbytes );
|
/external/e2fsprogs/lib/ext2fs/ |
bitops.c | 134 unsigned int ext2fs_bitcount(const void *addr, unsigned int nbytes) 140 while (((((unsigned long) cp) & 3) != 0) && (nbytes > 0)) { 142 nbytes--; 146 while (nbytes > 4) { 148 nbytes -= 4; 152 while (nbytes > 0) { 154 nbytes--;
|
/prebuilts/misc/common/swig/include/2.0.11/ |
cmalloc.i | 20 TYPE *malloc_NAME(int nbytes = sizeof(TYPE); 22 TYPE *realloc_NAME(TYPE *ptr, int nbytes); 29 %rename(malloc_##NAME) ::malloc(int nbytes); 31 %rename(malloc_##TYPE) ::malloc(int nbytes); 35 %typemap(default) int nbytes "$1 = (int) sizeof(TYPE);" 37 TYPE *malloc(int nbytes); 38 %typemap(default) int nbytes;
|
/external/valgrind/main/memcheck/tests/ |
writev1.c | 27 int nbytes; local 39 } else if ((nbytes = write(fd, buf_list[1], K_1)) != K_1) { 40 fprintf(stderr, "write(2) failed: nbytes = %d, errno = %d\n", 41 nbytes, errno); 62 if ((nbytes = read(fd, buf_list[0], CHUNK)) != 0) 63 fprintf(stderr, "Expected nbytes = 0, got %d\n", nbytes);
|
/bootable/recovery/mtdutils/ |
mounts.c | 65 ssize_t nbytes; local 93 nbytes = read(fd, buf, sizeof(buf) - 1); 95 if (nbytes < 0) { 98 buf[nbytes] = '\0'; 115 while (nbytes > 0) { 145 while (nbytes > 0 && *bufp != '\n') { 147 nbytes--; 149 if (nbytes > 0) { 151 nbytes--;
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
NonVolatileStore.cpp | 51 ** nbytes - number of bytes to read into the buffer. 63 void nfc_hal_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block) 76 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename); 82 size_t actualReadData = read (fileStream, p_buf, nbytes); 111 ** nbytes - number of bytes to write out to the file. 121 void nfc_hal_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block) 134 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename); 139 unsigned short checksum = crcChecksumCompute (p_buf, nbytes); 141 size_t actualWrittenData = write (fileStream, p_buf, nbytes); 143 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum)) [all...] |
/external/libnfc-nci/src/adaptation/ |
libmain.c | 72 ** nbytes - number of bytes to read into the buffer. 84 extern void nfa_nv_co_read(UINT8 *pBuffer, UINT16 nbytes, UINT8 block) 99 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename); 105 size_t actualReadData = read (fileStream, pBuffer, nbytes); 133 ** nbytes - number of bytes to write out to the file. 143 extern void nfa_nv_co_write(const UINT8 *pBuffer, UINT16 nbytes, UINT8 block) 157 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename); 164 unsigned short checksum = crcChecksumCompute (pBuffer, nbytes); 166 size_t actualWrittenData = write (fileStream, pBuffer, nbytes); 168 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum)) [all...] |
/external/valgrind/main/coregrind/ |
pub_core_libcproc.h | 88 extern void VG_(invalidate_icache) ( void *ptr, SizeT nbytes ); 91 extern void VG_(flush_dcache) ( void *ptr, SizeT nbytes );
|
/libcore/luni/src/main/java/libcore/net/url/ |
FtpURLInputStream.java | 46 public int read(byte[] buf, int off, int nbytes) throws IOException { 47 return is.read(buf, off, nbytes);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/ |
af_vfs.h | 35 ssize_t (*read) (AFvirtualfile *vfile, void *data, size_t nbytes); 37 ssize_t (*write) (AFvirtualfile *vfile, const void *data, size_t nbytes);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
af_vfs.h | 35 ssize_t (*read) (AFvirtualfile *vfile, void *data, size_t nbytes); 37 ssize_t (*write) (AFvirtualfile *vfile, const void *data, size_t nbytes);
|
/external/fio/ |
helpers.h | 11 extern int sync_file_range(int fd, off64_t offset, off64_t nbytes,
|
/external/valgrind/main/coregrind/m_replacemalloc/ |
replacemalloc_core.c | 87 void* VG_(cli_malloc) ( SizeT align, SizeT nbytes ) 93 nbytes ); 96 align, nbytes );
|
/libcore/luni/src/main/java/java/util/zip/ |
GZIPOutputStream.java | 105 * Write up to nbytes of data from the given buffer, starting at offset off, 109 public void write(byte[] buffer, int off, int nbytes) throws IOException { 110 super.write(buffer, off, nbytes); 111 crc.update(buffer, off, nbytes);
|
/external/valgrind/main/VEX/useful/ |
smchash.c | 24 Int nbytes; member in struct:__anon36061 42 r= fscanf(f, "GuestBytes %llx %d ", &gb->ga, &gb->nbytes); 47 assert(gb->nbytes > 0); 48 assert(gb->nbytes < 5000); // let's say 50 Int nToAlloc = gb->nbytes + (gb->ga & 3); 52 gb->bytes = malloc( gb->nbytes + nToAlloc); 57 for (i = 0; i < gb->nbytes; i++) { 81 if (0) printf("got %llu %d\n", gb->ga, gb->nbytes); 96 for (i = 0; i < gb->nbytes; i++) 103 for (i = 0; i < gb->nbytes; i++) [all...] |