/third_party/node/test/es-module/ |
D | test-esm-live-binding.mjs | 5 import fs, { readFile, readFileSync } from 'fs'; 9 const readFileDescriptor = Reflect.getOwnPropertyDescriptor(fs, 'readFile'); 16 Reflect.deleteProperty(fs, 'readFile'); 19 assert.deepStrictEqual([fs.readFile, readFile], [undefined, undefined]); 21 fs.readFile = fn; 24 assert.deepStrictEqual([fs.readFile(), readFile()], [s, s]); 26 Reflect.defineProperty(fs, 'readFile', { 33 assert.deepStrictEqual([fs.readFile(), readFile()], [s, s]); 35 Reflect.deleteProperty(fs, 'readFile'); 38 assert.deepStrictEqual([fs.readFile, readFile], [undefined, undefined]); [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | autolift3.types | 19 …{ var fso = 0 return { readFile: function(path: s… 20 …{ var fso = 0 return { readFile: function(path: s… 21 …{ var fso = 0 return { readFile: function(path: s… 24 >CScriptIO : { readFile: (path: string) => string; } 25 …readFile: function(path: string): string { return fso.toString(); … 26 …readFile: function(path: string): string { return fso.toString(); … 27 …readFile: function(path: string): string { return fso.toString(); … 34 … readFile: function(path: string): string { return fso.toString(); … 36 readFile: function(path: string): string { 37 >readFile : (path: string) => string
|
D | APISample_WatchWithOwnWatchHost.js | 33 readFile: ts.sys.readFile, 85 readFile: ts.sys.readFile, property
|
D | undeclaredModuleError.types | 29 fs.readFile(originalFilePath, () => { 30 >fs.readFile(originalFilePath, () => { readdir(covFileDir, () => { } , (error:… 31 >fs.readFile : any 33 >readFile : any
|
D | autolift3.symbols | 25 readFile: function(path: string): string { 26 >readFile : Symbol(readFile, Decl(autolift3.ts, 12, 24))
|
/third_party/node/test/parallel/ |
D | test-fs-whatwg-url.js | 24 fs.readFile(url, common.mustSucceed((data) => { 33 fs.readFile(httpUrl, common.mustNotCall()); 47 fs.readFile(new URL(`file:///c:/tmp/${i}`), common.mustNotCall()); 58 fs.readFile(new URL('file:///c:/tmp/%00test'), common.mustNotCall()); 72 fs.readFile(new URL(`file:///c:/tmp/${i}`), common.mustNotCall()); 82 fs.readFile(new URL('file://hostname/a/b/c'), common.mustNotCall()); 92 fs.readFile(new URL('file:///tmp/%00test'), common.mustNotCall());
|
D | test-fs-promises-readfile.js | 8 const { writeFile, readFile } = require('fs').promises; 27 const readBuffer = await readFile(fn); 42 const hostname = await readFile('/proc/sys/kernel/hostname'); 50 assert.rejects(readFile(fn, { signal }), { 59 assert.rejects(readFile(fn, { signal }), { 70 await readFile(fn, { signal: 'hello' }, callback);
|
D | test-fs-promises-file-handle-readFile.js | 12 readFile, 33 const readFileData = await fileHandle.readFile(); 51 const hostname = await fileHandle.readFile(); 65 await assert.rejects(readFile(fileHandle, { signal }), { 80 await assert.rejects(readFile(fileHandle, { signal }), { 97 await assert.rejects(fileHandle.readFile({ signal, encoding: 'utf8' }), { 115 await assert.rejects(fileHandle.readFile(), {
|
D | test-fs-append-file.js | 49 fs.readFile(filename, common.mustSucceed((buffer) => { 60 .then(common.mustCall(() => fs.promises.readFile(filename))) 73 fs.readFile(filename, common.mustSucceed((buffer) => { 86 .then(common.mustCall(() => fs.promises.readFile(filename))) 102 fs.readFile(filename, common.mustSucceed((buffer) => { 116 .then(common.mustCall(() => fs.promises.readFile(filename))) 163 fs.readFile(filename, common.mustSucceed((buffer) => { 184 .then(common.mustCall(() => fs.promises.readFile(filename)))
|
D | test-fs-readfile-flags.js | 16 fs.readFile( 23 fs.readFile( 34 fs.readFile( 45 fs.readFile(
|
D | test-worker-message-port-transfer-filehandle.js | 29 assert.deepStrictEqual(await fh2.readFile(), await fs.readFile(__filename)); 32 assert.rejects(() => fh.readFile(), { code: 'EBADF' }); 79 const readPromise = fh.readFile(); 87 assert.deepStrictEqual(await readPromise, await fs.readFile(__filename));
|
D | test-fs-promises-readfile-empty.js | 10 fs.readFile(fn) 13 fs.readFile(fn, 'utf8') 16 fs.readFile(fn, { encoding: 'utf8' })
|
D | test-fs-promises-file-handle-truncate.js | 6 const { open, readFile } = require('fs').promises; 19 assert.deepStrictEqual((await readFile(filename)).toString(), text); 22 assert.deepStrictEqual((await readFile(filename)).toString(), 'Hello');
|
D | test-fs-readfile-empty.js | 32 fs.readFile(fn, common.mustCall((err, data) => { 36 fs.readFile(fn, 'utf8', common.mustCall((err, data) => { 40 fs.readFile(fn, { encoding: 'utf8' }, common.mustCall((err, data) => {
|
D | test-fs-readfile.js | 50 fs.readFile(e.name, common.mustCall((err, buf) => { 61 fs.readFile(fileInfo[0].name, { signal }, common.mustCall((err, buf) => { 69 fs.readFile(fileInfo[0].name, { signal }, common.mustCall((err, buf) => { 79 fs.readFile(fileInfo[0].name, { signal: 'hello' }, callback);
|
D | test-fs-write-file.js | 43 fs.readFile(filename, common.mustSucceed((buffer) => { 53 fs.readFile(filename2, common.mustSucceed((buffer) => { 64 fs.readFile(filename4, common.mustSucceed((buffer) => {
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
D | vfscanf.c | 21 int readFile(FILE *stream, char *fmt, ...) in readFile() function 53 int result = readFile(fp, "%s %d", buffer, &val); in vfscanf_0100() 90 int result = readFile(fp, "%s %s", buffer, val); in vfscanf_0200() 127 int result = readFile(fp, "%d %d", val1, val2); in vfscanf_0300()
|
D | vfwprintf.c | 33 int readFile(FILE *stream, wchar_t *fmt, ...) in readFile() function 52 int resule = readFile(file, value, L"world"); in vfwprintf_0100() 69 int resule = readFile(NULL, value, L"world"); in vfwprintf_0200()
|
D | vdprintf.c | 22 int readFile(int stream, char *fmt, ...) in readFile() function 45 int result = readFile(fp, "%s", value); in vdprintf_0100() 69 int result = readFile(fp, "%s", value); in vdprintf_0200()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/wasm/ |
D | test.js | 18 const readFile = util.promisify(fs.readFile); constant 26 const buffer = await readFile(SPV_PATH);
|
/third_party/skia/third_party/externals/spirv-tools/test/wasm/ |
D | test.js | 18 const readFile = util.promisify(fs.readFile); constant 26 const buffer = await readFile(SPV_PATH);
|
/third_party/typescript/src/services/ |
D | sourcemaps.ts | 17 readFile?(path: string, encoding?: string): string | undefined; method 43 else if (host.readFile) { 49 f => !host.fileExists || host.fileExists(f) ? host.readFile!(f) : undefined 105 if (!host.readFile || host.fileExists && !host.fileExists(path)) { 111 const text = host.readFile(path);
|
/third_party/flutter/engine/flutter/testing/dart/ |
D | image_resize_test.dart | 15 final Uint8List bytes = await readFile('4x4.png'); 25 final Uint8List bytes = await readFile('4x4.png'); 35 final Uint8List bytes = await readFile('4x4.png'); 45 final Uint8List bytes = await readFile('4x4.png'); 55 final Uint8List bytes = await readFile('4x4.png'); 124 Future<Uint8List> readFile(String fileName) async {
|
/third_party/typescript/src/testRunner/ |
D | rwcRunner.ts | 54 …yback.IoLog = Playback.newStyleLogIntoOldStyleLog(JSON.parse(Harness.IO.readFile(`internal/cases/r… 58 … opts = ts.parseCommandLine(ioLog.arguments, fileName => Harness.IO.readFile(fileName)); 77 readFile: Harness.IO.readFile 138 content = Harness.IO.readFile(unitName)!; 141 content = Harness.IO.readFile(fileName)!;
|
/third_party/typescript/scripts/ |
D | errorCheck.ts | 5 fs.readFile("src/compiler/diagnosticMessages.json", "utf-8", (err, data) => { 25 fs.readFile(baseDir + f, "utf-8", (err, baseline) => { 53 fs.readFile("src/compiler/diagnosticInformationMap.generated.ts", "utf-8", (err, data) => {
|