Searched refs:fs (Results 1 - 25 of 927) sorted by relevance

1234567891011>>

/external/libcxx/test/input.output/file.streams/fstreams/ifstream.members/
H A Dclose.pass.cpp23 std::ifstream fs; local
24 assert(!fs.is_open());
25 fs.open("test.dat");
26 assert(fs.is_open());
27 fs.close();
28 assert(!fs.is_open());
31 std::wifstream fs; local
32 assert(!fs.is_open());
33 fs.open("test.dat");
34 assert(fs
[all...]
H A Dopen_pointer.pass.cpp23 std::ifstream fs; local
24 assert(!fs.is_open());
26 fs >> c;
27 assert(fs.fail());
29 fs.open("test.dat");
30 assert(fs.is_open());
31 fs >> c;
35 std::wifstream fs; local
36 assert(!fs.is_open());
38 fs >>
[all...]
H A Dopen_string.pass.cpp23 std::ifstream fs; local
24 assert(!fs.is_open());
26 fs >> c;
27 assert(fs.fail());
29 fs.open(std::string("test.dat"));
30 assert(fs.is_open());
31 fs >> c;
35 std::wifstream fs; local
36 assert(!fs.is_open());
38 fs >>
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dfreefs.c22 void ext2fs_free(ext2_filsys fs) argument
24 if (!fs || (fs->magic != EXT2_ET_MAGIC_EXT2FS_FILSYS))
26 if (fs->image_io != fs->io) {
27 if (fs->image_io)
28 io_channel_close(fs->image_io);
30 if (fs->io) {
31 io_channel_close(fs->io);
33 if (fs
[all...]
H A Dalloc_stats.c17 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino, argument
20 int group = ext2fs_group_of_ino(fs, ino);
23 if (ino > fs->super->s_inodes_count) {
30 ext2fs_mark_inode_bitmap2(fs->inode_map, ino);
32 ext2fs_unmark_inode_bitmap2(fs->inode_map, ino);
33 ext2fs_bg_free_inodes_count_set(fs, group, ext2fs_bg_free_inodes_count(fs, group) - inuse);
35 ext2fs_bg_used_dirs_count_set(fs, group, ext2fs_bg_used_dirs_count(fs, group) + inuse);
39 ext2fs_bg_flags_clear(fs, grou
56 ext2fs_inode_alloc_stats(ext2_filsys fs, ext2_ino_t ino, int inuse) argument
61 ext2fs_block_alloc_stats2(ext2_filsys fs, blk64_t blk, int inuse) argument
88 ext2fs_block_alloc_stats(ext2_filsys fs, blk_t blk, int inuse) argument
93 ext2fs_set_block_alloc_stats_callback(ext2_filsys fs, void (*func)(ext2_filsys fs, blk64_t blk, int inuse), void (**old)(ext2_filsys fs, blk64_t blk, int inuse)) argument
[all...]
H A Ddupfs.c24 ext2_filsys fs; local
29 retval = ext2fs_get_mem(sizeof(struct struct_ext2_filsys), &fs);
33 *fs = *src;
34 fs->device_name = 0;
35 fs->super = 0;
36 fs->orig_super = 0;
37 fs->group_desc = 0;
38 fs->inode_map = 0;
39 fs->block_map = 0;
40 fs
[all...]
H A Dopenfs.c35 blk64_t ext2fs_descriptor_block_loc2(ext2_filsys fs, blk64_t group_block, argument
42 if (!(fs->super->s_feature_incompat & EXT2_FEATURE_INCOMPAT_META_BG) ||
43 (i < fs->super->s_first_meta_bg))
46 bg = EXT2_DESC_PER_BLOCK(fs->super) * i;
47 if (ext2fs_bg_has_super(fs, bg))
49 ret_blk = ext2fs_group_first_block2(fs, bg) + has_super;
58 if (group_block != fs->super->s_first_data_block &&
59 ((ret_blk + fs->super->s_blocks_per_group) <
60 ext2fs_blocks_count(fs->super)))
61 ret_blk += fs
65 ext2fs_descriptor_block_loc(ext2_filsys fs, blk_t group_block, dgrp_t i) argument
97 ext2_filsys fs; local
433 ext2fs_get_data_io(ext2_filsys fs, io_channel *old_io) argument
443 ext2fs_set_data_io(ext2_filsys fs, io_channel new_io) argument
451 ext2fs_rewrite_to_io(ext2_filsys fs, io_channel new_io) argument
[all...]
H A Drw_bitmaps.c30 static errcode_t write_bitmaps(ext2_filsys fs, int do_inode, int do_block) argument
40 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block);
43 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS);
45 if (!(fs->flags & EXT2_FLAG_RW))
48 if (EXT2_HAS_RO_COMPAT_FEATURE(fs->super,
54 block_nbytes = EXT2_CLUSTERS_PER_GROUP(fs->super) / 8;
55 retval = io_channel_alloc_buf(fs->io, 0, &block_buf);
58 memset(block_buf, 0xff, fs->blocksize);
62 ((EXT2_INODES_PER_GROUP(fs
147 read_bitmaps(ext2_filsys fs, int do_inode, int do_block) argument
319 ext2fs_read_inode_bitmap(ext2_filsys fs) argument
324 ext2fs_read_block_bitmap(ext2_filsys fs) argument
329 ext2fs_write_inode_bitmap(ext2_filsys fs) argument
334 ext2fs_write_block_bitmap(ext2_filsys fs) argument
339 ext2fs_read_bitmaps(ext2_filsys fs) argument
347 ext2fs_write_bitmaps(ext2_filsys fs) argument
[all...]
H A Dmmp.c33 errcode_t ext2fs_mmp_read(ext2_filsys fs, blk64_t mmp_blk, void *buf) argument
38 if ((mmp_blk <= fs->super->s_first_data_block) ||
39 (mmp_blk >= ext2fs_blocks_count(fs->super)))
47 if (fs->mmp_fd <= 0) {
48 fs->mmp_fd = open(fs->device_name, O_RDWR | O_DIRECT);
49 if (fs->mmp_fd < 0) {
55 if (fs->mmp_cmp == NULL) {
56 int align = ext2fs_get_dio_alignment(fs->mmp_fd);
58 retval = ext2fs_get_memalign(fs
93 ext2fs_mmp_write(ext2_filsys fs, blk64_t mmp_blk, void *buf) argument
149 ext2fs_mmp_reset(ext2_filsys fs) argument
183 ext2fs_mmp_clear(ext2_filsys fs) argument
195 ext2fs_mmp_init(ext2_filsys fs) argument
230 ext2fs_mmp_start(ext2_filsys fs) argument
329 ext2fs_mmp_stop(ext2_filsys fs) argument
367 ext2fs_mmp_update(ext2_filsys fs) argument
[all...]
H A Dalloc_tables.c37 static blk64_t flexbg_offset(ext2_filsys fs, dgrp_t group, blk64_t start_blk, argument
45 flexbg_size = 1 << fs->super->s_log_groups_per_flex;
49 if (size > (int) (fs->super->s_blocks_per_group / 8))
50 size = (int) fs->super->s_blocks_per_group / 8;
60 start_blk = ext2fs_group_first_block2(fs, flexbg_size * flexbg);
62 if (last_grp > fs->group_desc_count-1)
63 last_grp = fs->group_desc_count-1;
64 last_blk = ext2fs_group_last_block2(fs, last_grp);
67 if (ext2fs_get_free_blocks2(fs, start_blk, last_blk, size,
71 if (ext2fs_get_free_blocks2(fs, start_bl
82 ext2fs_allocate_group_table(ext2_filsys fs, dgrp_t group, ext2fs_block_bitmap bmap) argument
226 ext2fs_allocate_tables(ext2_filsys fs) argument
[all...]
/external/libcxx/test/input.output/file.streams/fstreams/ofstream.members/
H A Dopen_pointer.pass.cpp25 std::ofstream fs; local
26 assert(!fs.is_open());
28 fs << c;
29 assert(fs.fail());
30 fs.open(temp.c_str());
31 assert(fs.is_open());
32 fs << c;
35 std::ifstream fs(temp.c_str());
37 fs >> c;
42 std::wofstream fs; local
[all...]
H A Dopen_string.pass.cpp25 std::ofstream fs; local
26 assert(!fs.is_open());
28 fs << c;
29 assert(fs.fail());
30 fs.open(temp);
31 assert(fs.is_open());
32 fs << c;
35 std::ifstream fs(temp.c_str());
37 fs >> c;
42 std::wofstream fs; local
[all...]
H A Dclose.pass.cpp25 std::ofstream fs; local
26 assert(!fs.is_open());
27 fs.open(temp.c_str());
28 assert(fs.is_open());
29 fs.close();
30 assert(!fs.is_open());
34 std::wofstream fs; local
35 assert(!fs.is_open());
36 fs.open(temp.c_str());
37 assert(fs
[all...]
/external/libcxx/test/input.output/file.streams/fstreams/fstream.members/
H A Drdbuf.pass.cpp23 std::fstream fs; local
24 assert(fs.rdbuf());
27 std::wfstream fs; local
28 assert(fs.rdbuf());
H A Dopen_pointer.pass.cpp25 std::fstream fs; local
26 assert(!fs.is_open());
27 fs.open(temp.c_str(), std::ios_base::in | std::ios_base::out
29 assert(fs.is_open());
31 fs << 3.25;
32 fs.seekg(0);
33 fs >> x;
38 std::wfstream fs; local
39 assert(!fs.is_open());
40 fs
[all...]
H A Dopen_string.pass.cpp25 std::fstream fs; local
26 assert(!fs.is_open());
27 fs.open(temp, std::ios_base::in | std::ios_base::out
29 assert(fs.is_open());
31 fs << 3.25;
32 fs.seekg(0);
33 fs >> x;
38 std::wfstream fs; local
39 assert(!fs.is_open());
40 fs
[all...]
/external/libcxx/test/input.output/file.streams/fstreams/fstream.cons/
H A Ddefault.pass.cpp23 std::fstream fs; local
26 std::wfstream fs; local
/external/libcxx/test/input.output/file.streams/fstreams/ifstream.cons/
H A Ddefault.pass.cpp23 std::ifstream fs; local
26 std::wifstream fs; local
H A Dpointer.pass.cpp23 std::ifstream fs("test.dat");
25 fs >> x;
29 std::ifstream fs("test.dat", std::ios_base::out);
31 fs >> x;
35 std::wifstream fs("test.dat");
37 fs >> x;
41 std::wifstream fs("test.dat", std::ios_base::out);
43 fs >> x;
/external/libcxx/test/input.output/file.streams/fstreams/ofstream.cons/
H A Ddefault.pass.cpp23 std::ofstream fs; local
26 std::wofstream fs; local
/external/libcxx/test/input.output/file.streams/fstreams/ifstream.assign/
H A Dmove_assign.pass.cpp25 std::ifstream fs; local
26 fs = move(fso);
28 fs >> x;
33 std::wifstream fs; local
34 fs = move(fso);
36 fs >> x;
/external/elfutils/0.153/libdw/
H A Ddwarf_frame_info.c57 dwarf_frame_info (fs, start, end, signalp)
58 Dwarf_Frame *fs;
64 if (fs == NULL)
68 *start = fs->start;
70 *end = fs->end;
72 *signalp = fs->fde->cie->signal_frame;
73 return fs->fde->cie->return_address_register;
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dmock_file_system_test.py34 fs = MockFileSystem(TestFileSystem(deepcopy(_TEST_DATA)))
36 self.assertTrue(*fs.CheckAndReset())
37 self.assertFalse(*fs.CheckAndReset(read_count=1))
38 self.assertFalse(*fs.CheckAndReset(stat_count=1))
40 future = fs.ReadSingle('apps/')
41 self.assertTrue(*fs.CheckAndReset(read_count=1))
43 self.assertTrue(*fs.CheckAndReset(read_resolve_count=1))
44 self.assertFalse(*fs.CheckAndReset(read_count=1))
45 self.assertTrue(*fs.CheckAndReset())
47 future = fs
[all...]
/external/e2fsprogs/debugfs/
H A Dfilefrag.c68 static void print_header(struct filefrag_struct *fs) argument
70 if (fs->options & VERBOSE_OPT) {
71 fprintf(fs->f, "%4s %*s %*s %*s %*s\n", "ext",
72 fs->logical_width, "logical", fs->physical_width,
73 "physical", fs->physical_width, "expected",
74 fs->logical_width, "length");
78 static void report_filefrag(struct filefrag_struct *fs) argument
80 if (fs->num == 0)
82 if (fs
107 struct filefrag_struct *fs = private; variable in typeref:struct:filefrag_struct
114 report_filefrag(fs); variable
128 filefrag(ext2_ino_t ino, struct ext2_inode *inode, struct filefrag_struct *fs) argument
175 struct filefrag_struct *fs = private; variable in typeref:struct:filefrag_struct
234 dir_iterate(ext2_ino_t ino, struct filefrag_struct *fs) argument
263 struct filefrag_struct fs; local
[all...]
/external/llvm/lib/Object/
H A DSymbolicFile.cpp30 sys::fs::file_magic Type,
32 if (Type == sys::fs::file_magic::unknown)
33 Type = sys::fs::identify_magic(Object->getBuffer());
36 case sys::fs::file_magic::bitcode:
40 case sys::fs::file_magic::unknown:
41 case sys::fs::file_magic::archive:
42 case sys::fs::file_magic::macho_universal_binary:
43 case sys::fs::file_magic::windows_resource:
45 case sys::fs::file_magic::elf_relocatable:
46 case sys::fs
[all...]

Completed in 371 milliseconds

1234567891011>>