Home
last modified time | relevance | path

Searched refs:filehandle (Results 1 – 25 of 36) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-fs-read-offset-null.js38 let filehandle = null; variable
42 filehandle = await fsPromises.open(filepath, 'r');
43 const readObject = await filehandle.read(buf, { offset: null });
46 .finally(() => filehandle?.close())
51 filehandle = await fsPromises.open(filepath, 'r');
52 const readObject = await filehandle.read(buf, null, buf.length);
55 .finally(() => filehandle?.close())
59 filehandle = await fsPromises.open(filepath, 'r');
60 const readObject = await filehandle.read(buf, null, buf.length, 0);
63 .finally(() => filehandle?.close())
Dtest-fs-filehandle-use-after-close.js7 const filehandle = await fs.open(__filename); constant
9 assert.notStrictEqual(filehandle.fd, -1);
10 await filehandle.close();
11 assert.strictEqual(filehandle.fd, -1);
19 assert.rejects(() => filehandle.stat(), {
Dtest-fs-read-empty-buffer.js32 const filehandle = await fsPromises.open(filepath, 'r'); constant
34 () => filehandle.read(buffer, 0, 1, 0),
/third_party/skia/third_party/externals/opengl-registry/xml/
Dreg.py808 def dumpReg(self, maxlen = 40, filehandle = sys.stdout): argument
810 write('***************************************', file=filehandle)
811 write(' ** Dumping Registry contents **', file=filehandle)
812 write('***************************************', file=filehandle)
813 write('// Types', file=filehandle)
816 write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle)
817 write('// Groups', file=filehandle)
820 write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle)
821 write('// Enums', file=filehandle)
824 write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle)
[all …]
Dgenheaders.py104 reg.dumpReg(filehandle = open('regdump.txt','w'))
Dgenglvnd.py104 reg.dumpReg(filehandle = open('regdump.txt','w'))
/third_party/EGL/api/
Dreg.py806 def dumpReg(self, maxlen = 40, filehandle = sys.stdout): argument
808 write('***************************************', file=filehandle)
809 write(' ** Dumping Registry contents **', file=filehandle)
810 write('***************************************', file=filehandle)
811 write('// Types', file=filehandle)
814 write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle)
815 write('// Groups', file=filehandle)
818 write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle)
819 write('// Enums', file=filehandle)
822 write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle)
[all …]
Dgenheaders.py602 reg.dumpReg(filehandle = open('regdump.txt','w'))
/third_party/openGLES/xml/
Dreg.py797 def dumpReg(self, maxlen = 40, filehandle = sys.stdout): argument
799 write('***************************************', file=filehandle)
800 write(' ** Dumping Registry contents **', file=filehandle)
801 write('***************************************', file=filehandle)
802 write('// Types', file=filehandle)
805 write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle)
806 write('// Groups', file=filehandle)
809 write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle)
810 write('// Enums', file=filehandle)
813 write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle)
[all …]
Dgenheaders.py560 reg.dumpReg(filehandle = open('regdump.txt','w'))
Dgenglvnd.py93 reg.dumpReg(filehandle = open('regdump.txt','w'))
/third_party/skia/third_party/externals/egl-registry/api/
Dreg.py817 def dumpReg(self, maxlen = 40, filehandle = sys.stdout): argument
819 write('***************************************', file=filehandle)
820 write(' ** Dumping Registry contents **', file=filehandle)
821 write('***************************************', file=filehandle)
822 write('// Types', file=filehandle)
825 write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle)
826 write('// Groups', file=filehandle)
829 write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle)
830 write('// Enums', file=filehandle)
833 write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle)
[all …]
Dgenheaders.py104 reg.dumpReg(filehandle = open('regdump.txt','w'))
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dreg.py672 def dumpReg(self, maxlen=120, filehandle=sys.stdout): argument
677 write('***************************************', file=filehandle)
678 write(' ** Dumping Registry contents **', file=filehandle)
679 write('***************************************', file=filehandle)
680 write('// Types', file=filehandle)
683 write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle)
684 write('// Groups', file=filehandle)
687 write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle)
688 write('// Enums', file=filehandle)
691 write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle)
[all …]
Dgenvk.py734 reg.dumpReg(filehandle=open('regdump.txt', 'w', encoding='utf-8'))
/third_party/vulkan-headers/registry/
Dreg.py759 def dumpReg(self, maxlen=120, filehandle=sys.stdout): argument
764 write('***************************************', file=filehandle)
765 write(' ** Dumping Registry contents **', file=filehandle)
766 write('***************************************', file=filehandle)
767 write('// Types', file=filehandle)
770 write(' Type', name, '->', etree.tostring(tobj.elem)[0:maxlen], file=filehandle)
771 write('// Groups', file=filehandle)
774 write(' Group', name, '->', etree.tostring(gobj.elem)[0:maxlen], file=filehandle)
775 write('// Enums', file=filehandle)
778 write(' Enum', name, '->', etree.tostring(eobj.elem)[0:maxlen], file=filehandle)
[all …]
Dgenvk.py841 reg.dumpReg(filehandle=open('regdump.txt', 'w', encoding='utf-8'))
/third_party/node/lib/internal/fs/
Dpromises.js132 constructor(filehandle) { argument
134 this[kHandle] = filehandle;
135 this[kFd] = filehandle ? filehandle.fd : -1;
440 async function writeFileHandle(filehandle, data, signal, encoding) { argument
451 filehandle, toWrite, toWrite.byteLength - remaining, writeSize);
464 await write(filehandle, data, 0,
475 async function readFileHandle(filehandle, options) { argument
482 const statFields = await binding.fstat(filehandle.fd, false, kUsePromises);
513 const bytesRead = (await binding.read(filehandle.fd, buffer, offset,
/third_party/openssl/external/perl/Text-Template-1.56/
DChanges146 though it has come from a file or filehandle.
151 - You may now use a glob ref when passing a filehandle to the ->new
168 even if it has come from a file or filehandle, disabling taint checking
174 - You may now use a glob ref when passing a filehandle to the new function.
237 - New OUTPUT option delivers template results directly to a filehandle
/third_party/node/deps/openssl/openssl/external/perl/Text-Template-1.56/
DChanges146 though it has come from a file or filehandle.
151 - You may now use a glob ref when passing a filehandle to the ->new
168 even if it has come from a file or filehandle, disabling taint checking
174 - You may now use a glob ref when passing a filehandle to the new function.
237 - New OUTPUT option delivers template results directly to a filehandle
/third_party/node/doc/api/
Dfs.md163 If a {FileHandle} is not closed using the `filehandle.close()` method, it will
178 #### `filehandle.appendFile(data[, options])`
199 Alias of [`filehandle.writeFile()`][].
203 [`filehandle.writeFile()`][].
205 #### `filehandle.chmod(mode)`
216 #### `filehandle.chown(uid, gid)`
228 #### `filehandle.close()`
242 let filehandle;
244 filehandle = await open('thefile.txt', 'r');
246 await filehandle?.close();
[all …]
/third_party/vulkan-loader/scripts/
Dloader_genvk.py427 reg.dumpReg(filehandle = open('regdump.txt', 'w', encoding='utf-8'))
/third_party/toybox/www/doc/
Dmount.txt75 process through a pipe filehandle), behind a network socket (CIFS and v9fs),
90 freeze the system solid. So while you _can_ pass some of them a filehandle,
/third_party/node/tools/doc/
Dtype-parser.mjs124 'FileHandle': 'fs.html#class-filehandle',
/third_party/libsnd/
DNEWS.OLD66 * Fix bug when sf_open_fd() function sometimes leaves filehandle open, even

12