Searched refs:finfo (Results 1 - 25 of 132) sorted by relevance

123456

/macosx-10.10.1/curl-83.1.2/curl/lib/
H A Dfileinfo.c46 struct curl_fileinfo *finfo = element; local
48 if(!finfo)
51 Curl_safefree(finfo->b_data);
53 free(finfo);
H A Dftplistparser.c304 struct curl_fileinfo *finfo)
313 /* move finfo pointers to b_data */
314 char *str = finfo->b_data;
315 finfo->filename = str + parser->offsets.filename;
316 finfo->strings.group = parser->offsets.group ?
318 finfo->strings.perm = parser->offsets.perm ?
320 finfo->strings.target = parser->offsets.symlink_target ?
322 finfo->strings.time = str + parser->offsets.time;
323 finfo->strings.user = parser->offsets.user ?
333 finfo
303 ftp_pl_insert_finfo(struct connectdata *conn, struct curl_fileinfo *finfo) argument
366 struct curl_fileinfo *finfo; local
[all...]
/macosx-10.10.1/curl-83.1.2/curl/tests/libtest/
H A Dlib576.c33 long chunk_bgn(const struct curl_fileinfo *finfo, void *ptr, int remains);
38 long chunk_bgn(const struct curl_fileinfo *finfo, void *ptr, int remains) argument
45 printf("Filename: %s\n", finfo->filename);
46 if(finfo->strings.perm) {
47 printf("Permissions: %s", finfo->strings.perm);
48 if(finfo->flags & CURLFINFOFLAG_KNOWN_PERM)
49 printf(" (parsed => %o)", finfo->perm);
52 printf("Size: %ldB\n", (long)finfo->size);
53 if(finfo->strings.user)
54 printf("User: %s\n", finfo
[all...]
/macosx-10.10.1/apr-32/apr/apr/file_io/unix/
H A Dfilestat.c74 static void fill_out_finfo(apr_finfo_t *finfo, struct_stat *info, argument
77 finfo->valid = APR_FINFO_MIN | APR_FINFO_IDENT | APR_FINFO_NLINK
79 finfo->protection = apr_unix_mode2perms(info->st_mode);
80 finfo->filetype = filetype_from_mode(info->st_mode);
81 finfo->user = info->st_uid;
82 finfo->group = info->st_gid;
83 finfo->size = info->st_size;
84 finfo->device = info->st_dev;
85 finfo->nlink = info->st_nlink;
91 finfo
133 apr_file_info_get_locked(apr_finfo_t *finfo, apr_int32_t wanted, apr_file_t *thefile) argument
195 apr_finfo_t finfo; local
250 apr_finfo_t finfo; local
[all...]
H A Ddir.c143 apr_status_t apr_dir_read(apr_finfo_t *finfo, apr_int32_t wanted, argument
208 finfo->fname = NULL;
211 finfo->valid = 0;
255 ret = apr_stat(finfo, fspec, APR_FINFO_LINK | wanted, thedir->pool);
257 finfo->fname = NULL;
261 wanted &= ~finfo->valid;
267 finfo->pool = thedir->pool;
268 finfo->valid = 0;
271 finfo->filetype = type;
272 finfo
[all...]
/macosx-10.10.1/bless-103/libbless/FinderInfo/
H A DBLSetTypeAndCreator.c51 struct fileinfobuf finfo; local
63 err = getattrlist(path, &alist, &finfo, sizeof(finfo), 0);
66 finfo.finderinfo[0] = CFSwapInt32HostToBig(type);
67 finfo.finderinfo[1] = CFSwapInt32HostToBig(creator);
69 err = setattrlist(path, &alist, &finfo.finderinfo, sizeof(finfo.finderinfo), 0);
H A DBLGetFinderFlag.c56 struct fileinfobuf finfo; local
57 struct TwoUInt16 *twoUint = (struct TwoUInt16 *)&finfo.finderinfo[2];
68 err = getattrlist(path, &alist, &finfo, sizeof(finfo), 0);
H A DBLSetFinderFlag.c56 struct fileinfobuf finfo; local
57 struct TwoUInt16 *twoUint = (struct TwoUInt16 *)&finfo.finderinfo[2];
68 err = getattrlist(path, &alist, &finfo, sizeof(finfo), 0);
84 err = setattrlist(path, &alist, &finfo.finderinfo, sizeof(finfo.finderinfo), 0);
/macosx-10.10.1/apr-32/apr/apr/file_io/netware/
H A Dfilestat.c56 static void fill_out_finfo(apr_finfo_t *finfo, struct stat *info, argument
59 finfo->valid = APR_FINFO_MIN | APR_FINFO_IDENT | APR_FINFO_NLINK
62 finfo->protection = apr_unix_mode2perms(info->st_mode);
63 finfo->filetype = filetype_from_mode(info->st_mode);
64 finfo->user = info->st_uid;
65 finfo->group = info->st_gid;
66 finfo->size = info->st_size;
67 finfo->inode = info->st_ino;
68 finfo->device = info->st_dev;
69 finfo
85 apr_file_info_get_locked(apr_finfo_t *finfo, apr_int32_t wanted, apr_file_t *thefile) argument
147 apr_finfo_t finfo; local
381 apr_finfo_t finfo; local
[all...]
/macosx-10.10.1/apr-32/apr/apr/file_io/win32/
H A Dfilestat.c91 static void resolve_prot(apr_finfo_t *finfo, apr_int32_t wanted, PACL dacl) argument
107 if ((wanted & APR_FINFO_UPROT) && (finfo->valid & APR_FINFO_USER)) {
109 ident.ptstrName = finfo->user;
115 finfo->protection |= convert_prot(acc, prot_scope_user);
116 finfo->valid |= APR_FINFO_UPROT;
124 if ((wanted & APR_FINFO_GPROT) && (finfo->valid & APR_FINFO_GROUP)) {
126 ident.ptstrName = finfo->group;
128 finfo->protection |= convert_prot(acc, prot_scope_group);
129 finfo->valid |= APR_FINFO_GPROT;
136 finfo
142 resolve_ident(apr_finfo_t *finfo, const char *fname, apr_int32_t wanted, apr_pool_t *pool) argument
191 guess_protection_bits(apr_finfo_t *finfo, apr_int32_t wanted) argument
213 more_finfo(apr_finfo_t *finfo, const void *ufile, apr_int32_t wanted, int whatfile) argument
352 fillin_fileinfo(apr_finfo_t *finfo, WIN32_FILE_ATTRIBUTE_DATA *wininfo, int byhandle, apr_int32_t wanted) argument
[all...]
/macosx-10.10.1/apr-32/apr/apr/file_io/os2/
H A Dfilestat.c26 static void FS3_to_finfo(apr_finfo_t *finfo, FILESTATUS3 *fstatus) argument
28 finfo->protection = (fstatus->attrFile & FILE_READONLY) ? 0x555 : 0x777;
31 finfo->filetype = APR_DIR;
33 finfo->filetype = APR_REG;
36 finfo->user = 0;
37 finfo->group = 0;
38 finfo->inode = 0;
39 finfo->device = 0;
40 finfo->size = fstatus->cbFile;
41 finfo
[all...]
H A Ddir.c71 APR_DECLARE(apr_status_t) apr_dir_read(apr_finfo_t *finfo, apr_int32_t wanted,
86 finfo->pool = thedir->pool;
87 finfo->fname = NULL;
88 finfo->valid = 0;
94 finfo->fname = NULL;
95 finfo->size = thedir->entry.cbFile;
96 finfo->csize = thedir->entry.cbFileAlloc;
99 finfo->filetype = (thedir->entry.attrFile & FILE_DIRECTORY) ? APR_DIR : APR_REG;
101 apr_os2_time_to_apr_time(&finfo->mtime, thedir->entry.fdateLastWrite,
103 apr_os2_time_to_apr_time(&finfo
[all...]
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/
H A Dcofflink.c631 struct coff_final_link_info finfo;
652 finfo.info = info;
653 finfo.output_bfd = abfd;
654 finfo.strtab = NULL;
655 finfo.section_info = NULL;
656 finfo.last_file_index = -1;
657 finfo.last_bf_index = -1;
658 finfo.internal_syms = NULL;
659 finfo.sec_ptrs = NULL;
660 finfo
630 struct coff_final_link_info finfo; local
989 _bfd_coff_write_task_globals, &finfo); local
997 _bfd_coff_write_global_sym, &finfo); local
1294 mark_relocs(struct coff_final_link_info *finfo, bfd *input_bfd) argument
1342 _bfd_coff_link_input_bfd(struct coff_final_link_info *finfo, bfd *input_bfd) argument
2457 struct coff_final_link_info *finfo = (struct coff_final_link_info *) data; local
2666 struct coff_final_link_info *finfo = (struct coff_final_link_info *) data; local
2694 _bfd_coff_reloc_link_order(bfd *output_bfd, struct coff_final_link_info *finfo, asection *output_section, struct bfd_link_order *link_order) argument
[all...]
H A Dcoff-ppc.c2057 struct coff_final_link_info finfo;
2077 finfo.info = info;
2078 finfo.output_bfd = abfd;
2079 finfo.strtab = NULL;
2080 finfo.section_info = NULL;
2081 finfo.last_file_index = -1;
2082 finfo.last_bf_index = -1;
2083 finfo.internal_syms = NULL;
2084 finfo.sec_ptrs = NULL;
2085 finfo
2046 struct coff_final_link_info finfo; local
[all...]
H A Dxcofflink.c3401 xcoff_link_input_bfd (struct xcoff_final_link_info *finfo,
3429 && ! finfo->info->static_link)
3433 output_bfd = finfo->output_bfd;
3449 if (! finfo->info->keep_memory)
3463 isymp = finfo->internal_syms;
3464 indexp = finfo->sym_indices;
3466 outsym = finfo->outsyms;
3567 BFD_ASSERT (impbfd->xvec == finfo->output_bfd->xvec);
3576 bfd_xcoff_swap_ldsym_out (finfo->output_bfd, ldsym,
3577 (finfo
3395 xcoff_link_input_bfd(struct xcoff_final_link_info *finfo, bfd *input_bfd) argument
4594 struct xcoff_final_link_info *finfo = (struct xcoff_final_link_info *) inf; local
5145 xcoff_reloc_link_order(bfd *output_bfd, struct xcoff_final_link_info *finfo, asection *output_section, struct bfd_link_order *link_order) argument
5327 struct xcoff_final_link_info finfo; local
[all...]
/macosx-10.10.1/curl-83.1.2/curl/docs/examples/
H A Dftp-wildcard.c29 static long file_is_comming(struct curl_fileinfo *finfo,
92 static long file_is_comming(struct curl_fileinfo *finfo, argument
96 printf("%3d %40s %10luB ", remains, finfo->filename,
97 (unsigned long)finfo->size);
99 switch(finfo->filetype) {
111 if(finfo->filetype == CURLFILETYPE_FILE) {
113 if(finfo->size > 50) {
118 data->output = fopen(finfo->filename, "w");
/macosx-10.10.1/bash-94.1.2/bash-3.2/
H A Dmailcheck.c125 #define UPDATE_MAIL_FILE(i, finfo) \
128 mailfiles[i]->access_time = finfo.st_atime; \
129 mailfiles[i]->mod_time = finfo.st_mtime; \
130 mailfiles[i]->file_size = finfo.st_size; \
139 struct stat finfo; local
142 if (mailstat (file, &finfo) == 0)
143 UPDATE_MAIL_FILE (i, finfo);
154 struct stat finfo; local
162 if (mailstat (filename, &finfo) == 0)
163 UPDATE_MAIL_FILE (i, finfo);
218 struct stat finfo; local
239 struct stat finfo; local
257 struct stat finfo; local
[all...]
/macosx-10.10.1/apr-32/apr-util/apr-util/dbm/sdbm/
H A Dsdbm_private.h78 #define SDBM_INVALIDATE_CACHE(db, finfo) \
79 do { db->dirbno = (!finfo.size) ? 0 : -1; \
81 db->maxbno = (long)(finfo.size * BYTESIZ); \
H A Dsdbm_lock.c53 apr_finfo_t finfo; local
54 if ((status = apr_file_info_get(&finfo, APR_FINFO_SIZE, db->dirf))
60 SDBM_INVALIDATE_CACHE(db, finfo);
/macosx-10.10.1/cxxfilt-11/cxxfilt/binutils/
H A Drescoff.c124 struct coff_file_info finfo;
153 finfo.filename = filename;
154 finfo.data = data;
155 finfo.data_end = data + size;
156 finfo.secaddr = (bfd_get_section_vma (abfd, sec)
158 finfo.big_endian = bfd_big_endian (abfd);
167 return read_coff_res_dir (data, &finfo, (const struct res_id *) NULL, 0);
173 overrun (const struct coff_file_info *finfo, const char *msg)
175 fatal (_("%s: %s: address out of bounds"), finfo->filename, msg);
181 read_coff_res_dir (const bfd_byte *data, const struct coff_file_info *finfo,
123 struct coff_file_info finfo; local
172 overrun(const struct coff_file_info *finfo, const char *msg) argument
180 read_coff_res_dir(const bfd_byte *data, const struct coff_file_info *finfo, const struct res_id *type, int level) argument
310 read_coff_data_entry(const bfd_byte *data, const struct coff_file_info *finfo, const struct res_id *type) argument
[all...]
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/
H A Deaccess.c81 sh_stat (path, finfo)
83 struct stat *finfo;
98 r = fstat ((int)fd, finfo);
112 return (stat (pbuf, finfo));
119 return (fstat (0, finfo));
121 return (fstat (1, finfo));
123 return (fstat (2, finfo));
125 return (stat (path, finfo));
128 return (stat (path, finfo));
/macosx-10.10.1/apr-32/apr/apr/test/
H A Dtestfileinfo.c109 apr_finfo_t finfo; local
115 rv = apr_file_info_get(&finfo, APR_FINFO_NORM, thefile);
121 if (vfi[i].bits & ~finfo.valid) {
133 apr_finfo_t finfo; local
136 rv = apr_stat(&finfo, FILENAME, APR_FINFO_NORM, p);
142 if (vfi[i].bits & ~finfo.valid) {
154 apr_finfo_t finfo; local
160 rv = apr_file_info_get(&finfo, APR_FINFO_NORM, thefile);
171 finfo_equal(tc, &stat_finfo, &finfo);
178 apr_finfo_t finfo; local
207 apr_finfo_t finfo; local
[all...]
H A Dtestdir.c30 apr_finfo_t finfo; local
35 rv = apr_stat(&finfo, "data/testdir", APR_FINFO_TYPE, p);
37 ABTS_INT_EQUAL(tc, APR_DIR, finfo.filetype);
43 apr_finfo_t finfo; local
49 rv = apr_stat(&finfo, "data/one", APR_FINFO_TYPE, p);
51 ABTS_INT_EQUAL(tc, APR_DIR, finfo.filetype);
53 rv = apr_stat(&finfo, "data/one/two", APR_FINFO_TYPE, p);
55 ABTS_INT_EQUAL(tc, APR_DIR, finfo.filetype);
57 rv = apr_stat(&finfo, "data/one/two/three", APR_FINFO_TYPE, p);
59 ABTS_INT_EQUAL(tc, APR_DIR, finfo
65 apr_finfo_t finfo; local
173 apr_finfo_t finfo; local
[all...]
/macosx-10.10.1/apache-793/httpd/modules/aaa/
H A Dmod_authz_owner.c56 apr_finfo_t finfo;
70 status = apr_stat(&finfo, r->filename, APR_FINFO_USER, r->pool);
80 if (!(finfo.valid & APR_FINFO_USER)) {
88 status = apr_uid_name_get(&owner, finfo.user, r->pool);
123 apr_finfo_t finfo;
134 status = apr_stat(&finfo, r->filename, APR_FINFO_GROUP, r->pool);
144 if (!(finfo.valid & APR_FINFO_GROUP)) {
152 status = apr_gid_name_get(&group, finfo.group, r->pool);
/macosx-10.10.1/apache-793/httpd/modules/cache/
H A Dmod_file_cache.c103 apr_finfo_t finfo; member in struct:__anon5864
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...]

Completed in 233 milliseconds

123456