/external/e2fsprogs/ext2ed/ |
file_com.c | 30 file_info.inode_ptr=ptr; 31 file_info.inode_offset=device_offset; 33 file_info.global_block_num=ptr->i_block [0]; 34 file_info.global_block_offset=ptr->i_block [0]*file_system_info.block_size; 35 file_info.block_num=0; 36 file_info.blocks_count=(ptr->i_size+file_system_info.block_size-1)/file_system_info.block_size; 37 file_info.file_offset=0; 38 file_info.file_length=ptr->i_size; 39 file_info.level=0; 40 file_info.offset_in_block=0 [all...] |
dir_com.c | 13 Most of the functions use the global variable file_info (along with the special directory fields there) to save 223 dir_entry_ptr=(struct ext2_dir_entry_2 *) (file_info.buffer+file_info.dir_entry_offset); 259 status=FOUND;info=file_info; 263 file_info=info; /* Switch to it, by setting the global file_info */ 357 if (entry_num_search < 0 || entry_num_search >= file_info.dir_entries_count) { 364 file_info=info; 402 low_read (file_info.buffer,file_system_info.block_size,file_info.global_block_offset) [all...] |
/external/chromium_org/webkit/glue/ |
webkit_glue.cc | 18 const base::PlatformFileInfo& file_info, 22 if (file_info.last_modified.is_null()) 25 web_file_info->modificationTime = file_info.last_modified.ToDoubleT(); 26 web_file_info->length = file_info.size; 27 if (file_info.is_directory)
|
webkit_glue.h | 23 const base::PlatformFileInfo& file_info,
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
resource_entry_conversion.cc | 70 PlatformFileInfoProto* file_info = converted.mutable_file_info(); local 72 file_info->set_last_modified(input.updated_time().ToInternalValue()); 75 file_info->set_last_accessed(input.last_viewed_time().ToInternalValue()); 76 file_info->set_creation_time(input.published_time().ToInternalValue()); 82 file_info->set_size(input.file_size()); 99 file_info->set_size(0); 101 file_info->set_is_directory(false); 122 file_info->set_is_directory(true); 141 base::PlatformFileInfo* file_info) { 142 file_info->size = entry.file_info().size() [all...] |
resource_entry_conversion.h | 42 base::PlatformFileInfo* file_info); 44 // Converts the platform file info and sets it to the .file_info field of 46 void SetPlatformFileInfoToResourceEntry(const base::PlatformFileInfo& file_info,
|
resource_entry_conversion_unittest.cc | 73 entry.file_info().last_modified()); 75 EXPECT_EQ(0, entry.file_info().last_accessed()); 77 entry.file_info().creation_time()); 86 EXPECT_EQ(892721, entry.file_info().size()); 89 EXPECT_FALSE(entry.file_info().is_directory()); 156 entry.file_info().last_modified()); 158 entry.file_info().last_accessed()); 160 entry.file_info().creation_time()); 169 EXPECT_EQ(0, entry.file_info().size()); 170 EXPECT_FALSE(entry.file_info().is_directory()) 353 base::PlatformFileInfo file_info; local 367 base::PlatformFileInfo file_info; local [all...] |
/external/chromium/chrome/browser/ |
icon_loader_win.cc | 30 SHFILEINFO file_info = { 0 }; local 31 if (!SHGetFileInfo(group_.c_str(), FILE_ATTRIBUTE_NORMAL, &file_info, 39 BOOL r = ::GetIconInfo(file_info.hIcon, &icon_info); 46 IconUtil::CreateSkBitmapFromHICON(file_info.hIcon, icon_size)));
|
/external/chromium_org/webkit/browser/fileapi/ |
transient_file_util.cc | 32 base::PlatformFileInfo* file_info, 34 DCHECK(file_info); 35 *error = GetFileInfo(context, url, file_info, platform_path); 36 if (*error == base::PLATFORM_FILE_OK && file_info->is_directory)
|
dragged_file_util.cc | 66 PlatformFileInfo* file_info, 68 DCHECK(file_info); 77 file_info->is_directory = true; 78 file_info->is_symbolic_link = false; 79 file_info->size = 0; 83 NativeFileUtil::GetFileInfo(url.path(), file_info);
|
transient_file_util.h | 27 base::PlatformFileInfo* file_info,
|
/external/chromium_org/chrome/browser/safe_browsing/ |
signature_util_win.cc | 28 WINTRUST_FILE_INFO file_info = {0}; local 29 file_info.cbStruct = sizeof(file_info); 30 file_info.pcwszFilePath = file_path.value().c_str(); 31 file_info.hFile = NULL; 32 file_info.pgKnownSubject = NULL; 41 wintrust_data.pFile = &file_info;
|
/external/chromium/chrome/browser/policy/ |
config_dir_policy_provider.cc | 55 base::PlatformFileInfo file_info; local 58 if (!file_util::GetFileInfo(config_file_path(), &file_info) || 59 !file_info.is_directory) { 70 if (file_util::GetFileInfo(config_file, &file_info) && 71 !file_info.is_directory) { 72 last_modification = std::max(last_modification, file_info.last_modified);
|
/external/chromium_org/chrome/utility/media_galleries/ |
iapps_xml_utils.cc | 88 base::PlatformFileInfo file_info; local 89 if (!base::GetPlatformFileInfo(file, &file_info) || 90 file_info.size > kMaxLibraryFileSize) { 95 result.resize(file_info.size); 97 base::ReadPlatformFile(file, 0, string_as_array(&result), file_info.size); 98 if (bytes_read != file_info.size)
|
/external/chromium_org/chrome/browser/ |
icon_loader_win.cc | 50 SHFILEINFO file_info = { 0 }; local 51 if (SHGetFileInfo(group_.c_str(), FILE_ATTRIBUTE_NORMAL, &file_info, 55 file_info.hIcon)); 60 DestroyIcon(file_info.hIcon);
|
/external/chromium_org/base/files/ |
file_posix.cc | 370 stat_wrapper_t file_info; local 371 if (CallFstat(file_, &file_info)) 374 info->is_directory = S_ISDIR(file_info.st_mode); 375 info->is_symbolic_link = S_ISLNK(file_info.st_mode); 376 info->size = file_info.st_size; 379 const time_t last_modified_sec = file_info.st_mtim.tv_sec; 380 const int64 last_modified_nsec = file_info.st_mtim.tv_nsec; 381 const time_t last_accessed_sec = file_info.st_atim.tv_sec; 382 const int64 last_accessed_nsec = file_info.st_atim.tv_nsec; 383 const time_t creation_time_sec = file_info.st_ctim.tv_sec [all...] |
/external/chromium_org/base/ |
platform_file_posix.cc | 371 stat_wrapper_t file_info; 372 if (CallFstat(file, &file_info)) 375 info->is_directory = S_ISDIR(file_info.st_mode); 376 info->is_symbolic_link = S_ISLNK(file_info.st_mode); 377 info->size = file_info.st_size; 380 const time_t last_modified_sec = file_info.st_mtim.tv_sec; 381 const int64 last_modified_nsec = file_info.st_mtim.tv_nsec; 382 const time_t last_accessed_sec = file_info.st_atim.tv_sec; 383 const int64 last_accessed_nsec = file_info.st_atim.tv_nsec; 384 const time_t creation_time_sec = file_info.st_ctim.tv_sec [all...] |
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
supported_image_type_validator.cc | 36 base::PlatformFileInfo file_info; local 37 if (!base::GetPlatformFileInfo(file, &file_info) || 38 file_info.size > kMaxImageFileSize) { 43 result->resize(file_info.size); 45 file_info.size) != file_info.size) {
|
mtp_device_async_delegate.h | 26 void(const base::PlatformFileInfo& file_info)> GetFileInfoSuccessCallback; 40 void(const base::PlatformFileInfo& file_info,
|
/external/chromium_org/content/browser/fileapi/ |
transient_file_util_unittest.cc | 82 base::PlatformFileInfo file_info; local 96 &file_info, 100 ASSERT_FALSE(file_info.is_directory); 106 temp_url, &file_info, &path)); 108 ASSERT_FALSE(file_info.is_directory); 118 temp_url, &file_info, &path));
|
/external/chromium/base/ |
platform_file_posix.cc | 186 stat_wrapper_t file_info; 187 if (CallFstat(file, &file_info)) 190 info->is_directory = S_ISDIR(file_info.st_mode); 191 info->is_symbolic_link = S_ISLNK(file_info.st_mode); 192 info->size = file_info.st_size; 193 info->last_modified = base::Time::FromTimeT(file_info.st_mtime); 194 info->last_accessed = base::Time::FromTimeT(file_info.st_atime); 195 info->creation_time = base::Time::FromTimeT(file_info.st_ctime);
|
/external/chromium_org/chrome/browser/media_galleries/linux/ |
snapshot_file_details.cc | 34 const base::PlatformFileInfo& file_info) 36 file_info_(file_info),
|
/external/chromium_org/chrome/browser/media_galleries/win/ |
snapshot_file_details.cc | 41 const base::PlatformFileInfo& file_info) { 42 file_info_ = file_info;
|
snapshot_file_details.h | 42 void set_file_info(const base::PlatformFileInfo& file_info); 50 base::PlatformFileInfo file_info() const { function in class:SnapshotFileDetails
|
/external/chromium_org/third_party/zlib/contrib/minizip/ |
miniunz.c | 236 unz_file_info64 file_info; local 240 err = unzGetCurrentFileInfo64(uf,&file_info,filename_inzip,sizeof(filename_inzip),NULL,0,NULL,0); 246 if (file_info.uncompressed_size>0) 247 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size); 250 if ((file_info.flag & 1) != 0) 253 if (file_info.compression_method==0) 256 if (file_info.compression_method==Z_DEFLATED) 258 uInt iLevel=(uInt)((file_info.flag & 0x6)/2); 267 if (file_info.compression_method==Z_BZIP2ED 313 unz_file_info64 file_info; local [all...] |