Lines Matching refs:safe_read
955 static inline ssize_t safe_read(fcgi_request *req, const void *buf, size_t count) in safe_read() function
1062 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
1071 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
1089 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1121 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
1134 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1144 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
1158 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1224 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read()
1238 ret = (int)safe_read(req, str, rest); in fcgi_read()
1240 ret = (int)safe_read(req, str, req->in_len); in fcgi_read()
1252 if (safe_read(req, buf, req->in_pad) != req->in_pad) { in fcgi_read()