/external/google-breakpad/src/client/linux/log/ |
H A D | log.cc | 40 int write(const char* buf, size_t nbytes) { argument 44 return sys_write(2, buf, nbytes);
|
/external/elfutils/src/libasm/ |
H A D | asm_adduleb128.c | 77 size_t nbytes = dest - tmpbuf; local 80 if (__libasm_ensure_section_space (asmscn, nbytes) != 0) 85 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes); 88 asmscn->content->len += nbytes; 91 asmscn->offset += nbytes;
|
H A D | asm_addsleb128.c | 81 size_t nbytes = dest - tmpbuf; local 84 if (__libasm_ensure_section_space (asmscn, nbytes) != 0) 89 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes); 92 asmscn->content->len += nbytes; 95 asmscn->offset += nbytes;
|
/external/libvterm/src/ |
H A D | utf8.h | 18 int nbytes = utf8_seqlen(codepoint); local 21 int b = nbytes; 28 switch(nbytes) { 37 return nbytes;
|
/external/valgrind/perf/ |
H A D | 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/bison/lib/ |
H A D | mbswidth.c | 57 mbsnwidth (const char *string, size_t nbytes, int flags) argument 60 const char *plimit = p + nbytes;
|
H A D | obstack.c | 384 register int nbytes = 0; 388 nbytes += lp->limit - (char *) lp; 390 return nbytes; 381 register int nbytes = 0; local
|
/external/clang/test/Sema/ |
H A D | darwin-align-cast.c | 19 ssize_t sendFileDescriptor(int fd, void *data, size_t nbytes, int sendfd) { argument
|
/external/fio/ |
H A D | helpers.c | 28 int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags) argument
|
H A D | ioengines.c | 535 off64_t offset, nbytes; local 538 nbytes = f->last_write - f->first_write; 540 if (!nbytes) 543 return sync_file_range(f->fd, offset, nbytes, td->o.sync_file_range);
|
/external/jpeg/ |
H A D | 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/libpng/contrib/arm-neon/ |
H A D | linux-auxv.c | 39 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 D | 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/memcheck/tests/ |
H A D | 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++)
|
H A D | 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/blktrace/btreplay/ |
H A D | btrecord.h | 43 * @nbytes: Number of bytes to process 48 __u64 nbytes; member in struct:io_pkt
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | bitops.c | 134 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--;
|
H A D | fileio.c | 269 unsigned int nbytes, unsigned int *written) 282 while (nbytes > 0) { 289 if (c > nbytes) 290 c = nbytes; 319 nbytes -= c; 268 ext2fs_file_write(ext2_file_t file, const void *buf, unsigned int nbytes, unsigned int *written) argument
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
H A D | NonVolatileStore.cpp | 51 ** 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 D | libmain.c | 75 ** nbytes - number of bytes to read into the buffer. 87 extern void nfa_nv_co_read(UINT8 *pBuffer, UINT16 nbytes, UINT8 block) argument 102 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename); 108 size_t actualReadData = read (fileStream, pBuffer, nbytes); 136 ** nbytes - number of bytes to write out to the file. 146 extern void nfa_nv_co_write(const UINT8 *pBuffer, UINT16 nbytes, UINT8 block) argument 160 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename); 167 unsigned short checksum = crcChecksumCompute (pBuffer, nbytes); 169 size_t actualWrittenData = write (fileStream, pBuffer, nbytes); 171 if ((actualWrittenData == nbytes) [all...] |
/external/aac/libMpegTPEnc/src/ |
H A D | tpenc_lib.cpp | 468 TRANSPORTENC_ERROR transportEnc_GetFrame(HANDLE_TRANSPORTENC hTpEnc, int *nbytes) argument 476 *nbytes = hTpEnc->bsBufferSize; 477 transportEnc_LatmGetFrame(&hTpEnc->writer.latm, hBs, nbytes); 481 *nbytes = (FDKgetValidBits(hBs) + 7)>>3; 484 *nbytes = 0; 489 *nbytes = (FDKgetValidBits(hBs) + 7)>>3; 494 *nbytes = ((FDKgetValidBits(hBs)-hTpEnc->writer.raw.prevBits) + 7)>>3;
|
/external/e2fsprogs/debugfs/ |
H A D | dump.c | 109 int nbytes; local 131 nbytes = write(fd, buf, got); 132 if ((unsigned) nbytes != got)
|
/external/e2fsprogs/e2fsck/ |
H A D | pass5.c | 271 int n, nbytes = fs->super->s_clusters_per_group / 8; local 296 memset(bitmap_buf, 0, nbytes); 304 if (memcmp(actual_buf, bitmap_buf, nbytes) != 0) 306 n = ext2fs_bitcount(actual_buf, nbytes);
|
/external/google-breakpad/src/client/mac/tests/ |
H A D | exception_handler_test.cc | 123 ssize_t nbytes = read(fds[0], minidump_file, sizeof(minidump_file)); local 124 ASSERT_NE(0, nbytes); 354 ssize_t nbytes = read(fds[0], minidump_file, sizeof(minidump_file)); local 355 ASSERT_NE(0, nbytes); 453 ssize_t nbytes = read(fds[0], minidump_file, sizeof(minidump_file)); local 454 ASSERT_NE(0, nbytes); 552 ssize_t nbytes = read(fds[0], minidump_file, sizeof(minidump_file)); local 553 ASSERT_NE(0, nbytes); 626 ssize_t nbytes = read(fds[0], minidump_file, sizeof(minidump_file)); local 627 ASSERT_NE(0, nbytes); 687 ssize_t nbytes = read(fds[0], minidump_file, sizeof(minidump_file)); local [all...] |
/external/google-breakpad/src/common/ |
H A D | memory.h | 206 inline void* operator new(size_t nbytes, argument 208 return allocator.Alloc(nbytes);
|