Lines Matching refs:safe_read
954 static inline ssize_t safe_read(fcgi_request *req, const void *buf, size_t count) function
1061 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
1070 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
1088 if (safe_read(req, buf, len+padding) != len+padding) {
1120 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
1133 if (safe_read(req, buf, len+padding) != len+padding) {
1143 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
1157 if (safe_read(req, buf, len+padding) != len+padding) {
1223 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) ||
1237 ret = (int)safe_read(req, str, rest);
1239 ret = (int)safe_read(req, str, req->in_len);
1251 if (safe_read(req, buf, req->in_pad) != req->in_pad) {