Lines Matching defs:stat

70 #include <sys/stat.h>
419 apr_status_t stat;
424 stat = sock_read(fd, req, sizeof(*req));
425 if (stat != APR_SUCCESS) {
426 return stat;
446 if ((stat = sock_read(fd, r->filename, req->filename_len)) != APR_SUCCESS ||
447 (stat = sock_read(fd, *argv0, req->argv0_len)) != APR_SUCCESS ||
448 (stat = sock_read(fd, r->uri, req->uri_len)) != APR_SUCCESS) {
449 return stat;
454 if ((stat = sock_read(fd, r->args, req->args_len)) != APR_SUCCESS) {
455 return stat;
464 if ((stat = sock_read(fd, &curlen, sizeof(curlen))) != APR_SUCCESS) {
465 return stat;
468 if ((stat = sock_read(fd, environ[i], curlen)) != APR_SUCCESS) {
469 return stat;
475 if ((stat = sock_read(fd, &(req->limits), sizeof(cgid_rlimit_t))) != APR_SUCCESS)
476 return stat;
487 apr_status_t stat;
512 stat = sock_writev(fd, r, 5,
519 stat = sock_writev(fd, r, 4,
526 if (stat != APR_SUCCESS) {
527 return stat;
534 if ((stat = sock_writev(fd, r, 2, &curlen, sizeof(curlen),
536 return stat;
571 if ( (stat = sock_write(fd, &(req.limits), sizeof(cgid_rlimit_t))) != APR_SUCCESS)
572 return stat;
685 apr_status_t stat;
712 stat = get_req(sd2, r, &argv0, &env, &cgid_req);
713 if (stat != APR_SUCCESS) {
714 ap_log_error(APLOG_MARK, APLOG_ERR, stat,
1071 struct stat finfo;
1080 ((stat(conf->logname, &finfo) == 0)
1114 struct stat finfo;
1119 ((stat(conf->logname, &finfo) == 0)
1359 apr_status_t stat;
1372 stat = sock_write(sd, &req, sizeof(req));
1373 if (stat != APR_SUCCESS) {
1374 return stat;
1378 stat = sock_read(sd, &pid, sizeof(pid));
1379 if (stat != APR_SUCCESS) {
1380 return stat;
1445 "script not found or unable to stat");