Searched refs:buflength (Results 1 – 5 of 5) sorted by relevance
/external/minijail/ |
D | util.c | 440 void *consumebytes(size_t length, char **buf, size_t *buflength) in consumebytes() argument 443 if (length > *buflength) in consumebytes() 446 *buflength -= length; in consumebytes() 450 char *consumestr(char **buf, size_t *buflength) in consumestr() argument 452 size_t len = strnlen(*buf, *buflength); in consumestr() 453 if (len == *buflength) in consumestr() 456 return consumebytes(len + 1, buf, buflength); in consumestr()
|
D | util.h | 148 void *consumebytes(size_t length, char **buf, size_t *buflength); 157 char *consumestr(char **buf, size_t *buflength);
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | pipe_connection.c | 43 size_t buflength, char **newbuffer, size_t maxlength) in conn_recv_string() argument 50 ret = ReadFile(conn->handle, buffer, MIN(buflength, maxlength), in conn_recv_string()
|
D | socket_connection.c | 147 size_t buflength, char **newbuffer, size_t maxlength) in conn_recv_string() argument 164 if (ulength > buflength) { in conn_recv_string()
|
/external/libcups/cups/ |
D | ppd-emit.c | 301 size_t buflength; /* Length of option code */ in ppdEmitFd() local 325 buflength = strlen(buffer); in ppdEmitFd() 329 while (buflength > 0) in ppdEmitFd() 332 if ((bytes = (ssize_t)write(fd, bufptr, (unsigned)buflength)) < 0) in ppdEmitFd() 334 if ((bytes = write(fd, bufptr, buflength)) < 0) in ppdEmitFd() 343 buflength -= (size_t)bytes; in ppdEmitFd()
|