/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/e2fsprogs/lib/ext2fs/ |
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...] |
newdir.c | 28 errcode_t ext2fs_new_dir_block(ext2_filsys fs, ext2_ino_t dir_ino, 37 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); 39 retval = ext2fs_get_mem(fs->blocksize, &buf); 42 memset(buf, 0, fs->blocksize); 45 retval = ext2fs_set_rec_len(fs, fs->blocksize, dir); 52 if (fs->super->s_feature_incompat & 61 rec_len = fs->blocksize - EXT2_DIR_REC_LEN(1); 68 retval = ext2fs_set_rec_len(fs, rec_len, dir);
|
symlink.c | 30 errcode_t ext2fs_symlink(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t ino, 42 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); 46 if (target_len > fs->blocksize) { 56 retval = ext2fs_new_block2(fs, 0, 0, &blk); 59 retval = ext2fs_get_mem(fs->blocksize, &block_buf); 68 retval = ext2fs_new_inode(fs, parent, LINUX_S_IFLNK | 0755, 80 ext2fs_iblk_set(fs, &inode, fastlink ? 0 : 1); 90 memset(block_buf, 0, fs->blocksize); 92 if (fs->super->s_feature_incompat & 107 retval = ext2fs_write_new_inode(fs, ino, &inode) [all...] |
bitmaps.c | 52 errcode_t ext2fs_allocate_inode_bitmap(ext2_filsys fs, 58 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); 60 fs->write_bitmaps = ext2fs_write_bitmaps; 63 end = fs->super->s_inodes_count; 64 real_end = (EXT2_INODES_PER_GROUP(fs->super) * fs->group_desc_count); 67 if (fs->flags & EXT2_FLAG_64BITS) 68 return (ext2fs_alloc_generic_bmap(fs, 70 fs->default_bitmap_type, 78 return (ext2fs_make_generic_bitmap(EXT2_ET_MAGIC_INODE_BITMAP, fs, [all...] |
mkjournal.c | 44 errcode_t ext2fs_create_journal_superblock(ext2_filsys fs, 54 if ((retval = ext2fs_get_mem(fs->blocksize, &jsb))) 57 memset (jsb, 0, fs->blocksize); 64 jsb->s_blocksize = htonl(fs->blocksize); 69 memcpy(jsb->s_uuid, fs->super->s_uuid, sizeof(fs->super->s_uuid)); 74 if (fs->super->s_feature_incompat & 77 if (fs->blocksize == 1024) 92 static errcode_t write_journal_file(ext2_filsys fs, char *filename, 100 if ((retval = ext2fs_create_journal_superblock(fs, num_blocks, flags 607 ext2_filsys fs; local [all...] |
/external/llvm/lib/Object/ |
ObjectFile.cpp | 63 ObjectFile::createObjectFile(MemoryBufferRef Object, sys::fs::file_magic Type) { 65 if (Type == sys::fs::file_magic::unknown) 66 Type = sys::fs::identify_magic(Data); 69 case sys::fs::file_magic::unknown: 70 case sys::fs::file_magic::bitcode: 71 case sys::fs::file_magic::archive: 72 case sys::fs::file_magic::macho_universal_binary: 73 case sys::fs::file_magic::windows_resource: 75 case sys::fs::file_magic::elf: 76 case sys::fs::file_magic::elf_relocatable [all...] |
/external/webrtc/webrtc/modules/audio_processing/transient/test/ |
readPCM.m | 1 function [x, t] = readPCM(file, fs) 2 %[x, t] = readPCM(file, fs) 10 %fs: The signal sample rate in Hertz. 16 t = 0:(1 / fs):((length(x) - 1) / fs);
|
/external/e2fsprogs/e2fsck/ |
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/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/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...] |
ReplaceFileTest.cpp | 34 if (std::error_code ec = fs::openFileForWrite(FilePath, FD, fs::F_None)) 58 ASSERT_NO_ERROR(fs::createUniqueDirectory( 74 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD)); 78 EXPECT_TRUE(!fs::rename(SourceFileName, TargetFileName)); 87 EXPECT_FALSE(fs::exists(SourceFileName)); 94 ASSERT_NO_ERROR(fs::openFileForRead(TargetFileName, ReadFD)); 104 EXPECT_TRUE(!fs::rename(TargetFileName, SourceFileName)); 105 EXPECT_FALSE(fs::exists(TargetFileName)); 106 ASSERT_TRUE(fs::exists(SourceFileName)) [all...] |
/external/opencv3/modules/core/src/ |
persistence.cpp | 190 //typedef void (*CvParse)( struct CvFileStorage* fs ); 191 typedef void (*CvStartWriteStruct)( struct CvFileStorage* fs, const char* key, 193 typedef void (*CvEndWriteStruct)( struct CvFileStorage* fs ); 194 typedef void (*CvWriteInt)( struct CvFileStorage* fs, const char* key, int value ); 195 typedef void (*CvWriteReal)( struct CvFileStorage* fs, const char* key, double value ); 196 typedef void (*CvWriteString)( struct CvFileStorage* fs, const char* key, 198 typedef void (*CvWriteComment)( struct CvFileStorage* fs, const char* comment, int eol_comment ); 199 typedef void (*CvStartNextStream)( struct CvFileStorage* fs ); 245 static void icvPuts( CvFileStorage* fs, const char* str ) 247 if( fs->outbuf 554 CvFileStorage* fs = *p_fs; local 2653 CvFileStorage* fs = 0; local 5014 CvFileStorage* fs = 0; local [all...] |
/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 | 17 namespace fs { namespace in namespace:mcld::sys 42 } // namespace fs 52 struct less<mcld::sys::fs::RealPath> 53 : public binary_function<mcld::sys::fs::RealPath, 54 mcld::sys::fs::RealPath, 56 bool operator()(const mcld::sys::fs::RealPath& pX, 57 const mcld::sys::fs::RealPath& pY) const {
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/cla/detail/ |
argument_value_usage.hpp | 48 argument_value_usage( format_stream& fs, long, T* = 0 ) 50 fs << BOOST_RT_PARAM_CSTRING_LITERAL( "<value>" ); 58 argument_value_usage( format_stream& fs, int, std::list<T>* = 0 ) 60 fs << BOOST_RT_PARAM_CSTRING_LITERAL( "(<value1>, ..., <valueN>)" ); 67 argument_value_usage( format_stream& fs, int, bool* = 0 ) 69 fs << BOOST_RT_PARAM_CSTRING_LITERAL( "yes|y|no|n" );
|
/external/valgrind/none/tests/x86-solaris/ |
coredump_single_thread.c | 10 uint16_t cs, ds, ss, es, fs, gs; local 19 "movw %%fs, %4\n" 21 : "=m" (cs), "=m" (ds), "=m" (ss), "=m" (es), "=m" (fs), "=m" (gs)); 22 printf("cs=%#x ds=%#x ss=%#x es=%#x fs=%#x gs=%#x\n", 23 cs, ds, ss, es, fs, gs);
|
/external/libcxx/test/std/input.output/file.streams/fstreams/ofstream.members/ |
rdbuf.pass.cpp | 25 std::ofstream fs(temp.c_str()); 26 std::filebuf* fb = fs.rdbuf(); 31 std::wofstream fs(temp.c_str()); 32 std::wfilebuf* fb = fs.rdbuf();
|
/external/opencv3/samples/cpp/ |
imagelist_creator.cpp | 41 FileStorage fs(outputname, FileStorage::WRITE); 42 fs << "images" << "["; 44 fs << string(av[i]); 46 fs << "]";
|
filestorage.cpp | 41 void write(FileStorage& fs) const //Write serialization for this class 43 fs << "{" << "A" << A << "X" << X << "id" << id << "}"; 55 static void write(FileStorage& fs, const std::string&, const MyData& x){ 56 x.write(fs); 83 FileStorage fs(filename, FileStorage::WRITE); 86 fs << "images" << "["; 88 fs << "image1.jpg" << "myfi.png" << "../data/baboon.jpg"; 91 fs << "]"; 97 fs << "R" << R; 98 fs << "T" << T [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ofstream.members/ |
rdbuf.pass.cpp | 25 std::ofstream fs(temp.c_str()); 26 std::filebuf* fb = fs.rdbuf(); 31 std::wofstream fs(temp.c_str()); 32 std::wfilebuf* fb = fs.rdbuf();
|
/system/vold/ |
VoldUtil.c | 18 #include <linux/fs.h>
|
/external/e2fsprogs/misc/ |
dumpe2fs.c | 119 static void print_bg_opts(ext2_filsys fs, dgrp_t i) 123 if (fs->super->s_feature_ro_compat & EXT4_FEATURE_RO_COMPAT_GDT_CSUM) 124 bg_flags = ext2fs_bg_flags(fs, i); 137 static void print_bg_rel_offset(ext2_filsys fs, blk64_t block, int itable, 144 } else if (fs->super->s_feature_incompat & 146 dgrp_t flex_grp = ext2fs_group_of_blk2(fs, block); 148 (unsigned)(block-ext2fs_group_first_block2(fs,flex_grp))); 152 static void list_desc (ext2_filsys fs) 162 blk64_t blk_itr = EXT2FS_B2C(fs, fs->super->s_first_data_block) 524 ext2_filsys fs; local [all...] |