/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ofstream.cons/ |
default.pass.cpp | 23 std::ofstream fs; local 26 std::wofstream fs; local
|
/external/libcxx/test/std/input.output/file.streams/fstreams/ifstream.assign/ |
move_assign.pass.cpp | 25 std::ifstream fs; local 26 fs = move(fso); 28 fs >> x; 33 std::wifstream fs; local 34 fs = move(fso); 36 fs >> x;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ifstream.assign/ |
move_assign.pass.cpp | 25 std::ifstream fs; local 26 fs = move(fso); 28 fs >> x; 33 std::wifstream fs; local 34 fs = move(fso); 36 fs >> x;
|
/external/e2fsprogs/lib/ext2fs/ |
dupfs.c | 24 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->badblocks = 0 [all...] |
openfs.c | 35 blk64_t ext2fs_descriptor_block_loc2(ext2_filsys fs, blk64_t group_block, 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->super->s_blocks_per_group 97 ext2_filsys fs; local [all...] |
rw_bitmaps.c | 30 static errcode_t write_bitmaps(ext2_filsys fs, int do_inode, int do_block) 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->super)+7) / 8) [all...] |
mmp.c | 33 errcode_t ext2fs_mmp_read(ext2_filsys fs, blk64_t mmp_blk, void *buf) 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->blocksize, align [all...] |
alloc_tables.c | 37 static blk64_t flexbg_offset(ext2_filsys fs, dgrp_t group, blk64_t start_blk, 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_blk, last_blk, elem_size [all...] |
/external/libcxx/test/std/input.output/file.streams/fstreams/fstream.members/ |
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.open(temp.c_str(), std::ios_base::in | std::ios_base::ou [all...] |
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.open(temp, std::ios_base::in | std::ios_base::ou [all...] |
close.pass.cpp | 25 std::fstream fs; local 26 assert(!fs.is_open()); 27 fs.open(temp.c_str(), std::ios_base::out); 28 assert(fs.is_open()); 29 fs.close(); 30 assert(!fs.is_open()); 34 std::wfstream fs; local 35 assert(!fs.is_open()); 36 fs.open(temp.c_str(), std::ios_base::out); 37 assert(fs.is_open()) [all...] |
/external/libcxx/test/std/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...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/fstream.members/ |
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.open(temp.c_str(), std::ios_base::in | std::ios_base::ou [all...] |
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.open(temp, std::ios_base::in | std::ios_base::ou [all...] |
close.pass.cpp | 25 std::fstream fs; local 26 assert(!fs.is_open()); 27 fs.open(temp.c_str(), std::ios_base::out); 28 assert(fs.is_open()); 29 fs.close(); 30 assert(!fs.is_open()); 34 std::wfstream fs; local 35 assert(!fs.is_open()); 36 fs.open(temp.c_str(), std::ios_base::out); 37 assert(fs.is_open()) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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...] |
/external/e2fsprogs/debugfs/ |
filefrag.c | 68 static void print_header(struct filefrag_struct *fs) 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) 80 if (fs->num == 0) 82 if (fs->options & VERBOSE_OPT) 107 struct filefrag_struct *fs = private; variable in typeref:struct:filefrag_struct 114 report_filefrag(fs); variable 175 struct filefrag_struct *fs = private; variable in typeref:struct:filefrag_struct 263 struct filefrag_struct fs; local [all...] |
/external/opencv3/modules/core/src/ |
algorithm.cpp | 58 FileStorage fs(filename, FileStorage::WRITE); 59 fs << getDefaultName() << "{"; 60 fs << "format" << (int)3; 61 write(fs); 62 fs << "}";
|
/external/libopus/celt/ |
laplace.c | 51 void ec_laplace_encode(ec_enc *enc, int *value, unsigned fs, int decay) 62 fl = fs; 63 fs = ec_laplace_get_freq1(fs, decay); 65 for (i=1; fs > 0 && i < val; i++) 67 fs *= 2; 68 fl += fs+2*LAPLACE_MINP; 69 fs = (fs*(opus_int32)decay)>>15; 72 if (!fs) [all...] |
/external/elfutils/libdw/ |
dwarf_frame_info.c | 36 dwarf_frame_info (Dwarf_Frame *fs, Dwarf_Addr *start, Dwarf_Addr *end, 40 if (fs == NULL) 44 *start = fs->start; 46 *end = fs->end; 48 *signalp = fs->fde->cie->signal_frame; 49 return fs->fde->cie->return_address_register;
|
dwarf_frame_cfa.c | 38 dwarf_frame_cfa (Dwarf_Frame *fs, Dwarf_Op **ops, size_t *nops) 41 if (fs == NULL) 45 switch (fs->cfa_rule) 54 *ops = &fs->cfa_data.offset; 61 (NULL, fs->cache->other_byte_order, 62 fs->cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8, 4, 63 &fs->cache->expr_tree, &fs->cfa_data.expr, false, false,
|
/external/clang/test/CodeGen/ |
2003-11-04-EmptyStruct.c | 5 void __copy_fs_struct(struct fs_struct *fs) { fs->lock = (rwlock_t) { }; }
|
/external/libcxx/test/std/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;
|
/external/libcxx/test/std/input.output/file.streams/fstreams/ofstream.cons/ |
pointer.pass.cpp | 25 std::ofstream fs(temp.c_str()); 26 fs << 3.25; 29 std::ifstream fs(temp.c_str()); 31 fs >> x; 36 std::wofstream fs(temp.c_str()); 37 fs << 3.25; 40 std::wifstream fs(temp.c_str()); 42 fs >> x;
|
string.pass.cpp | 25 std::ofstream fs(temp); 26 fs << 3.25; 29 std::ifstream fs(temp); 31 fs >> x; 36 std::wofstream fs(temp); 37 fs << 3.25; 40 std::wifstream fs(temp); 42 fs >> x;
|