Lines Matching refs:recvd_len
401 int recvd_len = 0; in php_stream_xport_recvfrom() local
420 recvd_len = stream->writepos - stream->readpos; in php_stream_xport_recvfrom()
421 if (recvd_len > buflen) { in php_stream_xport_recvfrom()
422 recvd_len = buflen; in php_stream_xport_recvfrom()
424 if (recvd_len) { in php_stream_xport_recvfrom()
425 memcpy(buf, stream->readbuf, recvd_len); in php_stream_xport_recvfrom()
426 buf += recvd_len; in php_stream_xport_recvfrom()
427 buflen -= recvd_len; in php_stream_xport_recvfrom()
431 return recvd_len; in php_stream_xport_recvfrom()
457 return recvd_len + param.outputs.returncode; in php_stream_xport_recvfrom()
459 return recvd_len ? recvd_len : -1; in php_stream_xport_recvfrom()