/external/libcxx/test/std/input.output/file.streams/fstreams/ifstream.members/ |
H A D | close.pass.cpp | 23 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 D | open_pointer.pass.cpp | 23 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 D | open_string.pass.cpp | 23 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/libcxx/test/libcxx/input.output/file.streams/fstreams/ifstream.members/ |
H A D | open_wchar_pointer.pass.cpp | 24 std::ifstream fs; local 25 assert(!fs.is_open()); 27 fs >> c; 28 assert(fs.fail()); 30 fs.open(L"test.dat"); 31 assert(fs.is_open()); 32 fs >> c; 36 std::wifstream fs; local 37 assert(!fs.is_open()); 39 fs >> [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | freefs.c | 22 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 D | alloc_stats.c | 18 void ext2fs_inode_alloc_stats2(ext2_filsys fs, ext2_ino_t ino, argument 21 int group = ext2fs_group_of_ino(fs, ino); 23 if (ino > fs->super->s_inodes_count) { 31 ext2fs_mark_inode_bitmap2(fs->inode_map, ino); 33 ext2fs_unmark_inode_bitmap2(fs->inode_map, ino); 34 ext2fs_bg_free_inodes_count_set(fs, group, ext2fs_bg_free_inodes_count(fs, group) - inuse); 36 ext2fs_bg_used_dirs_count_set(fs, group, ext2fs_bg_used_dirs_count(fs, group) + inuse); 40 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 109 ext2fs_block_alloc_stats_range(ext2_filsys fs, blk64_t blk, blk_t num, int inuse) argument 152 ext2fs_set_block_alloc_stats_range_callback(ext2_filsys fs, void (*func)(ext2_filsys fs, blk64_t blk, blk_t num, int inuse), void (**old)(ext2_filsys fs, blk64_t blk, blk_t num, int inuse)) argument [all...] |
H A D | openfs.c | 36 blk64_t ext2fs_descriptor_block_loc2(ext2_filsys fs, blk64_t group_block, argument 47 if (i == 0 && fs->blocksize == 1024 && EXT2FS_CLUSTER_RATIO(fs) > 1) 50 if (!ext2fs_has_feature_meta_bg(fs->super) || 51 (i < fs->super->s_first_meta_bg)) 54 bg = EXT2_DESC_PER_BLOCK(fs->super) * i; 55 if (ext2fs_bg_has_super(fs, bg)) 57 ret_blk = ext2fs_group_first_block2(fs, bg); 66 if (group_block != fs->super->s_first_data_block && 67 ((ret_blk + has_super + fs 84 ext2fs_descriptor_block_loc(ext2_filsys fs, blk_t group_block, dgrp_t i) argument 122 ext2_filsys fs; local 511 ext2fs_get_data_io(ext2_filsys fs, io_channel *old_io) argument 521 ext2fs_set_data_io(ext2_filsys fs, io_channel new_io) argument 529 ext2fs_rewrite_to_io(ext2_filsys fs, io_channel new_io) argument [all...] |
H A D | dupfs.c | 25 ext2_filsys fs; local 30 retval = ext2fs_get_mem(sizeof(struct struct_ext2_filsys), &fs); 34 *fs = *src; 35 fs->device_name = 0; 36 fs->super = 0; 37 fs->orig_super = 0; 38 fs->group_desc = 0; 39 fs->inode_map = 0; 40 fs->block_map = 0; 41 fs [all...] |
H A D | alloc_tables.c | 38 static blk64_t flexbg_offset(ext2_filsys fs, dgrp_t group, blk64_t start_blk, argument 46 flexbg_size = 1 << fs->super->s_log_groups_per_flex; 50 if (size > (int) (fs->super->s_blocks_per_group / 4)) 51 size = (int) fs->super->s_blocks_per_group / 4; 57 if (start_blk && start_blk < ext2fs_blocks_count(fs->super) && 58 ext2fs_get_free_blocks2(fs, start_blk, start_blk + size, elem_size, 62 start_blk = ext2fs_group_first_block2(fs, flexbg_size * flexbg); 64 if (last_grp > fs->group_desc_count-1) 65 last_grp = fs->group_desc_count-1; 66 last_blk = ext2fs_group_last_block2(fs, last_gr 84 ext2fs_allocate_group_table(ext2_filsys fs, dgrp_t group, ext2fs_block_bitmap bmap) argument 237 ext2fs_allocate_tables(ext2_filsys fs) argument [all...] |
/external/libcxx/test/libcxx/input.output/file.streams/fstreams/ofstream.members/ |
H A D | open_wchar_pointer.pass.cpp | 26 std::ofstream fs; local 27 assert(!fs.is_open()); 29 fs << c; 30 assert(fs.fail()); 31 fs.open(temp.c_str()); 32 assert(fs.is_open()); 33 fs << c; 36 std::ifstream fs(temp.c_str()); 38 fs >> c; 43 std::wofstream fs; local [all...] |
/external/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/ |
H A D | open_pointer.pass.cpp | 25 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 D | open_string.pass.cpp | 25 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 D | close.pass.cpp | 25 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/autotest/client/site_tests/security_Minijail0/src/ |
H A D | test-tmpfs | 15 fs=$(stat -f /tmp -c %T) 16 [ "$fs" != "tmpfs" ] && die "tmpfs"
|
/external/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/ |
H A D | rdbuf.pass.cpp | 23 std::fstream fs; local 24 assert(fs.rdbuf()); 27 std::wfstream fs; local 28 assert(fs.rdbuf());
|
H A D | open_pointer.pass.cpp | 25 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 D | open_string.pass.cpp | 25 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/std/input.output/file.streams/fstreams/ifstream.cons/ |
H A D | pointer.pass.cpp | 23 std::ifstream fs("test.dat"); 25 fs >> x; 32 std::wifstream fs("test.dat"); 34 fs >> x;
|
H A D | default.pass.cpp | 23 std::ifstream fs; local 26 std::wifstream fs; local
|
/external/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/ |
H A D | default.pass.cpp | 23 std::fstream fs; local 26 std::wfstream fs; local
|
/external/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/ |
H A D | default.pass.cpp | 23 std::ofstream fs; local 26 std::wofstream fs; local
|
/external/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/ |
H A D | move_assign.pass.cpp | 26 std::ifstream fs; local 27 fs = move(fso); 29 fs >> x; 34 std::wifstream fs; local 35 fs = move(fso); 37 fs >> x;
|
/external/libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.members/ |
H A D | open_wchar_pointer.pass.cpp | 26 std::fstream fs; local 27 assert(!fs.is_open()); 28 fs.open(temp.c_str(), std::ios_base::in | std::ios_base::out 30 assert(fs.is_open()); 32 fs << 3.25; 33 fs.seekg(0); 34 fs >> x; 39 std::wfstream fs; local 40 assert(!fs.is_open()); 41 fs [all...] |
/external/syslinux/libfat/ |
H A D | open.c | 28 struct libfat_filesystem *fs = NULL; local 34 fs = malloc(sizeof(struct libfat_filesystem)); 35 if (!fs) 38 fs->sectors = NULL; 39 fs->read = readfunc; 40 fs->readptr = readptr; 42 bs = libfat_get_sector(fs, 0); 55 fs->clustsize = 1 << i; /* Treat 0 as 2^8 = 64K */ 56 fs->clustshift = i; 62 fs 113 libfat_close(struct libfat_filesystem *fs) argument [all...] |
/external/e2fsprogs/debugfs/ |
H A D | filefrag.c | 69 static void print_header(struct filefrag_struct *fs) argument 71 if (fs->options & VERBOSE_OPT) { 72 fprintf(fs->f, "%4s %*s %*s %*s %*s\n", "ext", 73 fs->logical_width, "logical", fs->physical_width, 74 "physical", fs->physical_width, "expected", 75 fs->logical_width, "length"); 79 static void report_filefrag(struct filefrag_struct *fs) argument 81 if (fs->num == 0) 83 if (fs 108 struct filefrag_struct *fs = private; variable in typeref:struct:filefrag_struct 115 report_filefrag(fs); variable 129 filefrag(ext2_ino_t ino, struct ext2_inode *inode, struct filefrag_struct *fs) argument 177 struct filefrag_struct *fs = private; variable in typeref:struct:filefrag_struct 236 dir_iterate(ext2_ino_t ino, struct filefrag_struct *fs) argument 265 struct filefrag_struct fs; local [all...] |