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()
1091 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1122 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
1135 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1145 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
1159 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1225 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read()
1239 ret = (int)safe_read(req, str, rest); in fcgi_read()
1241 ret = (int)safe_read(req, str, req->in_len); in fcgi_read()
1253 if (safe_read(req, buf, req->in_pad) != req->in_pad) { in fcgi_read()