Lines Matching refs:safe_read
959 static inline ssize_t safe_read(fcgi_request *req, const void *buf, size_t count) in safe_read() function
1066 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
1075 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
1093 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1125 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
1138 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1148 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
1162 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1228 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read()
1242 ret = (int)safe_read(req, str, rest); in fcgi_read()
1244 ret = (int)safe_read(req, str, req->in_len); in fcgi_read()
1256 if (safe_read(req, buf, req->in_pad) != req->in_pad) { in fcgi_read()