/third_party/node/test/parallel/ |
H A D | test-cli-eval.js | 43 child.exec(`${nodejs} --eval 42`, common.mustSucceed((stdout, stderr) => { 50 common.mustSucceed((stdout, stderr) => { 59 child.exec(`${cmd}42`, common.mustSucceed((stdout, stderr) => { 64 child.exec(`${cmd} '[]'`, common.mustSucceed((stdout, stderr) => { 87 common.mustSucceed((stdout, stderr) => { 111 child.exec(`${nodejs} -e ""`, common.mustSucceed((stdout, stderr) => { 117 child.exec(`${nodejs} -p "\\-42"`, common.mustSucceed((stdout, stderr) => { 123 common.mustSucceed((stdout, stderr) => { 138 common.mustSucceed((stdout, stderr) => { 148 common.mustSucceed((stdou [all...] |
H A D | test-fs-write-optional-params.js | 32 fs.open(dest, 'w', common.mustSucceed((fd) => { 33 fs.write(fd, buffer, options, common.mustSucceed((bytesWritten, bufferWritten) => { 35 fs.close(fd, common.mustSucceed(() => { 36 fs.open(dest, 'r', common.mustSucceed((fd) => { 37 fs.read(fd, buffer, options, common.mustSucceed((bytesRead, bufferRead) => { 49 fs.close(fd, common.mustSucceed(callback)); 113 fs.open(destInvalid, 'w+', common.mustSucceed(async (fd) => { 114 runTests(fd).then(common.mustCall(() => fs.close(fd, common.mustSucceed())));
|
H A D | test-fs-symlink.js | 42 fs.symlink(linkData, linkPath, common.mustSucceed(() => { 43 fs.lstat(linkPath, common.mustSucceed((stats) => { 47 fs.stat(linkPath, common.mustSucceed((stats) => { 51 fs.readlink(linkPath, common.mustSucceed((destination) => { 61 fs.symlink(linkData, linkPath, common.mustSucceed(() => {
|
H A D | test-util-callbackify.js | 35 cbAsyncFn(common.mustSucceed((ret) => { 45 cbPromiseFn(common.mustSucceed((ret) => { 59 cbThenableFn(common.mustSucceed((ret) => { 162 cbAsyncFn(value, common.mustSucceed((ret) => { 180 cbPromiseFn(value, common.mustSucceed((ret) => { 196 iAmThis.cbFn(value, common.mustSucceed(function(ret) { 208 iAmThat.cbFn(value, common.mustSucceed(function(ret) { 238 common.mustSucceed((stdout, stderr) => {
|
H A D | test-stream-pipeline.js | 50 pipeline(read, write, common.mustSucceed(() => { 260 pipeline(req, res, common.mustSucceed()); 381 common.mustSucceed(() => { 602 }(), w, common.mustSucceed(() => { 619 }(), w, common.mustSucceed(() => { 635 }, w, common.mustSucceed(() => { 652 }, w, common.mustSucceed(() => { 671 }, common.mustSucceed(() => { 691 }, common.mustSucceed((val) => { 957 }, common.mustSucceed(() [all...] |
H A D | test-fs-truncate.js | 74 testTruncate(common.mustSucceed(() => { 75 testFtruncate(common.mustSucceed()); 157 fs.truncate(file3, 4, common.mustSucceed(() => { 167 fs.ftruncate(fd, 4, common.mustSucceed(() => { 221 fs.ftruncate(fd, undefined, common.mustSucceed(() => { 231 fs.ftruncate(fd, -1, common.mustSucceed(() => { 239 fs.truncate(file7, undefined, common.mustSucceed(() => { 295 fs.truncate(file1, -1, common.mustSucceed(() => {
|
H A D | test-fs-chmod-mask.js | 32 fs.chmod(file, input, common.mustSucceed(() => { 48 fs.open(file, 'w', common.mustSucceed((fd) => { 49 fs.fchmod(fd, input, common.mustSucceed(() => { 73 fs.lchmod(link, input, common.mustSucceed(() => {
|
H A D | test-http-missing-header-separator-cr.js | 46 server.listen(0, common.mustSucceed(serverHandler.bind(null, server, msg))); 64 server.listen(0, common.mustSucceed(serverHandler.bind(null, server, msg))); 82 server.listen(0, common.mustSucceed(serverHandler.bind(null, server, msg)));
|
H A D | test-http-missing-header-separator-lf.js | 46 server.listen(0, common.mustSucceed(serverHandler.bind(null, server, msg))); 64 server.listen(0, common.mustSucceed(serverHandler.bind(null, server, msg))); 82 server.listen(0, common.mustSucceed(serverHandler.bind(null, server, msg)));
|
H A D | test-fs-readfile-fd.js | 78 fs.open(filename, 'r', common.mustSucceed((fd) => { 82 fs.read(fd, buf, 0, 5, null, common.mustSucceed((bytes) => { 86 fs.readFile(fd, common.mustSucceed((data) => {
|
H A D | test-fs-chmod.js | 83 fs.chmod(file1, mode_async.toString(8), common.mustSucceed(() => { 98 fs.open(file2, 'w', common.mustSucceed((fd) => { 99 fs.fchmod(fd, mode_async.toString(8), common.mustSucceed(() => { 130 fs.lchmod(link, mode_async, common.mustSucceed(() => {
|
H A D | test-child-process-exec-maxbuf.js | 30 cp.exec(cmd, common.mustSucceed((stdout, stderr) => { 40 cp.exec(cmd, options, common.mustSucceed((stdout, stderr) => { 81 cp.exec(cmd, common.mustSucceed((stdout, stderr) => {
|
H A D | test-crypto-async-sign-verify.js | 46 crypto.sign(algorithm, data, key, common.mustSucceed((actual) => { 59 crypto.verify(algorithm, data, key, expected, common.mustSucceed( 62 crypto.verify(algorithm, data, key, Buffer.from(''), common.mustSucceed(
|
H A D | test-inspector-open.js | 35 ping(port, common.mustSucceed(() => { 48 ping(port, common.mustSucceed(() => { 74 ping(port, common.mustSucceed(() => {
|
H A D | test-crypto-scrypt.js | 164 crypto.scrypt(pass, salt, keylen, options, common.mustSucceed((actual) => { 194 crypto.scrypt('pass', 'salt', 1, common.mustSucceed((actual) => { 209 crypto.scrypt('pass', 'salt', 1, common.mustSucceed((actual) => { 233 common.mustSucceed((actual) => {
|
H A D | test-socket-writes-before-passed-to-tls-socket.js | 32 socket.write(HEAD.subarray(0, HEAD.length / 2), common.mustSucceed()); 37 socket.write(HEAD.subarray(HEAD.length / 2), common.mustSucceed());
|
H A D | test-child-process-execfile-maxbuf.js | 28 common.mustSucceed((stdout, stderr) => { 42 common.mustSucceed((stdout, stderr) => {
|
H A D | test-fs-read-optional-params.js | 16 fs.read(paramsFilehandle, ...options, common.mustSucceed((bytesRead, buffer) => { 24 fs.read(optionsFilehandle, bufferAsOption, ...options, common.mustSucceed((bytesRead, buffer) => {
|
H A D | test-double-tls-server.js | 47 serverTlsSock.write(half, common.mustSucceed()); 48 serverTlsSock.write(half, common.mustSucceed());
|
H A D | test-fs-read.js | 38 common.mustSucceed((bytesRead) => { 64 fs.read(fd, Buffer.alloc(1), 0, 1, pos, common.mustSucceed((nRead) => {
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | SegmentedBufferHelper.cs | 91 public bool RefillBuffer(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, bool mustSucceed) in RefillBuffer() 95 return RefillFromCodedInputStream(ref buffer, ref state, mustSucceed); in RefillBuffer() 99 return RefillFromReadOnlySequence(ref buffer, ref state, mustSucceed); in RefillBuffer() 166 private bool RefillFromReadOnlySequence(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, bool mustSucceed) in RefillFromReadOnlySequence() 173 if (mustSucceed) in RefillFromReadOnlySequence() 199 if (mustSucceed) in RefillFromReadOnlySequence() 221 private bool RefillFromCodedInputStream(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, bool mustSucceed) in RefillFromCodedInputStream() 228 if (mustSucceed) in RefillFromCodedInputStream() 250 if (mustSucceed) in RefillFromCodedInputStream()
|
/third_party/node/test/sequential/ |
H A D | test-fs-opendir-recursive.js | 161 fs.opendir(testDir, { recursive: true }, common.mustSucceed((dir) => { 163 dir.close(common.mustSucceed()); 192 processDirCb(dir, common.mustSucceed((dirents) => { 194 dir.close(common.mustSucceed()); 199 fs.opendir(testDir, { recursive: true }, common.mustSucceed((dir) => { 200 processDirCb(dir, common.mustSucceed((dirents) => { 202 dir.close(common.mustSucceed());
|
/third_party/node/test/internet/ |
H A D | test-dns-ipv4.js | 55 common.mustSucceed((ips) => { 77 common.mustSucceed((domains) => { 95 common.mustSucceed((ip, family) => { 113 common.mustSucceed((ip, family) => { 131 }, common.mustSucceed((ip, family) => { 151 }, common.mustSucceed((ip, family) => { 168 common.mustSucceed((ip, family) => { 185 common.mustSucceed((ip, family) => { 212 common.mustSucceed((ips) => { 232 common.mustSucceed((hostnam [all...] |
H A D | test-dns-ipv6.js | 55 common.mustSucceed((ips) => { 76 common.mustSucceed((domains) => { 95 common.mustSucceed((ip, family) => { 126 }, common.mustSucceed((ip, family) => { 172 common.mustSucceed((ip, family) => { 200 common.mustSucceed((ips) => {
|
H A D | test-http2-issue-32922.js | 31 normalSession(common.mustSucceed()); 52 socketNotFinished(common.mustSucceed()); 73 socketFinished(common.mustSucceed());
|