Searched refs:to_trunc (Results 1 – 2 of 2) sorted by relevance
/external/libiio/src/ |
D | network.c | 1333 size_t to_trunc; in network_read_line() local 1347 to_trunc = i + 1; in network_read_line() 1349 to_trunc = (size_t) ret; in network_read_line() 1354 ret = network_recv(io_ctx, NULL, to_trunc, MSG_TRUNC); in network_read_line() 1356 ret = network_recv(io_ctx, dst - ret, to_trunc, 0); in network_read_line() 1360 bytes_read += to_trunc; in network_read_line()
|
/external/libiio/src/iiod/ |
D | ops.c | 1305 size_t i, to_trunc; in read_line() local 1327 to_trunc = found ? i + 1 : (size_t) ret; in read_line() 1331 ret = recv(pdata->fd_in, NULL, to_trunc, in read_line() 1336 bytes_read += to_trunc; in read_line()
|