Lines Matching refs:safe_read
947 static inline ssize_t safe_read(fcgi_request *req, const void *buf, size_t count) in safe_read() function
1054 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
1063 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
1081 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1113 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
1126 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1136 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read_request()
1150 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1214 if (safe_read(req, &hdr, sizeof(fcgi_header)) != sizeof(fcgi_header) || in fcgi_read()
1228 ret = (int)safe_read(req, str, rest); in fcgi_read()
1230 ret = (int)safe_read(req, str, req->in_len); in fcgi_read()
1242 if (safe_read(req, buf, req->in_pad) != req->in_pad) { in fcgi_read()