Lines Matching refs:recvd_len
402 int recvd_len = 0; in php_stream_xport_recvfrom() local
421 recvd_len = stream->writepos - stream->readpos; in php_stream_xport_recvfrom()
422 if (recvd_len > buflen) { in php_stream_xport_recvfrom()
423 recvd_len = buflen; in php_stream_xport_recvfrom()
425 if (recvd_len) { in php_stream_xport_recvfrom()
426 memcpy(buf, stream->readbuf, recvd_len); in php_stream_xport_recvfrom()
427 buf += recvd_len; in php_stream_xport_recvfrom()
428 buflen -= recvd_len; in php_stream_xport_recvfrom()
432 return recvd_len; in php_stream_xport_recvfrom()
458 return recvd_len + param.outputs.returncode; in php_stream_xport_recvfrom()
460 return recvd_len ? recvd_len : -1; in php_stream_xport_recvfrom()