/third_party/typescript/tests/baselines/reference/ |
D | ambientRequireFunction.symbols | 9 const text = fs.readFileSync("/a/b/c"); 11 >fs.readFileSync : Symbol(fs.readFileSync, Decl(node.d.ts, 2, 21)) 13 >readFileSync : Symbol(fs.readFileSync, Decl(node.d.ts, 2, 21)) 23 export function readFileSync(s: string): string; 24 >readFileSync : Symbol(readFileSync, Decl(node.d.ts, 2, 21))
|
D | ambientRequireFunction.types | 10 const text = fs.readFileSync("/a/b/c"); 12 >fs.readFileSync("/a/b/c") : string 13 >fs.readFileSync : (s: string) => string 15 >readFileSync : (s: string) => string 26 export function readFileSync(s: string): string; 27 >readFileSync : (s: string) => string
|
D | localRequireFunction.types | 16 const text = fs.readFileSync("/a/b/c"); 18 >fs.readFileSync("/a/b/c") : error 19 >fs.readFileSync : error 21 >readFileSync : any
|
D | ambientRequireFunction.js | 7 export function readFileSync(s: string): string; 14 const text = fs.readFileSync("/a/b/c"); 19 var text = fs.readFileSync("/a/b/c");
|
/third_party/typescript_eslint/packages/typescript-estree/tests/lib/ |
D | semanticInfo.test.ts | 1 import { readFileSync } from 'fs'; 45 const code = readFileSync(join(FIXTURES_DIR, filename), 'utf8'); 58 const code = readFileSync(join(FIXTURES_DIR, filename), 'utf8'); 73 const code = readFileSync(join(FIXTURES_DIR, filename), 'utf8'); 90 const code = readFileSync(join(FIXTURES_DIR, filename), 'utf8'); 124 readFileSync(fileName, 'utf8'), 134 readFileSync(fileName, 'utf8'), 147 readFileSync(fileName, 'utf8'), 171 readFileSync(fileName, 'utf8'), 249 parseCodeAndGenerateServices(readFileSync(fileName, 'utf8'), badConfig), [all …]
|
/third_party/node/test/parallel/ |
D | test-fs-promises-writefile.js | 55 const data = fs.readFileSync(dest); 62 const data = fs.readFileSync(dest, 'utf-8'); 78 const data = fs.readFileSync(dest, 'utf-8'); 95 const data = fs.readFileSync(dest, 'latin1'); 101 const data = fs.readFileSync(dest, 'utf-8'); 107 const data = fs.readFileSync(dest, 'utf-8'); 133 const data = fs.readFileSync(dest); 140 const buf = fs.readFileSync(dest); 146 const syncData = fs.readFileSync(dest, 'utf-8');
|
D | test-fs-truncate-clear-file-zero.js | 40 assert.strictEqual(fs.readFileSync(filename).toString(), '0123456789'); 42 assert.strictEqual(fs.readFileSync(filename).toString(), '01234'); 48 assert.strictEqual(fs.readFileSync(filename).toString(), '0123456789'); 53 assert.strictEqual(fs.readFileSync(filename).toString(), '01234');
|
D | test-fs-write-buffer.js | 40 const found = fs.readFileSync(filename, 'utf8'); 56 const found = fs.readFileSync(filename, 'utf8'); 72 const found = fs.readFileSync(filename, 'utf8'); 88 const found = fs.readFileSync(filename, 'utf8'); 104 const found = fs.readFileSync(filename, 'utf8'); 120 const found = fs.readFileSync(filename, 'utf8'); 158 const found = fs.readFileSync(filename, 'utf8');
|
D | test-fs-append-file-sync.js | 47 const fileData = fs.readFileSync(filename); 57 const fileData2 = fs.readFileSync(filename2); 69 const fileData3 = fs.readFileSync(filename3); 92 const fileData4 = fs.readFileSync(filename4); 105 const fileData5 = fs.readFileSync(filename5);
|
D | test-fs-write-file-sync.js | 47 const content = fs.readFileSync(file, { encoding: 'utf8' }); 57 const content = fs.readFileSync(file, { encoding: 'utf8' }); 85 const content = fs.readFileSync(file, { encoding: 'utf8' }); 101 const content = fs.readFileSync(file, { encoding: 'utf8' }); 115 const content = fs.readFileSync(file, { encoding: 'utf8' });
|
D | test-fs-writefile-with-fd.js | 24 assert.deepStrictEqual(fs.readFileSync(filename).toString(), 'Hello'); 30 assert.deepStrictEqual(fs.readFileSync(filename).toString(), 'HelloWorld'); 57 assert.deepStrictEqual(fs.readFileSync(file).toString(), 'Hello'); 62 assert.deepStrictEqual(fs.readFileSync(file).toString(), 'HelloWorld');
|
D | test-fs-truncate.js | 142 assert(fs.readFileSync(file1).equals(Buffer.from('Hi\u0000\u0000'))); 151 assert(fs.readFileSync(file2).equals(Buffer.from('Hi\u0000\u0000'))); 158 assert(fs.readFileSync(file3).equals(Buffer.from('Hi\u0000\u0000'))); 168 assert(fs.readFileSync(file4).equals(Buffer.from('Hi\u0000\u0000'))); 222 assert(fs.readFileSync(file5).equals(Buffer.from(''))); 232 assert(fs.readFileSync(file6).equals(Buffer.from(''))); 240 assert(fs.readFileSync(file7).equals(Buffer.from(''))); 288 assert(fs.readFileSync(file1).equals(Buffer.alloc(0))); 296 assert(fs.readFileSync(file1).equals(Buffer.alloc(0)));
|
D | test-fs-promises-file-handle-writeFile.js | 26 const readFileData = fs.readFileSync(filePathForHandle); 91 const data = fs.readFileSync(dest, 'utf-8'); 117 const data = fs.readFileSync(dest, 'utf-8'); 145 const data = fs.readFileSync(dest, 'latin1'); 156 const data = fs.readFileSync(dest, 'utf-8'); 167 const data = fs.readFileSync(dest, 'utf-8');
|
D | test-fs-write.js | 51 assert.strictEqual(fs.readFileSync(fn, 'latin1'), expected); 61 assert.strictEqual(fs.readFileSync(fn, 'utf8'), expected); 71 assert.strictEqual(fs.readFileSync(fn, 'ucs2'), expected); 81 assert.strictEqual(fs.readFileSync(fn, 'utf8'), expected); 88 const found = fs.readFileSync(fn, 'utf8'); 106 const found = fs.readFileSync(fn2, 'utf8');
|
/third_party/node/deps/npm/test/tap/ |
D | install-save-prefix.js | 44 t.ok(JSON.parse(fs.readFileSync(p))) 46 var pkgJson = JSON.parse(fs.readFileSync( 74 t.ok(JSON.parse(fs.readFileSync(p))) 76 var pkgJson = JSON.parse(fs.readFileSync( 105 t.ok(JSON.parse(fs.readFileSync(p))) 107 var pkgJson = JSON.parse(fs.readFileSync( 135 t.ok(JSON.parse(fs.readFileSync(p))) 137 var pkgJson = JSON.parse(fs.readFileSync(
|
D | install-save-local.js | 62 t.ok(JSON.parse(fs.readFileSync(dependencyPackageJson, 'utf8'))) 64 var pkgJson = JSON.parse(fs.readFileSync(pkg + '/package.json', 'utf8')) 89 t.ok(JSON.parse(fs.readFileSync(dependencyPackageJson, 'utf8'))) 91 var pkgJson = JSON.parse(fs.readFileSync(pkg + '/package.json', 'utf8')) 116 t.ok(JSON.parse(fs.readFileSync(dependencyPackageJson, 'utf8'))) 118 var pkgJson = JSON.parse(fs.readFileSync(pkg + '/package.json', 'utf8')) 145 t.ok(JSON.parse(fs.readFileSync(dependencyPackageJson, 'utf8'))) 147 var pkgJson = JSON.parse(fs.readFileSync(pkg + '/package.json', 'utf8'))
|
D | format-package-lock.js | 69 const pkgLockUtf8 = fs.readFileSync(pkgLockPath, 'utf-8') 71 const pkgUtf8 = fs.readFileSync(pkgPath, 'utf-8') 82 const shrinkwrapUtf8 = fs.readFileSync(shrinkwrapPath, 'utf-8') 93 const pkgLockUtf8 = fs.readFileSync(pkgLockPath, 'utf-8') 95 const pkgUtf8 = fs.readFileSync(pkgPath, 'utf-8') 106 const shrinkwrapUtf8 = fs.readFileSync(shrinkwrapPath, 'utf-8')
|
D | bugs.js | 38 var res = fs.readFileSync(outFile, 'ascii') 62 var res = fs.readFileSync(outFile, 'ascii') 86 var res = fs.readFileSync(outFile, 'ascii') 110 var res = fs.readFileSync(outFile, 'ascii') 134 var res = fs.readFileSync(outFile, 'ascii') 158 var res = fs.readFileSync(outFile, 'ascii')
|
/third_party/skia/tools/perf-canvaskit-puppeteer/ |
D | perf-canvaskit-with-puppeteer.js | 135 const driverHTML = fs.readFileSync(options.bench_html, 'utf8'); 154 const benchmarkJS = fs.readFileSync('benchmark.js', 'utf8'); 155 const canvasPerfJS = fs.readFileSync('canvas_perf.js', 'utf8'); 156 const canvasKitJS = fs.readFileSync(options.canvaskit_js, 'utf8'); 157 const canvasKitWASM = fs.readFileSync(options.canvaskit_wasm, 'binary'); 170 const lottieJSON = fs.readFileSync(options.input_lottie, 'utf8'); 174 const skpBytes = fs.readFileSync(options.input_skp, 'binary'); 289 const existing_output_file_contents = fs.readFileSync(options.output, 'utf8');
|
/third_party/node/test/wasi/ |
D | test-wasi-stdio.js | 6 const { closeSync, openSync, readFileSync, writeFileSync } = require('fs'); 10 const buffer = readFileSync(modulePath); 32 strictEqual(readFileSync(stdoutFile, 'utf8').trim(), 'x'.repeat(31)); 33 strictEqual(readFileSync(stderrFile, 'utf8').trim(), '');
|
/third_party/node/deps/npm/node_modules/node-gyp/test/ |
D | test-find-visualstudio.js | 94 const data = fs.readFileSync(file) 233 const data = fs.readFileSync(file) 264 const data = fs.readFileSync(file) 293 const data = fs.readFileSync(file) 321 const data = fs.readFileSync(file) 350 const data = fs.readFileSync(file) 379 const data = fs.readFileSync(file) 408 const data = fs.readFileSync(file) 416 const data0 = JSON.parse(fs.readFileSync(path.join(__dirname, 'fixtures', 418 const data1 = JSON.parse(fs.readFileSync(path.join(__dirname, 'fixtures', [all …]
|
/third_party/node/test/common/ |
D | fixtures.js | 14 return fs.readFileSync(fixturesPath(...args), enc); 15 return fs.readFileSync(fixturesPath(args), enc); 19 return fs.readFileSync(fixturesPath('keys', name), enc);
|
/third_party/node/test/sequential/ |
D | test-debugger-heap-profiler.js | 13 const { readFileSync } = require('fs'); 31 .then(() => JSON.parse(readFileSync(filename, 'utf8'))) 35 .then(() => JSON.parse(readFileSync(filename, 'utf8')))
|
/third_party/node/deps/npm/node_modules/normalize-package-data/node_modules/resolve/lib/ |
D | sync.js | 25 var readFileSync = opts.readFileSync || fs.readFileSync; 98 var body = readFileSync(pkgfile); 115 var body = readFileSync(pkgfile, 'UTF8');
|
/third_party/node/deps/npm/test/need-npm5-update/need-only-update-save-optional/ |
D | update-save.js | 63 var pkgdata = JSON.parse(fs.readFileSync(path.join(pkg, 'package.json'), 'utf8')) 91 var pkgdata = JSON.parse(fs.readFileSync(path.join(pkg, 'package.json'), 'utf8')) 119 var pkgdata = JSON.parse(fs.readFileSync(path.join(pkg, 'package.json'), 'utf8')) 147 var pkgdata = JSON.parse(fs.readFileSync(path.join(pkg, 'package.json'), 'utf8')) 175 var pkgdata = JSON.parse(fs.readFileSync(path.join(pkg, 'package.json'), 'utf8'))
|