Home
last modified time | relevance | path

Searched +full:- +full:fs (Results 1 – 25 of 1163) sorted by relevance

12345678910>>...47

/third_party/ffmpeg/libavfilter/
Dframesync.c18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
69 static int consume_from_fifos(FFFrameSync *fs);
76 void ff_framesync_preinit(FFFrameSync *fs) in ff_framesync_preinit() argument
78 if (fs->class) in ff_framesync_preinit()
80 fs->class = &framesync_class; in ff_framesync_preinit()
81 av_opt_set_defaults(fs); in ff_framesync_preinit()
84 int ff_framesync_init(FFFrameSync *fs, AVFilterContext *parent, unsigned nb_in) in ff_framesync_init() argument
89 av_assert0(parent->nb_outputs == 1); in ff_framesync_init()
91 ff_framesync_preinit(fs); in ff_framesync_init()
92 fs->parent = parent; in ff_framesync_init()
[all …]
/third_party/node/test/parallel/
Dtest-trace-events-fs-sync.js5 const fs = require('fs'); constant
19 tests['fs.sync.access'] = 'fs.writeFileSync("fs.txt", "123", "utf8");' +
20 'fs.accessSync("fs.txt");' +
21 'fs.unlinkSync("fs.txt")';
22 tests['fs.sync.chmod'] = 'fs.writeFileSync("fs.txt", "123", "utf8");' +
23 'fs.chmodSync("fs.txt",100);' +
24 'fs.unlinkSync("fs.txt")';
25 tests['fs.sync.chown'] = 'fs.writeFileSync("fs.txt", "123", "utf8");' +
26 `fs.chownSync("fs.txt", ${uid}, ${gid});` +
27 'fs.unlinkSync("fs.txt")';
[all …]
Dtest-fs-truncate.js26 const fs = require('fs'); constant
29 const filename = path.resolve(tmp, 'truncate-file.txt');
36 const msg = 'Using fs.truncate with a file descriptor is deprecated.' +
37 ' Please use fs.ftruncate with a file descriptor instead.';
40 fs.writeFileSync(filename, data);
41 stat = fs.statSync(filename);
44 fs.truncateSync(filename, 1024);
45 stat = fs.statSync(filename);
48 fs.truncateSync(filename);
49 stat = fs.statSync(filename);
[all …]
Dtest-fs-chmod-mask.js3 // This tests that the lower bits of mode > 0o777 still works in fs APIs.
8 const fs = require('fs'); constant
13 mode = 0o444; // read-only
29 const file = path.join(tmpdir.path, `chmod-async-${suffix}.txt`);
30 fs.writeFileSync(file, 'test', 'utf-8');
32 fs.chmod(file, input, common.mustSucceed(() => {
33 assert.strictEqual(fs.statSync(file).mode & 0o777, mode);
38 const file = path.join(tmpdir.path, `chmodSync-${suffix}.txt`);
39 fs.writeFileSync(file, 'test', 'utf-8');
41 fs.chmodSync(file, input);
[all …]
Dtest-fs-chmod.js26 const fs = require('fs'); constant
31 // Need to hijack fs.open/close to make sure that things
33 fs._open = fs.open;
34 fs._openSync = fs.openSync;
35 fs.open = open;
36 fs.openSync = openSync;
37 fs._close = fs.close;
38 fs._closeSync = fs.closeSync;
39 fs.close = close;
40 fs.closeSync = closeSync;
[all …]
/third_party/typescript/tests/baselines/reference/user/
Dgraceful-fs.log3 node_modules/graceful-fs/clone.js(12,9): error TS2403: Subsequent variable declarations must have t…
4 node_modules/graceful-fs/clone.js(15,38): error TS2345: Argument of type 'PropertyDescriptor | unde…
7 node_modules/graceful-fs/graceful-fs.js(34,3): error TS2322: Type '(msg: string, ...param: any[]) =…
8 node_modules/graceful-fs/graceful-fs.js(37,37): error TS2345: Argument of type 'IArguments' is not …
9 node_modules/graceful-fs/graceful-fs.js(52,3): error TS2741: Property '__promisify__' is missing in…
10 node_modules/graceful-fs/graceful-fs.js(74,30): error TS2345: Argument of type 'IArguments' is not …
11 node_modules/graceful-fs/graceful-fs.js(86,13): error TS2554: Expected 0 arguments, but got 1.
12 node_modules/graceful-fs/graceful-fs.js(97,54): error TS2339: Property '__patched' does not exist o…
13 node_modules/graceful-fs/graceful-fs.js(99,8): error TS2339: Property '__patched' does not exist on…
14 node_modules/graceful-fs/graceful-fs.js(207,5): error TS2539: Cannot assign to 'ReadStream' because…
[all …]
/third_party/mesa3d/src/gallium/drivers/i915/ci/
Di915-g33-fails.txt2 dEQP-GLES2.functional.clipping.line.wide_line_clip_viewport_center,Fail
3 dEQP-GLES2.functional.clipping.line.wide_line_clip_viewport_corner,Fail
6 dEQP-GLES2.functional.clipping.point.wide_point_clip,Fail
7 dEQP-GLES2.functional.clipping.point.wide_point_clip_viewport_center,Fail
8 dEQP-GLES2.functional.clipping.point.wide_point_clip_viewport_corner,Fail
11 dEQP-GLES2.functional.rasterization.interpolation.basic.line_loop_wide,Fail
12 dEQP-GLES2.functional.rasterization.interpolation.basic.line_strip_wide,Fail
13 dEQP-GLES2.functional.rasterization.interpolation.basic.lines_wide,Fail
14 dEQP-GLES2.functional.rasterization.interpolation.projected.line_loop_wide,Fail
15 dEQP-GLES2.functional.rasterization.interpolation.projected.line_strip_wide,Fail
[all …]
/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgstdisparity.cpp3 * Copyright (C) 2013 Miguel Casas-Sanchez <miguelecasassanchez@gmail.com>
41 * Boston, MA 02110-1301, USA.
44 * SECTION:element-disparity
47 * different camera, both looking at the same scene and relatively close to each other - more on
63 * [A] and that works by using small Sum-of-absolute-differenc (SAD) windows to find matching
69 * with a point-wise matching cost and an associated smoothness term. The energy minimization
81 * combingin a point-wise matching cost and a smoothness term. The energy function is passed
82 * to graph and Graph Cut is used to find a lowest-energy cut. GC is computationally intensive due
90 * Symposium on Robotics Research, pages 111--116, Hayama, Japan, 1997.
91 * [B] H. Hirschmüller, “Accurate and efficient stereo processing by semi-global matching and
[all …]
/third_party/typescript/src/testRunner/unittests/tsbuild/
Dsample.ts18 const fs = projFs.shadow(); constant
19 const host = fakes.SolutionBuilderHost.create(fs);
22 fs.makeReadonly();
23 return fs;
30 fs: () => projFs,
31 commandLineArgs: ["--b", "/src/tests"],
32 modifyFs: fs => fs.writeFileSync("/src/logic/tsconfig.json", JSON.stringify({
41 fs: () => projFs,
42 commandLineArgs: ["--b", "/src/tests"],
43 modifyFs: fs => fs.writeFileSync("/src/logic/tsconfig.json", JSON.stringify({
[all …]
DoutFile.ts10 "/src/first/bin/first-output.js",
11 "/src/first/bin/first-output.js.map",
12 "/src/first/bin/first-output.d.ts",
13 "/src/first/bin/first-output.d.ts.map",
14 "/src/first/bin/first-output.tsbuildinfo"
17 "/src/2/second-output.js",
18 "/src/2/second-output.js.map",
19 "/src/2/second-output.d.ts",
20 "/src/2/second-output.d.ts.map",
21 "/src/2/second-output.tsbuildinfo"
[all …]
Dhelpers.ts21 … export function replaceText(fs: vfs.FileSystem, path: string, oldText: string, newText: string) {
22 if (!fs.statSync(path).isFile()) {
25 const old = fs.readFileSync(path, "utf-8");
30 fs.writeFileSync(path, newContent, "utf-8");
33 export function prependText(fs: vfs.FileSystem, path: string, additionalContent: string) {
34 if (!fs.statSync(path).isFile()) {
37 const old = fs.readFileSync(path, "utf-8");
38 fs.writeFileSync(path, `${additionalContent}${old}`, "utf-8");
41 export function appendText(fs: vfs.FileSystem, path: string, additionalContent: string) {
42 if (!fs.statSync(path).isFile()) {
[all …]
/third_party/node/deps/npm/node_modules/graceful-fs/
Dpolyfills.js25 function patch (fs) { argument
26 // (re-)implement some things that are known busted or missing.
29 // back-port the fix here.
31 process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
32 patchLchmod(fs)
35 // lutimes implementation, or no-op
36 if (!fs.lutimes) {
37 patchLutimes(fs)
40 // https://github.com/isaacs/node-graceful-fs/issues/4
41 // Chown should not fail on einval or eperm if non-root.
[all …]
DREADME.md1 # graceful-fs
3 graceful-fs functions as a drop-in replacement for the fs module,
10 ## Improvements over [fs module](https://nodejs.org/api/fs.html)
16 * implements `fs.lutimes` if possible. Otherwise it becomes a noop.
29 // use just like fs
30 var fs = require('graceful-fs')
33 fs.readFileSync('some-file-or-whatever')
38 If you want to patch the global fs module (or any other fs-like
43 var realFs = require('fs')
44 var gracefulFs = require('graceful-fs')
[all …]
Dgraceful-fs.js1 var fs = require('fs') variable
3 var legacy = require('./legacy-streams.js')
8 /* istanbul ignore next - node 0.x polyfill */
12 /* istanbul ignore else - node 0.x polyfill */
14 gracefulQueue = Symbol.for('graceful-fs.queue')
16 previousSymbol = Symbol.for('graceful-fs.previous')
18 gracefulQueue = '___graceful-fs.queue'
19 previousSymbol = '___graceful-fs.previous'
43 if (!fs[gracefulQueue]) {
46 publishQueue(fs, queue)
[all …]
Dpackage.json2 "_from": "graceful-fs@4.2.4",
3 "_id": "graceful-fs@4.2.4",
5 …"_integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctx…
6 "_location": "/graceful-fs",
11 "raw": "graceful-fs@4.2.4",
12 "name": "graceful-fs",
13 "escapedName": "graceful-fs",
21 "/bin-links",
23 "/cmd-shim",
25 "/cp-file",
[all …]
/third_party/mesa3d/src/gallium/drivers/d3d12/ci/
Dd3d12-quick_gl.txt1 fast_color_clear/fcc-clear-tex: skip
2 fast_color_clear/fcc-write-after-clear: skip
3 hiz/hiz-depth-read-fbo-d24-s8: skip
4 hiz/hiz-depth-stencil-test-fbo-d24-s8: skip
5 hiz/hiz-depth-test-fbo-d24-s8: skip
6 hiz/hiz-stencil-read-fbo-d24-s8: skip
7 hiz/hiz-stencil-test-fbo-d24-s8: skip
18 object namespace pollution/vertex-array with glbitmap: skip
19 object namespace pollution/vertex-array with glblitframebuffer: skip
20 object namespace pollution/vertex-array with glclear: skip
[all …]
/third_party/FatFs/source/
Dff.c1 /*----------------------------------------------------------------------------/
2 / FatFs - Generic FAT Filesystem Module R0.15 w/patch2 /
3 /-----------------------------------------------------------------------------/
19 /----------------------------------------------------------------------------*/
36 /*--------------------------------------------------------------------------
40 ---------------------------------------------------------------------------*/
61 #define FA_DIRTY 0x80 /* FIL.buf[] needs to be written-back */
84 #define BS_JmpBoot 0 /* x86 jump instruction (3-byte) */
85 #define BS_OEMName 3 /* OEM name (8-byte) */
91 #define BPB_TotSec16 19 /* Volume size (16-bit) [sector] (WORD) */
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_feedback.c20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
32 * hardware feature, but it's defined as happening pre-clip and we want
33 * post-clipped primitives. Also, there's concerns about the efficiency
90 struct gl_vertex_program *stvp = (struct gl_vertex_program *)st->vp; in feedback_vertex()
95 win[0] = v->data[0][0]; in feedback_vertex()
96 if (_mesa_fb_orientation(ctx->DrawBuffer) == Y_0_TOP) in feedback_vertex()
97 win[1] = ctx->DrawBuffer->Height - v->data[0][1]; in feedback_vertex()
99 win[1] = v->data[0][1]; in feedback_vertex()
100 win[2] = v->data[0][2]; in feedback_vertex()
101 win[3] = 1.0F / v->data[0][3]; in feedback_vertex()
[all …]
/third_party/ffmpeg/libavcodec/
Dffv1.c4 * Copyright (c) 2003-2013 Michael Niedermayer <michaelni@gmx.at>
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
43 FFV1Context *s = avctx->priv_data; in ff_ffv1_common_init()
45 if (!avctx->width || !avctx->height) in ff_ffv1_common_init()
48 s->avctx = avctx; in ff_ffv1_common_init()
49 s->flags = avctx->flags; in ff_ffv1_common_init()
51 s->picture.f = av_frame_alloc(); in ff_ffv1_common_init()
52 s->last_picture.f = av_frame_alloc(); in ff_ffv1_common_init()
53 if (!s->picture.f || !s->last_picture.f) in ff_ffv1_common_init()
56 s->width = avctx->width; in ff_ffv1_common_init()
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_fs.c2 * Copyright 2008-2022 VMware, Inc. All rights reserved.
84 * Replace the given shader's instruction with a simple constant-color
92 struct svga_fragment_shader *fs = (struct svga_fragment_shader *)shader; in svga_get_compiled_dummy_fragment_shader() local
100 FREE((void *) fs->base.tokens); in svga_get_compiled_dummy_fragment_shader()
101 fs->base.tokens = dummy; in svga_get_compiled_dummy_fragment_shader()
103 svga_tgsi_scan_shader(&fs->base); in svga_get_compiled_dummy_fragment_shader()
104 svga_remap_generics(fs->base.info.generic_inputs_mask, in svga_get_compiled_dummy_fragment_shader()
105 fs->generic_remap_table); in svga_get_compiled_dummy_fragment_shader()
119 struct svga_fragment_shader *fs, in make_fs_key() argument
127 memcpy(key->generic_remap_table, fs->generic_remap_table, in make_fs_key()
[all …]
Dsvga_pipe_fs.c2 * Copyright 2008-2022 VMware, Inc. All rights reserved.
46 struct svga_fragment_shader *fs; in svga_create_fs_state() local
50 fs = (struct svga_fragment_shader *) in svga_create_fs_state()
53 if (!fs) in svga_create_fs_state()
62 tmp.tokens = fs->base.tokens; in svga_create_fs_state()
64 fs->generic_inputs = svga_get_generic_inputs_mask(&fs->base.tgsi_info); in svga_create_fs_state()
66 fs->base.get_dummy_shader = svga_get_compiled_dummy_fragment_shader; in svga_create_fs_state()
68 svga_remap_generics(fs->base.info.generic_inputs_mask, in svga_create_fs_state()
69 fs->generic_remap_table); in svga_create_fs_state()
71 fs->draw_shader = draw_create_fragment_shader(svga->swtnl.draw, &tmp); in svga_create_fs_state()
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/build_system/targets/
Dwindows_test.dart2 // Use of this source code is governed by a BSD-style license that can be
35 projectDir: fs.currentDirectory,
37fs.file(r'C:\bin\cache\artifacts\engine\windows-x64\flutter_export.h').createSync(recursive: true);
38 fs.file(r'C:\bin\cache\artifacts\engine\windows-x64\flutter_messenger.h').createSync();
39 fs.file(r'C:\bin\cache\artifacts\engine\windows-x64\flutter_windows.dll').createSync();
40 fs.file(r'C:\bin\cache\artifacts\engine\windows-x64\flutter_windows.dll.exp').createSync();
41 fs.file(r'C:\bin\cache\artifacts\engine\windows-x64\flutter_windows.dll.lib').createSync();
42 fs.file(r'C:\bin\cache\artifacts\engine\windows-x64\flutter_windows.dll.pdb').createSync();
43 fs.file(r'C:\bin\cache\artifacts\engine\windows-x64\lutter_export.h').createSync();
44 fs.file(r'C:\bin\cache\artifacts\engine\windows-x64\flutter_messenger.h').createSync();
[all …]
/third_party/node/deps/npm/test/tap/
Dlifecycle-order.js1 var fs = require('graceful-fs') variable
4 var common = require('../common-tap.js')
8 name: 'lifecycle-order',
11 …preinstall: 'node -e "var fs = require(\'fs\'); fs.openSync(\'preinstall-step\', \'w+\'); if (fs.e…
12 …install: 'node -e "var fs = require(\'fs\'); if (fs.existsSync(\'preinstall-step\')) { fs.openSync…
13 …postinstall: 'node -e "var fs = require(\'fs\'); if (fs.existsSync(\'install-step\')) { fs.openSyn…
18 fs.writeFileSync(
30 t.ok(fs.existsSync(path.join(pkg, 'preinstall-step')), 'preinstall ok')
31 t.ok(fs.existsSync(path.join(pkg, 'install-step')), 'install ok')
32 t.ok(fs.existsSync(path.join(pkg, 'postinstall-step')), 'postinstall ok')
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/runner/
Dflutter_command_runner_test.dart2 // Use of this source code is governed by a BSD-style license that can be
31 MemoryFileSystem fs;
41 fs = MemoryFileSystem();
42 fs.directory(_kFlutterRoot).createSync(recursive: true);
43 fs.directory(_kProjectRoot).createSync(recursive: true);
44 fs.currentDirectory = _kProjectRoot;
58 testUsingContext('checks that Flutter installation is up-to-date', () async {
69 FileSystem: () => fs,
80 FileSystem: () => fs,
84 …testUsingContext('works if --local-engine is specified and --local-engine-src-path is determined b…
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_program.c43 const struct ir3_info *si = &so->info; in fd4_emit_shader()
44 enum a4xx_state_block sb = fd4_stage2shadersb(so->type); in fd4_emit_shader()
49 sz = si->sizedwords; in fd4_emit_shader()
51 bin = fd_bo_map(so->bo); in fd4_emit_shader()
62 CP_LOAD_STATE4_0_NUM_UNIT(so->instrlen)); in fd4_emit_shader()
67 OUT_RELOC(ring, so->bo, 0, CP_LOAD_STATE4_1_STATE_TYPE(ST4_SHADER), 0); in fd4_emit_shader()
91 enum { VS = 0, FS = 1, HS = 2, DS = 3, GS = 4, MAX_STAGES }; enumerator
99 s[FS].v = fd4_emit_get_fp(emit); in setup_stages()
105 s[i].i = &s[i].v->info; in setup_stages()
107 assert(s[i].v->constlen % 4 == 0); in setup_stages()
[all …]

12345678910>>...47