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

1 2 3 4 5 6 7 8 91011>>

  /bionic/tests/
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...]
  /development/ndk/platforms/android-9/arch-mips/include/sys/
cachectl.h 6 extern int __cachectl (void *addr, __const int nbytes, __const int op);
7 extern int _flush_cache (char *addr, __const int nbytes, __const int op);
  /external/yaffs2/yaffs2/
yaffs_checkptrw.h 8 int yaffs_CheckpointWrite(yaffs_Device *dev,const void *data, int nBytes);
10 int yaffs_CheckpointRead(yaffs_Device *dev,void *data, int nBytes);
  /prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/sys/
cachectl.h 6 extern int __cachectl (void *addr, __const int nbytes, __const int op);
7 extern int _flush_cache (char *addr, __const int nbytes, __const int op);
  /prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/sys/
cachectl.h 6 extern int __cachectl (void *addr, __const int nbytes, __const int op);
7 extern int _flush_cache (char *addr, __const int nbytes, __const int op);
  /prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/sys/
cachectl.h 6 extern int __cachectl (void *addr, __const int nbytes, __const int op);
7 extern int _flush_cache (char *addr, __const int nbytes, __const int op);
  /prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/sys/
cachectl.h 6 extern int __cachectl (void *addr, __const int nbytes, __const int op);
7 extern int _flush_cache (char *addr, __const int nbytes, __const int op);
  /prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/sys/
cachectl.h 6 extern int __cachectl (void *addr, __const int nbytes, __const int op);
7 extern int _flush_cache (char *addr, __const int nbytes, __const int op);
  /cts/tools/dex-tools/src/dex/reader/
DexBuffer.java 91 * pre 0 < nBytes <=4
93 public int readInt(int nBytes) {
96 for (int i = 0; i < nBytes; i++) {
104 * pre 0 < nBytes <=1 FIXME: Sign extension
106 public short readShort(int nBytes) {
109 for (int i = 0; i < nBytes; i++) {
117 * pre 0 < nBytes <=1
119 public char readChar(int nBytes) {
122 for (int i = 0; i < nBytes; i++) {
130 * pre 0 < nBytes <=7 FIXME: Sign extensio
    [all...]
  /external/dropbear/libtomcrypt/src/pk/asn1/der/bit/
der_length_bit_string.c 27 unsigned long nbytes; local
31 nbytes = (nbits >> 3) + ((nbits & 7) ? 1 : 0) + 1;
33 if (nbytes < 128) {
35 *outlen = 2 + nbytes;
36 } else if (nbytes < 256) {
38 *outlen = 3 + nbytes;
39 } else if (nbytes < 65536) {
41 *outlen = 4 + nbytes;
  /external/valgrind/main/memcheck/tests/
malloc2.c 15 int i, j, k, nbytes; local
27 nbytes = 1 + random() % M_TEST_MALLOC;
29 nbytes *= 17;
30 test_arr[j] = malloc( nbytes );
32 for (k = 1; k < nbytes; k++)
writev1.c 27 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/main/perf/
heap.c 12 int i, j, nbytes = 0; local
24 arr[j] = malloc(nbytes);
28 nbytes += 8;
29 if (nbytes > 32)
30 nbytes = 0;
  /ndk/sources/cxx-stl/llvm-libc++/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);
  /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/zlib/src/contrib/masmx64/
inffasx64.asm 192 sub rax, [rsp+40] ; /* nbytes = out - beg */
195 jb L_clip_window ; /* if (dist > nbytes) 4.2% */
267 mov ecx, eax ; /* ecx = nbytes */
269 neg ecx ; /* nbytes = -nbytes */
274 add ecx, r15d ; /* nbytes = dist - nbytes */
279 sub eax, ecx ; /* eax -= nbytes */
280 add rsi, rax ; /* from += wsize - nbytes */
284 jbe L_do_copy ; /* if (nbytes >= len) */
    [all...]
  /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/chromium_org/v8/test/webkit/
array-iterate-backwards.js 30 function prepare(nbytes) {
31 var i = nbytes - 1;
38 function verify(nbytes) {
39 var i = nbytes - 1;
  /external/valgrind/main/VEX/useful/
smchash.c 24 Int nbytes; member in struct:__anon27646
42 r= fscanf(f, "GuestBytes %llx %d ", &gb->ga, &gb->nbytes);
47 assert(gb->nbytes > 0);
48 assert(gb->nbytes < 5000); // let's say
50 Int nToAlloc = gb->nbytes + (gb->ga & 3);
52 gb->bytes = malloc( gb->nbytes + nToAlloc);
57 for (i = 0; i < gb->nbytes; i++) {
81 if (0) printf("got %llu %d\n", gb->ga, gb->nbytes);
96 for (i = 0; i < gb->nbytes; i++)
103 for (i = 0; i < gb->nbytes; i++)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/
ByteBufferTest.java 1123 int nbytes = 2; local
1149 int nbytes = 2; local
1191 int nbytes = 2; local
1228 int nbytes = 2; local
1266 int nbytes = 8; local
1295 int nbytes = 8; local
1346 int nbytes = 8; local
1383 int nbytes = 8; local
1415 int nbytes = 4; local
1444 int nbytes = 4; local
1489 int nbytes = 4; local
1526 int nbytes = 4; local
1558 int nbytes = 4; local
1584 int nbytes = 4; local
1631 int nbytes = 4; local
1668 int nbytes = 4; local
1700 int nbytes = 8; local
1726 int nbytes = 8; local
1768 int nbytes = 8; local
1805 int nbytes = 8; local
1837 int nbytes = 2; local
1863 int nbytes = 2; local
1905 int nbytes = 2; local
1942 int nbytes = 2; local
2041 int nbytes = 4, bigHead, step; local
2060 int nbytes = 8, bigHead, step; local
2079 int nbytes = 2, bigHead, step; local
2110 int nbytes = 4, smallHead, step; local
2129 int nbytes = 8, smallHead, step; local
2148 int nbytes = 2, smallHead, step; local
    [all...]
  /external/elfutils/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;
  /external/chromium_org/third_party/sqlite/src/ext/fts1/
fts1_tokenizer1.c 36 int nBytes; /* size of the input */
101 ** string to be tokenized is pInput[0..nBytes-1]. A cursor
107 const char *pInput, int nBytes, /* String to be tokenized */
117 c->nBytes = 0;
118 }else if( nBytes<0 ){
119 c->nBytes = (int)strlen(pInput);
121 c->nBytes = nBytes;
159 while( c->iOffset<c->nBytes ){
163 while( c->iOffset<c->nBytes && isDelim(t, p[c->iOffset]) )
    [all...]
  /external/chromium_org/third_party/sqlite/src/ext/fts2/
fts2_tokenizer1.c 43 int nBytes; /* size of the input */
110 ** string to be tokenized is pInput[0..nBytes-1]. A cursor
116 const char *pInput, int nBytes, /* String to be tokenized */
126 c->nBytes = 0;
127 }else if( nBytes<0 ){
128 c->nBytes = (int)strlen(pInput);
130 c->nBytes = nBytes;
168 while( c->iOffset<c->nBytes ){
172 while( c->iOffset<c->nBytes && simpleDelim(t, p[c->iOffset]) )
    [all...]
  /external/chromium_org/third_party/sqlite/src/ext/fts3/
fts3_tokenizer1.c 44 int nBytes; /* size of the input */
110 ** string to be tokenized is pInput[0..nBytes-1]. A cursor
116 const char *pInput, int nBytes, /* String to be tokenized */
128 c->nBytes = 0;
129 }else if( nBytes<0 ){
130 c->nBytes = (int)strlen(pInput);
132 c->nBytes = nBytes;
170 while( c->iOffset<c->nBytes ){
174 while( c->iOffset<c->nBytes && simpleDelim(t, p[c->iOffset]) )
    [all...]
  /external/libnfc-nci/halimpl/bcm2079x/adaptation/
NonVolatileStore.cpp 52 ** nbytes - number of bytes to read into the buffer.
64 void nfc_hal_nv_co_read (UINT8 *p_buf, UINT16 nbytes, UINT8 block)
77 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename);
83 size_t actualReadData = read (fileStream, p_buf, nbytes);
112 ** nbytes - number of bytes to write out to the file.
122 void nfc_hal_nv_co_write (const UINT8 *p_buf, UINT16 nbytes, UINT8 block)
135 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename);
140 unsigned short checksum = crcChecksumCompute (p_buf, nbytes);
142 size_t actualWrittenData = write (fileStream, p_buf, nbytes);
144 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum))
    [all...]

Completed in 1364 milliseconds

1 2 3 4 5 6 7 8 91011>>