/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/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 | 36 static int encode_leb128(uint64_t val, int *nbytes, char *space, int splen) { 53 *nbytes = a - space; 73 int nbytes; local 75 int retval = encode_leb128(temp64.x, &nbytes, encoded, 16); 80 assert(nbytes <= 8 && 84 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/chromium_org/third_party/WebKit/Source/platform/audio/mac/ |
FFTFrameMac.cpp | 92 unsigned nbytes = sizeof(float) * m_FFTSize; local 93 memcpy(realData(), frame.m_frame.realp, nbytes); local 94 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/chromium_org/third_party/WebKit/Source/platform/audio/chromium/ |
FFTFrameOpenMAXDLAndroid.cpp | 85 unsigned nbytes = sizeof(float) * (m_FFTSize / 2); local 86 memcpy(realData(), frame.realData(), nbytes); local 87 memcpy(imagData(), frame.imagData(), nbytes); local
|
/external/chromium_org/third_party/smhasher/src/ |
KeysetTest.h | 138 const int nbytes = sizeof(keytype); local 139 const int nbits = nbytes * 8; 145 flipbit(&k,nbytes,i); 158 flipbit(&k,nbytes,i);
|
Stats.h | 302 const int nbytes = sizeof(hashtype); local 303 const int hashbits = nbytes * 8;
|
/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);
|
/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/chromium_org/net/dns/ |
dns_test_util.cc | 100 int nbytes = query.io_buffer()->size(); local 101 memcpy(buffer, query.io_buffer()->data(), nbytes); 122 BigEndianWriter writer(buffer + nbytes, answer_size); 136 nbytes += answer_size; 138 EXPECT_TRUE(response.InitParse(nbytes, query));
|
/external/chromium_org/ppapi/native_client/tests/nacl_browser/fault_injection/ |
fault_pm_nameservice_test.cc | 43 void dump_output(nacl::StringBuffer *sb, int d, size_t nbytes) { 48 bytes.reset(new uint8_t[nbytes]); 55 for (got = 0; got < nbytes; got += copied) { 56 copied = read(d, bytes.get() + got, nbytes - got); 62 printf("read(%d, ..., %u) -> %d\n", d, nbytes - got, copied); 79 uint32_t nbytes = sizeof buffer; local 83 &nbytes, buffer)) { 87 sb->Printf("nbytes = %u\n", (size_t) nbytes); 88 if (nbytes == sizeof buffer) [all...] |
/external/chromium_org/ppapi/native_client/tests/nacl_browser/nameservice/ |
pm_nameservice_test.cc | 43 void dump_output(nacl::StringBuffer *sb, int d, size_t nbytes) { 48 bytes.reset(new uint8_t[nbytes]); 55 for (got = 0; got < nbytes; got += copied) { 56 copied = read(d, bytes.get() + got, nbytes - got); 62 printf("read(%d, ..., %u) -> %d\n", d, nbytes - got, copied); 79 uint32_t nbytes = sizeof buffer; local 83 &nbytes, buffer)) { 87 sb->Printf("nbytes = %u\n", (size_t) nbytes); 88 if (nbytes == sizeof buffer) [all...] |