/external/e2fsprogs/lib/ext2fs/ |
check_desc.c | 32 errcode_t ext2fs_check_desc(ext2_filsys fs) 37 blk64_t first_block = fs->super->s_first_data_block; 38 blk64_t last_block = ext2fs_blocks_count(fs->super)-1; 42 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); 44 if (EXT2_DESC_SIZE(fs->super) & (EXT2_DESC_SIZE(fs->super) - 1)) 47 retval = ext2fs_allocate_subcluster_bitmap(fs, "check_desc map", &bmap); 51 for (i = 0; i < fs->group_desc_count; i++) 52 ext2fs_reserve_super_and_bgd(fs, i, bmap); 54 for (i = 0; i < fs->group_desc_count; i++) [all...] |
i_block.c | 29 errcode_t ext2fs_iblk_add_blocks(ext2_filsys fs, struct ext2_inode *inode, 34 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_HUGE_FILE) 37 if (!(fs->super->s_feature_ro_compat & 40 num_blocks *= fs->blocksize / 512; 41 num_blocks *= EXT2FS_CLUSTER_RATIO(fs); 45 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_HUGE_FILE) 53 errcode_t ext2fs_iblk_sub_blocks(ext2_filsys fs, struct ext2_inode *inode, 58 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_HUGE_FILE) 61 if (!(fs->super->s_feature_ro_compat & 64 num_blocks *= fs->blocksize / 512 [all...] |
initialize.c | 53 static unsigned int calc_reserved_gdt_blocks(ext2_filsys fs) 55 struct ext2_super_block *sb = fs->super; 72 rsv_gdb = ext2fs_div_ceil(rsv_groups, gdpb) - fs->desc_blocks; 87 ext2_filsys fs; local 108 retval = ext2fs_get_mem(sizeof(struct struct_ext2_filsys), &fs); 112 memset(fs, 0, sizeof(struct struct_ext2_filsys)); 113 fs->magic = EXT2_ET_MAGIC_EXT2FS_FILSYS; 114 fs->flags = flags | EXT2_FLAG_RW; 115 fs->umask = 022; 116 fs->default_bitmap_type = EXT2FS_BMAP64_RBTREE [all...] |
expanddir.c | 28 static int expand_dir_proc(ext2_filsys fs, 46 (EXT2FS_B2C(fs, es->goal) == EXT2FS_B2C(fs, es->goal+1))) 49 es->goal &= ~EXT2FS_CLUSTER_MASK(fs); 50 retval = ext2fs_new_block2(fs, es->goal, 0, &new_blk); 56 ext2fs_block_alloc_stats2(fs, new_blk, +1); 59 retval = ext2fs_new_dir_block(fs, 0, 0, &block); 65 retval = ext2fs_write_dir_block(fs, new_blk, block); 67 retval = ext2fs_get_mem(fs->blocksize, &block); 72 memset(block, 0, fs->blocksize) [all...] |
ind_block.c | 22 errcode_t ext2fs_read_ind_block(ext2_filsys fs, blk_t blk, void *buf) 28 int limit = fs->blocksize >> 2; 31 if ((fs->flags & EXT2_FLAG_IMAGE_FILE) && 32 (fs->io != fs->image_io)) 33 memset(buf, 0, fs->blocksize); 35 retval = io_channel_read_blk(fs->io, blk, 1, buf); 47 errcode_t ext2fs_write_ind_block(ext2_filsys fs, blk_t blk, void *buf) 52 int limit = fs->blocksize >> 2; 55 if (fs->flags & EXT2_FLAG_IMAGE_FILE [all...] |
mkdir.c | 33 errcode_t ext2fs_mkdir(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t inum, 44 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); 50 retval = ext2fs_new_inode(fs, parent, LINUX_S_IFDIR | 0755, 59 retval = ext2fs_new_block2(fs, 0, 0, &blk); 66 retval = ext2fs_new_dir_block(fs, ino, parent, &block); 74 retval = ext2fs_read_inode(fs, parent, &parent_inode); 84 inode.i_mode = LINUX_S_IFDIR | (0777 & ~fs->umask); 86 ext2fs_iblk_set(fs, &inode, 1); 87 if (fs->super->s_feature_incompat & EXT3_FEATURE_INCOMPAT_EXTENTS) 92 inode.i_size = fs->blocksize [all...] |
/external/libcxx/test/std/input.output/file.streams/fstreams/fstream.cons/ |
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;
|
pointer.pass.cpp | 25 std::fstream fs(temp.c_str(), std::ios_base::in | std::ios_base::out 28 fs << 3.25; 29 fs.seekg(0); 30 fs >> x; 35 std::wfstream fs(temp.c_str(), std::ios_base::in | std::ios_base::out 38 fs << 3.25; 39 fs.seekg(0); 40 fs >> x;
|
string.pass.cpp | 25 std::fstream fs(temp, 29 fs << 3.25; 30 fs.seekg(0); 31 fs >> x; 36 std::wfstream fs(temp, 40 fs << 3.25; 41 fs.seekg(0); 42 fs >> x;
|
/external/libcxx/test/std/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.c_str()); 33 fs >> x; 39 std::wofstream fs = move(fso); local 40 fs << 3.25; 43 std::wifstream fs(temp.c_str()); 45 fs >> x;
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
comfort_noise_unittest.cc | 22 int fs = 8000; local 25 ComfortNoise cn(fs, &db, &sync_buffer);
|
merge_unittest.cc | 27 int fs = 8000; local 33 Expand expand(&bgn, &sync_buffer, &random_vector, &statistics, fs, channels); 34 Merge merge(fs, channels, &expand, &sync_buffer);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/fstream.cons/ |
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;
|
pointer.pass.cpp | 25 std::fstream fs(temp.c_str(), std::ios_base::in | std::ios_base::out 28 fs << 3.25; 29 fs.seekg(0); 30 fs >> x; 35 std::wfstream fs(temp.c_str(), std::ios_base::in | std::ios_base::out 38 fs << 3.25; 39 fs.seekg(0); 40 fs >> x;
|
string.pass.cpp | 25 std::fstream fs(temp, 29 fs << 3.25; 30 fs.seekg(0); 31 fs >> x; 36 std::wfstream fs(temp, 40 fs << 3.25; 41 fs.seekg(0); 42 fs >> x;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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.c_str()); 33 fs >> x; 39 std::wofstream fs = move(fso); local 40 fs << 3.25; 43 std::wifstream fs(temp.c_str()); 45 fs >> x;
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_feedback.c | 121 struct feedback_stage *fs = feedback_stage(stage); local 123 _mesa_feedback_token(fs->ctx, (GLfloat) GL_POLYGON_TOKEN); 124 _mesa_feedback_token(fs->ctx, (GLfloat) 3); /* three vertices */ 125 feedback_vertex(fs->ctx, draw, prim->v[0]); 126 feedback_vertex(fs->ctx, draw, prim->v[1]); 127 feedback_vertex(fs->ctx, draw, prim->v[2]); 134 struct feedback_stage *fs = feedback_stage(stage); local 136 if (fs->reset_stipple_counter) { 137 _mesa_feedback_token(fs->ctx, (GLfloat) GL_LINE_RESET_TOKEN); 138 fs->reset_stipple_counter = GL_FALSE 151 struct feedback_stage *fs = feedback_stage(stage); local 168 struct feedback_stage *fs = feedback_stage(stage); local 185 struct feedback_stage *fs = ST_CALLOC_STRUCT(feedback_stage); local 209 struct feedback_stage *fs = feedback_stage(stage); local 218 struct feedback_stage *fs = feedback_stage(stage); local 227 struct feedback_stage *fs = feedback_stage(stage); local 258 struct feedback_stage *fs = ST_CALLOC_STRUCT(feedback_stage); local [all...] |
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/ |
fake_fs_unittest.py | 14 fs = fake_fs.FakeFS() 15 fs.AddFile('/blah/x', 'foobar') 16 with fs: 23 fs = fake_fs.FakeFS() 24 fs.AddFile('/blah/x', 'foobar') 25 with fs: 30 fs = fake_fs.FakeFS() 31 fs.AddFile('/x/w2/w3/z3.txt', '') 32 fs.AddFile('/x/w/z.txt', '') 33 fs.AddFile('/x/y.txt', '' [all...] |
/external/libcxx/test/std/input.output/file.streams/fstreams/ofstream.assign/ |
member_swap.pass.cpp | 35 std::ifstream fs(temp1.c_str()); 37 fs >> x; 39 fs >> x; 44 std::ifstream fs(temp2.c_str()); 46 fs >> x; 48 fs >> x; 62 std::wifstream fs(temp1.c_str()); 64 fs >> x; 66 fs >> x; 71 std::wifstream fs(temp2.c_str()) [all...] |
nonmember_swap.pass.cpp | 36 std::ifstream fs(temp1.c_str()); 38 fs >> x; 40 fs >> x; 45 std::ifstream fs(temp2.c_str()); 47 fs >> x; 49 fs >> x; 63 std::wifstream fs(temp1.c_str()); 65 fs >> x; 67 fs >> x; 72 std::wifstream fs(temp2.c_str()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ofstream.assign/ |
member_swap.pass.cpp | 35 std::ifstream fs(temp1.c_str()); 37 fs >> x; 39 fs >> x; 44 std::ifstream fs(temp2.c_str()); 46 fs >> x; 48 fs >> x; 62 std::wifstream fs(temp1.c_str()); 64 fs >> x; 66 fs >> x; 71 std::wifstream fs(temp2.c_str()) [all...] |
nonmember_swap.pass.cpp | 36 std::ifstream fs(temp1.c_str()); 38 fs >> x; 40 fs >> x; 45 std::ifstream fs(temp2.c_str()); 47 fs >> x; 49 fs >> x; 63 std::wifstream fs(temp1.c_str()); 65 fs >> x; 67 fs >> x; 72 std::wifstream fs(temp2.c_str()) [all...] |
/external/e2fsprogs/e2fsck/ |
super.c | 58 static int release_inode_block(ext2_filsys fs, 81 if ((blk < fs->super->s_first_data_block) || 82 (blk >= ext2fs_blocks_count(fs->super))) { 89 if (!ext2fs_test_block_bitmap2(fs->block_map, blk)) { 108 pb->errcode = io_channel_read_blk64(fs->io, blk, 1, 113 limit = fs->blocksize >> 2; 130 pb->errcode = io_channel_read_blk64(fs->io, blk, 1, 135 fs->blocksize - pb->truncate_offset); 136 pb->errcode = io_channel_write_blk64(fs->io, blk, 1, 146 ext2fs_block_alloc_stats2(fs, blk, -1) 161 ext2_filsys fs = ctx->fs; local 232 ext2_filsys fs = ctx->fs; local 316 ext2_filsys fs = ctx->fs; local 466 ext2_filsys fs = ctx->fs; local 900 ext2_filsys fs = ctx->fs; local [all...] |
pass5.c | 41 init_resource_track(&rtrack, ctx->fs->io); 48 if ((ctx->progress)(ctx, 5, 0, ctx->fs->group_desc_count*2)) 73 print_resource_track(ctx, _("Pass 5"), &rtrack, ctx->fs->io); 79 ext2_filsys fs = ctx->fs; local 87 if (ext2fs_test_changed(fs)) 91 (io_channel_discard(fs->io, start, count))) 104 ext2_filsys fs = ctx->fs; local 110 if ((start < 1) || (start > EXT2_INODES_PER_GROUP(fs->super))) 195 ext2_filsys fs = ctx->fs; local 533 ext2_filsys fs = ctx->fs; local 809 ext2_filsys fs = ctx->fs; local 853 ext2_filsys fs = ctx->fs; local [all...] |
badblocks.c | 16 static int check_bb_inode_blocks(ext2_filsys fs, blk_t *block_nr, int blockcnt, 20 static void invalid_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk_t blk) 29 ext2_filsys fs = ctx->fs; local 41 retval = ext2fs_block_iterate(fs, EXT2_BAD_INO, 0, 0, 54 retval = ext2fs_read_bb_inode(fs, &bb_list); 75 sprintf(buf, "badblocks -b %d -X %s%s%s %llu", fs->blocksize, 78 fs->device_name, ext2fs_blocks_count(fs->super)-1); 86 retval = ext2fs_read_bb_FILE(fs, f, &bb_list, invalid_block) [all...] |