Home
last modified time | relevance | path

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

/external/minijail/
Dutil.c440 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()
Dutil.h148 void *consumebytes(size_t length, char **buf, size_t *buflength);
157 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.c301 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()