Searched refs:fileinfo (Results 1 - 23 of 23) sorted by relevance

/external/curl/lib/
H A Dfileinfo.c26 #include "fileinfo.h"
31 struct fileinfo *Curl_fileinfo_alloc(void)
33 return calloc(1, sizeof(struct fileinfo));
38 struct fileinfo *finfo = element;
H A Dfileinfo.h28 struct fileinfo { struct
33 struct fileinfo *Curl_fileinfo_alloc(void);
H A DMakefile.inc44 fileinfo.c ftplistparser.c wildcard.c krb5.c memdebug.c http_chunks.c \
63 wildcard.h fileinfo.h ftplistparser.h strtok.h connect.h llist.h \
H A Dftplistparser.c45 #include "fileinfo.h"
168 struct fileinfo *file_data;
268 struct fileinfo *infop)
327 struct fileinfo *infop;
/external/libcups/cups/
H A Ddir.h46 struct stat fileinfo; /* File information */ member in struct:cups_dentry_s
H A Ddir.c182 dp->entry.fileinfo.st_mode = 0755 | S_IFDIR;
184 dp->entry.fileinfo.st_mode = 0644;
186 dp->entry.fileinfo.st_atime = _cups_dir_time(entry.ftLastAccessTime);
187 dp->entry.fileinfo.st_ctime = _cups_dir_time(entry.ftCreationTime);
188 dp->entry.fileinfo.st_mtime = _cups_dir_time(entry.ftLastWriteTime);
189 dp->entry.fileinfo.st_size = entry.nFileSizeLow + ((unsigned long long)entry.nFileSizeHigh << 32);
385 if (stat(filename, &(dp->entry.fileinfo)))
H A Dfile.c57 struct stat fileinfo; /* File information */ local
82 if (stat(filename, &fileinfo))
101 if (!S_ISDIR(fileinfo.st_mode))
106 if (!S_ISREG(fileinfo.st_mode))
136 if (fileinfo.st_uid || /* 1. Must be owned by root */
137 (fileinfo.st_mode & S_IWGRP) || /* 2. Must not be writable by group */
138 (fileinfo.st_mode & S_ISUID) || /* 3. Must not be setuid */
139 (fileinfo.st_mode & S_IWOTH)) /* 4. Must not be writable by others */
162 if (stat(temp, &fileinfo))
175 if (fileinfo
2555 struct stat fileinfo; /* File information */ local
[all...]
H A Drequest.c110 struct stat fileinfo; /* File information */ local
147 if (fstat(infile, &fileinfo))
160 if (fileinfo.st_mode & _S_IFDIR)
162 if (S_ISDIR(fileinfo.st_mode))
176 if (!S_ISREG(fileinfo.st_mode))
180 length = ippLength(request) + (size_t)fileinfo.st_size;
219 if (S_ISREG(fileinfo.st_mode))
H A Dtestppd.c909 struct stat fileinfo; /* File information */ local
949 if (lstat(filename, &fileinfo))
955 if (S_ISLNK(fileinfo.st_mode))
966 if (stat(realfile, &fileinfo))
971 (long)fileinfo.st_size);
974 printf("%s: regular file, %ld bytes\n", filename, (long)fileinfo.st_size);
/external/nanopb-c/examples/network_server/
H A Dserver.c30 FileInfo fileinfo; local
34 fileinfo.inode = file->d_ino;
35 strncpy(fileinfo.name, file->d_name, sizeof(fileinfo.name));
36 fileinfo.name[sizeof(fileinfo.name) - 1] = '\0';
41 if (!pb_encode_submessage(stream, FileInfo_fields, &fileinfo))
H A Dclient.c28 FileInfo fileinfo; local
30 if (!pb_decode(stream, FileInfo_fields, &fileinfo))
33 printf("%-10lld %s\n", (long long)fileinfo.inode, fileinfo.name);
/external/e2fsprogs/util/
H A Dcopy_sparse.c92 struct stat64 fileinfo; local
102 if (stat64(src, &fileinfo) < 0) {
106 if (!S_ISREG(fileinfo.st_mode)) {
126 numblocks = (fileinfo.st_size + (bs-1)) / bs;
129 (long long) fileinfo.st_size, numblocks);
189 offset = fileinfo.st_size;
190 if (fstat64(ofd, &fileinfo) < 0) {
194 if (fileinfo.st_size != offset) {
/external/elfutils/src/
H A Dldgeneric.c62 static int ld_generic_file_close (struct usedfiles *fileinfo,
64 static int ld_generic_file_process (int fd, struct usedfiles *fileinfo,
98 static int file_process2 (struct usedfiles *fileinfo);
127 print_file_name (FILE *s, struct usedfiles *fileinfo, int first_level, argument
132 if (fileinfo->archive_file != NULL)
134 npar = print_file_name (s, fileinfo->archive_file, 0, 0) + 1;
136 fputs_unlocked (fileinfo->rfname, s);
143 fputs_unlocked (fileinfo->rfname, s);
164 struct usedfiles *file = scninfo->fileinfo;
335 open_along_path2 (struct usedfiles *fileinfo, struc argument
455 open_along_path(struct usedfiles *fileinfo) argument
516 matching_group_comdat_scn(const XElf_Sym *sym, size_t shndx, struct usedfiles *fileinfo, struct symbol *oldp) argument
548 check_type_and_size(const XElf_Sym *sym, struct usedfiles *fileinfo, struct symbol *oldp) argument
584 check_definition(const XElf_Sym *sym, size_t shndx, size_t symidx, struct usedfiles *fileinfo, struct symbol *oldp) argument
794 find_section_group(struct usedfiles *fileinfo, Elf32_Word shndx, Elf_Data **datap) argument
842 mark_section_group(struct usedfiles *fileinfo, Elf32_Word shndx, struct scninfo **grpscnp) argument
957 add_section(struct usedfiles *fileinfo, struct scninfo *scninfo) argument
1088 add_relocatable_file(struct usedfiles *fileinfo, GElf_Word secttype) argument
1713 open_elf(struct usedfiles *fileinfo, Elf *elf) argument
1818 add_whole_archive(struct usedfiles *fileinfo) argument
1864 extract_from_archive(struct usedfiles *fileinfo) argument
1974 file_process2(struct usedfiles *fileinfo) argument
2184 ld_generic_file_process(int fd, struct usedfiles *fileinfo, struct ld_state *statep, struct usedfiles **nextp) argument
2386 ld_generic_file_close(struct usedfiles *fileinfo, struct ld_state *statep) argument
[all...]
H A Di386_ld.c79 struct usedfiles *file = runp->fileinfo;
97 inxndxdata = runp->fileinfo->xndxdata;
550 if (r_sym >= scninfo->fileinfo->nlocalsymbols
551 && unlikely (scninfo->fileinfo->symref[r_sym] == NULL))
557 if (! scninfo->fileinfo->symref[r_sym]->defined
558 || scninfo->fileinfo->symref[r_sym]->in_dso
592 sym = scninfo->fileinfo->symref[r_sym];
620 if (! scninfo->fileinfo->symref[r_sym]->defined
623 sym = scninfo->fileinfo->symref[r_sym];
654 if (!scninfo->fileinfo
[all...]
H A Dld.h176 struct usedfiles *fileinfo; member in struct:usedfiles::scninfo
1123 struct usedfiles *file = scninfo->fileinfo;
H A Dld.c1243 = runp->fileinfo->scninfo[SCNINFO_SHDR (runp->shdr).sh_info].used;
/external/libchrome/base/
H A Dsys_info_chromeos.cc78 File::Info fileinfo; local
79 if (GetFileInfo(path, &fileinfo))
80 lsb_release_time_ = fileinfo.creation_time;
/external/curl/src/
H A Dtool_operate.c651 struct_stat fileinfo; local
653 if(0 == stat(outfile, &fileinfo))
655 config->resume_from = fileinfo.st_size;
691 struct_stat fileinfo; local
715 if(stat(uploadfile, &fileinfo) == 0) {
716 fileinfo.st_size = VmsSpecialSize(uploadfile, &fileinfo);
717 switch(fileinfo.st_fab_rfm) {
731 if((infd == -1) || fstat(infd, &fileinfo))
745 if(S_ISREG(fileinfo
[all...]
H A Dtool_metalink.c733 static metalinkfile *new_metalinkfile(metalink_file_t *fileinfo) argument
741 f->filename = strdup(fileinfo->name);
748 if(fileinfo->checksums) {
753 for(p = fileinfo->checksums; *p; ++p) {
767 if(fileinfo->resources) {
772 for(p = fileinfo->resources; *p; ++p) {
780 fileinfo->resources point to the target file. BitTorrent
781 metainfo file URL may be appeared in fileinfo->metaurls.
/external/google-styleguide/cpplint/
H A Dcpplint.py1822 fileinfo = FileInfo(filename)
1823 file_path_from_root = fileinfo.RepositoryName()
1828 %(_root, fileinfo.RepositoryName()))
1856 full_path = fileinfo.FullName()
1981 fileinfo = FileInfo(filename)
1982 if Search(_TEST_FILE_SUFFIX, fileinfo.BaseName()):
1985 headerfile = filename[0:len(filename) - len(fileinfo.Extension())] + '.h'
1998 '%s should include its header file %s' % (fileinfo.RepositoryName(),
4450 def _ClassifyInclude(fileinfo, include, is_system):
4454 fileinfo
[all...]
/external/compiler-rt/lib/sanitizer_common/scripts/
H A Dcpplint.py1128 fileinfo = FileInfo(filename)
1129 file_path_from_root = fileinfo.RepositoryName()
2957 def _ClassifyInclude(fileinfo, include, is_system):
2961 fileinfo: The current file cpplint is running over. A FileInfo instance.
2996 os.path.split(_DropCommonSuffixes(fileinfo.RepositoryName())))
3032 fileinfo = FileInfo(filename)
3067 _ClassifyInclude(fileinfo, include, is_system))
3071 (error_message, fileinfo.BaseName()))
/external/libvpx/libvpx/tools/
H A Dcpplint.py1391 fileinfo = FileInfo(filename)
1392 file_path_from_root = fileinfo.RepositoryName()
3509 def _ClassifyInclude(fileinfo, include, is_system):
3513 fileinfo: The current file cpplint is running over. A FileInfo instance.
3547 os.path.split(_DropCommonSuffixes(fileinfo.RepositoryName())))
3583 fileinfo = FileInfo(filename)
3618 _ClassifyInclude(fileinfo, include, is_system))
3622 (error_message, fileinfo.BaseName()))
/external/syslinux/mk/
H A Dlib.mk117 sys/fileinfo.o sys/opendev.o sys/read.o sys/write.o sys/ftell.o \

Completed in 308 milliseconds