/external/dropbear/libtomcrypt/src/pk/asn1/der/bit/ |
der_length_bit_string.c | 27 unsigned long nbytes; local 31 nbytes = (nbits >> 3) + ((nbits & 7) ? 1 : 0) + 1; 33 if (nbytes < 128) { 35 *outlen = 2 + nbytes; 36 } else if (nbytes < 256) { 38 *outlen = 3 + nbytes; 39 } else if (nbytes < 65536) { 41 *outlen = 4 + nbytes;
|
/external/elfutils/libasm/ |
asm_adduleb128.c | 74 size_t nbytes = dest - tmpbuf; local 77 if (__libasm_ensure_section_space (asmscn, nbytes) != 0) 82 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes); 85 asmscn->content->len += nbytes; 88 asmscn->offset += nbytes;
|
asm_addsleb128.c | 78 size_t nbytes = dest - tmpbuf; local 81 if (__libasm_ensure_section_space (asmscn, nbytes) != 0) 86 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes); 89 asmscn->content->len += nbytes; 92 asmscn->offset += nbytes;
|
/external/expat/xmlwf/ |
unixfilemap.c | 26 size_t nbytes; local 46 nbytes = sb.st_size; 48 if (nbytes == 0) { 54 p = (void *)mmap((caddr_t)0, (size_t)nbytes, PROT_READ, 61 processor(p, nbytes, name, arg); 62 munmap((caddr_t)p, nbytes);
|
readfilemap.c | 48 size_t nbytes; local 69 nbytes = sb.st_size; 70 /* malloc will return NULL with nbytes == 0, handle files with size 0 */ 71 if (nbytes == 0) { 77 p = malloc(nbytes); 83 n = read(fd, p, nbytes); 90 if (n != nbytes) { 96 processor(p, nbytes, name, arg);
|
/external/valgrind/main/perf/ |
heap.c | 12 int i, j, nbytes = 0; local 24 arr[j] = malloc(nbytes); 28 nbytes += 8; 29 if (nbytes > 32) 30 nbytes = 0;
|
/external/valgrind/main/memcheck/tests/ |
malloc2.c | 15 int i, j, k, nbytes; local 27 nbytes = 1 + random() % M_TEST_MALLOC; 29 nbytes *= 17; 30 test_arr[j] = malloc( nbytes ); 32 for (k = 1; k < nbytes; k++)
|
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);
|
/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/llvm/lib/Target/NVPTX/ |
NVPTXutil.cpp | 37 static int encode_leb128(uint64_t val, int *nbytes, 56 *nbytes = a - space; 74 int nbytes; local 76 int retval = encode_leb128(temp64.x, &nbytes, encoded, 16); 82 assert(nbytes <= 8 && 86 for (int i=0; i<nbytes; ++i)
|
/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;
|
/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...] |
/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/blktrace/btreplay/ |
btrecord.h | 43 * @nbytes: Number of bytes to process 48 __u64 nbytes; member in struct:io_pkt
|
/external/webkit/Source/WebCore/platform/audio/mac/ |
FFTFrameMac.cpp | 88 unsigned nbytes = sizeof(float) * m_FFTSize; local 89 memcpy(realData(), frame.m_frame.realp, nbytes); local 90 memcpy(imagData(), frame.m_frame.imagp, nbytes); local
|
/external/bison/lib/ |
obstack.c | 384 register int nbytes = 0; 388 nbytes += lp->limit - (char *) lp; 390 return nbytes; 381 register int nbytes = 0; local
|
/external/e2fsprogs/debugfs/ |
dump.c | 107 int nbytes; local 124 nbytes = write(fd, buf, got); 125 if ((unsigned) nbytes != got)
|
/external/libvpx/libvpx/examples/ |
encoder_tmpl.c | 54 size_t nbytes, to_read; local 58 nbytes = fread(img->planes[0], 1, to_read, f); 59 if(nbytes != to_read) { 61 if(nbytes > 0)
|
/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)
|
/external/valgrind/main/drd/ |
drd_malloc_wrappers.c | 349 SizeT nbytes = 0; local 361 nbytes += mc->size; 366 nbytes, nblocks);
|
/external/webkit/Source/WebCore/platform/audio/fftw/ |
FFTFrameFFTW.cpp | 112 size_t nbytes = sizeof(float) * unpackedFFTWDataSize(fftSize()); local 113 memcpy(realData(), frame.realData(), nbytes); local 114 memcpy(imagData(), frame.imagData(), nbytes); local
|
/external/webkit/Source/WebCore/platform/audio/mkl/ |
FFTFrameMKL.cpp | 123 unsigned nbytes = sizeof(float) * (m_FFTSize / 2); local 124 memcpy(realData(), frame.realData(), nbytes); local 125 memcpy(imagData(), frame.imagData(), nbytes); local
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
obstack.c | 386 register int nbytes = 0; 390 nbytes += lp->limit - (char *) lp; 392 return nbytes; 383 register int nbytes = 0; local
|
/external/libvpx/libvpx/ |
vp8_multi_resolution_encoder.c | 84 size_t nbytes, to_read; local 88 nbytes = fread(img->planes[0], 1, to_read, f); 89 if(nbytes != to_read) { 91 if(nbytes > 0) 98 size_t nbytes, to_read; local 129 nbytes = fread(ptr, 1, to_read, f); 130 if(nbytes != to_read) { 132 if(nbytes > 0)
|
vp8_scalable_patterns.c | 62 size_t nbytes, to_read; local 66 nbytes = fread(img->planes[0], 1, to_read, f); 67 if(nbytes != to_read) { 69 if(nbytes > 0)
|