/external/e2fsprogs/ext2ed/ |
D | file_com.c | 30 file_info.inode_ptr=ptr; in init_file_info() 31 file_info.inode_offset=device_offset; in init_file_info() 33 file_info.global_block_num=ptr->i_block [0]; in init_file_info() 34 file_info.global_block_offset=ptr->i_block [0]*file_system_info.block_size; in init_file_info() 35 file_info.block_num=0; in init_file_info() 36 file_info.blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; in init_file_info() 37 file_info.file_offset=0; in init_file_info() 38 file_info.file_length=ptr->i_size; in init_file_info() 39 file_info.level=0; in init_file_info() 40 file_info.offset_in_block=0; in init_file_info() [all …]
|
D | dir_com.c | 223 dir_entry_ptr=(struct ext2_dir_entry_2 *) (file_info.buffer+file_info.dir_entry_offset); in type_dir___cd() 259 status=FOUND;info=file_info; in type_dir___cd() 263 file_info=info; /* Switch to it, by setting the global file_info */ in type_dir___cd() 357 if (entry_num_search < 0 || entry_num_search >= file_info.dir_entries_count) { in type_dir___entry() 364 file_info=info; in type_dir___entry() 402 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset); in type_dir___followinode() 403 dir_entry_ptr=(struct ext2_dir_entry_2 *) (file_info.buffer+file_info.dir_entry_offset); in type_dir___followinode() 439 show_pad_info.line=file_info.dir_entry_num-show_pad_info.display_lines/2; in type_dir___show() 458 if (info->dir_entry_num == file_info.dir_entry_num) /* Highlight the current entry */ in action_show() 470 if (info->dir_entry_num == file_info.dir_entry_num) in action_show() [all …]
|
/external/zlib/src/contrib/minizip/ |
D | miniunz.c | 249 unz_file_info64 file_info; local 253 … err = unzGetCurrentFileInfo64(uf,&file_info,filename_inzip,sizeof(filename_inzip),NULL,0,NULL,0); 259 if (file_info.uncompressed_size>0) 260 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size); 263 if ((file_info.flag & 1) != 0) 266 if (file_info.compression_method==0) 269 if (file_info.compression_method==Z_DEFLATED) 271 uInt iLevel=(uInt)((file_info.flag & 0x6)/2); 280 if (file_info.compression_method==Z_BZIP2ED) 287 Display64BitsSize(file_info.uncompressed_size,7); [all …]
|
D | unzip.c | 891 unz_file_info64 file_info; in unz64local_GetCurrentFileInfoInternal() local 916 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.version) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal() 919 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.version_needed) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal() 922 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.flag) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal() 925 if (unz64local_getShort(&s->z_filefunc, s->filestream,&file_info.compression_method) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal() 928 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.dosDate) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal() 931 unz64local_DosDateToTmuDate(file_info.dosDate,&file_info.tmu_date); in unz64local_GetCurrentFileInfoInternal() 933 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.crc) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal() 938 file_info.compressed_size = uL; in unz64local_GetCurrentFileInfoInternal() 942 file_info.uncompressed_size = uL; in unz64local_GetCurrentFileInfoInternal() [all …]
|
/external/toybox/toys/pending/ |
D | lsof.c | 40 struct file_info { struct 59 static int filter_matches(struct file_info *fi) in filter_matches() argument 82 struct file_info *fi = data; in print_info() 98 free(((struct file_info *)data)->name); in print_info() 103 static void fill_flags(struct file_info *fi) in fill_flags() 125 void (*fn)(char *, int, char, struct file_info *, long), in scan_proc_net_file() argument 126 struct file_info *fi, long sought_inode) in scan_proc_net_file() 147 static void match_unix(char *line, int af, char type, struct file_info *fi, in match_unix() 162 static void match_netlink(char *line, int af, char type, struct file_info *fi, in match_netlink() 184 static void match_ip(char *line, int af, char type, struct file_info *fi, in match_ip() [all …]
|
/external/ImageMagick/MagickCore/ |
D | blob.c | 141 file_info; member 209 blob_info->file_info.file=(FILE *) NULL; in AttachBlob() 465 clone_info->file_info.file=blob_info->file_info.file; in CloneBlobInfo() 521 status=fsync(fileno(image->blob->file_info.file)); in CloseBlob() 522 status=ferror(image->blob->file_info.file); in CloseBlob() 528 (void) gzerror(image->blob->file_info.gzfile,&status); in CloseBlob() 535 (void) BZ2_bzerror(image->blob->file_info.bzfile,&status); in CloseBlob() 543 if ((image->blob->file_info.file != (FILE *) NULL) && in CloseBlob() 546 (void) fsync(fileno(image->blob->file_info.file)); in CloseBlob() 547 status=ferror(image->blob->file_info.file); in CloseBlob() [all …]
|
/external/google-breakpad/src/tools/python/ |
D | filter_syms.py | 141 file_info = file_record[5:].split(' ', 3) 142 if len(file_info) > 2: 144 file_index = int(file_info[0]) 145 file_name = self._NormalizePath(file_info[1]) 149 file_info[1] = self._AdjustPath(file_name) 150 return 'FILE ' + ' '.join(file_info)
|
/external/chromium-trace/catapult/third_party/webtest/webtest/ |
D | app.py | 471 def _append_file(file_info): argument 472 key, filename, value, fcontent = self._get_file_info(file_info) 503 file_info = [key, value.filename] 505 file_info.append(value.content) 507 file_info.append(value.content_type) 508 _append_file(file_info) 517 for file_info in files: 518 _append_file(file_info) 738 def _get_file_info(self, file_info): argument 739 if len(file_info) == 2: [all …]
|
/external/curl/tests/libtest/ |
D | lib505.c | 43 struct_stat file_info; in test() local 66 hd = fstat(fileno(hd_src), &file_info); in test() 77 if(! file_info.st_size) { in test() 136 (curl_off_t)file_info.st_size); in test()
|
D | lib541.c | 40 struct_stat file_info; in test() local 58 hd = fstat(fileno(hd_src), &file_info); in test() 69 if(! file_info.st_size) { in test()
|
D | lib525.c | 39 struct_stat file_info; in test() local 66 hd = fstat(fileno(hd_src), &file_info); in test() 109 easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t)file_info.st_size); in test()
|
D | lib568.c | 48 struct_stat file_info; in test() local 78 fstat(sdp, &file_info); in test() 91 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); in test()
|
D | lib572.c | 48 struct_stat file_info; in test() local 96 fstat(params, &file_info); in test() 109 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); in test()
|
D | lib582.c | 232 struct_stat file_info; in test() local 255 hd = fstat(fileno(hd_src), &file_info); in test() 265 fprintf(stderr, "Set to upload %d bytes\n", (int)file_info.st_size); in test() 291 easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t)file_info.st_size); in test()
|
/external/squashfs-tools/squashfs-tools/ |
D | mksquashfs.h | 81 struct file_info { struct 86 struct file_info *next; argument 116 struct file_info *file; 156 extern struct file_info *dupl[];
|
/external/curl/docs/examples/ |
D | fileupload.c | 35 struct stat file_info; in main() local 46 if(fstat(fileno(fd), &file_info) != 0) { in main() 65 (curl_off_t)file_info.st_size); in main()
|
D | httpput.c | 64 struct stat file_info; in main() local 76 stat(file, &file_info); in main() 108 (curl_off_t)file_info.st_size); in main()
|
D | ftpupload.c | 71 struct stat file_info; in main() local 79 if(stat(LOCAL_FILE, &file_info)) { in main() 83 fsize = (curl_off_t)file_info.st_size; in main()
|
D | anyauthput.c | 125 struct stat file_info; in main() local 138 fstat(hd, &file_info); in main() 168 (curl_off_t)file_info.st_size); in main()
|
D | http2-upload.c | 187 struct stat file_info; in setup() local 196 stat(upload, &file_info); in setup() 197 uploadsize = file_info.st_size; in setup()
|
/external/google-breakpad/src/tools/windows/symupload/ |
D | symupload.cc | 93 VS_FIXEDFILEINFO *file_info = in GetFileVersionString() local 97 file_info->dwFileVersionMS >> 16, in GetFileVersionString() 98 file_info->dwFileVersionMS & 0xffff, in GetFileVersionString() 99 file_info->dwFileVersionLS >> 16, in GetFileVersionString() 100 file_info->dwFileVersionLS & 0xffff); in GetFileVersionString()
|
/external/libchrome/base/files/ |
D | important_file_writer.cc | 77 } file_info; in WriteFileAtomically() local 78 file_info.data_size = data.size(); in WriteFileAtomically() 79 strlcpy(file_info.path, path.value().c_str(), arraysize(file_info.path)); in WriteFileAtomically() 80 debug::Alias(&file_info); in WriteFileAtomically()
|
D | file_util_posix.cc | 205 stat_wrapper_t file_info; in DeleteFile() local 206 int test = CallLstat(path_str, &file_info); in DeleteFile() 212 if (!S_ISDIR(file_info.st_mode)) in DeleteFile() 383 stat_wrapper_t file_info; in DirectoryExists() local 384 if (CallStat(path.value().c_str(), &file_info) == 0) in DirectoryExists() 385 return S_ISDIR(file_info.st_mode); in DirectoryExists() 429 stat_wrapper_t file_info; in GetPosixFilePermissions() local 432 if (CallStat(path.value().c_str(), &file_info) != 0) in GetPosixFilePermissions() 435 *mode = file_info.st_mode & FILE_PERMISSION_MASK; in GetPosixFilePermissions() 614 stat_wrapper_t file_info; in NormalizeFilePath() local [all …]
|
D | file_posix.cc | 324 stat_wrapper_t file_info; in GetLength() local 325 if (CallFstat(file_.get(), &file_info)) in GetLength() 328 return file_info.st_size; in GetLength() 357 stat_wrapper_t file_info; in GetInfo() local 358 if (CallFstat(file_.get(), &file_info)) in GetInfo() 361 info->FromStat(file_info); in GetInfo()
|
/external/blktrace/btt/ |
D | misc.c | 34 struct file_info { struct 54 struct file_info *fip = list_entry(p, struct file_info, head); in clean_files() argument 120 struct file_info *fip = malloc(sizeof(*fip)); in add_file()
|