Home
last modified time | relevance | path

Searched refs:buflength (Results 1 – 5 of 5) sorted by relevance

/external/minijail/
Dutil.c455 void *consumebytes(size_t length, char **buf, size_t *buflength) in consumebytes() argument
458 if (length > *buflength) in consumebytes()
461 *buflength -= length; in consumebytes()
465 char *consumestr(char **buf, size_t *buflength) in consumestr() argument
467 size_t len = strnlen(*buf, *buflength); in consumestr()
468 if (len == *buflength) in consumestr()
471 return consumebytes(len + 1, buf, buflength); in consumestr()
Dutil.h184 void *consumebytes(size_t length, char **buf, size_t *buflength);
193 char *consumestr(char **buf, size_t *buflength);
/external/python/cpython2/Modules/_multiprocessing/
Dpipe_connection.c43 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()
Dsocket_connection.c147 size_t buflength, char **newbuffer, size_t maxlength) in conn_recv_string() argument
164 if (ulength > buflength) { in conn_recv_string()
/external/libcups/cups/
Dppd-emit.c297 size_t buflength; /* Length of option code */ in ppdEmitFd() local
321 buflength = strlen(buffer); in ppdEmitFd()
325 while (buflength > 0) in ppdEmitFd()
328 if ((bytes = (ssize_t)write(fd, bufptr, (unsigned)buflength)) < 0) in ppdEmitFd()
330 if ((bytes = write(fd, bufptr, buflength)) < 0) in ppdEmitFd()
339 buflength -= (size_t)bytes; in ppdEmitFd()