Searched defs:nbytes (Results 1 - 25 of 93) sorted by relevance

1234

/external/elfutils/0.153/libasm/
H A Dasm_adduleb128.c74 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;
H A Dasm_addsleb128.c78 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/libvterm/src/
H A Dutf8.h17 int nbytes = utf8_seqlen(codepoint); local
19 str[nbytes] = 0;
22 int b = nbytes;
29 switch(nbytes) {
38 return nbytes;
/external/chromium_org/media/base/
H A Dbit_reader.cc24 int nbytes = max_nbytes; local
25 if (nbytes > bytes_left_)
26 nbytes = bytes_left_;
29 data_ += nbytes;
30 bytes_left_ -= nbytes;
31 return nbytes;
/external/valgrind/main/perf/
H A Dheap.c12 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/bison/lib/
H A Dmbswidth.c57 mbsnwidth (const char *string, size_t nbytes, int flags) argument
60 const char *plimit = p + nbytes;
/external/chromium_org/third_party/WebKit/Source/platform/audio/mac/
H A DFFTFrameMac.cpp92 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/clang/test/Sema/
H A Ddarwin-align-cast.c19 ssize_t sendFileDescriptor(int fd, void *data, size_t nbytes, int sendfd) { argument
/external/fio/
H A Dhelpers.c28 int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags) argument
/external/jpeg/
H A Djdatasrc.c93 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/libpng/contrib/arm-neon/
H A Dlinux-auxv.c39 safe_read(png_structp png_ptr, int fd, void *buffer_in, size_t nbytes) argument
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/pdfium/core/src/fxcrt/
H A Dfx_basic_utf.cpp56 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/qemu/distrib/jpeg-6b/
H A Djdatasrc.c93 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/memcheck/tests/
H A Dmalloc2.c15 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++)
H A Dwritev1.c27 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/llvm/lib/Target/NVPTX/
H A DNVPTXutil.cpp36 static int encode_leb128(uint64_t val, int *nbytes, char *space, int splen) { argument
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/blktrace/btreplay/
H A Dbtrecord.h43 * @nbytes: Number of bytes to process
48 __u64 nbytes; member in struct:io_pkt
/external/chromium_org/third_party/WebKit/Source/platform/audio/android/
H A DFFTFrameOpenMAXDLAndroid.cpp84 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/WebKit/Source/platform/audio/ffmpeg/
H A DFFTFrameFFMPEG.cpp91 unsigned nbytes = sizeof(float) * (m_FFTSize / 2); local
92 memcpy(realData(), frame.realData(), nbytes); local
93 memcpy(imagData(), frame.imagData(), nbytes); local
/external/chromium_org/third_party/libjpeg_turbo/
H A Djdatasrc.c104 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;
/external/e2fsprogs/lib/ext2fs/
H A Dbitops.c134 unsigned int ext2fs_bitcount(const void *addr, unsigned int nbytes) argument
140 while (((((unsigned long) cp) & 3) != 0) && (nbytes > 0)) {
142 nbytes--;
146 while (nbytes > 4) {
148 nbytes -= 4;
152 while (nbytes > 0) {
154 nbytes--;
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DNonVolatileStore.cpp51 ** nbytes - number of bytes to read into the buffer.
63 void nfc_hal_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block) argument
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) argument
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)
[all...]
/external/libnfc-nci/src/adaptation/
H A Dlibmain.c72 ** nbytes - number of bytes to read into the buffer.
84 extern void nfa_nv_co_read(UINT8 *pBuffer, UINT16 nbytes, UINT8 block) argument
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) argument
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)
[all...]
/external/oprofile/libutil++/
H A Dbfd_spu_support.cpp69 file_ptr nbytes, file_ptr offset)
74 nbytes = fread(buf, sizeof(char), nbytes, my_stream->stream);
79 return nbytes;
68 spu_bfd_iovec_pread(bfd * abfd, void * stream, void * buf, file_ptr nbytes, file_ptr offset) argument
/external/chromium_org/base/
H A Dsha1_portable.cc41 void Update(const void* data, size_t nbytes);
123 void SecureHashAlgorithm::Update(const void* data, size_t nbytes) { argument
125 while (nbytes--) {

Completed in 590 milliseconds

1234