HomeSort by relevance Sort by last modified time
    Searched refs:nbytes (Results 1 - 25 of 111) sorted by null

1 2 3 4 5

  /bionic/benchmarks/
string_benchmark.cpp 29 static void BM_string_memcmp(int iters, int nbytes) {
31 char* src = new char[nbytes]; char* dst = new char[nbytes];
32 memset(src, 'x', nbytes);
33 memset(dst, 'x', nbytes);
38 c += memcmp(dst, src, nbytes);
42 SetBenchmarkBytesProcessed(int64_t(iters) * int64_t(nbytes));
48 static void BM_string_memcpy(int iters, int nbytes) {
50 char* src = new char[nbytes]; char* dst = new char[nbytes];
    [all...]
  /external/chromium_org/media/base/
bit_reader.cc 24 int nbytes = max_nbytes; local
25 if (nbytes > bytes_left_)
26 nbytes = bytes_left_;
29 data_ += nbytes;
30 bytes_left_ -= nbytes;
31 return nbytes;
bit_reader_core.cc 81 const int nbytes = num_bits / 8; local
82 if (nbytes > 0) {
85 byte_stream_provider_->GetBytes(nbytes, &byte_stream_window);
87 DCHECK_LE(window_size, nbytes);
88 if (window_size < nbytes)
90 num_bits -= 8 * nbytes;
91 bits_read_ += 8 * nbytes;
  /bionic/libc/include/sys/
cachectl.h 33 extern int __cachectl (void *addr, __const int nbytes, __const int op);
34 extern int _flush_cache (char *addr, __const int nbytes, __const int op);
  /development/ndk/platforms/android-9/include/sys/
cachectl.h 33 extern int __cachectl (void *addr, __const int nbytes, __const int op);
34 extern int _flush_cache (char *addr, __const int nbytes, __const int op);
  /development/ndk/platforms/android-L/include/sys/
cachectl.h 33 extern int __cachectl (void *addr, __const int nbytes, __const int op);
34 extern int _flush_cache (char *addr, __const int nbytes, __const int op);
  /external/libvterm/src/
utf8.h 17 int nbytes = utf8_seqlen(codepoint); local
19 str[nbytes] = 0;
22 int b = nbytes;
29 switch(nbytes) {
38 return nbytes;
  /external/libcxx/src/support/solaris/
wcsnrtombs.inc 35 size_t nbytes;
39 nbytes = 0;
47 return (nbytes + nb - 1);
49 nbytes += nb;
51 return (nbytes);
83 return (nbytes + nb - 1);
88 nbytes += nb;
91 return (nbytes);
  /external/elfutils/0.153/libasm/
asm_adduleb128.c 74 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;
asm_addsleb128.c 78 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;
  /external/bison/lib/
mbswidth.h 53 /* Returns the number of screen columns needed for the NBYTES bytes
55 extern int mbsnwidth (const char *buf, size_t nbytes, int flags);
  /external/libmtp/src/
util.h 26 void data_dump(FILE *f, void *buf, uint32_t nbytes);
  /external/llvm/lib/Target/NVPTX/
NVPTXutil.cpp 36 static int encode_leb128(uint64_t val, int *nbytes, char *space, int splen) {
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/libpng/contrib/arm-neon/
linux-auxv.c 39 safe_read(png_structp png_ptr, int fd, void *buffer_in, size_t nbytes)
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/chromium_org/third_party/smhasher/src/
Bitvec.cpp 40 void printbits2 ( const uint8_t * k, int nbytes )
44 for(int i = nbytes-1; i >= 0; i--)
205 void lshift8 ( void * blob, int nbytes, int c )
214 for(int i = nbytes-1; i >= b; i--)
226 for(int i = nbytes-1; i >= 0; i--)
239 int nbytes = len; local
240 int ndwords = nbytes / 4;
284 void rshift8 ( void * blob, int nbytes, int c )
293 for(int i = 0; i < nbytes-b; i++)
298 for(int i = nbytes-b; i < nbytes; i++
318 int nbytes = len; local
369 int nbytes = len; local
409 int nbytes = len; local
464 int nbytes = len; local
506 int nbytes = len; local
632 int nbytes = nbits \/ 8; local
678 int nbytes = nbits \/ 8; local
719 int nbytes = nbits \/ 8; local
    [all...]
  /external/libnfc-nci/src/hal/int/
nfc_hal_nv_co.h 77 ** 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/
nfa_nv_co.h 79 ** 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);
  /device/google/accessory/arduino/USB_Host_Shield/
Usb.h 133 byte ctrlReq( byte addr, byte ep, byte bmReqType, byte bRequest, byte wValLo, byte wValHi, unsigned int wInd, unsigned int nbytes, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
135 byte getDevDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
136 byte getConfDescr( byte addr, byte ep, unsigned int nbytes, byte conf, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
137 byte getStrDescr( byte addr, byte ep, unsigned int nbytes, byte index, unsigned int langid, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
143 byte getReportDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
144 byte setReport( byte addr, byte ep, unsigned int nbytes, byte interface, byte report_type, byte report_id, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
145 byte getReport( byte addr, byte ep, unsigned int nbytes, byte interface, byte report_type, byte report_id, char* dataptr, unsigned int nak_limit = USB_NAK_LIMIT );
149 byte ctrlData( byte addr, byte ep, unsigned int nbytes, char* dataptr, boolean direction, unsigned int nak_limit = USB_NAK_LIMIT );
151 byte inTransfer( byte addr, byte ep, unsigned int nbytes, char* data, unsigned int nak_limit = USB_NAK_LIMIT );
152 int newInTransfer( byte addr, byte ep, unsigned int nbytes, char* data, unsigned int nak_limit = USB_NAK_LIMIT)
    [all...]
  /external/oprofile/libutil++/
bfd_spu_support.cpp 69 file_ptr nbytes, file_ptr offset)
74 nbytes = fread(buf, sizeof(char), nbytes, my_stream->stream);
79 return nbytes;
  /external/e2fsprogs/lib/ext2fs/
bitops.c 134 unsigned int ext2fs_bitcount(const void *addr, unsigned int nbytes)
140 while (((((unsigned long) cp) & 3) != 0) && (nbytes > 0)) {
142 nbytes--;
146 while (nbytes > 4) {
148 nbytes -= 4;
152 while (nbytes > 0) {
154 nbytes--;
  /bootable/recovery/mtdutils/
mounts.c 65 ssize_t nbytes; local
93 nbytes = read(fd, buf, sizeof(buf) - 1);
95 if (nbytes < 0) {
98 buf[nbytes] = '\0';
115 while (nbytes > 0) {
145 while (nbytes > 0 && *bufp != '\n') {
147 nbytes--;
149 if (nbytes > 0) {
151 nbytes--;
  /external/libnfc-nci/halimpl/bcm2079x/adaptation/
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)
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)
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) && (actualWrittenCrc == sizeof(checksum))
    [all...]
  /external/libnfc-nci/src/adaptation/
libmain.c 72 ** nbytes - number of bytes to read into the buffer.
84 extern void nfa_nv_co_read(UINT8 *pBuffer, UINT16 nbytes, UINT8 block)
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)
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) && (actualWrittenCrc == sizeof(checksum))
    [all...]
  /external/fio/
helpers.h 11 extern int sync_file_range(int fd, off64_t offset, off64_t nbytes,
  /external/jpeg/
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;

Completed in 2480 milliseconds

1 2 3 4 5