Lines Matching refs:safe_read
556 static inline ssize_t safe_read(fcgi_request *req, const void *buf, size_t count) in safe_read() function
680 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
689 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
707 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
729 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
742 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
752 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
769 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
839 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read()
853 ret = safe_read(req, str, rest); in fcgi_read()
855 ret = safe_read(req, str, req->in_len); in fcgi_read()
867 if (safe_read(req, buf, req->in_pad) != req->in_pad) { in fcgi_read()