Home
last modified time | relevance | path

Searched refs:file_info (Results 1 – 25 of 33) sorted by relevance

12

/external/e2fsprogs/ext2ed/
Dfile_com.c30 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 …]
Ddir_com.c223 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/contrib/minizip/
Dminiunz.c249 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 …]
Dunzip.c891 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/chromium/chrome/browser/policy/
Dconfig_dir_policy_provider.cc55 base::PlatformFileInfo file_info; in GetLastModification() local
58 if (!file_util::GetFileInfo(config_file_path(), &file_info) || in GetLastModification()
59 !file_info.is_directory) { in GetLastModification()
70 if (file_util::GetFileInfo(config_file, &file_info) && in GetLastModification()
71 !file_info.is_directory) { in GetLastModification()
72 last_modification = std::max(last_modification, file_info.last_modified); in GetLastModification()
Dconfiguration_policy_provider_mac.cc116 base::PlatformFileInfo file_info; in GetLastModification() local
117 if (!file_util::GetFileInfo(config_file_path(), &file_info) || in GetLastModification()
118 file_info.is_directory) { in GetLastModification()
122 return file_info.last_modified; in GetLastModification()
/external/chromium/net/url_request/
Durl_request_file_job.cc52 base::PlatformFileInfo file_info; in Resolve() local
53 bool exists = file_util::GetFileInfo(file_path, &file_info); in Resolve()
57 this, &AsyncResolver::ReturnResults, exists, file_info)); in Resolve()
73 void ReturnResults(bool exists, const base::PlatformFileInfo& file_info) { in ReturnResults() argument
75 owner_->DidResolve(exists, file_info); in ReturnResults()
168 base::PlatformFileInfo file_info; in Start() local
171 exists = file_util::GetFileInfo(file_path_, &file_info); in Start()
178 &URLRequestFileJob::DidResolve, exists, file_info)); in Start()
309 bool exists, const base::PlatformFileInfo& file_info) { in DidResolve() argument
318 is_directory_ = file_info.is_directory; in DidResolve()
[all …]
Durl_request_file_job.h53 void DidResolve(bool exists, const base::PlatformFileInfo& file_info);
/external/chromium/base/
Dplatform_file_posix.cc186 stat_wrapper_t file_info; in GetPlatformFileInfo() local
187 if (CallFstat(file, &file_info)) in GetPlatformFileInfo()
190 info->is_directory = S_ISDIR(file_info.st_mode); in GetPlatformFileInfo()
191 info->is_symbolic_link = S_ISLNK(file_info.st_mode); in GetPlatformFileInfo()
192 info->size = file_info.st_size; in GetPlatformFileInfo()
193 info->last_modified = base::Time::FromTimeT(file_info.st_mtime); in GetPlatformFileInfo()
194 info->last_accessed = base::Time::FromTimeT(file_info.st_atime); in GetPlatformFileInfo()
195 info->creation_time = base::Time::FromTimeT(file_info.st_ctime); in GetPlatformFileInfo()
Dplatform_file_win.cc201 BY_HANDLE_FILE_INFORMATION file_info; in GetPlatformFileInfo() local
202 if (GetFileInformationByHandle(file, &file_info) == 0) in GetPlatformFileInfo()
206 size.HighPart = file_info.nFileSizeHigh; in GetPlatformFileInfo()
207 size.LowPart = file_info.nFileSizeLow; in GetPlatformFileInfo()
210 file_info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY != 0; in GetPlatformFileInfo()
212 info->last_modified = base::Time::FromFileTime(file_info.ftLastWriteTime); in GetPlatformFileInfo()
213 info->last_accessed = base::Time::FromFileTime(file_info.ftLastAccessTime); in GetPlatformFileInfo()
214 info->creation_time = base::Time::FromFileTime(file_info.ftCreationTime); in GetPlatformFileInfo()
Dfile_util_posix.cc149 stat_wrapper_t file_info; in Delete() local
150 int test = CallStat(path_str, &file_info); in Delete()
156 if (!S_ISDIR(file_info.st_mode)) in Delete()
330 stat_wrapper_t file_info; in DirectoryExists() local
331 if (CallStat(path.value().c_str(), &file_info) == 0) in DirectoryExists()
332 return S_ISDIR(file_info.st_mode); in DirectoryExists()
519 stat_wrapper_t file_info; in GetFileInfo() local
520 if (CallStat(file_path.value().c_str(), &file_info) != 0) in GetFileInfo()
522 results->is_directory = S_ISDIR(file_info.st_mode); in GetFileInfo()
523 results->size = file_info.st_size; in GetFileInfo()
[all …]
/external/chromium/base/files/
Dfile_path_watcher_win.cc140 base::PlatformFileInfo file_info; in OnObjectSignaled() local
141 bool file_exists = file_util::GetFileInfo(target_, &file_info); in OnObjectSignaled()
143 last_modified_ != file_info.last_modified)) { in OnObjectSignaled()
144 last_modified_ = file_info.last_modified; in OnObjectSignaled()
221 base::PlatformFileInfo file_info; in UpdateWatch() local
222 if (file_util::GetFileInfo(target_, &file_info)) { in UpdateWatch()
223 last_modified_ = file_info.last_modified; in UpdateWatch()
/external/chromium/chrome/browser/
Dicon_loader_win.cc30 SHFILEINFO file_info = { 0 }; in ReadIcon() local
31 if (!SHGetFileInfo(group_.c_str(), FILE_ATTRIBUTE_NORMAL, &file_info, in ReadIcon()
39 BOOL r = ::GetIconInfo(file_info.hIcon, &icon_info); in ReadIcon()
46 IconUtil::CreateSkBitmapFromHICON(file_info.hIcon, icon_size))); in ReadIcon()
Dbrowsing_data_local_storage_helper.cc107 base::PlatformFileInfo file_info; in FetchLocalStorageInfoInWebKitThread() local
108 bool ret = file_util::GetFileInfo(file_path, &file_info); in FetchLocalStorageInfoInWebKitThread()
117 file_info.size, in FetchLocalStorageInfoInWebKitThread()
118 file_info.last_modified)); in FetchLocalStorageInfoInWebKitThread()
Dbrowsing_data_indexed_db_helper.cc119 base::PlatformFileInfo file_info; in FetchIndexedDBInfoInWebKitThread() local
120 bool ret = file_util::GetFileInfo(file_path, &file_info); in FetchIndexedDBInfoInWebKitThread()
129 file_info.size, in FetchIndexedDBInfoInWebKitThread()
130 file_info.last_modified)); in FetchIndexedDBInfoInWebKitThread()
Dbrowsing_data_database_helper.cc104 base::PlatformFileInfo file_info; in FetchDatabaseInfoInWebKitThread() local
105 if (file_util::GetFileInfo(file_path, &file_info)) { in FetchDatabaseInfoInWebKitThread()
112 file_info.size, in FetchDatabaseInfoInWebKitThread()
113 file_info.last_modified)); in FetchDatabaseInfoInWebKitThread()
/external/blktrace/btt/
Dmisc.c34 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()
/external/chromium/net/base/
Dupload_data_stream_unittest.cc112 base::PlatformFileInfo file_info; in TEST_F() local
113 ASSERT_TRUE(file_util::GetFileInfo(temp_file_path, &file_info)); in TEST_F()
116 FileChangedHelper(temp_file_path, file_info.last_modified, false); in TEST_F()
120 file_info.last_modified - base::TimeDelta::FromSeconds(1), in TEST_F()
/external/oprofile/opjitconv/
Dconversion.c42 int op_jit_convert(struct op_jitdump_info file_info, char const * elffile, in op_jit_convert() argument
45 void const * jitdump = file_info.dmp_file; in op_jit_convert()
56 if ((rc = parse_all(jitdump, jitdump + file_info.dmp_file_stat.st_size, in op_jit_convert()
Dopjitconv.c115 struct op_jitdump_info * file_info) in mmap_jitdump() argument
128 rc = fstat(dumpfd, &file_info->dmp_file_stat); in mmap_jitdump()
134 file_info->dmp_file = mmap(0, file_info->dmp_file_stat.st_size, in mmap_jitdump()
136 if (file_info->dmp_file == MAP_FAILED) { in mmap_jitdump()
Dopjitconv.h95 int op_jit_convert(struct op_jitdump_info file_info, char const * elffile,
/external/qemu/elff/
Ddwarf_cu.cc744 const Dwarf_STMTL_FileDesc* file_info = state->set_file_info_; in set_source_info() local
745 if (file_info == NULL) { in set_source_info()
746 file_info = get_stmt_file_info(state->file_); in set_source_info()
747 if (file_info == NULL) { in set_source_info()
753 info->file_name = file_info->get_file_name(); in set_source_info()
754 const Elf_Word dir_index = file_info->get_dir_index(); in set_source_info()
/external/webrtc/test/testsupport/
Dfileutils.cc114 struct stat file_info = {0}; in FileExists() local
115 return stat(file_name.c_str(), &file_info) == 0; in FileExists()
/external/chromium/chrome/common/
Dzip.cc27 unz_file_info file_info; in ExtractCurrentFile() local
28 int err = unzGetCurrentFileInfo(zip_file, &file_info, filename_inzip, in ExtractCurrentFile()
/external/chromium/chrome/browser/extensions/
Dextension_file_browser_private_api.cc555 base::PlatformFileInfo file_info; in SetupFileAccessPermissions() local
562 &file_system_operation_context, final_file_path, &file_info, in SetupFileAccessPermissions()
576 if (file_info.is_symbolic_link) in SetupFileAccessPermissions()
618 *is_directory = file_info.is_directory; in SetupFileAccessPermissions()

12