Lines Matching refs:recvd_len
395 int recvd_len = 0; in php_stream_xport_recvfrom() local
414 recvd_len = stream->writepos - stream->readpos; in php_stream_xport_recvfrom()
415 if (recvd_len > buflen) { in php_stream_xport_recvfrom()
416 recvd_len = buflen; in php_stream_xport_recvfrom()
418 if (recvd_len) { in php_stream_xport_recvfrom()
419 memcpy(buf, stream->readbuf, recvd_len); in php_stream_xport_recvfrom()
420 buf += recvd_len; in php_stream_xport_recvfrom()
421 buflen -= recvd_len; in php_stream_xport_recvfrom()
425 return recvd_len; in php_stream_xport_recvfrom()
451 return recvd_len + param.outputs.returncode; in php_stream_xport_recvfrom()
453 return recvd_len ? recvd_len : -1; in php_stream_xport_recvfrom()