Searched defs:nbytes (Results 1 - 3 of 3) sorted by relevance
/bionic/benchmarks/ |
H A D | string_benchmark.cpp | 31 const size_t nbytes = state.range_x(); local 32 char* src = new char[nbytes]; char* dst = new char[nbytes]; 33 memset(src, 'x', nbytes); 34 memset(dst, 'x', nbytes); 38 c += memcmp(dst, src, nbytes); 41 state.SetBytesProcessed(uint64_t(state.iterations()) * uint64_t(nbytes)); 48 const size_t nbytes = state.range_x(); local 49 char* src = new char[nbytes]; char* dst = new char[nbytes]; 63 const size_t nbytes = state.range_x(); local 77 const size_t nbytes = state.range_x(); local 90 const size_t nbytes = state.range_x(); local [all...] |
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
H A D | regcomp.c | 1234 size_t nbytes; local 1248 nbytes = nc / CHAR_BIT * css; 1262 (void) memset((char *)p->g->setbits + (nbytes - css), 0, css);
|
/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) 177 nbytes = prec; 179 nbytes = 0; 185 nbytes + clen > (size_t)prec) 187 nbytes += clen; 193 if ((convbuf = malloc(nbytes + 1)) == NULL) 199 if ((nbytes = wcsrtombs(convbuf, (const wchar_t **)&p, 200 nbytes, [all...] |
Completed in 164 milliseconds