Searched refs:fs (Results 101 - 125 of 710) sorted by relevance

1234567891011>>

/external/e2fsprogs/misc/
H A Dmke2fs.c87 int discard = 1; /* attempt to discard device before fs creation */
119 "[-r fs-revision] [-E extended-option[,...]]\n"
120 "\t[-T fs-type] [-U UUID] [-jnqvFKSV] device [blocks-count]\n"),
171 static void invalid_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk_t blk)
180 static void read_bb_file(ext2_filsys fs, badblocks_list *bb_list, argument
192 retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block);
204 static void test_disk(ext2_filsys fs, badblocks_list *bb_list) argument
210 sprintf(buf, "badblocks -b %d -X %s%s%s %u", fs->blocksize,
212 fs->device_name, fs
230 handle_bad_blocks(ext2_filsys fs, badblocks_list bb_list) argument
357 write_inode_tables(ext2_filsys fs, int lazy_flag, int itable_zeroed) argument
408 create_root_dir(ext2_filsys fs) argument
443 create_lost_and_found(ext2_filsys fs) argument
481 create_bad_block_inode(ext2_filsys fs, badblocks_list bb_list) argument
496 reserve_inodes(ext2_filsys fs) argument
509 zap_sector(ext2_filsys fs, int sect, int nsect) argument
547 create_journal_dev(ext2_filsys fs) argument
600 show_stats(ext2_filsys fs) argument
2022 mke2fs_discard_blocks(ext2_filsys fs) argument
2056 mke2fs_discard_zeroes_data(ext2_filsys fs) argument
2081 ext2_filsys fs; local
[all...]
/external/clang/lib/Basic/
H A DFileSystemStatCache.cpp33 static void copyStatusToFileData(const llvm::sys::fs::file_status &Status,
39 Data.IsNamedPipe = Status.type() == llvm::sys::fs::file_type::fifo_file;
63 llvm::sys::fs::file_status Status;
64 if (llvm::sys::fs::status(Path, Status)) {
78 llvm::error_code EC = llvm::sys::fs::openFileForRead(Path, *FileDescriptor);
87 llvm::sys::fs::file_status Status;
88 if (!llvm::sys::fs::status(*FileDescriptor, Status)) {
/external/e2fsprogs/e2fsck/
H A Dpass2.c63 static int check_dir_block(ext2_filsys fs,
83 struct ext2_super_block *sb = ctx->fs->super;
85 ext2_filsys fs = ctx->fs; local
98 init_resource_track(&rtrack, ctx->fs->io);
113 cd.pctx.errcode = ext2fs_create_icount2(fs,
122 buf = (char *) e2fsck_allocate_memory(ctx, 2*fs->blocksize,
135 cd.max = ext2fs_dblist_count(fs->dblist);
140 if (fs->super->s_feature_compat & EXT2_FEATURE_COMPAT_DIR_INDEX)
141 ext2fs_dblist_sort(fs
519 parse_int_node(ext2_filsys fs, struct ext2_db_entry *db, struct check_dir_struct *cd, struct dx_dir_info *dx_dir, char *block_buf) argument
635 salvage_directory(ext2_filsys fs, struct ext2_dir_entry *dirent, struct ext2_dir_entry *prev, unsigned int *offset) argument
702 check_dir_block(ext2_filsys fs, struct ext2_db_entry *db, void *priv_data) argument
1155 deallocate_inode_block(ext2_filsys fs, blk_t *block_nr, e2_blkcnt_t blockcnt EXT2FS_ATTR((unused)), blk_t ref_block EXT2FS_ATTR((unused)), int ref_offset EXT2FS_ATTR((unused)), void *priv_data) argument
1179 ext2_filsys fs = ctx->fs; local
1251 ext2_filsys fs = ctx->fs; local
1402 ext2_filsys fs = ctx->fs; local
[all...]
H A Djournal.c7 * Parts of the code are based on fs/jfs/journal.c by Stephen C. Tweedie
61 retval= ext2fs_bmap(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;
190 ctx->fs->super->s_feature_incompat &= ~EXT3_FEATURE_INCOMPAT_RECOVER;
194 ctx->fs->super->s_state &= ~EXT2_VALID_FS;
195 ext2fs_mark_super_dirty(ctx->fs);
205 static int process_journal_block(ext2_filsys fs, argument
217 if (!blk || blk < fs
925 ext2_filsys fs = ctx->fs; local
[all...]
H A Demptydir.c52 retval = ext2fs_init_dblist(ctx->fs, &edi->empty_dblist);
56 retval = ext2fs_allocate_block_bitmap(ctx->fs, _("empty dirblocks"),
61 retval = ext2fs_allocate_inode_bitmap(ctx->fs, _("empty dir map"),
119 int empty_pass1(ext2_filsys fs, blk_t *block_nr, e2_blkcnt_t blockcnt, argument
130 retval = ext2fs_bmap(fs, edi->ino, &edi->inode,
148 static int fix_directory(ext2_filsys fs, argument
160 retval = ext2fs_read_inode(fs, db->ino, &edi->inode);
164 retval = ext2fs_block_iterate2(fs, db->ino, 0, edi->block_buf,
170 edi->inode.i_size -= edi->freed_blocks * fs->blocksize;
171 ext2fs_iblk_add_blocks(fs,
[all...]
H A Drehash.c80 static int fill_dir_block(ext2_filsys fs, argument
97 offset = blockcnt * fs->blocksize;
98 if (offset + fs->blocksize > fd->inode->i_size) {
104 memset(dir, 0, fs->blocksize);
106 (void) ext2fs_set_rec_len(fs, fs->blocksize, dirent);
108 fd->err = ext2fs_read_dir_block(fs, *block_nr, dir);
112 hash_alg = fs->super->s_def_hash_version;
114 (fs->super->s_flags & EXT2_FLAGS_UNSIGNED_HASH))
118 while (dir_offset < fs
223 alloc_size_dir(ext2_filsys fs, struct out_dir *outdir, int blocks) argument
255 get_next_block(ext2_filsys fs, struct out_dir *outdir, char ** ret) argument
330 duplicate_search_and_fix(e2fsck_t ctx, ext2_filsys fs, ext2_ino_t ino, struct fill_dir_struct *fd) argument
401 ext2_filsys fs = ctx->fs; local
489 set_root_node(ext2_filsys fs, char *buf, ext2_ino_t ino, ext2_ino_t parent) argument
528 set_int_node(ext2_filsys fs, char *buf) argument
549 calculate_tree(ext2_filsys fs, struct out_dir *outdir, ext2_ino_t ino, ext2_ino_t parent) argument
634 write_dir_block(ext2_filsys fs, blk_t *block_nr, e2_blkcnt_t blockcnt, blk_t ref_block EXT2FS_ATTR((unused)), int ref_offset EXT2FS_ATTR((unused)), void *priv_data) argument
666 write_directory(e2fsck_t ctx, ext2_filsys fs, struct out_dir *outdir, ext2_ino_t ino, int compress) argument
704 ext2_filsys fs = ctx->fs; local
[all...]
H A Dunix.c106 ext2_filsys fs = ctx->fs; local
117 inodes = fs->super->s_inodes_count;
118 inodes_used = (fs->super->s_inodes_count -
119 fs->super->s_free_inodes_count);
120 blocks = fs->super->s_blocks_count;
121 blocks_used = (fs->super->s_blocks_count -
122 fs->super->s_free_blocks_count);
292 ext2_filsys fs = ctx->fs; local
974 ext2_filsys fs = 0; local
[all...]
/external/skia/gm/
H A Dfontmgr.cpp60 SkFontStyle fs; variable
61 set->getStyle(j, &fs, &sname);
62 sname.appendf(" [%d %d %d]", fs.weight(), fs.width(), fs.isItalic());
109 SkFontStyle fs; local
110 fset->getStyle(j, &fs, &sname);
112 sname.appendf(" [%d %d]", fs.weight(), fs.width());
127 SkFontStyle fs(weigh
[all...]
/external/chromium_org/content/test/data/fileapi/
H A Dquota_test.js5 function truncateFailByQuota(fs) {
6 fs.root.getFile('fd', {create: false, exclusive: false}, function(fileEntry) {
24 function requestFileSystemSuccess(fs) {
25 fs.root.getFile('fd', {create: true, exclusive: false}, function(fileEntry) {
34 truncateFailByQuota(fs);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
H A Dpatchreader.py55 def check(self, patch_string, fs=None):
57 fs = fs or FileSystem()
69 if match and fs.exists(path):
73 detection = SCMDetector(fs, Executive()).detect_scm_system(cwd)
/external/opencv/cxcore/src/
H A Dcximage.cpp147 bool CvImage::read( CvFileStorage* fs, const char* mapname, const char* imgname ) argument
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 ) argument
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 ) argument
208 cvWrite( fs, imgnam
300 read( CvFileStorage* fs, const char* mapname, const char* matname ) argument
320 read( CvFileStorage* fs, const char* seqname, int idx ) argument
358 write( CvFileStorage* fs, const char* matname ) argument
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dblock.c22 ext2_filsys fs; member in struct:block_context
23 int (*func)(ext2_filsys fs,
66 limit = ctx->fs->blocksize >> 2;
69 ret = (*ctx->func)(ctx->fs, ind_block,
77 if (*ind_block >= ctx->fs->super->s_blocks_count ||
78 *ind_block < ctx->fs->super->s_first_data_block) {
83 ctx->errcode = ext2fs_read_ind_block(ctx->fs, *ind_block,
94 flags = (*ctx->func)(ctx->fs, block_nr, ctx->bcount,
108 flags = (*ctx->func)(ctx->fs, block_nr, ctx->bcount,
122 ctx->errcode = ext2fs_write_ind_block(ctx->fs, *ind_bloc
295 ext2fs_block_iterate2(ext2_filsys fs, ext2_ino_t ino, int flags, char *block_buf, int (*func)(ext2_filsys fs, blk_t *blocknr, e2_blkcnt_t blockcnt, blk_t ref_blk, int ref_offset, void *priv_data), void *priv_data) argument
521 xlate_func(ext2_filsys fs, blk_t *blocknr, e2_blkcnt_t blockcnt, blk_t ref_block EXT2FS_ATTR((unused)), int ref_offset EXT2FS_ATTR((unused)), void *priv_data) argument
531 ext2fs_block_iterate(ext2_filsys fs, ext2_ino_t ino, int flags, char *block_buf, int (*func)(ext2_filsys fs, blk_t *blocknr, int blockcnt, void *priv_data), void *priv_data) argument
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
H A Dwebkit_finder.py90 fs = self._filesystem
92 current_dir = fs.dirname(self._webkit_base())
94 if fs.exists(fs.join(current_dir, 'depot_tools', 'pylint.py')):
95 return fs.join(current_dir, 'depot_tools')
97 current_dir = fs.dirname(current_dir)
/external/valgrind/main/none/tests/mips32/
H A DMoveIns.stdout.exp2 mfc1 $t1, $f0 :: fs 4.676074, rt 0x4095a266
3 mfc1 $t2, $f1 :: fs 272008302207532160516096.000000, rt 0x66666666
4 mfc1 $t3, $f2 :: fs -1.875000, rt 0xbff00000
5 mfc1 $t4, $f3 :: fs 0.000000, rt 0x0
6 mfc1 $t5, $f4 :: fs 1.875000, rt 0x3ff00000
7 mfc1 $t6, $f5 :: fs 0.000000, rt 0x0
8 mfc1 $t7, $f6 :: fs 0.000000, rt 0x252a2e2b
9 mfc1 $v0, $f7 :: fs 0.000000, rt 0x262d2d2a
10 mfc1 $v1, $f8 :: fs nan, rt 0xffffffff
11 mfc1 $s0, $f9 :: fs na
[all...]
/external/llvm/include/llvm/Support/
H A DToolOutputFile.h50 sys::fs::OpenFlags Flags = sys::fs::F_None);
/external/llvm/lib/Support/
H A DToolOutputFile.cpp30 sys::fs::remove(Filename, Existed);
40 sys::fs::OpenFlags Flags)
H A DLockFileManager.cpp35 if (sys::fs::exists(LockFileName, Exists) || !Exists)
53 sys::fs::remove(LockFileName);
87 = sys::fs::createUniqueFile(UniqueLockFileName.str(),
115 sys::fs::remove(UniqueLockFileName.c_str(), Existed);
122 = sys::fs::create_hard_link(UniqueLockFileName.str(),
141 sys::fs::remove(UniqueLockFileName.str(), Existed);
147 sys::fs::remove(LockFileName.str(), Existed);
167 sys::fs::remove(LockFileName.str(), Existed);
168 sys::fs::remove(UniqueLockFileName.str(), Existed);
201 if (!sys::fs
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
H A Di915_fpc_translate.c129 i915_use_passthrough_shader(struct i915_fragment_shader *fs) argument
131 fs->program = (uint *) MALLOC(sizeof(passthrough_program));
132 fs->decl = (uint *) MALLOC(sizeof(passthrough_decl));
133 if (fs->program) {
134 memcpy(fs->program, passthrough_program, sizeof(passthrough_program));
135 memcpy(fs->decl, passthrough_decl, sizeof(passthrough_decl));
136 fs->program_len = Elements(passthrough_program);
137 fs->decl_len = Elements(passthrough_decl);
139 fs->num_constants = 0;
159 static uint get_mapping(struct i915_fragment_shader* fs, in argument
180 src_vector(struct i915_fp_compile *p, const struct i915_full_src_register *source, struct i915_fragment_shader* fs) argument
413 emit_tex(struct i915_fp_compile *p, const struct i915_full_instruction *inst, uint opcode, struct i915_fragment_shader* fs) argument
440 emit_simple_arith(struct i915_fp_compile *p, const struct i915_full_instruction *inst, uint opcode, uint numArgs, struct i915_fragment_shader* fs) argument
465 emit_simple_arith_swap2(struct i915_fp_compile *p, const struct i915_full_instruction *inst, uint opcode, uint numArgs, struct i915_fragment_shader* fs) argument
493 i915_translate_instruction(struct i915_fp_compile *p, const struct i915_full_instruction *inst, struct i915_fragment_shader *fs) argument
1112 i915_translate_token(struct i915_fp_compile *p, const union i915_full_token* token, struct i915_fragment_shader *fs) argument
1205 i915_translate_instructions(struct i915_fp_compile *p, const struct i915_token_list *tokens, struct i915_fragment_shader *fs) argument
1360 i915_translate_fragment_program( struct i915_context *i915, struct i915_fragment_shader *fs) argument
[all...]
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_fpc_translate.c129 i915_use_passthrough_shader(struct i915_fragment_shader *fs) argument
131 fs->program = (uint *) MALLOC(sizeof(passthrough_program));
132 fs->decl = (uint *) MALLOC(sizeof(passthrough_decl));
133 if (fs->program) {
134 memcpy(fs->program, passthrough_program, sizeof(passthrough_program));
135 memcpy(fs->decl, passthrough_decl, sizeof(passthrough_decl));
136 fs->program_len = Elements(passthrough_program);
137 fs->decl_len = Elements(passthrough_decl);
139 fs->num_constants = 0;
159 static uint get_mapping(struct i915_fragment_shader* fs, in argument
180 src_vector(struct i915_fp_compile *p, const struct i915_full_src_register *source, struct i915_fragment_shader* fs) argument
413 emit_tex(struct i915_fp_compile *p, const struct i915_full_instruction *inst, uint opcode, struct i915_fragment_shader* fs) argument
440 emit_simple_arith(struct i915_fp_compile *p, const struct i915_full_instruction *inst, uint opcode, uint numArgs, struct i915_fragment_shader* fs) argument
465 emit_simple_arith_swap2(struct i915_fp_compile *p, const struct i915_full_instruction *inst, uint opcode, uint numArgs, struct i915_fragment_shader* fs) argument
493 i915_translate_instruction(struct i915_fp_compile *p, const struct i915_full_instruction *inst, struct i915_fragment_shader *fs) argument
1112 i915_translate_token(struct i915_fp_compile *p, const union i915_full_token* token, struct i915_fragment_shader *fs) argument
1205 i915_translate_instructions(struct i915_fp_compile *p, const struct i915_token_list *tokens, struct i915_fragment_shader *fs) argument
1360 i915_translate_fragment_program( struct i915_context *i915, struct i915_fragment_shader *fs) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/tools/
H A Dgenerate_builtins.py26 def read_ir_files(fs):
30 fs[function_name] = f.read()
32 def read_glsl_files(fs):
41 fs[function_name] = output;
45 fs = {}
46 generate_texture_functions(fs)
47 read_ir_files(fs)
48 read_glsl_files(fs)
49 return fs
68 fs
[all...]
/external/mesa3d/src/glsl/builtins/tools/
H A Dgenerate_builtins.py26 def read_ir_files(fs):
30 fs[function_name] = f.read()
32 def read_glsl_files(fs):
41 fs[function_name] = output;
45 fs = {}
46 generate_texture_functions(fs)
47 read_ir_files(fs)
48 read_glsl_files(fs)
49 return fs
68 fs
[all...]
/external/opencv/ml/src/
H A Dmlnbayes.cpp397 void CvNormalBayesClassifier::write( CvFileStorage* fs, const char* name ) argument
407 cvStartWriteStruct( fs, name, CV_NODE_MAP, CV_TYPE_NAME_ML_NBAYES );
409 CV_CALL( cvWriteInt( fs, "var_count", var_count ));
410 CV_CALL( cvWriteInt( fs, "var_all", var_all ));
413 CV_CALL( cvWrite( fs, "var_idx", var_idx ));
414 CV_CALL( cvWrite( fs, "cls_labels", cls_labels ));
416 CV_CALL( cvStartWriteStruct( fs, "count", CV_NODE_SEQ ));
418 CV_CALL( cvWrite( fs, NULL, count[i] ));
419 CV_CALL( cvEndWriteStruct( fs ));
421 CV_CALL( cvStartWriteStruct( fs, "su
454 read( CvFileStorage* fs, CvFileNode* root_node ) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_state_fs.c55 static struct svga_shader_result *search_fs_key( struct svga_fragment_shader *fs, argument
58 struct svga_shader_result *result = fs->base.results;
104 struct svga_fragment_shader *fs,
111 result = svga_translate_fragment_program( fs, key );
120 FREE((void *) fs->base.tokens);
121 fs->base.tokens = dummy;
122 result = svga_translate_fragment_program(fs, key);
144 result->next = fs->base.results;
145 fs->base.results = result;
165 struct svga_fragment_shader *fs,
103 compile_fs( struct svga_context *svga, struct svga_fragment_shader *fs, const struct svga_fs_compile_key *key, struct svga_shader_result **out_result ) argument
164 make_fs_key(const struct svga_context *svga, struct svga_fragment_shader *fs, struct svga_fs_compile_key *key) argument
256 struct svga_fragment_shader *fs = svga->curr.fs; local
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_fs.c55 static struct svga_shader_result *search_fs_key( struct svga_fragment_shader *fs, argument
58 struct svga_shader_result *result = fs->base.results;
104 struct svga_fragment_shader *fs,
111 result = svga_translate_fragment_program( fs, key );
120 FREE((void *) fs->base.tokens);
121 fs->base.tokens = dummy;
122 result = svga_translate_fragment_program(fs, key);
144 result->next = fs->base.results;
145 fs->base.results = result;
165 struct svga_fragment_shader *fs,
103 compile_fs( struct svga_context *svga, struct svga_fragment_shader *fs, const struct svga_fs_compile_key *key, struct svga_shader_result **out_result ) argument
164 make_fs_key(const struct svga_context *svga, struct svga_fragment_shader *fs, struct svga_fs_compile_key *key) argument
256 struct svga_fragment_shader *fs = svga->curr.fs; local
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
H A Dtest_result_writer.py108 fs = self._filesystem
109 output_filename = fs.join(self._root_output_dir, self._test_name)
110 fs.maybe_make_directory(fs.dirname(output_filename))
124 fs = self._filesystem
125 output_filename = fs.join(self._root_output_dir, self._test_name)
126 return fs.splitext(output_filename)[0] + modifier
139 fs = self._filesystem
140 return fs.splitext(fs
[all...]

Completed in 851 milliseconds

1234567891011>>