Searched refs:file_info (Results 1 – 6 of 6) sorted by relevance
/system/extras/pagecache/ |
D | dumpcache.c | 21 struct file_info { struct 37 static struct file_info **g_files; argument 42 static struct file_info *get_file_info(const char* fpath, size_t file_size) { in get_file_info() 43 struct file_info *info; in get_file_info() 45 g_files = realloc(g_files, 2 * g_files_size * sizeof(struct file_info*)); in get_file_info() 96 struct file_info *info = get_file_info(fpath, sb->st_size); in store_num_cached() 121 return cmpsize((*((struct file_info**)a))->num_cached_pages, in cmpfiles() 122 (*((struct file_info**)b))->num_cached_pages); in cmpfiles() 130 g_files = malloc(INITIAL_NUM_FILES * sizeof(struct file_info*)); in main() 143 struct file_info *info = g_files[i]; in main()
|
/system/webservd/webservd/ |
D | request.cc | 365 std::unique_ptr<FileInfo> file_info{ in AddPostFieldData() local 368 file_info->temp_file_name = GetTempFileManager()->CreateTempFileName(id_); in AddPostFieldData() 369 file_info->data_stream = brillo::FileStream::Open( in AddPostFieldData() 370 file_info->temp_file_name, brillo::Stream::AccessMode::READ_WRITE, in AddPostFieldData() 372 if (!file_info->data_stream || in AddPostFieldData() 373 !file_info->data_stream->WriteAllBlocking(data, size, nullptr)) { in AddPostFieldData() 376 file_info_.push_back(std::move(file_info)); in AddPostFieldData() 392 FileInfo* file_info = file_info_.back().get(); in AppendPostFieldData() local 393 return file_info->data_stream->WriteAllBlocking(data, size, nullptr); in AppendPostFieldData()
|
/system/webservd/libwebserv/ |
D | request_fake.h | 54 std::multimap<std::string, std::unique_ptr<FileInfo>> file_info) { in SetFileInfo() argument 55 file_info_ = std::move(file_info); in SetFileInfo()
|
/system/sepolicy/tools/ |
D | check_seapp.c | 61 typedef struct file_info file_info; typedef 152 struct file_info { struct 166 static file_info out_file; argument 267 file_info *f = list_entry(e, typeof(*f), listify); in input_file_list_freefn() 810 file_info *tmp; in init() 919 file_info *input_file; in handle_options() 1032 static void parse_file(file_info *in_file) { in parse_file() 1131 file_info *current; in parse()
|
/system/connectivity/shill/ |
D | json_store_unittest.cc | 933 FileEnumerator::FileInfo file_info = file_enumerator.GetInfo(); in TEST_F() local 934 EXPECT_EQ(S_IFREG | S_IRUSR | S_IWUSR, file_info.stat().st_mode); in TEST_F() 950 FileEnumerator::FileInfo file_info = file_enumerator.GetInfo(); in TEST_F() local 951 EXPECT_EQ(S_IFREG | S_IRUSR | S_IWUSR, file_info.stat().st_mode); in TEST_F()
|
D | key_file_store_unittest.cc | 100 FileEnumerator::FileInfo file_info = file_enumerator.GetInfo(); in TEST_F() local 104 EXPECT_EQ(S_IFREG | S_IRUSR | S_IWUSR, file_info.stat().st_mode); in TEST_F()
|