/prebuilts/go/linux-x86/src/os/ |
stat_nacl.go | 19 fs := &fileStat{ 25 fs.mode = FileMode(st.Mode & 0777) 28 fs.mode |= ModeDevice 30 fs.mode |= ModeDevice | ModeCharDevice 32 fs.mode |= ModeDir 34 fs.mode |= ModeNamedPipe 36 fs.mode |= ModeSymlink 40 fs.mode |= ModeSocket 43 fs.mode |= ModeSetgid 46 fs.mode |= ModeSetui [all...] |
stat_netbsd.go | 19 fs := &fileStat{ 25 fs.mode = FileMode(st.Mode & 0777) 28 fs.mode |= ModeDevice 30 fs.mode |= ModeDevice | ModeCharDevice 32 fs.mode |= ModeDir 34 fs.mode |= ModeNamedPipe 36 fs.mode |= ModeSymlink 40 fs.mode |= ModeSocket 43 fs.mode |= ModeSetgid 46 fs.mode |= ModeSetui [all...] |
stat_openbsd.go | 19 fs := &fileStat{ 25 fs.mode = FileMode(st.Mode & 0777) 28 fs.mode |= ModeDevice 30 fs.mode |= ModeDevice | ModeCharDevice 32 fs.mode |= ModeDir 34 fs.mode |= ModeNamedPipe 36 fs.mode |= ModeSymlink 40 fs.mode |= ModeSocket 43 fs.mode |= ModeSetgid 46 fs.mode |= ModeSetui [all...] |
stat_solaris.go | 19 fs := &fileStat{ 25 fs.mode = FileMode(st.Mode & 0777) 28 fs.mode |= ModeDevice 30 fs.mode |= ModeDevice | ModeCharDevice 32 fs.mode |= ModeDir 34 fs.mode |= ModeNamedPipe 36 fs.mode |= ModeSymlink 40 fs.mode |= ModeSocket 43 fs.mode |= ModeSetgid 46 fs.mode |= ModeSetui [all...] |
/external/opencv3/modules/core/test/ |
test_io.cpp | 108 FileStorage fs(filename, FileStorage::WRITE + (mem ? FileStorage::MEMORY : 0)); 172 fs << "test_int" << test_int << "test_real" << test_real << "test_string" << test_string; 173 fs << "test_mat" << test_mat; 174 fs << "test_mat_nd" << test_mat_nd; 175 fs << "test_sparse_mat" << test_sparse_mat; 177 fs << "test_list" << "[" << 0.0000000000001 << 2 << CV_PI << -3435345 << "2-502 2-029 3egegeg" << 179 fs << "test_map" << "{" << "x" << 1 << "y" << 2 << "width" << 100 << "height" << 200 << "lbp" << "[:"; 182 fs.writeRaw("u", arr, (int)(sizeof(arr)/sizeof(arr[0]))); 184 fs << "]" << "}"; 185 cvWriteComment(*fs, "test comment", 0) [all...] |
/external/e2fsprogs/e2fsck/ |
pass2.c | 63 static int check_dir_block(ext2_filsys fs, 83 struct ext2_super_block *sb = ctx->fs->super; 85 ext2_filsys fs = ctx->fs; local 99 init_resource_track(&rtrack, ctx->fs->io); 114 e2fsck_set_bitmap_type(fs, EXT2FS_BMAP64_RBTREE, 116 cd.pctx.errcode = ext2fs_create_icount2(fs, 120 fs->default_bitmap_type = save_type; 127 buf = (char *) e2fsck_allocate_memory(ctx, 2*fs->blocksize, 140 cd.max = ext2fs_dblist_count2(fs->dblist) 1210 ext2_filsys fs = ctx->fs; local 1291 ext2_filsys fs = ctx->fs; local 1442 ext2_filsys fs = ctx->fs; local [all...] |
util.c | 50 ext2_filsys fs = ctx->fs; local 55 if (!fs) 57 if (fs->io && fs->super) { 58 ext2fs_mmp_stop(ctx->fs); 59 if (ctx->fs->io->magic == EXT2_ET_MAGIC_IO_CHANNEL) 60 io_channel_flush(ctx->fs->io); 64 if (ext2fs_test_changed(fs)) { 71 if (!ext2fs_test_valid(fs)) { 265 ext2_filsys fs = ctx->fs; local 293 ext2_filsys fs = ctx->fs; local 310 ext2_filsys fs = ctx->fs; local [all...] |
journal.c | 7 * Parts of the code are based on fs/jfs/journal.c by Stephen C. Tweedie 61 retval= ext2fs_bmap2(inode->i_ctx->fs, inode->i_ino, 71 int bufsize = sizeof(*bh) + kdev->k_ctx->fs->blocksize - 87 bh->b_io = kdev->k_ctx->fs->io; 101 io = kdev->k_ctx->fs->io; 191 ctx->fs->super->s_feature_incompat &= ~EXT3_FEATURE_INCOMPAT_RECOVER; 195 ctx->fs->super->s_state &= ~EXT2_VALID_FS; 196 ext2fs_mark_super_dirty(ctx->fs); 206 static int process_journal_block(ext2_filsys fs, 218 if (!blk || blk < fs->super->s_first_data_block | 943 ext2_filsys fs = ctx->fs; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
link.c | 22 ext2_filsys fs; member in struct:link_struct 49 ls->err = ext2fs_get_rec_len(ls->fs, dirent, &curr_rec_len); 62 ls->err = ext2fs_set_rec_len(ls->fs, curr_rec_len, dirent); 78 ls->err = ext2fs_set_rec_len(ls->fs, min_rec_len, dirent); 85 ls->err = ext2fs_set_rec_len(ls->fs, rec_len, next); 114 errcode_t ext2fs_link(ext2_filsys fs, ext2_ino_t dir, const char *name, 121 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS); 123 if (!(fs->flags & EXT2_FLAG_RW)) 126 ls.fs = fs; [all...] |
block.c | 22 ext2_filsys fs; member in struct:block_context 23 int (*func)(ext2_filsys fs, 67 limit = ctx->fs->blocksize >> 2; 71 ret = (*ctx->func)(ctx->fs, &blk64, 81 if (*ind_block >= ext2fs_blocks_count(ctx->fs->super) || 82 *ind_block < ctx->fs->super->s_first_data_block) { 87 ctx->errcode = ext2fs_read_ind_block(ctx->fs, *ind_block, 99 flags = (*ctx->func)(ctx->fs, &blk64, ctx->bcount, 115 flags = (*ctx->func)(ctx->fs, &blk64, ctx->bcount, 130 ctx->errcode = ext2fs_write_ind_block(ctx->fs, *ind_block [all...] |
punch.c | 47 static errcode_t ind_punch(ext2_filsys fs, struct ext2_inode *inode, 61 incr = 1ULL << ((EXT2_BLOCK_SIZE_BITS(fs->super)-2)*level); 73 retval = ext2fs_read_ind_block(fs, b, block_buf); 77 retval = ind_punch(fs, inode, block_buf + fs->blocksize, 80 fs->blocksize >> 2); 83 retval = ext2fs_write_ind_block(fs, b, block_buf); 86 if (!check_zero_block(block_buf, fs->blocksize)) 92 ext2fs_block_alloc_stats(fs, b, -1); 99 return ext2fs_iblk_sub_blocks(fs, inode, freed) [all...] |
/external/autotest/client/site_tests/platform_FilePerms/ |
platform_FilePerms.py | 62 '/sys/fs/cgroup': { 65 '/sys/fs/cgroup/cpu': { 68 '/sys/fs/cgroup/cpuacct': { 71 '/sys/fs/cgroup/devices': { 74 '/sys/fs/cgroup/freezer': { 77 '/sys/fs/fuse/connections': { 92 def checkid(self, fs, userid): 94 Check that the uid and gid for |fs| match |userid|. 96 @param fs: string, directory or file path. 103 if not os.access(fs, os.F_OK) [all...] |
/libcore/ojluni/src/main/java/java/io/ |
File.java | 141 static private final FileSystem fs = FileSystem.getFileSystem(); field in class:File 200 public static final char separatorChar = fs.getSeparator(); 219 public static final char pathSeparatorChar = fs.getPathSeparator(); 247 this.path = fs.resolve(parent.path, child); 264 this.path = fs.normalize(pathname); 265 this.prefixLength = fs.prefixLength(this.path); 305 this.path = fs.resolve(fs.normalize(parent), 306 fs.normalize(child)); 308 this.path = fs.normalize(child) 1140 File[] fs = new File[n]; local [all...] |
/external/e2fsprogs/misc/ |
e2initrd_helper.c | 71 static errcode_t get_file(ext2_filsys fs, const char * filename, 85 retval = ext2fs_namei(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, 90 retval = ext2fs_read_inode(fs, ino, &inode); 102 retval = ext2fs_file_open(fs, ino, 0, &e2_file); 236 static int parse_fstab_line(char *line, struct fs_info *fs) 271 fs->device = string_copy(device); 272 fs->mountpt = string_copy(mntpnt); 273 fs->type = string_copy(type); 274 fs->opts = string_copy(opts ? opts : ""); 275 fs->freq = freq ? atoi(freq) : -1 372 ext2_filsys fs; local [all...] |
e2image.c | 225 static void write_image_file(ext2_filsys fs, int fd) 231 write_header(fd, NULL, sizeof(struct ext2_image_hdr), fs->blocksize); 235 retval = ext2fs_image_super_write(fs, fd, 0); 243 retval = ext2fs_image_inode_write(fs, fd, 252 retval = ext2fs_image_bitmap_write(fs, fd, 0); 260 retval = ext2fs_image_bitmap_write(fs, fd, IMAGER_FLAG_INODEMAP); 272 hdr.fs_blocksize = fs->blocksize; 281 memcpy(hdr.fs_uuid, fs->super->s_uuid, sizeof(hdr.fs_uuid)); 284 write_header(fd, &hdr, sizeof(struct ext2_image_hdr), fs->blocksize); 308 static errcode_t meta_get_blocks(ext2_filsys fs EXT2FS_ATTR((unused)) 1360 ext2_filsys fs; local 1434 ext2_filsys fs; local [all...] |
/external/fio/engines/ |
glusterfs.c | 51 g->fs = NULL; 55 g->fs = glfs_new(opt->gf_vol); 56 if (!g->fs) { 60 glfs_set_logging(g->fs, "/tmp/fio_gfapi.log", 7); 62 r = glfs_set_volfile_server(g->fs, "tcp", opt->gf_brick, 0); 67 r = glfs_init(g->fs); 73 r = glfs_lstat(g->fs, ".", &sb); 78 dprint(FD_FILE, "fio setup %p\n", g->fs); 82 if (g->fs) 83 glfs_fini(g->fs); [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
ProgramCache.cpp | 155 Formatter fs; local 157 fs << "#extension GL_OES_EGL_image_external : require"; 161 fs << "precision mediump float;"; 164 fs << "uniform samplerExternalOES sampler;" 167 fs << "uniform sampler2D sampler;" 170 fs << "uniform vec4 color;"; 173 fs << "uniform float alphaPlane;"; 176 fs << "uniform mat4 colorMatrix;"; 178 fs << "void main(void) {" << indent; 180 fs << "gl_FragColor = texture2D(sampler, outTexCoords);" 219 String8 fs = generateFragmentShader(needs); local [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state_derived.c | 39 static uint find_mapping(const struct i915_fragment_shader* fs, int unit) 44 if (fs->generic_mapping[i] == unit) 59 const struct i915_fragment_shader *fs = i915->fs; local 73 for (i = 0; i < fs->info.num_inputs; i++) { 74 switch (fs->info.input_semantic_name[i]) { 78 texCoords[find_mapping(fs, unit)] = TRUE; 82 assert(fs->info.input_semantic_index[i] < 2); 83 colors[fs->info.input_semantic_index[i]] = TRUE; 88 uint unit = fs->info.input_semantic_index[i] [all...] |
/external/llvm/unittests/Support/ |
Path.cpp | 141 ASSERT_NO_ERROR(fs::make_absolute(temp_store)); 156 ASSERT_NO_ERROR(sys::fs::make_absolute("/root", Relative)); 432 fs::createUniqueDirectory("file-system-test", TestDirectory)); 438 void TearDown() override { ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); } 446 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath)); 449 fs::UniqueID F1, F2; 450 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1)); 451 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2)); 458 fs::createTemporaryFile("prefix", "temp", FileDescriptor2, TempPath2)); 460 fs::UniqueID D [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
normal_unittest.cc | 35 int fs = 8000; local 41 Expand expand(&bgn, &sync_buffer, &random_vector, &statistics, fs, channels); 42 Normal normal(fs, &db, bgn, &expand); 49 int fs = 8000; local 55 MockExpand expand(&bgn, &sync_buffer, &random_vector, &statistics, fs, 57 Normal normal(fs, &db, bgn, &expand); 95 int fs = 8000; local 101 MockExpand expand(&bgn, &sync_buffer, &random_vector, &statistics, fs, 103 Normal normal(fs, &db, bgn, &expand);
|
/frameworks/compile/mclinker/lib/MC/ |
MCLDDirectory.cpp | 30 sys::fs::detail::open_dir(*this); 44 sys::fs::detail::open_dir(*this); 58 sys::fs::detail::open_dir(*this); 72 sys::fs::detail::open_dir(*this); 73 Directory::m_FileStatus = sys::fs::FileStatus(); 74 Directory::m_SymLinkStatus = sys::fs::FileStatus(); 87 void MCLDDirectory::setSysroot(const sys::fs::Path& pSysroot) { 93 sys::fs::detail::canonicalize(Directory::m_Path.native()); 94 sys::fs::detail::open_dir(*this);
|
/ndk/sources/host-tools/nawk-20071023/ |
main.c | 58 const char *fs = NULL; local 65 "usage: %s [-F fs] [-v var=value] [-f progfile | 'prog'] [file ...]\n", 100 fs = "\t"; 102 fs = &argv[1][2]; 106 fs = "\t"; 108 fs = &argv[1][0]; 110 if (fs == NULL || *fs == '\0') 111 WARNING("field separator FS is empty"); 152 if (fs) [all...] |
/external/e2fsprogs/lib/quota/ |
mkquota.h | 13 * quota_init_context(&qctx, fs, -1); 41 ext2_filsys fs; member in struct:quota_ctx 46 errcode_t quota_init_context(quota_ctx_t *qctx, ext2_filsys fs, int qtype); 58 errcode_t quota_remove_inode(ext2_filsys fs, int qtype); 59 int quota_file_exists(ext2_filsys fs, int qtype, int fmt); 60 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, int qtype);
|
/external/e2fsprogs/resize/ |
online.c | 50 errcode_t online_resize_fs(ext2_filsys fs, const char *mtpt, 56 struct ext2_super_block *sb = fs->super; 79 "on-line resizing required\n"), fs->device_name, mtpt); 92 fs->super->s_first_data_block, 93 EXT2_BLOCKS_PER_GROUP(fs->super)), 94 EXT2_DESC_PER_BLOCK(fs->super)); 96 fs->desc_blocks, new_desc_blocks); 101 if ((access("/sys/fs/ext4/features/meta_bg_resize", R_OK) != 0) || 103 if (!EXT2_HAS_COMPAT_FEATURE(fs->super, 105 (new_desc_blocks != fs->desc_blocks)) [all...] |
/external/opencv/cxcore/src/ |
cximage.cpp | 147 bool CvImage::read( CvFileStorage* fs, const char* mapname, const char* imgname ) 154 CvFileNode* mapnode = cvGetFileNodeByName( fs, 0, mapname ); 156 obj = cvReadByName( fs, mapnode, imgname ); 159 obj = cvReadByName( fs, 0, imgname ); 167 bool CvImage::read( CvFileStorage* fs, const char* seqname, int idx ) 172 cvGetFileNodeByName( fs, 0, seqname ) : cvGetRootFileNode(fs,0); 175 obj = cvRead( fs, (CvFileNode*)cvGetSeqElem( seqnode->data.seq, idx )); 205 void CvImage::write( CvFileStorage* fs, const char* imgname ) 208 cvWrite( fs, imgname, image ) [all...] |