Home
last modified time | relevance | path

Searched refs:readFile (Results 1 - 25 of 108) sorted by relevance

12345

/third_party/node/test/parallel/
H A Dtest-fs-promises-readfile.js8 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 Dtest-fs-readfile-fd.js4 // 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 Dtest-fs-readv-promises.js43 assert(Buffer.concat(bufferArr).equals(await fs.readFile(filename)));
61 assert(Buffer.concat(bufferArr).equals(await fs.readFile(filename)));
H A Dtest-fs-writev-promises.js30 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 Dvfwprintf.c33 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 Dvdprintf.c22 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 Dvfscanf.c21 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 Dvwprintf.c25 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 DAPISample_WatchWithOwnWatchHost.js34 readFile: ts.sys.readFile,
86 readFile: ts.sys.readFile,
H A Dautolift3.js15 readFile: function(path: string): string {
43 readFile: function (path) {
H A DundeclaredModuleError.js8 fs.readFile(originalFilePath, () => {
30 fs.readFile(originalFilePath, function () {
/third_party/node/benchmark/async_hooks/
H A Dasync-resource-vs-destroy.js4 const { readFile } = require('fs');
6 const read = promisify(readFile);
151 readFile(__filename, () => {
/third_party/vk-gl-cts/scripts/verify/
H A Dverify.py29 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 Dcli.js18 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 Dcheck_license.py40 def readFile (file): function
47 contents = readFile(file)
/third_party/node/deps/npm/node_modules/read-package-json/lib/
H A Dread-json.js49 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 Dugrep.cpp81 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 Dindex.js24 const readFile = promisify(fs.readFile)
33 : readFile(path).then(json => {
/third_party/icu/icu4c/source/tools/gencfu/
H A Dgencfu.cpp129 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 Dugrep.cpp81 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 Dgencfu.cpp129 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 Dindex.js1 const { readFile, lstat, readdir } = require('fs/promises')
6 const rpj = path => readFile(path, 'utf8')
/third_party/vk-gl-cts/scripts/khr_util/
H A Dformat.py75 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 Dgen_framework_c.py67 def readFile (filename): function
135 src += readFile(file)
H A Dohos_gen_framework_c.py67 def readFile (filename): function
135 src += readFile(file)

Completed in 13 milliseconds

12345