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

123456

/external/v8/test/webkit/
H A Darray-iterate-backwards.js30 function prepare(nbytes) {
31 var i = nbytes - 1;
38 function verify(nbytes) {
39 var i = nbytes - 1;
/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/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/valgrind/VEX/unused/
H A Darena.h40 extern void *Arena_alloc (T arena, long nbytes,
43 long nbytes, const char *file, int line);
/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/pdfium/core/src/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/libmtp/src/
H A Dutil.h26 void data_dump(FILE *f, void *buf, uint32_t nbytes);
/external/valgrind/VEX/priv/
H A Dmain_globals.c53 void (*vex_log_bytes) ( const HChar*, SizeT nbytes ) = NULL;
H A Dmain_globals.h54 extern void (*vex_log_bytes) ( const HChar*, SizeT 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/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/libnfc-nci/src/hal/int/
H A Dnfc_hal_nv_co.h77 ** nbytes - number of bytes to read into the buffer.
89 void nfc_hal_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block);
99 ** nbytes - number of bytes to write out to the file.
109 void nfc_hal_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block);
/external/libnfc-nci/src/nfa/include/
H A Dnfa_nv_co.h79 ** nbytes - number of bytes to read into the buffer.
91 NFC_API extern void nfa_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block);
101 ** nbytes - number of bytes to write out to the file.
111 NFC_API extern void nfa_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block);
/external/speex/libspeex/
H A Dkiss_fft.h28 #define KISS_FFT_MALLOC(nbytes) memalign(16,nbytes)
/external/valgrind/include/
H A Dpub_tool_mallocfree.h42 extern void* VG_(malloc) ( const HChar* cc, SizeT nbytes );
65 extern void* VG_(perm_malloc) ( SizeT nbytes, Int align );
/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/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
H A Drandnum.py33 nbytes, rbits = divmod(nbits, 8)
36 randomdata = os.urandom(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.c75 ** 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...]

Completed in 3595 milliseconds

123456