Searched refs:nbytes (Results 1 – 7 of 7) sorted by relevance
/bionic/tests/ |
D | string_benchmark.cpp | 29 static void BM_string_memcmp(int iters, int nbytes) { in BM_string_memcmp() argument 31 char* src = new char[nbytes]; char* dst = new char[nbytes]; in BM_string_memcmp() 32 memset(src, 'x', nbytes); in BM_string_memcmp() 33 memset(dst, 'x', nbytes); in BM_string_memcmp() 38 c += memcmp(dst, src, nbytes); in BM_string_memcmp() 42 SetBenchmarkBytesProcessed(int64_t(iters) * int64_t(nbytes)); in BM_string_memcmp() 48 static void BM_string_memcpy(int iters, int nbytes) { in BM_string_memcpy() argument 50 char* src = new char[nbytes]; char* dst = new char[nbytes]; in BM_string_memcpy() 51 memset(src, 'x', nbytes); in BM_string_memcpy() 55 memcpy(dst, src, nbytes); in BM_string_memcpy() [all …]
|
/bionic/libc/bionic/ |
D | pwrite.c | 31 ssize_t pwrite(int fd, const void *buf, size_t nbytes, off_t offset) in pwrite() argument 33 return pwrite64(fd, buf, nbytes, (off64_t)offset); in pwrite()
|
D | pread.c | 31 ssize_t pread(int fd, void *buf, size_t nbytes, off_t offset) in pread() argument 33 return pread64(fd, buf, nbytes, (off64_t)offset); in pread()
|
/bionic/libc/include/sys/ |
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/ |
D | ZoneCompactor.java | 95 int nbytes = in.read(buf); in copyFile() local 96 if (nbytes == -1) { in copyFile() 99 out.write(buf, 0, nbytes); in copyFile() 101 byte[] nret = new byte[ret.length + nbytes]; in copyFile() 103 System.arraycopy(buf, 0, nret, ret.length, nbytes); in copyFile()
|
/bionic/libc/upstream-netbsd/libc/regex/ |
D | regcomp.c | 1235 size_t nbytes; in allocset() local 1248 nbytes = nc / CHAR_BIT * css; in allocset() 1256 p->g->setbits = malloc(nbytes); in allocset() 1258 p->g->setbits = realloc(p->g->setbits, nbytes); in allocset() 1264 (void) memset((char *)p->g->setbits + (nbytes - css), in allocset()
|
/bionic/libc/ |
D | SYSCALLS.TXT | 325 int _flush_cache:cacheflush(char *addr, const int nbytes, const int op) -1,-1,1
|