Searched defs:finfo (Results 1 - 24 of 24) sorted by relevance

/httpd/modules/cache/
H A Dmod_file_cache.c103 apr_finfo_t finfo; member in struct:__anon90
141 if ((rc = apr_stat(&tmp.finfo, fspec, APR_FINFO_MIN,
147 if (tmp.finfo.filetype != APR_REG) {
152 if (tmp.finfo.size > AP_MAX_SENDFILE) {
169 new_file->finfo = tmp.finfo;
178 (apr_size_t)new_file->finfo.size,
198 apr_rfc822_date(new_file->mtimestr, new_file->finfo.mtime);
199 apr_snprintf(new_file->sizestr, sizeof new_file->sizestr, "%" APR_OFF_T_FMT, new_file->finfo.size);
236 /* If it's one of ours, fill in r->finfo no
[all...]
H A Dcache_util.c268 apr_finfo_t finfo; local
272 finfo.mtime = 0;
333 status = apr_stat(&finfo, lockname,
341 if ((status == APR_SUCCESS) && (((now - finfo.mtime) > conf->lockmaxage)
342 || (now < finfo.mtime))) {
H A Dmod_cache_disk.c415 apr_finfo_t finfo; local
560 rc = apr_file_info_get(&finfo, APR_FINFO_SIZE | APR_FINFO_IDENT,
563 dobj->file_size = finfo.size;
567 if (dobj->disk_info.inode == finfo.inode &&
568 dobj->disk_info.device == finfo.device) {
1204 apr_finfo_t finfo; local
1213 rv = apr_file_info_get(&finfo, APR_FINFO_IDENT,
1219 dobj->disk_info.device = finfo.device;
1220 dobj->disk_info.inode = finfo.inode;
/httpd/modules/lua/
H A Dlua_vmprep.h115 ap_lua_finfo* finfo; member in struct:__anon217
/httpd/modules/ssl/
H A Dssl_util.c120 apr_finfo_t finfo; local
124 if (pcm & SSL_PCM_EXISTS && apr_stat(&finfo, path,
129 if (pcm & SSL_PCM_ISREG && finfo.filetype != APR_REG)
131 if (pcm & SSL_PCM_ISDIR && finfo.filetype != APR_DIR)
133 if (pcm & SSL_PCM_ISNONZERO && finfo.size <= 0)
H A Dssl_ct_util.c45 apr_finfo_t finfo; local
46 apr_status_t rv = apr_stat(&finfo, dirname, APR_FINFO_TYPE, p);
48 return rv == APR_SUCCESS && finfo.filetype == APR_DIR;
53 apr_finfo_t finfo; local
54 apr_status_t rv = apr_stat(&finfo, filename, APR_FINFO_TYPE, p);
56 return rv == APR_SUCCESS && finfo.filetype == APR_REG;
136 apr_finfo_t finfo; local
154 while ((rv = apr_dir_read(&finfo, APR_FINFO_NAME, d)) == APR_SUCCESS) {
157 if (APR_SUCCESS == apr_fnmatch(pattern, finfo.name, APR_FNM_CASE_BLIND)) {
158 rv = ctutil_path_join((char **)&fn, dirname, finfo
193 apr_finfo_t finfo; local
[all...]
H A Dmod_ssl_ct.c531 apr_finfo_t finfo; local
541 rv = apr_stat(&finfo, sct_fn, APR_FINFO_MTIME, p);
547 if (finfo.mtime + max_sct_age < apr_time_now()) {
/httpd/server/
H A Dmpm_common.c356 apr_finfo_t finfo; local
368 if (apr_stat(&finfo, fname, APR_FINFO_TYPE, cmd->pool) != APR_SUCCESS) {
372 if (finfo.filetype != APR_DIR) {
H A Dlog.c1522 apr_finfo_t finfo; local
1541 && apr_stat(&finfo, fname, APR_FINFO_MTIME, p) == APR_SUCCESS) {
H A Dutil_expr_eval.c1198 apr_finfo_t finfo; local
1205 apr_file_info_get(&finfo, APR_FINFO_SIZE, fp);
1206 if (finfo.size > MAX_FILE_SIZE) {
1211 len = (apr_size_t)finfo.size;
1505 if (r->finfo.valid & APR_FINFO_USER)
1506 apr_uid_name_get(&result, r->finfo.user, ctx->p);
1512 if (r->finfo.valid & APR_FINFO_USER)
1513 apr_gid_name_get(&result, r->finfo.group, ctx->p);
H A Dconfig.c2022 apr_finfo_t finfo; local
2024 if (apr_stat(&finfo, fname, APR_FINFO_LINK | APR_FINFO_TYPE, ptemp) != APR_SUCCESS)
H A Dcore.c4580 if (r->finfo.filetype == APR_NOFILE) {
4590 if (r->finfo.filetype == APR_DIR) {
4638 ap_update_mtime(r, r->finfo.mtime);
4642 ap_set_content_length(r, r->finfo.size);
4655 e = apr_brigade_insert_file(bb, fd, 0, r->finfo.size, r->pool);
4731 apr_finfo_t finfo; local
4732 apr_status_t rv = apr_stat(&finfo, dir, APR_FINFO_TYPE, p);
4733 if (rv == APR_SUCCESS && finfo.filetype != APR_DIR)
5166 static apr_status_t core_dirwalk_stat(apr_finfo_t *finfo, request_rec *r, argument
5169 return apr_stat(finfo,
[all...]
H A Dutil.c856 apr_finfo_t finfo; local
879 status = apr_file_info_get(&finfo, APR_FINFO_TYPE, file);
883 if (finfo.filetype != APR_REG &&
2156 apr_finfo_t finfo; local
2158 if (apr_stat(&finfo, path, APR_FINFO_TYPE, p) != APR_SUCCESS)
2161 return (finfo.filetype == APR_DIR);
2166 apr_finfo_t finfo; local
2168 if (apr_stat(&finfo, path, APR_FINFO_LINK | APR_FINFO_TYPE, p) != APR_SUCCESS)
2171 return (finfo.filetype == APR_DIR);
/httpd/support/
H A Dfirehose.c702 apr_finfo_t finfo; local
703 status = apr_stat(&finfo, optarg, APR_FINFO_TYPE, pool);
709 if (finfo.filetype != APR_DIR) {
H A Drotatelogs.c238 apr_finfo_t finfo; local
241 if (apr_file_info_get(&finfo, APR_FINFO_SIZE, status->current.fd) == APR_SUCCESS) {
242 current_size = finfo.size;
H A Dhtcacheclean.c333 apr_finfo_t finfo; local
334 if (!apr_stat(&finfo, nextpath, APR_FINFO_NLINK, p)) {
369 apr_finfo_t finfo; local
370 if (!apr_stat(&finfo, nextpath, APR_FINFO_NLINK, p)) {
380 apr_finfo_t finfo; local
381 if (!apr_stat(&finfo, nextpath, APR_FINFO_NLINK, p)) {
797 apr_finfo_t finfo; local
804 if (apr_stat(&finfo, apr_pstrcat(p, nextpath,
806 || finfo.filetype != APR_DIR) {
866 apr_finfo_t finfo; local
[all...]
H A Dab.c2090 apr_finfo_t finfo; local
2101 rv = apr_file_info_get(&finfo, APR_FINFO_NORM, postfd);
2107 postlen = (apr_size_t)finfo.size;
/httpd/modules/dav/fs/
H A Dlock.c594 apr_finfo_t finfo; local
598 rv = apr_stat(&finfo, fname, APR_FINFO_MIN | APR_FINFO_LINK, p);
748 apr_finfo_t finfo; local
769 rv = apr_file_info_get(&finfo, APR_FINFO_SIZE, file);
778 if (finfo.size != (apr_size_t)finfo.size) {
786 amt = (apr_size_t)finfo.size;
789 || amt != finfo.size) {
H A Drepos.c48 apr_finfo_t finfo; /* filesystem info */ member in struct:dav_resource_private
481 apr_finfo_t src_finfo; /* finfo for source file */
482 apr_finfo_t dst_state_finfo; /* finfo for STATE directory */
683 ctx->finfo = r->finfo;
729 if (r->finfo.filetype != APR_NOFILE) {
731 resource->collection = r->finfo.filetype == APR_DIR;
763 ctx->finfo.filetype = APR_NOFILE;
828 rv = apr_stat(&parent_ctx->finfo, parent_ctx->pathname,
848 if ((ctx1->finfo
[all...]
/httpd/modules/generators/
H A Dmod_cgi.c168 apr_finfo_t finfo; local
177 ((apr_stat(&finfo, conf->logname,
179 (finfo.size > conf->logbytes)) ||
234 apr_finfo_t finfo; local
239 ((apr_stat(&finfo, conf->logname,
241 (finfo.size > conf->logbytes)) ||
783 if (r->finfo.filetype == APR_NOFILE)
786 if (r->finfo.filetype == APR_DIR)
799 if (!ap_can_exec(&r->finfo))
1068 if (rr->finfo
[all...]
H A Dmod_cgid.c1071 struct stat finfo; local
1080 ((stat(conf->logname, &finfo) == 0)
1081 && (finfo.st_size > conf->logbytes)) ||
1114 struct stat finfo; local
1119 ((stat(conf->logname, &finfo) == 0)
1120 && (finfo.st_size > conf->logbytes)) ||
1443 if (r->finfo.filetype == APR_NOFILE) {
1448 if (r->finfo.filetype == APR_DIR) {
1462 if (!ap_can_exec(&r->finfo))
1735 if (rr->finfo
[all...]
/httpd/modules/loggers/
H A Dmod_log_config.c1865 apr_finfo_t finfo; local
1867 apr_status_t rv = apr_stat(&finfo, dir, APR_FINFO_TYPE, p);
1869 if (rv == APR_SUCCESS && finfo.filetype != APR_DIR)
/httpd/modules/filters/
H A Dmod_include.c632 val = ap_ht_time(r->pool, r->finfo.mtime, timefmt, 0);
635 if (apr_uid_name_get(&val, r->finfo.user, r->pool) != APR_SUCCESS) {
1685 char *tag_val, apr_finfo_t *finfo)
1710 if (rr->status == HTTP_OK && rr->finfo.filetype != APR_NOFILE) {
1712 if ((rv = apr_stat(finfo, to_send,
1740 if (rr->status == HTTP_OK && rr->finfo.filetype != APR_NOFILE) {
1741 memcpy((char *) finfo, (const char *) &rr->finfo,
1742 sizeof(rr->finfo));
2107 ap_ht_time(r->pool, r->finfo
1684 find_file(request_rec *r, const char *directive, const char *tag, char *tag_val, apr_finfo_t *finfo) argument
2169 apr_finfo_t finfo; local
2257 apr_finfo_t finfo; local
[all...]
/httpd/include/
H A Dhttpd.h1039 /** finfo.protection (st_mode) set to zero if no such file */
1040 apr_finfo_t finfo; member in struct:request_rec

Completed in 168 milliseconds