Home
last modified time | relevance | path

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

/external/minijail/
Dutil.c283 void *consumebytes(size_t length, char **buf, size_t *buflength) in consumebytes() argument
286 if (length > *buflength) in consumebytes()
289 *buflength -= length; in consumebytes()
293 char *consumestr(char **buf, size_t *buflength) in consumestr() argument
295 size_t len = strnlen(*buf, *buflength); in consumestr()
296 if (len == *buflength) in consumestr()
299 return consumebytes(len + 1, buf, buflength); in consumestr()
Dutil.h80 void *consumebytes(size_t length, char **buf, size_t *buflength);
89 char *consumestr(char **buf, size_t *buflength);
Dlibminijail_unittest.cc38 void *consumebytes(size_t length, char **buf, size_t *buflength);
39 char *consumestr(char **buf, size_t *buflength);
/external/syslinux/gpxe/src/drivers/net/
Depic100.c37 unsigned long buflength; member
46 unsigned long buflength; member
277 rx_ring[i].buflength = cpu_to_le32(PKT_BUF_SZ); in epic100_init_ring()
291 tx_ring[i].buflength = 0x0000 | cpu_to_le32(TD_STDFLAGS << 16); in epic100_init_ring()
345 tx_ring[entry].buflength |= cpu_to_le32(len); in epic100_transmit()
407 nic->packetlen = le32_to_cpu((rx_ring[entry].buflength))- 4; in epic100_poll()
/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()