Searched defs:nbytes (Results 26 - 50 of 93) sorted by last modified time

1234

/external/netperf/
H A Dnettest_bsd.c3413 sendpath(int s, char *path, off_t offset, size_t nbytes,
3416 return syscall(SYS_sendpath, s, path, offset, nbytes, hdtrl, flags);
3403 sendpath(int s, char *path, off_t offset, size_t nbytes, const struct iovec *hdtrl, int flags) argument
/external/mksh/src/
H A Dmisc.c1283 /* Strip any nul bytes from buf - returns new length (nbytes - # of nuls) */
1285 strip_nuls(char *buf, int nbytes) argument
1290 * nbytes check because some systems (older FreeBSDs) have a
1293 if (nbytes && (dst = memchr(buf, '\0', nbytes))) {
1294 char *end = buf + nbytes;
1316 blocking_read(int fd, char *buf, size_t nbytes) argument
1321 while ((ret = read(fd, buf, nbytes)) < 0) {
H A Dshf.c629 /* Write a buffer. Returns nbytes if successful, EOF if there is an error. */
631 shf_write(const char *buf, ssize_t nbytes, struct shf *shf) argument
633 ssize_t n, ncopy, orig_nbytes = nbytes;
638 if (nbytes < 0)
639 internal_errorf("%s: %s %zd", "shf_write", "nbytes", nbytes);
643 (shf->wp != shf->buf || nbytes < shf->wnleft)) {
644 if (ncopy > nbytes)
645 ncopy = nbytes;
647 nbytes
[all...]
/external/mdnsresponder/mDNSPosix/
H A DmDNSUNP.c516 recvfrom_flags(int fd, void *ptr, size_t nbytes, int *flagsp, argument
542 iov[0].iov_len = nbytes;
/external/llvm/lib/Support/
H A Dregcomp.c1062 size_t nbytes; local
1073 nbytes = nc / CHAR_BIT * css;
1080 ptr = (uch *)realloc((char *)p->g->setbits, nbytes);
1088 (void) memset((char *)p->g->setbits + (nbytes - css), 0, css);
/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/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DCommunicationKDP.cpp1135 const uint32_t nbytes = packet.GetByteSize() - offset; local
1137 if (nbytes > 0)
1142 nbytes / m_addr_byte_size, // Number of items
1234 const uint32_t nbytes = packet.GetByteSize() - offset; local
1235 s.Printf(" (address=0x%8.8x, lcpu=0x%4.4x, nbytes=0x%8.8x)", lcpu, address, nbytes);
1236 if (nbytes > 0)
1241 nbytes, // Number of items
1252 const uint16_t nbytes = packet.GetU16 (&offset); local
1253 s.Printf(" (lcpu=0x%4.4x, address=0x%4.4x, nbytes
1261 const uint16_t nbytes = packet.GetU16 (&offset); local
[all...]
/external/libvpx/libvpx/examples/
H A Dvp8_multi_resolution_encoder.c70 size_t nbytes, to_read; local
74 nbytes = fread(img->planes[0], 1, to_read, f);
75 if(nbytes != to_read) {
77 if(nbytes > 0)
84 size_t nbytes, to_read; local
115 nbytes = fread(ptr, 1, to_read, f);
116 if(nbytes != to_read) {
118 if(nbytes > 0)
/external/libvpx/libvpx/
H A Dvpxenc.c631 size_t nbytes; member in struct:stream_state
1215 stream->nbytes = 0;
1366 stream->nbytes += pkt->data.raw.sz;
1388 stream->nbytes += pkt->data.raw.sz;
1680 frames_in, streams->frames_out, (int64_t)streams->nbytes);
1751 global.passes, frames_in, stream->frames_out, (int64_t)stream->nbytes,
1752 seen_frames ? (unsigned long)(stream->nbytes * 8 / seen_frames) : 0,
1753 seen_frames ? (int64_t)stream->nbytes * 8
/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/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/libpng/contrib/tools/
H A Dpngfix.c2261 zlib_advance(struct zlib *zlib, png_uint_32 nbytes) argument
2262 /* Read nbytes compressed bytes; the stream will be initialized if required.
2284 while (in_bytes < nbytes && endrc == ZLIB_OK)
2439 assert(in_bytes == nbytes || endrc != ZLIB_OK);
2472 if (in_bytes < nbytes)
2475 zlib->extra_bytes = nbytes - in_bytes;
/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/libcxx/src/
H A Dlocale.cpp1647 int nbytes = 0; local
1658 ++nbytes;
1663 return nbytes;
1665 nbytes += n;
1670 return nbytes;
/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/javasqlite/src/main/native/
H A Dsqlite_jni.c4114 int nbytes; local
4124 nbytes = sqlite3_column_bytes((sqlite3_stmt *) v->vm, col);
4128 b = (*env)->NewByteArray(env, nbytes);
4133 (*env)->SetByteArrayRegion(env, b, 0, nbytes, data);
4151 int nbytes; local
4161 nbytes = sqlite3_column_bytes16((sqlite3_stmt *) v->vm, col);
4165 nbytes /= sizeof (jchar);
4166 b = (*env)->NewString(env, data, nbytes);
/external/fio/
H A Dhelpers.c28 int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags) argument
H A Dioengines.c519 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/elfutils/0.153/libasm/
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;
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;
/external/elfutils/0.153/libcpu/
H A Di386_parse.c2988 size_t nbytes = (totalbits - zerobits + 7) / 8; local
2989 assert (nbytes > 0);
2992 fprintf (outfile, " %#zx,", nbytes | (leadingbytes << 4));
3017 if (--nbytes == 0)
3032 if (--nbytes == 0)
3042 if (--nbytes == 0)
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/e2fsprogs/debugfs/
H A Ddump.c109 int nbytes; local
131 nbytes = write(fd, buf, got);
132 if ((unsigned) nbytes != got)

Completed in 615 milliseconds

1234