Searched refs:nbytes (Results 1 - 25 of 215) sorted by relevance

123456789

/external/ltp/testcases/kernel/sched/clisrv/
H A Dwriten.c28 int writen(fd, ptr, nbytes)
31 register int nbytes;
35 nleft = nbytes;
43 return (nbytes - nleft);
/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);
H A Dlog.h37 int write(const char* buf, size_t 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/v4l2_codec2/vda/
H A Dbit_reader.cc38 int nbytes = max_nbytes; local
39 if (nbytes > bytes_left_)
40 nbytes = bytes_left_;
43 data_ += nbytes;
44 bytes_left_ -= nbytes;
45 return 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/libvterm/src/
H A Dutf8.h18 int nbytes = utf8_seqlen(codepoint); local
21 int b = nbytes;
28 switch(nbytes) {
37 return nbytes;
/external/syslinux/com32/libutil/
H A Dunbase64.c47 size_t nbytes = 0; local
66 if (nbytes < bufsiz)
68 nbytes++;
75 return 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/ltp/testcases/kernel/syscalls/sync_file_range/
H A Dsync_file_range01.c114 off64_t nbytes; member in struct:test_data_t
196 static inline long syncfilerange(int fd, off64_t offset, off64_t nbytes, argument
204 (int)(offset >> 32), (int)offset, (int)(nbytes >> 32),
205 (int)nbytes);
208 (int)(offset >> 32), nbytes, (int)(nbytes >> 32));
211 return ltp_syscall(__NR_sync_file_range2, fd, flags, offset, nbytes);
217 (int)offset, (int)(nbytes >> 32), (int)nbytes, flags);
222 (int)offset, (int)(nbytes >> 3
[all...]
/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/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/bison/lib/
H A Dmbswidth.h55 extern int mbsnwidth (const char *buf, size_t nbytes, int flags);
/external/python/cpython2/Parser/
H A Dbitset.c10 int nbytes = NBYTES(nbits); local
11 bitset ss = (char *)PyObject_MALLOC(sizeof(BYTE) * nbytes);
16 ss += nbytes;
17 while (--nbytes >= 0)
/external/syslinux/com32/lib/sys/
H A Dstdcon_read.c51 if (fp->i.nbytes) {
53 fp->i.nbytes--;
58 fp->i.nbytes = __line_input(fp, fp->i.buf, MAXBLOCK, __rawcon_read);
61 if (fp->i.nbytes == 0)
/external/valgrind/VEX/priv/
H A Dmain_globals.c53 void (*vex_log_bytes) ( const HChar*, SizeT nbytes ) = NULL;
/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/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++)
/external/python/cpython2/Modules/
H A Dmd5module.c63 Py_ssize_t nbytes; local
65 nbytes = INT_MAX;
67 nbytes = n;
69 Py_SAFE_DOWNCAST(nbytes, Py_ssize_t, unsigned int));
70 buf += nbytes;
71 n -= nbytes;
292 Py_ssize_t nbytes; local
294 nbytes = INT_MAX;
296 nbytes = n;
298 Py_SAFE_DOWNCAST(nbytes, Py_ssize_
[all...]

Completed in 874 milliseconds

123456789