/third_party/typescript/tests/baselines/reference/ |
H A D | importMeta(module=esnext,target=es5).js | 44 return new (P || (P = Promise))(function (resolve, reject) {
45 function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
46 function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
H A D | asyncImportNestedYield.js | 41 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
43 function reject(value) { resume("throw", value); }
function
|
H A D | objectRestSpread.js | 44 function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
46 function reject(value) { resume("throw", value); }
function
|
/third_party/selinux/libselinux/src/ |
H A D | mapping.c | 40 bool reject = (security_reject_unknown() == 1); in selinux_set_mapping() local 75 if (reject) in selinux_set_mapping() 95 if (reject) in selinux_set_mapping()
|
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
H A D | fc_rport.c | 871 goto reject; in fc_rport_recv_flogi_req() 878 goto reject; in fc_rport_recv_flogi_req() 885 goto reject; in fc_rport_recv_flogi_req() 900 * causes the code to send reject response. in fc_rport_recv_flogi_req() 967 reject: in fc_rport_recv_flogi_req() 1709 goto reject; in fc_rport_recv_els_req() 1736 goto reject; in fc_rport_recv_els_req() 1772 reject: in fc_rport_recv_els_req() 1803 * Check for unsupported opcodes first and reject them. in fc_rport_recv_req() 1804 * For some ops, it would be incorrect to reject wit in fc_rport_recv_req() [all...] |
H A D | fc_disc.c | 92 goto reject; in fc_disc_recv_rscn_req() 95 goto reject; in fc_disc_recv_rscn_req() 99 goto reject; in fc_disc_recv_rscn_req() 103 goto reject; in fc_disc_recv_rscn_req() 107 goto reject; in fc_disc_recv_rscn_req() 164 reject: in fc_disc_recv_rscn_req()
|
/kernel/linux/linux-6.6/drivers/scsi/libfc/ |
H A D | fc_rport.c | 871 goto reject; in fc_rport_recv_flogi_req() 878 goto reject; in fc_rport_recv_flogi_req() 885 goto reject; in fc_rport_recv_flogi_req() 900 * causes the code to send reject response. in fc_rport_recv_flogi_req() 967 reject: in fc_rport_recv_flogi_req() 1709 goto reject; in fc_rport_recv_els_req() 1736 goto reject; in fc_rport_recv_els_req() 1772 reject: in fc_rport_recv_els_req() 1803 * Check for unsupported opcodes first and reject them. in fc_rport_recv_req() 1804 * For some ops, it would be incorrect to reject wit in fc_rport_recv_req() [all...] |
H A D | fc_disc.c | 91 goto reject; in fc_disc_recv_rscn_req() 94 goto reject; in fc_disc_recv_rscn_req() 98 goto reject; in fc_disc_recv_rscn_req() 102 goto reject; in fc_disc_recv_rscn_req() 106 goto reject; in fc_disc_recv_rscn_req() 161 reject: in fc_disc_recv_rscn_req()
|
/third_party/node/test/fixtures/wpt/streams/piping/ |
H A D | abort.any.js | 28 return promise_rejects_js(t, TypeError, rs.pipeTo(ws, { signal: invalidSignal }), 'pipeTo should reject') 33 }, `a signal argument '${invalidSignal}' should cause pipeTo() to reject`); 42 return promise_rejects_dom(t, 'AbortError', rs.pipeTo(ws, { signal }), 'pipeTo should reject') 45 promise_rejects_dom(t, 'AbortError', ws.getWriter().closed, 'writer.closed should reject') 54 }, 'an aborted signal should cause the writable stream to reject with an AbortError'); 85 return promise_rejects_dom(t, 'AbortError', rs.pipeTo(ws, { signal, preventCancel: true }), 'pipeTo should reject') 95 return promise_rejects_dom(t, 'AbortError', rs.pipeTo(ws, { signal, preventAbort: true }), 'pipeTo should reject') 109 'pipeTo should reject') 192 return Promise.reject(error1); 199 return promise_rejects_exactly(t, error1, rs.pipeTo(ws, { signal }), 'pipeTo should reject'); [all...] |
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | t_x509.c | 343 STACK_OF(ASN1_OBJECT) *trust, *reject; in X509_aux_print() 350 reject = X509_get0_reject_objects(x); in X509_aux_print() 366 if (reject) { in X509_aux_print() 369 for (i = 0; i < sk_ASN1_OBJECT_num(reject); i++) { in X509_aux_print() 375 sk_ASN1_OBJECT_value(reject, i), 0); in X509_aux_print()
|
/third_party/openssl/crypto/x509/ |
H A D | t_x509.c | 345 STACK_OF(ASN1_OBJECT) *trust, *reject; in X509_aux_print() 352 reject = X509_get0_reject_objects(x); in X509_aux_print() 368 if (reject) { in X509_aux_print() 371 for (i = 0; i < sk_ASN1_OBJECT_num(reject); i++) { in X509_aux_print() 377 sk_ASN1_OBJECT_value(reject, i), 0); in X509_aux_print()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
H A D | ipt_REJECT.c | 33 const struct ipt_reject_info *reject = par->targinfo; in reject_tg() local 36 switch (reject->with) { in reject_tg()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
H A D | ip6t_REJECT.c | 37 const struct ip6t_reject_info *reject = par->targinfo; in reject_tg6() local 40 switch (reject->with) { in reject_tg6()
|
/kernel/linux/linux-6.6/net/ipv4/netfilter/ |
H A D | ipt_REJECT.c | 33 const struct ipt_reject_info *reject = par->targinfo; in reject_tg() local 36 switch (reject->with) { in reject_tg()
|
/kernel/linux/linux-6.6/net/ipv6/netfilter/ |
H A D | ip6t_REJECT.c | 37 const struct ip6t_reject_info *reject = par->targinfo; in reject_tg6() local 40 switch (reject->with) { in reject_tg6()
|
/third_party/node/deps/npm/node_modules/agent-base/dist/ |
H A D | helpers.js | 56 const promise = new Promise((resolve, reject) => { 59 .once('error', reject)
|
/third_party/skia/modules/pathkit/tests/ |
H A D | testReporter.js | 23 return new Promise(function(resolve, reject) { 29 }).catch((e) => reject(e));
|
/third_party/skia/modules/canvaskit/tests/ |
H A D | testReporter.js | 23 return new Promise(function(resolve, reject) { 29 }).catch((e) => reject(e));
|
/third_party/skia/modules/pathkit/perf/ |
H A D | perfReporter.js | 50 return Promise.reject(e); 99 return Promise.reject(e);
|
/third_party/jerryscript/tests/jerry-test-suite/es2015/25/25.04/25.04.05/ |
H A D | 25.04.05-006.js | 23 return Promise.reject(3);
|
/third_party/node/test/node-api/test_threadsafe_function/ |
H A D | test.js | 63 return new Promise((resolve, reject) => { 72 reject(new Error('Child process died with code ' + code));
|
/third_party/node/test/parallel/ |
H A D | test-inspector-connect-main-thread.js | 26 return new Promise((resolve, reject) => { 31 reject(error);
|
/third_party/node/deps/npm/node_modules/socks-proxy-agent/dist/ |
H A D | index.js | 111 host = await new Promise((resolve, reject) => { 115 reject(err);
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-promise.c | 65 ecma_value_t reject = ecma_op_object_get_by_magic_id (ecma_get_object_from_value (capability), in ecma_builtin_promise_reject_abrupt() local 68 ecma_value_t call_ret = ecma_op_function_call (ecma_get_object_from_value (reject), in ecma_builtin_promise_reject_abrupt() 72 ecma_free_value (reject); in ecma_builtin_promise_reject_abrupt() 87 * The Promise.reject routine. 97 ecma_value_t reason) /**< the reason for reject */ in ecma_builtin_promise_reject()
|
/third_party/node/lib/internal/streams/ |
H A D | pipeline.js | 113 const wait = () => new Promise((resolve, reject) => { 115 reject(error); 119 reject(error);
|