Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 4 of 4) sorted by relevance

/system/core/sh/
Dmemalloc.c59 ckmalloc(int nbytes) in ckmalloc() argument
63 p = malloc(nbytes); in ckmalloc()
75 ckrealloc(pointer p, int nbytes) in ckrealloc() argument
77 p = realloc(p, nbytes); in ckrealloc()
124 stalloc(int nbytes) in stalloc() argument
128 nbytes = SHELL_ALIGN(nbytes); in stalloc()
129 if (nbytes > stacknleft) { in stalloc()
133 blocksize = nbytes; in stalloc()
145 stacknxt += nbytes; in stalloc()
146 stacknleft -= nbytes; in stalloc()
Dmachdep.h47 #define SHELL_ALIGN(nbytes) (((nbytes) + SHELL_SIZE) & ~SHELL_SIZE) argument
Doutput.c479 xwrite(int fd, char *buf, int nbytes) in xwrite() argument
485 n = nbytes; in xwrite()
491 return nbytes; in xwrite()
496 return nbytes - n; in xwrite()
/system/core/include/utils/
DCompat.h35 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { in pread64() argument
36 return pread(fd, buf, nbytes, offset); in pread64()