/third_party/node/test/parallel/ |
H A 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'); 48 assert.rejects(readFile(fn, { signal }), { 57 assert.rejects(readFile(fn, { signal }), { 68 await readFile(fn, { signal: 'hello' }, callback); 78 const readBuffer = await readFile(fn);
|
H A D | test-fs-readfile-fd.js | 4 // Test fs.readFile using a file descriptor. 15 fs.readFile(fd, function(err, data) { 22 fs.readFile(fd, 'utf8', function(err, data) { 54 // This test makes sure that `readFile()` always reads from the current 77 // Tests the fs.readFile(). 86 fs.readFile(fd, common.mustSucceed((data) => { 87 // readFile() should read from position five, instead of zero.
|
H A D | test-fs-readv-promises.js | 43 assert(Buffer.concat(bufferArr).equals(await fs.readFile(filename))); 61 assert(Buffer.concat(bufferArr).equals(await fs.readFile(filename)));
|
H A D | test-fs-writev-promises.js | 30 assert(Buffer.concat(bufferArr).equals(await fs.readFile(filename))); 47 assert(Buffer.concat(bufferArr).equals(await fs.readFile(filename)));
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | vwprintf.c | 25 int readFile(wchar_t *fmt, ...) in readFile() function 42 int resule = readFile(value, L"world"); in vwprintf_0100()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | APISample_WatchWithOwnWatchHost.js | 34 readFile: ts.sys.readFile, 86 readFile: ts.sys.readFile,
|
H A D | autolift3.js | 15 readFile: function(path: string): string { 43 readFile: function (path) {
|
H A D | undeclaredModuleError.js | 8 fs.readFile(originalFilePath, () => { 30 fs.readFile(originalFilePath, function () {
|
/third_party/node/benchmark/async_hooks/ |
H A D | async-resource-vs-destroy.js | 4 const { readFile } = require('fs'); 6 const read = promisify(readFile); 151 readFile(__filename, () => {
|
/third_party/vk-gl-cts/scripts/verify/ |
H A D | verify.py | 29 from common import readFile namespace 102 statement = readFile(statementPath) 150 status = readFile(statusPath) 161 log = readFile(logPath)
|
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/ |
H A D | cli.js | 18 await fs.readFile(path.join(__dirname, "postject-api.h"), "utf-8") 27 resourceData = await fs.readFile(resource);
|
/third_party/vk-gl-cts/scripts/src_util/ |
H A D | check_license.py | 40 def readFile (file): function 47 contents = readFile(file)
|
/third_party/node/deps/npm/node_modules/read-package-json/lib/ |
H A D | read-json.js | 49 fs.readFile(file, 'utf8', function (er, d) { 138 fs.readFile(index, 'utf8', function (er2, d) { 261 fs.readFile(af, 'utf8', function (er, ad) { 319 fs.readFile(rm, 'utf8', function (er, rmData) { 399 fs.readFile(head, 'utf8', function (er, headData) { 418 fs.readFile(headFile, 'utf8', function (er, headData) { 421 return fs.readFile(packFile, 'utf8', function (readFileErr, refs) {
|
/third_party/icu/icu4c/source/samples/ugrep/ |
H A D | ugrep.cpp | 81 void readFile(const char *name); 138 readFile(argv[fileNum]); in main() 261 // readFile Read a file into memory, and convert it to Unicode. 268 void readFile(const char *name) { in readFile() function
|
/third_party/node/deps/npm/node_modules/@npmcli/installed-package-contents/lib/ |
H A D | index.js | 24 const readFile = promisify(fs.readFile) 33 : readFile(path).then(json => {
|
/third_party/icu/icu4c/source/tools/gencfu/ |
H A D | gencfu.cpp | 129 static const char *readFile(const char *fileName, int32_t *len); 218 const char *confusables = readFile(confFileName, &confusablesLen); in main() 304 static const char *readFile(const char *fileName, int32_t *len) { in readFile() function
|
/third_party/skia/third_party/externals/icu/source/samples/ugrep/ |
H A D | ugrep.cpp | 81 void readFile(const char *name); 138 readFile(argv[fileNum]); in main() 261 // readFile Read a file into memory, and convert it to Unicode. 268 void readFile(const char *name) { in readFile() function
|
/third_party/skia/third_party/externals/icu/source/tools/gencfu/ |
H A D | gencfu.cpp | 129 static const char *readFile(const char *fileName, int32_t *len); 218 const char *confusables = readFile(confFileName, &confusablesLen); in main() 304 static const char *readFile(const char *fileName, int32_t *len) { in readFile() function
|
/third_party/node/deps/npm/node_modules/read-package-json-fast/lib/ |
H A D | index.js | 1 const { readFile, lstat, readdir } = require('fs/promises') 6 const rpj = path => readFile(path, 'utf8')
|
/third_party/vk-gl-cts/scripts/khr_util/ |
H A D | format.py | 75 def readFile (filename): function 82 if not os.path.exists(filename) or readFile(filename) != data:
|
/third_party/vk-gl-cts/external/vulkancts/scripts/ |
H A D | gen_framework_c.py | 67 def readFile (filename): function 135 src += readFile(file)
|
H A D | ohos_gen_framework_c.py | 67 def readFile (filename): function 135 src += readFile(file)
|