HomeSort by relevance Sort by last modified time
    Searched refs:fs (Results 151 - 175 of 1947) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/llvm/lib/Support/
FileOutputBuffer.cpp 27 using llvm::sys::fs::mapped_file_region;
35 sys::fs::remove(Twine(TempPath));
41 sys::fs::file_status Stat;
42 std::error_code EC = sys::fs::status(FilePath, Stat);
44 case sys::fs::file_type::file_not_found:
47 case sys::fs::file_type::regular_file: {
49 // FIXME: There is no sys::fs:: api for checking this.
61 EC = sys::fs::remove(FilePath);
65 unsigned Mode = sys::fs::all_read | sys::fs::all_write
    [all...]
  /external/llvm/unittests/Support/
FileOutputBufferTest.cpp 35 fs::createUniqueDirectory("FileOutputBuffer-test", TestDirectory));
56 ASSERT_NO_ERROR(fs::file_size(Twine(File1), File1Size));
58 ASSERT_NO_ERROR(fs::remove(File1.str()));
73 ASSERT_EQ(fs::access(Twine(File2), fs::AccessMode::Exist),
75 ASSERT_NO_ERROR(fs::remove(File2.str()));
94 ASSERT_NO_ERROR(fs::file_size(Twine(File3), File3Size));
96 ASSERT_NO_ERROR(fs::remove(File3.str()));
112 fs::file_status Status;
113 ASSERT_NO_ERROR(fs::status(Twine(File4), Status))
    [all...]
  /frameworks/compile/mclinker/include/mcld/MC/
SearchDirs.h 44 explicit SearchDirs(const sys::fs::Path& pSysRoot);
49 sys::fs::Path* find(const std::string& pNamespec,
52 const sys::fs::Path* find(const std::string& pNamespec,
55 void setSysRoot(const sys::fs::Path& pSysRoot) { m_SysRoot = pSysRoot; }
56 const sys::fs::Path& sysroot() const { return m_SysRoot; }
69 bool insert(const sys::fs::Path& pDirectory);
73 sys::fs::Path m_SysRoot;
  /external/e2fsprogs/e2fsck/
pass1b.c 85 static int process_pass1b_block(ext2_filsys fs, blk64_t *blocknr,
212 ext2_filsys fs = ctx->fs; local
220 pctx.errcode = e2fsck_allocate_inode_bitmap(fs,
235 init_resource_track(&rtrack, ctx->fs->io);
237 print_resource_track(ctx, "Pass 1b", &rtrack, ctx->fs->io);
239 init_resource_track(&rtrack, ctx->fs->io);
241 print_resource_track(ctx, "Pass 1c", &rtrack, ctx->fs->io);
243 init_resource_track(&rtrack, ctx->fs->io);
245 print_resource_track(ctx, "Pass 1d", &rtrack, ctx->fs->io)
270 ext2_filsys fs = ctx->fs; local
426 ext2_filsys fs = ctx->fs; local
448 ext2_filsys fs = ctx->fs; local
624 ext2_filsys fs = ctx->fs; local
784 ext2_filsys fs = ctx->fs; local
882 ext2_filsys fs = ctx->fs; local
919 ext2_filsys fs = ctx->fs; local
    [all...]
pass1.c 58 static int process_block(ext2_filsys fs, blk64_t *blocknr,
61 static int process_bad_block(ext2_filsys fs, blk64_t *block_nr,
74 static errcode_t scan_callback(ext2_filsys fs, ext2_inode_scan scan,
78 /* static char *describe_illegal_block(ext2_filsys fs, blk64_t block); */
120 static void unwind_pass1(ext2_filsys fs EXT2FS_ATTR((unused)))
134 int e2fsck_pass1_check_device_inode(ext2_filsys fs EXT2FS_ATTR((unused)),
169 int e2fsck_pass1_check_symlink(ext2_filsys fs, ext2_ino_t ino,
184 if (inode->i_size > fs->blocksize)
186 if (ext2fs_extent_open2(fs, ino, inode, &handle))
196 (extent.e_pblk < fs->super->s_first_data_block) |
552 ext2_filsys fs = ctx->fs; local
1480 ext2_filsys fs = ctx->fs; local
1520 ext2_filsys fs = ctx->fs; local
1705 ext2_filsys fs = ctx->fs; local
1985 ext2_filsys fs = ctx->fs; local
2027 ext2_filsys fs = ctx->fs; local
2597 ext2_filsys fs = ctx->fs; local
2688 ext2_filsys fs = ctx->fs; local
2726 ext2_filsys fs = ctx->fs; local
2898 ext2_filsys fs = ctx->fs; local
    [all...]
  /external/e2fsprogs/lib/ext2fs/
read_bb.c 40 static int mark_bad_block(ext2_filsys fs, blk_t *block_nr,
51 if ((*block_nr < fs->super->s_first_data_block) ||
52 (*block_nr >= ext2fs_blocks_count(fs->super)))
64 errcode_t ext2fs_read_bb_inode(ext2_filsys fs, ext2_badblocks_list *bb_list)
71 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS);
74 retval = ext2fs_read_inode(fs, EXT2_BAD_INO, &inode);
78 if (!((fs->super->s_feature_ro_compat &
81 numblocks = numblocks / (fs->blocksize / 512);
94 retval = ext2fs_block_iterate2(fs, EXT2_BAD_INO, BLOCK_FLAG_READ_ONLY,
dir_iterate.c 26 errcode_t ext2fs_get_rec_len(ext2_filsys fs,
32 if (fs->blocksize < 65536)
35 *rec_len = fs->blocksize;
41 errcode_t ext2fs_set_rec_len(ext2_filsys fs,
45 if ((len > fs->blocksize) || (fs->blocksize > (1 << 18)) || (len & 3))
51 if (len == fs->blocksize) {
52 if (fs->blocksize == 65536)
69 static int ext2fs_validate_entry(ext2_filsys fs, char *buf,
78 (offset <= fs->blocksize - DIRENT_MIN_LENGTH))
    [all...]
namei.c 24 static errcode_t open_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t base,
28 static errcode_t follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir,
43 retval = ext2fs_read_inode (fs, inode, &ei);
52 if (ext2fs_inode_data_blocks(fs,&ei)) {
53 retval = ext2fs_bmap2(fs, inode, &ei, NULL, 0, 0, NULL, &blk);
57 retval = ext2fs_get_mem(fs->blocksize, &buffer);
61 retval = io_channel_read_blk64(fs->io, blk, 1, buffer);
69 retval = open_namei(fs, root, dir, pathname, ei.i_size, 1,
82 static errcode_t dir_namei(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir,
108 retval = ext2fs_lookup (fs, dir, thisname, len, buf, &inode)
    [all...]
bmove.c 39 static int process_block(ext2_filsys fs, blk64_t *block_nr,
57 if (++block >= ext2fs_blocks_count(fs->super))
58 block = fs->super->s_first_data_block;
66 retval = io_channel_read_blk64(fs->io, orig, 1, pb->buf);
71 retval = io_channel_write_blk64(fs->io, block, 1, pb->buf);
86 retval = ext2fs_add_dir_block2(fs->dblist, pb->ino,
96 errcode_t ext2fs_move_blocks(ext2_filsys fs,
108 retval = ext2fs_open_inode_scan(fs, 0, &scan);
114 pb.alloc_map = alloc_map ? alloc_map : fs->block_map;
117 retval = ext2fs_get_array(4, fs->blocksize, &block_buf)
    [all...]
bb_inode.c 44 static int set_bad_block_proc(ext2_filsys fs, blk_t *block_nr,
48 static int clear_bad_block_proc(ext2_filsys fs, blk_t *block_nr,
57 errcode_t ext2fs_update_bb_inode(ext2_filsys fs, ext2_badblocks_list bb_list)
63 EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS);
65 if (!fs->block_map)
75 retval = ext2fs_get_mem(fs->blocksize, &rec.block_buf);
78 memset(rec.block_buf, 0, fs->blocksize);
84 retval = ext2fs_block_iterate2(fs, EXT2_BAD_INO,
106 retval = ext2fs_block_iterate2(fs, EXT2_BAD_INO,
122 retval = ext2fs_read_inode(fs, EXT2_BAD_INO, &inode)
    [all...]
  /external/valgrind/memcheck/tests/amd64-solaris/
context_sse.c 34 struct fpchip_state *fs = &uc.uc_mcontext.fpregs.fp_reg_set.fpchip_state; local
84 fs->xmm[1]._q, fs->xmm[2]._q, fs->xmm[5]._q, fs->xmm[6]._q);
85 /* Check that fs->xmm[0], fs->xmm[3], fs->xmm[4] and fs->xmm[7] contain
87 if (fs->xmm[0]._q || fs->xmm[3]._q || fs->xmm[4]._q || fs->xmm[7]._q
    [all...]
  /external/valgrind/memcheck/tests/x86-solaris/
context_sse.c 32 struct fpchip_state *fs = &uc.uc_mcontext.fpregs.fp_reg_set.fpchip_state; local
90 fs->xmm[1]._q, fs->xmm[2]._q, fs->xmm[5]._q, fs->xmm[6]._q);
91 /* Check that fs->xmm[0], fs->xmm[3], fs->xmm[4] and fs->xmm[7] contain
93 if (fs->xmm[0]._q || fs->xmm[3]._q || fs->xmm[4]._q || fs->xmm[7]._q
    [all...]
  /external/opencv/cxcore/src/
cxpersistence.cpp 107 //typedef void (*CvParse)( struct CvFileStorage* fs );
108 typedef void (*CvStartWriteStruct)( struct CvFileStorage* fs, const char* key,
110 typedef void (*CvEndWriteStruct)( struct CvFileStorage* fs );
111 typedef void (*CvWriteInt)( struct CvFileStorage* fs, const char* key, int value );
112 typedef void (*CvWriteReal)( struct CvFileStorage* fs, const char* key, double value );
113 typedef void (*CvWriteString)( struct CvFileStorage* fs, const char* key,
115 typedef void (*CvWriteComment)( struct CvFileStorage* fs, const char* comment, int eol_comment );
116 typedef void (*CvStartNextStream)( struct CvFileStorage* fs );
163 #define CV_IS_FILE_STORAGE(fs) ((fs) != 0 && (fs)->flags == CV_FILE_STORAGE
383 CvFileStorage* fs = *p_fs; local
2675 CvFileStorage* fs = 0; local
5108 CvFileStorage* fs = 0; local
5176 CvFileStorage* fs = 0; local
    [all...]
  /external/opencv3/apps/traincascade/
cascadeclassifier.cpp 25 void CvCascadeParams::write( FileStorage &fs ) const
29 fs << CC_STAGE_TYPE << stageTypeStr;
35 fs << CC_FEATURE_TYPE << featureTypeStr;
36 fs << CC_HEIGHT << winSize.height;
37 fs << CC_WIDTH << winSize.width;
242 FileStorage fs( paramsFilename, FileStorage::WRITE);
243 if ( !fs.isOpened() )
249 fs << FileStorage::getDefaultObjectName(paramsFilename) << "{";
250 writeParams( fs );
251 fs << "}";
    [all...]
  /external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
fake_filesystem_unittest_test.py 51 self.assertTrue(self.fs.Exists('/fake_file.txt'))
62 self.assertTrue(self.fs.Exists('/fake_file.txt'))
70 self.assertFalse(self.fs.Exists('/test/dir1/dir2'))
72 self.assertTrue(self.fs.Exists('/test/dir1/dir2'))
78 self.fs.CreateDirectory('/test/dir1/dir2a')
81 self.fs.CreateDirectory('/test/dir1/dir2b')
87 self.fs.CreateDirectory('/test/dir1/dir2a')
88 self.fs.CreateDirectory('/test/dir1/dir2b')
89 self.assertTrue(self.fs.Exists('/test/dir1/dir2b'))
90 self.assertTrue(self.fs.Exists('/test/dir1/dir2a')
    [all...]
  /external/opencv3/modules/features2d/test/
test_agast.cpp 97 FileStorage fs(xml, FileStorage::READ);
98 if (!fs.isOpened())
100 fs.open(xml, FileStorage::WRITE);
101 if (!fs.isOpened())
106 fs << "exp_kps1" << kps1;
107 fs << "exp_kps2" << kps2;
108 fs.release();
109 fs.open(xml, FileStorage::READ);
110 if (!fs.isOpened())
118 read( fs["exp_kps1"], exp_kps1, Mat() )
    [all...]
test_fast.cpp 97 FileStorage fs(xml, FileStorage::READ);
98 if (!fs.isOpened())
100 fs.open(xml, FileStorage::WRITE);
101 if (!fs.isOpened())
106 fs << "exp_kps1" << kps1;
107 fs << "exp_kps2" << kps2;
108 fs.release();
109 fs.open(xml, FileStorage::READ);
110 if (!fs.isOpened())
118 read( fs["exp_kps1"], exp_kps1, Mat() )
    [all...]
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-x86-64/
tlsbin.s 27 movq %fs:0, %r11
33 movq %fs:0, %rdx
39 movq %fs:0, %r12
44 /* direct %fs access IE -> LE against local var */
47 movq %fs:(%rdx), %rax
51 movq %fs:0, %rdx
56 /* direct %fs access IE -> LE against hidden but not local var */
59 movq %fs:(%rdx), %rax
63 movq %fs:0, %rax
71 movq %fs:0, %rd
    [all...]
  /frameworks/av/media/libstagefright/codecs/avc/common/src/
dpb.cpp 35 dpb->fs[num_fs] = NULL;
82 /* fs is an array pointers to AVCDecPicture */
83 dpb->fs[num_fs] = (AVCFrameStore*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCFrameStore), 101/*DEFAULT_ATTR*/);
84 if (dpb->fs[num_fs] == NULL)
90 dpb->fs[num_fs]->base_dpb = dpb->decoded_picture_buffer + dpb->used_size;
92 dpb->fs[num_fs]->IsReference = 0;
93 dpb->fs[num_fs]->IsLongTerm = 0;
94 dpb->fs[num_fs]->IsOutputted = 3;
95 dpb->fs[num_fs]->frame.RefIdx = refIdx++; /* this value will remain unchanged through out the encoding session */
96 dpb->fs[num_fs]->frame.picType = AVC_FRAME
694 AVCFrameStore *fs = dpb->fs[idx]; local
    [all...]
  /external/elfutils/libdw/
cfi.c 93 require_cfa_offset (Dwarf_Frame *fs)
95 if (unlikely (fs->cfa_rule != cfa_offset))
96 fs->cfa_rule = cfa_invalid;
119 Dwarf_Frame *fs = *state; local
122 if (unlikely (! enough_registers (regno, &fs, &result))) \
124 fs->regs[regno].rule = reg_##r_rule; \
125 fs->regs[regno].value = (r_value); \
175 fs->cfa_rule = cfa_offset;
176 fs->cfa_val_reg = operand;
177 fs->cfa_val_offset = offset
501 Dwarf_Frame *fs = duplicate_frame_state (fde->cie->initial_state, NULL); local
    [all...]
  /external/e2fsprogs/misc/
fsck.c 15 * if it should ignore the fs type. This way more fsck programs
122 static const char *fsck_prefix_path = "/sbin:/sbin/fs.d:/sbin/fs:/etc/fs:/etc";
246 struct fs_info *fs; local
248 if (!(fs = malloc(sizeof(struct fs_info))))
251 fs->device = string_copy(device);
252 fs->mountpt = string_copy(mntpnt);
253 fs->type = string_copy(type);
254 fs->opts = string_copy(opts ? opts : "")
274 struct fs_info *fs; local
339 struct fs_info *fs; local
382 struct fs_info *fs; local
959 struct fs_info *fs = NULL; local
1258 struct fs_info *fs; local
    [all...]
  /external/compiler-rt/lib/asan/tests/
asan_fake_stack_test.cc 96 FakeStack *fs = FakeStack::Create(stack_size_log); local
97 u8 *base = fs->GetFrame(stack_size_log, 0, 0);
98 EXPECT_EQ(base, reinterpret_cast<u8 *>(fs) +
99 fs->SizeRequiredForFlags(stack_size_log) + 4096);
100 EXPECT_EQ(base + 0*stack_size + 64 * 7, fs->GetFrame(stack_size_log, 0, 7U));
101 EXPECT_EQ(base + 1*stack_size + 128 * 3, fs->GetFrame(stack_size_log, 1, 3U));
102 EXPECT_EQ(base + 2*stack_size + 256 * 5, fs->GetFrame(stack_size_log, 2, 5U));
103 fs->Destroy(0);
108 FakeStack *fs = FakeStack::Create(stack_size_log); local
116 FakeFrame *ff = fs->Allocate(stack_size_log, cid, 0)
147 FakeStack *fs = FakeStack::Create(stack_size_log); local
    [all...]
  /external/e2fsprogs/lib/quota/
mkquota.c 53 int quota_file_exists(ext2_filsys fs, int qtype, int fmt)
64 ret = ext2fs_lookup(fs, EXT2_ROOT_INO, qf_name, strlen(qf_name), 0,
75 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, int qtype)
79 inump = (qtype == USRQUOTA) ? &fs->super->s_usr_quota_inum :
80 &fs->super->s_grp_quota_inum;
85 ext2fs_mark_super_dirty(fs);
88 errcode_t quota_remove_inode(ext2_filsys fs, int qtype)
92 ext2fs_read_bitmaps(fs);
93 qf_ino = (qtype == USRQUOTA) ? fs->super->s_usr_quota_inum :
94 fs->super->s_grp_quota_inum
125 ext2_filsys fs; local
366 ext2_filsys fs; local
530 ext2_filsys fs = qctx->fs; local
    [all...]
quotaio.c 100 static int compute_num_blocks_proc(ext2_filsys fs, blk64_t *blocknr,
112 errcode_t quota_inode_truncate(ext2_filsys fs, ext2_ino_t ino)
117 if ((err = ext2fs_read_inode(fs, ino, &inode)))
121 inode.i_dtime = fs->now ? fs->now : time(0);
122 if (!ext2fs_inode_has_valid_blocks2(fs, &inode))
124 err = ext2fs_punch(fs, ino, &inode, NULL, 0, ~0ULL);
127 fs->flags &= ~EXT2_FLAG_SUPER_ONLY;
132 err = ext2fs_write_inode(fs, ino, &inode);
136 static ext2_off64_t compute_inode_size(ext2_filsys fs, ext2_ino_t ino
    [all...]
  /bionic/build/
run-on-host.mk 37 ln -fs `realpath $(TARGET_OUT)/bin` /system/
38 ln -fs `realpath $(TARGET_OUT)/etc` /system/
39 ln -fs `realpath $(TARGET_OUT)/lib` /system/
41 ln -fs `realpath $(TARGET_OUT)/lib64` /system/; \

Completed in 1346 milliseconds

1 2 3 4 5 67 8 91011>>