Searched refs:nbytes (Results 1 - 5 of 5) sorted by relevance
/bionic/benchmarks/ |
H A D | string_benchmark.cpp | 29 static void BM_string_memcmp(int iters, int nbytes) { argument 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) { argument 50 char* src = new char[nbytes]; char* dst = new char[nbytes]; 65 BM_string_memmove(int iters, int nbytes) argument 81 BM_string_memset(int iters, int nbytes) argument 96 BM_string_strlen(int iters, int nbytes) argument [all...] |
/bionic/libc/include/sys/ |
H A D | 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);
|
/bionic/libc/tools/zoneinfo/ |
H A D | ZoneCompactor.java | 46 int nbytes = in.read(buf); 47 if (nbytes == -1) { 50 out.write(buf, 0, nbytes); 52 byte[] nret = new byte[ret.length + nbytes]; 54 System.arraycopy(buf, 0, nret, ret.length, nbytes);
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | vfprintf.c | 161 size_t clen, nbytes; local 167 nbytes = wcsrtombs(NULL, (const wchar_t **)&p, 0, &mbs); 168 if (nbytes == (size_t)-1) { 179 nbytes = prec; 181 nbytes = 0; 187 nbytes + clen > (size_t)prec) 189 nbytes += clen; 197 if ((convbuf = malloc(nbytes + 1)) == NULL) 203 if ((nbytes = wcsrtombs(convbuf, (const wchar_t **)&p, 204 nbytes, [all...] |
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
H A D | regcomp.c | 1235 size_t nbytes; local 1248 nbytes = nc / CHAR_BIT * css; 1256 p->g->setbits = malloc(nbytes); 1258 p->g->setbits = realloc(p->g->setbits, nbytes); 1264 (void) memset((char *)p->g->setbits + (nbytes - css),
|
Completed in 919 milliseconds