/external/valgrind/main/VEX/priv/ |
main_globals.h | 54 extern void (*vex_log_bytes) ( HChar*, 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/bluetooth/glib/tests/ |
gio-test.c | 67 guint nbytes, 70 guint left = nbytes; 138 guint nbytes; local 155 g_assert (nb == sizeof (nbytes)); 170 error = read_all (fd, channel, (gchar *) &nbytes, sizeof (nbytes), &nb); 185 g_assert (nb == sizeof (nbytes)); 187 if (nbytes >= BUFSIZE) 189 g_print ("gio-test: ...from %d: nbytes = %d (%#x)!\n", fd, nbytes, nbytes) [all...] |
/sdk/emulator/qtools/ |
decoder.cpp | 150 int nbytes = kBufSize - len; local 151 int rval = fread(buf_ + len, 1, nbytes, fstream_); 152 if (rval < nbytes) { 170 int nbytes = end_ - next_; local 171 if (nbytes == 0) { 173 nbytes = end_ - next_; 174 if (nbytes == 0) 177 if (nbytes > len) 178 nbytes = len; 179 memcpy(dest, next_, nbytes); [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
CheckedInputStream.java | 80 * @param nbytes 88 public int read(byte[] buf, int off, int nbytes) throws IOException { 89 int x = in.read(buf, off, nbytes);
|
GZIPOutputStream.java | 99 * Write up to nbytes of data from the given buffer, starting at offset off, 103 public void write(byte[] buffer, int off, int nbytes) throws IOException { 104 super.write(buffer, off, nbytes); 105 crc.update(buffer, off, 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/i686-linux-glibc2.7-4.4.3/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/i686-linux-glibc2.7-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.7-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);
|
/external/valgrind/main/include/ |
pub_tool_replacemalloc.h | 41 extern void* VG_(cli_malloc) ( SizeT align, SizeT nbytes );
|
pub_tool_mallocfree.h | 40 extern void* VG_(malloc) ( HChar* cc, SizeT nbytes );
|
/external/valgrind/main/VEX/useful/ |
smchash.c | 24 Int nbytes; member in struct:__anon13670 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...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/ |
ByteBufferTest.java | 1123 int nbytes = 2; local 1149 int nbytes = 2; local 1191 int nbytes = 2; local 1228 int nbytes = 2; local 1266 int nbytes = 8; local 1295 int nbytes = 8; local 1346 int nbytes = 8; local 1383 int nbytes = 8; local 1415 int nbytes = 4; local 1444 int nbytes = 4; local 1489 int nbytes = 4; local 1526 int nbytes = 4; local 1558 int nbytes = 4; local 1584 int nbytes = 4; local 1631 int nbytes = 4; local 1668 int nbytes = 4; local 1700 int nbytes = 8; local 1726 int nbytes = 8; local 1768 int nbytes = 8; local 1805 int nbytes = 8; local 1837 int nbytes = 2; local 1863 int nbytes = 2; local 1905 int nbytes = 2; local 1942 int nbytes = 2; local 2041 int nbytes = 4, bigHead, step; local 2060 int nbytes = 8, bigHead, step; local 2079 int nbytes = 2, bigHead, step; local 2110 int nbytes = 4, smallHead, step; local 2129 int nbytes = 8, smallHead, step; local 2148 int nbytes = 2, smallHead, step; local [all...] |
/external/jpeg/ |
jdatasrc.c | 93 size_t nbytes; local 95 nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE); 97 if (nbytes <= 0) { 104 nbytes = 2; 108 src->pub.bytes_in_buffer = nbytes;
|
/external/qemu/distrib/jpeg-6b/ |
jdatasrc.c | 93 size_t nbytes; local 95 nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE); 97 if (nbytes <= 0) { 104 nbytes = 2; 108 src->pub.bytes_in_buffer = nbytes;
|
/external/valgrind/main/VEX/pub/ |
libvex.h | 344 static inline void* LibVEX_Alloc ( Int nbytes ) 348 return malloc(nbytes); 354 nbytes = (nbytes + ALIGN) & ~ALIGN; 356 next = curr + nbytes; 441 void (*log_bytes) ( HChar*, Int nbytes ),
|
/external/clang/test/Sema/ |
darwin-align-cast.c | 18 ssize_t sendFileDescriptor(int fd, void *data, size_t nbytes, int sendfd) {
|
/external/zlib/contrib/masmx64/ |
inffasx64.asm | 192 sub rax, [rsp+40] ; /* nbytes = out - beg */
195 jb L_clip_window ; /* if (dist > nbytes) 4.2% */
267 mov ecx, eax ; /* ecx = nbytes */
269 neg ecx ; /* nbytes = -nbytes */
274 add ecx, r15d ; /* nbytes = dist - nbytes */
279 sub eax, ecx ; /* eax -= nbytes */
280 add rsi, rax ; /* from += wsize - nbytes */
284 jbe L_do_copy ; /* if (nbytes >= len) */ [all...] |
/external/oprofile/libabi/ |
opimport.cpp | 80 size_t nbytes = theabi.need(sz); local 83 if (nbytes == 0) 86 assert(nbytes <= sizeof(T)); 88 assert(src + nbytes <= end); 91 cerr << hex << "get " << sz << " = " << nbytes 96 while(nbytes--) 97 targ = (targ << 8) | src[nbytes]; 99 for(size_t i = 0; i < nbytes; ++i)
|
/bionic/libc/tools/zoneinfo/ |
ZoneCompactor.java | 59 int nbytes = in.read(buf); local 60 if (nbytes == -1) { 63 out.write(buf, 0, nbytes); 65 byte[] nret = new byte[ret.length + nbytes]; 67 System.arraycopy(buf, 0, nret, ret.length, nbytes);
|
/external/qemu/ |
loader.c | 84 int fread_targphys(target_phys_addr_t dst_addr, size_t nbytes, FILE *f) 90 while (nbytes) { 91 want = nbytes > sizeof(buf) ? sizeof(buf) : nbytes; 96 nbytes -= did; 104 int fread_targphys_ok(target_phys_addr_t dst_addr, size_t nbytes, FILE *f) 106 return fread_targphys(dst_addr, nbytes, f) == nbytes; 110 int read_targphys(int fd, target_phys_addr_t dst_addr, size_t nbytes) 116 while (nbytes) { [all...] |
/device/google/accessory/arduino/USB_Host_Shield/ |
Usb.cpp | 86 byte USB::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 )
102 setup_pkt.wLength = nbytes;
113 rcode = ctrlData( addr, ep, nbytes, dataptr, direction );
137 byte USB::ctrlData( byte addr, byte ep, unsigned int nbytes, char* dataptr, boolean direction, unsigned int nak_limit )
142 rcode = inTransfer( addr, ep, nbytes, dataptr, nak_limit );
147 rcode = outTransfer( addr, ep, nbytes, dataptr, nak_limit );
151 /* IN transfer to arbitrary endpoint. Assumes PERADDR is set. Handles multiple packets if necessary. Transfers 'nbytes' bytes. */
155 byte USB::inTransfer( byte addr, byte ep, unsigned int nbytes, char* data, unsigned int nak_limit )
178 /* 2. 'nbytes' have been transferred. */
179 if (( pktsize < maxpktsize ) || (xfrlen >= nbytes )) { // have we transferred 'nbytes' bytes? [all...] |
/external/blktrace/btreplay/ |
btrecord.h | 43 * @nbytes: Number of bytes to process 48 __u64 nbytes; member in struct:io_pkt
|