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

12345

/external/google-breakpad/src/client/linux/log/
H A Dlog.cc40 int write(const char* buf, size_t nbytes) { argument
44 return sys_write(2, buf, nbytes);
/external/elfutils/libasm/
H A Dasm_adduleb128.c75 size_t nbytes = dest - tmpbuf; local
78 if (__libasm_ensure_section_space (asmscn, nbytes) != 0)
83 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes);
86 asmscn->content->len += nbytes;
89 asmscn->offset += nbytes;
H A Dasm_addsleb128.c79 size_t nbytes = dest - tmpbuf; local
82 if (__libasm_ensure_section_space (asmscn, nbytes) != 0)
87 memcpy (&asmscn->content->data[asmscn->content->len], tmpbuf, nbytes);
90 asmscn->content->len += nbytes;
93 asmscn->offset += nbytes;
/external/libvterm/src/
H A Dutf8.h18 int nbytes = utf8_seqlen(codepoint); local
21 int b = nbytes;
28 switch(nbytes) {
37 return nbytes;
/external/strace/tests/
H A Dsync_file_range.c43 const off64_t nbytes = 0xfacefeedcafef00dULL; local
46 int rc = sync_file_range(fd, offset, nbytes, flags);
52 (long long) nbytes,
H A Dsync_file_range2.c43 const off64_t nbytes = 0xfacefeedcafef00d; local
46 int rc = sync_file_range(fd, offset, nbytes, flags);
52 (long long) nbytes,
/external/strace/tests-m32/
H A Dsync_file_range.c43 const off64_t nbytes = 0xfacefeedcafef00dULL; local
46 int rc = sync_file_range(fd, offset, nbytes, flags);
52 (long long) nbytes,
H A Dsync_file_range2.c43 const off64_t nbytes = 0xfacefeedcafef00d; local
46 int rc = sync_file_range(fd, offset, nbytes, flags);
52 (long long) nbytes,
/external/strace/tests-mx32/
H A Dsync_file_range.c43 const off64_t nbytes = 0xfacefeedcafef00dULL; local
46 int rc = sync_file_range(fd, offset, nbytes, flags);
52 (long long) nbytes,
H A Dsync_file_range2.c43 const off64_t nbytes = 0xfacefeedcafef00d; local
46 int rc = sync_file_range(fd, offset, nbytes, flags);
52 (long long) nbytes,
/external/valgrind/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/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/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/libvpx/libvpx/
H A Dvpxstats.c29 size_t nbytes; local
47 nbytes = fread(stats->buf.buf, 1, stats->buf.sz, stats->file);
48 res = (nbytes == stats->buf.sz);
/external/pdfium/core/fxcrt/
H A Dfx_basic_utf.cpp53 int nbytes = 0; local
55 nbytes = 2;
57 nbytes = 3;
59 nbytes = 4;
61 nbytes = 5;
63 nbytes = 6;
66 int order = 1 << ((nbytes - 1) * 6);
68 m_Buffer.AppendChar(prefix[nbytes - 2] | (code / order));
69 for (int i = 0; i < nbytes - 1; i++) {
/external/syslinux/com32/libutil/
H A Dunbase64.c47 size_t nbytes = 0; local
66 if (nbytes < bufsiz)
68 nbytes++;
75 return nbytes;
/external/valgrind/memcheck/tests/
H A Dmalloc2.c26 int i, j, k, nbytes; local
38 nbytes = 1 + myrandom() % M_TEST_MALLOC;
40 nbytes *= 17;
41 test_arr[j] = malloc( nbytes );
43 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/valgrind/memcheck/tests/solaris/
H A Dsendfilev.c25 ssize_t nbytes = write(test_fd, &chunk1, sizeof(chunk1)); local
26 if (nbytes != CHUNK) {
28 fprintf(stderr, "write failed (nbytes=%zd): %s (%d).\n",
29 nbytes, strerror(error), error);
54 nbytes = sendfilev(test_fd, vec, 2, &xferred);
55 if (nbytes < 0) {
65 nbytes = sendfilev(test_fd, vec, -1, &xferred);
66 if (nbytes < 0) {
78 nbytes = sendfilev(test_fd, vec, 1, &xferred);
79 if (nbytes <
[all...]
/external/blktrace/btreplay/
H A Dbtrecord.h43 * @nbytes: Number of bytes to process
48 __u64 nbytes; member in struct:io_pkt
/external/e2fsprogs/lib/ext2fs/
H A Dbitops.c135 unsigned int ext2fs_bitcount(const void *addr, unsigned int nbytes) argument
141 while (((((uintptr_t) cp) & 3) != 0) && (nbytes > 0)) {
143 nbytes--;
147 while (nbytes > 4) {
149 nbytes -= 4;
153 while (nbytes > 0) {
155 nbytes--;
/external/libjpeg-turbo/
H A Djdatasrc.c105 size_t nbytes; local
107 nbytes = JFREAD(src->infile, src->buffer, INPUT_BUF_SIZE);
109 if (nbytes <= 0) {
116 nbytes = 2;
120 src->pub.bytes_in_buffer = nbytes;
/external/ltp/testcases/kernel/containers/pidns/
H A Dpidns04.c111 int nbytes, status; local
127 nbytes = read(fd[0], readbuffer, sizeof(readbuffer));
129 if (0 <= nbytes) {

Completed in 626 milliseconds

12345