/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/chromium_org/third_party/skia/third_party/lua/src/ |
lparser.c | 62 lua_assert(ls->fs != NULL || ls->t.token == TK_EOS); 83 static l_noret errorlimit (FuncState *fs, int limit, const char *what) { 84 lua_State *L = fs->ls->L; 86 int line = fs->f->linedefined; 92 luaX_syntaxerror(fs->ls, msg); 96 static void checklimit (FuncState *fs, int v, int l, const char *what) { 97 if (v > l) errorlimit(fs, l, what); 156 init_exp(e, VK, luaK_stringK(ls->fs, s)); 166 FuncState *fs = ls->fs; local 179 FuncState *fs = ls->fs; local 206 FuncState *fs = ls->fs; local 299 FuncState *fs = ls->fs; local 311 FuncState *fs = ls->fs; local 342 FuncState *fs = ls->fs; local 501 FuncState *fs = ls->fs; local 521 FuncState *fs = ls->fs->prev; local 557 FuncState *fs = ls->fs; local 618 FuncState *fs = ls->fs; local 654 FuncState *fs = ls->fs; local 733 FuncState *fs = ls->fs; local 761 FuncState *fs = ls->fs; local 824 FuncState *fs = ls->fs; local 902 FuncState *fs = ls->fs; local 963 FuncState *fs = ls->fs; local 1084 FuncState *fs = ls->fs; local 1109 FuncState *fs = ls->fs; local 1217 FuncState *fs = ls->fs; local 1235 FuncState *fs = ls->fs; local 1255 FuncState *fs = ls->fs; local 1286 FuncState *fs = ls->fs; local 1311 FuncState *fs = ls->fs; local 1333 FuncState *fs = ls->fs; local 1358 FuncState *fs = ls->fs; local 1377 FuncState *fs = ls->fs; local 1411 FuncState *fs = ls->fs; local 1425 FuncState *fs = ls->fs; local 1482 FuncState *fs = ls->fs; local 1498 FuncState *fs = ls->fs; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
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...] |
inode.c | 34 ext2_filsys fs; member in struct:ext2_struct_inode_scan 47 errcode_t (*done_group)(ext2_filsys fs, 60 errcode_t ext2fs_flush_icache(ext2_filsys fs) 64 if (!fs->icache) 67 for (i=0; i < fs->icache->cache_size; i++) 68 fs->icache->cache[i].ino = 0; 70 fs->icache->buffer_blk = 0; 74 static errcode_t create_icache(ext2_filsys fs) 78 if (fs->icache) 80 retval = ext2fs_get_mem(sizeof(struct ext2_inode_cache), &fs->icache) 230 ext2_filsys fs = scan->fs; local [all...] |
read_bb_file.c | 32 errcode_t ext2fs_read_bb_FILE2(ext2_filsys fs, FILE *f, 35 void (*invalid)(ext2_filsys fs, 45 if (fs) 46 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); 63 if (fs && 64 ((blockno < fs->super->s_first_data_block) || 65 (blockno >= ext2fs_blocks_count(fs->super)))) { 67 (invalid)(fs, blockno, buf, priv_data); 81 static void call_compat_invalid(ext2_filsys fs, blk_t blk, 89 (st->invalid)(fs, blk) [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...] |
quota.c | 20 static void move_quota_inode(ext2_filsys fs, ext2_ino_t from_ino, 27 if (ext2fs_read_bitmaps(fs)) 30 if (ext2fs_read_inode(fs, from_ino, &inode)) 36 if (fs->super->s_feature_incompat & 40 ext2fs_write_new_inode(fs, to_ino, &inode); 43 ext2fs_unlink(fs, EXT2_ROOT_INO, qf_name, from_ino, 0); 44 ext2fs_inode_alloc_stats(fs, from_ino, -1); 47 ext2fs_write_inode(fs, from_ino, &inode); 52 struct ext2_super_block *sb = ctx->fs->super; 54 ext2_filsys fs = ctx->fs local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
checksvnconfigfile.py | 31 def check(host, fs): 38 cfg_file_path = config_file_path(host, fs) 41 config_file = fs.read_text_file(cfg_file_path) 51 def config_file_path(host, fs): 53 config_file_path = fs.join(os.environ['APPDATA'], "Subversion", "config") 55 config_file_path = fs.join(fs.expanduser("~"), ".subversion", "config")
|
/frameworks/compile/mclinker/lib/Support/ |
FileSystem.cpp | 16 bool mcld::sys::fs::exists(const Path &pPath) 18 mcld::sys::fs::FileStatus file_status; 19 mcld::sys::fs::detail::status(pPath, file_status); 20 return (file_status.type() != mcld::sys::fs::StatusError) && 21 (file_status.type() != mcld::sys::fs::FileNotFound); 24 bool mcld::sys::fs::is_directory(const Path &pPath) 28 return (file_status.type() == mcld::sys::fs::DirectoryFile);
|
/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); 53 static errcode_t mark_table_blocks(ext2_filsys fs, 59 #define IS_BLOCK_BM(fs, i, blk) ((blk) == ext2fs_block_bitmap_loc((fs),(i))) 60 #define IS_INODE_BM(fs, i, blk) ((blk) == ext2fs_inode_bitmap_loc((fs),(i))) 62 #define IS_INODE_TB(fs, i, blk) (((blk) >= ext2fs_inode_table_loc((fs), (i))) && 617 ext2_filsys fs; local 784 ext2_filsys fs = rfs->new_fs; local 860 ext2_filsys fs, old_fs; local 1160 ext2_filsys fs = rfs->new_fs; local 1214 ext2_filsys fs = rfs->new_fs; local 1720 ext2_filsys fs = rfs->new_fs; local [all...] |
main.c | 101 static void determine_fs_stride(ext2_filsys fs) 108 if (fs->stride) 111 for (group = 0; group < fs->group_desc_count; group++) { 112 has_sb = ext2fs_bg_has_super(fs, group); 115 b_stride = ext2fs_block_bitmap_loc(fs, group) - 116 ext2fs_block_bitmap_loc(fs, group - 1) - 117 fs->super->s_blocks_per_group; 118 i_stride = ext2fs_inode_bitmap_loc(fs, group) - 119 ext2fs_inode_bitmap_loc(fs, group - 1) - 120 fs->super->s_blocks_per_group 165 ext2_filsys fs; local [all...] |
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
filesystem_test.cc | 46 MemFsForTesting fs; local 58 EXPECT_EQ(1, fs.num_nodes()); 61 EXPECT_EQ(ENOENT, fs.Open(Path("/foo"), O_RDWR, &result_node)); 63 EXPECT_EQ(1, fs.num_nodes()); 66 EXPECT_EQ(0, fs.Open(Path("/foo"), O_RDWR | O_CREAT, &file)); 71 ASSERT_EQ(2, fs.num_nodes()); 77 EXPECT_EQ(0, fs.Open(Path("/"), O_RDONLY, &root)); 81 EXPECT_EQ(EISDIR, fs.Open(Path("/"), O_RDWR, &root)); 82 EXPECT_EQ(2, fs.num_nodes()); 85 EXPECT_EQ(0, fs.Open(Path("/"), O_RDONLY, &root)) 176 MemFsForTesting fs; local 197 MemFsForTesting fs; local 219 MemFsForTesting fs; local 249 MemFsForTesting fs; local [all...] |
/external/llvm/lib/Support/ |
FileOutputBuffer.cpp | 20 using llvm::sys::fs::mapped_file_region; 31 sys::fs::remove(Twine(TempPath)); 39 sys::fs::file_status Stat; 40 std::error_code EC = sys::fs::status(FilePath, Stat); 42 case sys::fs::file_type::file_not_found: 45 case sys::fs::file_type::regular_file: { 47 // FIXME: There is no sys::fs:: api for checking this. 59 EC = sys::fs::remove(FilePath); 63 unsigned Mode = sys::fs::all_read | sys::fs::all_write [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/tools/ |
texture_builtins.py | 140 def end_function(fs, name): 142 fs[name] = sys.stdout.getvalue(); 150 def generate_texture_functions(fs): 166 end_function(fs, "textureSize") 194 end_function(fs, "texture") 215 end_function(fs, "textureProj") 227 end_function(fs, "textureLod") 238 end_function(fs, "textureLodOffset") 260 end_function(fs, "textureOffset") 270 end_function(fs, "texelFetch" [all...] |
/external/mesa3d/src/glsl/builtins/tools/ |
texture_builtins.py | 140 def end_function(fs, name): 142 fs[name] = sys.stdout.getvalue(); 150 def generate_texture_functions(fs): 166 end_function(fs, "textureSize") 194 end_function(fs, "texture") 215 end_function(fs, "textureProj") 227 end_function(fs, "textureLod") 238 end_function(fs, "textureLodOffset") 260 end_function(fs, "textureOffset") 270 end_function(fs, "texelFetch" [all...] |
/external/genext2fs/ |
genext2fs.c | 21 // 6 Jun 2000 Bugfix: fs size multiple of 8 240 #define GRP_NBGROUPS(fs) \ 241 (((fs)->sb.s_blocks_count - fs->sb.s_first_data_block + \ 242 (fs)->sb.s_blocks_per_group - 1) / (fs)->sb.s_blocks_per_group) 245 #define GRP_GET_GROUP_BBM(fs,grp) ( get_blk((fs),(fs)->gd[(grp)].bg_block_bitmap) ) 248 #define GRP_GET_GROUP_IBM(fs,grp) ( get_blk((fs),(fs)->gd[(grp)].bg_inode_bitmap) 1963 filesystem *fs; local 2134 filesystem *fs; local 2537 filesystem *fs; local [all...] |
/external/llvm/unittests/Support/ |
LockFileManagerTest.cpp | 23 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); 41 EXPECT_FALSE(sys::fs::exists(StringRef(LockedFile))); 43 EC = sys::fs::remove(StringRef(TmpDir)); 50 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); 63 EC = sys::fs::openFileForWrite(StringRef(TmpFileLock), FD, sys::fs::F_None); 69 EC = sys::fs::create_link(TmpFileLock.str(), FileLocK.str()); 72 EC = sys::fs::remove(StringRef(TmpFileLock)); 83 EXPECT_FALSE(sys::fs::exists(StringRef(LockedFile))); 85 EC = sys::fs::remove(StringRef(TmpDir)) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_fs.h | 80 static INLINE boolean r300_fragment_shader_writes_depth(struct r300_fragment_shader *fs) 82 if (!fs) 84 return (fs->shader->code.writes_depth) ? TRUE : FALSE; 87 static INLINE boolean r300_fragment_shader_writes_all(struct r300_fragment_shader *fs) 89 if (!fs) 91 return (fs->shader->write_all) ? TRUE : FALSE;
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_fs.h | 80 static INLINE boolean r300_fragment_shader_writes_depth(struct r300_fragment_shader *fs) 82 if (!fs) 84 return (fs->shader->code.writes_depth) ? TRUE : FALSE; 87 static INLINE boolean r300_fragment_shader_writes_all(struct r300_fragment_shader *fs) 89 if (!fs) 91 return (fs->shader->write_all) ? TRUE : FALSE;
|
/frameworks/compile/mclinker/include/mcld/Support/ |
RealPath.h | 16 namespace fs { namespace in namespace:mcld::sys 42 } // namespace of fs 52 struct less<mcld::sys::fs::RealPath> : public binary_function< 53 mcld::sys::fs::RealPath, 54 mcld::sys::fs::RealPath, 57 bool operator() (const mcld::sys::fs::RealPath& pX, 58 const mcld::sys::fs::RealPath& pY) const {
|