HomeSort by relevance Sort by last modified time
    Searched refs:fs (Results 201 - 225 of 1798) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
kernel_object_test.cc 26 explicit NodeForTesting(Filesystem* fs) : Node(fs) {}
48 KernelHandleForTesting(const ScopedFilesystem& fs, const ScopedNode& node)
49 : KernelHandle(fs, node) {}
55 fs.reset(new FilesystemForTesting());
56 node.reset(new NodeForTesting(fs.get()));
60 // fs is ref-counted, it doesn't need to be explicitly deleted.
62 fs.reset(NULL);
66 ScopedFilesystem fs; member in class:__anon12994::KernelObjectTest
74 EXPECT_EQ(1, fs->RefCount())
    [all...]
html5_fs_test.cc 115 ScopedRef<Html5FsForTesting> fs(new Html5FsForTesting(map, &ppapi_));
127 ScopedRef<Html5FsForTesting> fs(
143 ScopedRef<Html5FsForTesting> fs(
146 ASSERT_EQ(0, fs->Access(Path("/foo"), R_OK | W_OK | X_OK));
157 ScopedRef<Html5FsForTesting> fs(new Html5FsForTesting(map, &ppapi_));
159 ASSERT_EQ(0, fs->Access(Path("/bar"), R_OK | W_OK | X_OK));
160 ASSERT_EQ(ENOENT, fs->Access(Path("/foo/bar"), F_OK));
167 ScopedRef<Html5FsForTesting> fs(new Html5FsForTesting(map, &ppapi_));
169 ASSERT_EQ(0, fs->Access(Path("/foo"), R_OK | W_OK | X_OK));
170 ASSERT_EQ(ENOENT, fs->Access(Path("/bar"), F_OK))
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
filesystem_mock_unittest.py 40 self.fs = filesystem_mock.MockFileSystem()
45 self.fs = None
58 self.quick_check(self.fs.join,
59 self.fs._slow_but_correct_join,
71 self.quick_check(self.fs.normpath,
72 self.fs._slow_but_correct_normpath,
  /external/e2fsprogs/lib/ext2fs/
progress.c 30 void ext2fs_numeric_progress_init(ext2_filsys fs,
40 if (!(fs->flags & EXT2_FLAG_PRINT_PROGRESS))
66 void ext2fs_numeric_progress_update(ext2_filsys fs,
72 if (!(fs->flags & EXT2_FLAG_PRINT_PROGRESS))
86 void ext2fs_numeric_progress_close(ext2_filsys fs,
90 if (!(fs->flags & EXT2_FLAG_PRINT_PROGRESS))
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...]
  /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);"
221 String8 fs = generateFragmentShader(needs); local
    [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)
1184 ext2_filsys fs = ctx->fs; local
1265 ext2_filsys fs = ctx->fs; local
1416 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/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
dtmf_tone_generator_unittest.cc 36 const int fs = 16000; // Valid sample rate. local
41 tone_gen.Init(fs, -1, attenuation));
44 tone_gen.Init(fs, 16, attenuation));
46 EXPECT_EQ(DtmfToneGenerator::kParameterError, tone_gen.Init(fs, event, -1));
48 EXPECT_EQ(DtmfToneGenerator::kParameterError, tone_gen.Init(fs, event, 37));
52 ASSERT_EQ(0, tone_gen.Init(fs, event, attenuation));
78 int fs = fs_vec[f]; local
81 ss << "Checking event " << event << " at sample rate " << fs; local
83 ASSERT_EQ(0, tone_gen.Init(fs, event, kAttenuation));
92 double x = attenuate_3dB * sin(2.0 * pi * f1 / fs * (-n - 1)
115 int fs = fs_vec[f]; local
123 ss << "Checking event " << event << " at sample rate " << fs; local
    [all...]
expand.h 37 int fs,
42 fs_hz_(fs),
46 overlap_length_(5 * fs / 8000),
51 assert(fs == 8000 || fs == 16000 || fs == 32000 || fs == 48000);
52 assert(fs <= kMaxSampleRate); // Should not be possible.
182 int fs,
dtmf_tone_generator.cc 14 // a = 2*cos(2*pi*f/fs). The recursion is started with x[-1] = 0 and
15 // x[-2] = sin(2*pi*f/fs). (Note that with this initialization, the resulting
16 // sinusoid gets a "negative" rotation; x[n] = sin(-2*pi*f/fs * n + phi), but
37 // The filter coefficient a = 2*cos(2*pi*f/fs) for the low frequency tone, for
38 // sample rates fs = {8000, 16000, 32000, 48000} Hz, and events 0 through 15.
50 // The filter coefficient a = 2*cos(2*pi*f/fs) for the high frequency tone, for
51 // sample rates fs = {8000, 16000, 32000, 48000} Hz, and events 0 through 15.
63 // The initialization value x[-2] = sin(2*pi*f/fs) for the low frequency tone,
64 // for sample rates fs = {8000, 16000, 32000, 48000} Hz, and events 0-15.
76 // The initialization value x[-2] = sin(2*pi*f/fs) for the high frequency tone
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/
riprel2.asm 35 mov rax,[fs:foo]
36 mov rax,[qword fs:123456789abcdef0h]
37 mov rbx,[fs:foo]
38 mov rax,[dword fs:foo]
39 mov rbx,[dword fs:foo]
40 mov rax,[qword fs:foo]
41 mov rax,[rel fs:foo] ; rel
42 mov rbx,[rel fs:foo] ; rel
43 mov rax,[rel dword fs:foo] ; rel
44 ;mov rax,[rel qword fs:foo] ; illega
    [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/chromium_org/third_party/mesa/src/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/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 135 ASSERT_NO_ERROR(fs::make_absolute(temp_store));
269 fs::createUniqueDirectory("file-system-test", TestDirectory));
276 ASSERT_NO_ERROR(fs::remove(TestDirectory.str()));
285 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath));
288 fs::UniqueID F1, F2;
289 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1));
290 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2));
297 fs::createTemporaryFile("prefix", "temp", FileDescriptor2, TempPath2));
299 fs::UniqueID D;
300 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D))
    [all...]
  /external/llvm/lib/Support/
LockFileManager.cpp 39 sys::fs::remove(LockFileName);
56 sys::fs::remove(LockFileName);
77 if (std::error_code EC = sys::fs::make_absolute(this->FileName)) {
93 if (std::error_code EC = sys::fs::createUniqueFile(
119 sys::fs::remove(UniqueLockFileName.c_str());
127 sys::fs::create_link(UniqueLockFileName.str(), LockFileName.str());
140 sys::fs::remove(UniqueLockFileName.str());
144 if (!sys::fs::exists(LockFileName.str())) {
152 if ((EC = sys::fs::remove(LockFileName.str()))) {
174 sys::fs::remove(LockFileName.str())
    [all...]
  /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/chromium_org/chrome/common/extensions/docs/server2/
host_file_system_provider_test.py 29 fs = creator.GetBranch('1500')
30 first_read = fs.ReadSingle(self._idle_path).Get()
33 second_read = fs.ReadSingle(self._idle_path).Get()
43 fs = creator.GetBranch('1500')
45 self.assertRaises(FileNotFoundError, fs.ReadSingle(self._idle_path).Get)
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
patchreader.py 55 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/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);

Completed in 1129 milliseconds

1 2 3 4 5 6 7 891011>>