/external/libvterm/src/ |
utf8.h | 17 int nbytes = utf8_seqlen(codepoint); local 19 str[nbytes] = 0; 22 int b = nbytes; 29 switch(nbytes) { 38 return nbytes;
|
/external/elfutils/0.153/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/chromium_org/media/base/ |
bit_reader.cc | 24 int nbytes = max_nbytes; local 25 if (nbytes > bytes_left_) 26 nbytes = bytes_left_; 29 data_ += nbytes; 30 bytes_left_ -= nbytes; 31 return nbytes;
|
bit_reader_core.cc | 81 const int nbytes = num_bits / 8; local 82 if (nbytes > 0) { 85 byte_stream_provider_->GetBytes(nbytes, &byte_stream_window); 87 DCHECK_LE(window_size, nbytes); 88 if (window_size < nbytes) 90 num_bits -= 8 * nbytes; 91 bits_read_ += 8 * nbytes;
|
/external/pdfium/core/src/fxcrt/ |
fx_basic_utf.cpp | 56 int nbytes = 0;
local 58 nbytes = 2;
60 nbytes = 3;
62 nbytes = 4;
64 nbytes = 5;
66 nbytes = 6;
69 int order = 1 << ((nbytes - 1) * 6);
71 m_Buffer.AppendChar(prefix[nbytes - 2] | (code / order));
72 for (int i = 0; i < nbytes - 1; i ++) {
|
/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/valgrind/main/perf/ |
heap.c | 12 int i, j, nbytes = 0; local 31 arr[j] = malloc(nbytes); 34 for (jpdb=0; jpdb<nbytes; jpdb = jpdb+pdb) { 41 nbytes += 8; 42 if (nbytes > 32) 43 nbytes = 0;
|
/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/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;
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/android/ |
FFTFrameOpenMAXDLAndroid.cpp | 84 unsigned nbytes = sizeof(float) * (m_FFTSize / 2); local 85 memcpy(realData(), frame.realData(), nbytes); local 86 memcpy(imagData(), frame.imagData(), nbytes); local
|
/external/chromium_org/third_party/libjpeg_turbo/ |
jdatasrc.c | 104 size_t nbytes; local 106 nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE); 108 if (nbytes <= 0) { 115 nbytes = 2; 119 src->pub.bytes_in_buffer = 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/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/ffmpeg/ |
FFTFrameFFMPEG.cpp | 91 unsigned nbytes = sizeof(float) * (m_FFTSize / 2); local 92 memcpy(realData(), frame.realData(), nbytes); local 93 memcpy(imagData(), frame.imagData(), 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/cython/src/Cython/Utility/ |
arrayarray.h | 68 size_t nbytes; local 75 nbytes = size * descr->itemsize; 77 if (nbytes / descr->itemsize != (size_t)size) { 92 op->data.ob_item = PyMem_NEW(char, nbytes);
|
/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 | 109 int nbytes; local 131 nbytes = write(fd, buf, got); 132 if ((unsigned) nbytes != got)
|
/external/fio/ |
ioengines.c | 519 off64_t offset, nbytes; local 522 nbytes = f->last_write - f->first_write; 524 if (!nbytes) 527 return sync_file_range(f->fd, offset, nbytes, td->o.sync_file_range);
|
/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)
|