/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/ifstream.members/ |
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 >> c [all...] |
rdbuf.pass.cpp | 23 std::ifstream fs("test.dat"); 24 std::filebuf* fb = fs.rdbuf(); 28 std::wifstream fs("test.dat"); 29 std::wfilebuf* fb = fs.rdbuf();
|
/external/e2fsprogs/lib/ext2fs/ |
rw_bitmaps.c | 30 static errcode_t write_bitmaps(ext2_filsys fs, int do_inode, int do_block) 40 blk_t blk_itr = 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_BLOCKS_PER_GROUP(fs->super) / 8; 55 retval = ext2fs_get_memalign(fs->blocksize, fs->blocksize, 59 memset(block_buf, 0xff, fs->blocksize); 63 ((EXT2_INODES_PER_GROUP(fs->super)+7) / 8) [all...] |
alloc.c | 31 static void check_block_uninit(ext2_filsys fs, ext2fs_block_bitmap map, 38 if (!(EXT2_HAS_RO_COMPAT_FEATURE(fs->super, 40 !(fs->group_desc[group].bg_flags & EXT2_BG_BLOCK_UNINIT)) 43 blk = (group * fs->super->s_blocks_per_group) + 44 fs->super->s_first_data_block; 46 ext2fs_super_and_bgd_loc(fs, group, &super_blk, 49 if (fs->super->s_feature_incompat & 51 old_desc_blocks = fs->super->s_first_meta_bg; 53 old_desc_blocks = fs->desc_blocks + fs->super->s_reserved_gdt_blocks [all...] |
closefs.c | 35 int ext2fs_bg_has_super(ext2_filsys fs, int group_block) 37 if (!(fs->super->s_feature_ro_compat & 61 int ext2fs_super_and_bgd_loc(ext2_filsys fs, 73 group_block = ext2fs_group_first_block(fs, group); 75 if (fs->super->s_feature_incompat & EXT2_FEATURE_INCOMPAT_META_BG) 76 old_desc_blocks = fs->super->s_first_meta_bg; 79 fs->desc_blocks + fs->super->s_reserved_gdt_blocks; 81 if (group == fs->group_desc_count-1) { 82 numblocks = (fs->super->s_blocks_count [all...] |
alloc_tables.c | 36 static blk_t flexbg_offset(ext2_filsys fs, dgrp_t group, blk_t start_blk, 44 flexbg_size = 1 << fs->super->s_log_groups_per_flex; 47 if (size > (int) (fs->super->s_blocks_per_group / 8)) 48 size = (int) fs->super->s_blocks_per_group / 8; 63 start_blk = ext2fs_group_first_block(fs, flexbg_size * flexbg); 65 if (last_grp > fs->group_desc_count) 66 last_grp = fs->group_desc_count; 67 last_blk = ext2fs_group_last_block(fs, last_grp); 70 if (ext2fs_get_free_blocks(fs, start_blk, last_blk, 1, bmap, 74 if (ext2fs_get_free_blocks(fs, first_free + offset, last_blk, size [all...] |
csum.c | 32 STATIC __u16 ext2fs_group_desc_csum(ext2_filsys fs, dgrp_t group) 37 desc = &fs->group_desc[group]; 39 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_GDT_CSUM) { 51 crc = ext2fs_crc16(~0, fs->super->s_uuid, 52 sizeof(fs->super->s_uuid)); 58 if (offset < fs->super->s_desc_size) { 60 fs->super->s_desc_size - offset); 67 int ext2fs_group_desc_csum_verify(ext2_filsys fs, dgrp_t group) 69 if (EXT2_HAS_RO_COMPAT_FEATURE(fs->super, 71 (fs->group_desc[group].bg_checksum ! 183 ext2_filsys fs; local [all...] |
imager.c | 61 errcode_t ext2fs_image_inode_write(ext2_filsys fs, int fd, int flags) 69 buf = malloc(fs->blocksize * BUF_BLOCKS); 73 for (group = 0; group < fs->group_desc_count; group++) { 74 blk = fs->group_desc[(unsigned)group].bg_inode_table; 79 left = fs->inode_blocks_per_group; 84 retval = io_channel_read_blk(fs->io, blk, c, buf); 94 if (check_zero_block(cp, fs->blocksize)) { 98 cp += fs->blocksize; 99 lseek(fd, fs->blocksize, SEEK_CUR); 104 if (check_zero_block(cp + d*fs->blocksize, fs->blocksize) [all...] |
check_desc.c | 32 errcode_t ext2fs_check_desc(ext2_filsys fs) 37 blk_t first_block = fs->super->s_first_data_block; 38 blk_t last_block = fs->super->s_blocks_count-1; 42 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); 44 retval = ext2fs_allocate_block_bitmap(fs, "check_desc map", &bmap); 48 for (i = 0; i < fs->group_desc_count; i++) 49 ext2fs_reserve_super_and_bgd(fs, i, bmap); 51 for (i = 0; i < fs->group_desc_count; i++) { 52 if (!EXT2_HAS_INCOMPAT_FEATURE(fs->super, 54 first_block = ext2fs_group_first_block(fs, i) [all...] |
/external/clang/test/CodeGen/ |
2003-11-04-EmptyStruct.c | 5 void __copy_fs_struct(struct fs_struct *fs) { fs->lock = (rwlock_t) { }; }
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/fstream.cons/ |
pointer.pass.cpp | 25 std::fstream fs(temp, std::ios_base::in | std::ios_base::out 28 fs << 3.25; 29 fs.seekg(0); 30 fs >> x; 35 std::wfstream fs(temp, std::ios_base::in | std::ios_base::out 38 fs << 3.25; 39 fs.seekg(0); 40 fs >> x;
|
move.pass.cpp | 28 std::fstream fs = move(fso); local 30 fs << 3.25; 31 fs.seekg(0); 32 fs >> x; 39 std::wfstream fs = move(fso); local 41 fs << 3.25; 42 fs.seekg(0); 43 fs >> x;
|
string.pass.cpp | 25 std::fstream fs(std::string(temp), 29 fs << 3.25; 30 fs.seekg(0); 31 fs >> x; 36 std::wfstream fs(std::string(temp), 40 fs << 3.25; 41 fs.seekg(0); 42 fs >> x;
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/ifstream.cons/ |
string.pass.cpp | 23 std::ifstream fs(std::string("test.dat")); 25 fs >> x; 29 std::ifstream fs(std::string("test.dat"), std::ios_base::out); 31 fs >> x; 35 std::wifstream fs(std::string("test.dat")); 37 fs >> x; 41 std::wifstream fs(std::string("test.dat"), std::ios_base::out); 43 fs >> x;
|
move.pass.cpp | 25 std::ifstream fs = move(fso); local 27 fs >> x; 32 std::wifstream fs = move(fso); local 34 fs >> x;
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/ofstream.cons/ |
move.pass.cpp | 27 std::ofstream fs = move(fso); local 28 fs << 3.25; 31 std::ifstream fs(temp); 33 fs >> x; 39 std::wofstream fs = move(fso); local 40 fs << 3.25; 43 std::wifstream fs(temp); 45 fs >> x;
|
string.pass.cpp | 25 std::ofstream fs((std::string(temp))); 26 fs << 3.25; 29 std::ifstream fs((std::string(temp))); 31 fs >> x; 36 std::wofstream fs((std::string(temp))); 37 fs << 3.25; 40 std::wifstream fs((std::string(temp))); 42 fs >> x;
|
/system/extras/fatblock/ |
fs.h | 23 struct fs { struct 44 int fs_alloc_extent(struct fs *fs, struct extent *extent, 46 struct extent *fs_find_extent(struct fs *fs, offset_t start, offset_t len, struct extent *last, 48 int fs_init(struct fs *fs, uint16_t cluster_size, offset_t data_size, offset_t *total_size_out); 49 void fs_set_rootdir_start(struct fs *fs, cluster_t rootdir_start); 50 void fs_update_free_clusters(struct fs *fs) [all...] |
fs.c | 23 #include "fs.h" 28 static void fs_add_extent(struct fs *fs, struct extent *extent, 31 assert(fs); 38 extent->next = fs->extents; 39 fs->extents = extent; 42 struct extent *fs_find_extent(struct fs *fs, offset_t start, offset_t len, 52 assert(fs); 56 e = last ? last->next : fs->extents [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/ |
FsObject.java | 20 package de.waldheinz.fs;
|
ReadOnlyException.java | 19 package de.waldheinz.fs;
|
/bionic/libc/bionic/ |
strtotimeval.c | 37 long fs; /* Fractional seconds */ local 40 fs = 0; 48 fs = 0; 53 fs = fs*10 + (*s - '0'); 58 fs *= 10; 61 ts->tv_usec = fs;
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/file.streams/fstreams/fstream.assign/ |
move_assign.pass.cpp | 28 std::fstream fs; local 29 fs = move(fso); 31 fs << 3.25; 32 fs.seekg(0); 33 fs >> x; 40 std::wfstream fs; local 41 fs = move(fso); 43 fs << 3.25; 44 fs.seekg(0); 45 fs >> x [all...] |
/external/e2fsprogs/resize/ |
resize2fs.c | 43 static void fix_uninit_block_bitmaps(ext2_filsys fs); 50 static errcode_t fix_resize_inode(ext2_filsys fs); 51 static errcode_t ext2fs_calculate_summary_stats(ext2_filsys fs); 52 static errcode_t fix_sb_journal_backup(ext2_filsys fs); 57 #define FS_BLOCK_BM(fs, i) ((fs)->group_desc[(i)].bg_block_bitmap) 58 #define FS_INODE_BM(fs, i) ((fs)->group_desc[(i)].bg_inode_bitmap) 59 #define FS_INODE_TB(fs, i) ((fs)->group_desc[(i)].bg_inode_table 570 ext2_filsys fs; local 733 ext2_filsys fs = rfs->new_fs; local 781 ext2_filsys fs, old_fs; local 1047 ext2_filsys fs = rfs->new_fs; local 1101 ext2_filsys fs = rfs->new_fs; local 1585 ext2_filsys fs = rfs->new_fs; local [all...] |
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
filesystem_unittest.py | 52 fs = FileSystem() 53 cwd = fs.getcwd() 57 fs.chdir(newdir) 58 self.assertEquals(fs.getcwd(), newdir) 59 fs.chdir(cwd) 62 fs = FileSystem() 66 self.assertRaises(OSError, fs.chdir, newdir) 69 fs = FileSystem() 70 self.assertTrue(fs.exists(self._this_file)) 73 fs = FileSystem( [all...] |