/third_party/node/lib/ |
H A D | diagnostics_channel.js | 324 function reject(err) { function 348 return PromisePrototypeThen(promise, resolve, reject);
|
H A D | readline.js | 172 return new Promise((resolve, reject) => { 177 reject(new AbortError(undefined, { cause: options.signal.reason }));
|
/third_party/node/lib/internal/ |
H A D | blob.js | 294 reject, 299 return reject(new AbortError(undefined, { cause: err }));
|
/third_party/node/lib/internal/streams/ |
H A D | end-of-stream.js | 312 return new Promise((resolve, reject) => { 318 reject(err);
|
/third_party/node/deps/npm/node_modules/ignore-walk/lib/ |
H A D | index.js | 299 const p = new Promise((resolve, reject) => { 300 new Walker(opts).on('done', resolve).on('error', reject).start()
|
/third_party/node/deps/npm/node_modules/cacache/lib/ |
H A D | verify.js | 109 await new Promise((resolve, reject) => { 110 indexStream.on('end', resolve).on('error', reject)
|
/kernel/linux/linux-5.10/mm/ |
H A D | zswap.c | 1036 goto reject; in zswap_frontswap_store() 1041 goto reject; in zswap_frontswap_store() 1054 goto reject; in zswap_frontswap_store() 1060 goto reject; in zswap_frontswap_store() 1070 goto reject; in zswap_frontswap_store() 1155 reject: in zswap_frontswap_store()
|
/third_party/skia/src/core/ |
H A D | SkRemoteGlyphCache.cpp | 279 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects, Rejector&& reject); 460 SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects, Rejector&& reject) { in commonMaskLoop() 476 if (reject(*summary)) { in commonMaskLoop() 477 rejects->reject(i); in commonMaskLoop() 515 rejects->reject(i); in prepareForMaskDrawing() 553 rejects->reject(i, (int)summary->maxDimensionOrPath); in prepareForPathDrawing() 459 commonMaskLoop( SkDrawableGlyphBuffer* drawables, SkSourceGlyphBuffer* rejects, Rejector&& reject) commonMaskLoop() argument
|
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_target.c | 1173 goto reject; in cxgbit_handle_text_cmd() 1203 reject: in cxgbit_handle_text_cmd() 1221 goto reject; in cxgbit_target_rx_opcode() 1232 goto reject; in cxgbit_target_rx_opcode() 1240 goto reject; in cxgbit_target_rx_opcode() 1249 goto reject; in cxgbit_target_rx_opcode() 1253 goto reject; in cxgbit_target_rx_opcode() 1261 goto reject; in cxgbit_target_rx_opcode() 1280 reject: in cxgbit_target_rx_opcode()
|
/kernel/linux/linux-6.6/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_target.c | 1173 goto reject; in cxgbit_handle_text_cmd() 1203 reject: in cxgbit_handle_text_cmd() 1221 goto reject; in cxgbit_target_rx_opcode() 1232 goto reject; in cxgbit_target_rx_opcode() 1240 goto reject; in cxgbit_target_rx_opcode() 1249 goto reject; in cxgbit_target_rx_opcode() 1253 goto reject; in cxgbit_target_rx_opcode() 1261 goto reject; in cxgbit_target_rx_opcode() 1280 reject: in cxgbit_target_rx_opcode()
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
H A D | rnbd-srv.c | 714 goto reject; in process_msg_open() 720 goto reject; in process_msg_open() 727 goto reject; in process_msg_open() 813 reject: in process_msg_open()
|
/kernel/linux/linux-6.6/drivers/block/rnbd/ |
H A D | rnbd-srv.c | 702 goto reject; in process_msg_open() 708 goto reject; in process_msg_open() 715 goto reject; in process_msg_open() 797 reject: in process_msg_open()
|
/test/xts/acts/communication/wifi_p2p/entry/src/ohosTest/js/test/ |
H A D | WifiManagerP2PFunction.test.js | 101 return new Promise((resolve, reject) => {
693 return new Promise((resolve, reject) => {
734 return new Promise((resolve, reject) => {
793 return new Promise((resolve, reject) => {
|
H A D | WifiP2PFunction.test.js | 103 return new Promise((resolve, reject) => {
557 return new Promise((resolve, reject) => {
620 return new Promise((resolve, reject) => {
|
/third_party/typescript/tests/baselines/reference/ |
H A D | bluebirdStaticThis.js | 7 constructor(callback: (resolve: (thenableOrResult: R | Promise.Thenable<R>) => void, reject: (error: any) => void) => void); 20 static reject(dit: typeof Promise, reason: any): Promise<any>; 21 static reject<R>(dit: typeof Promise, reason: any): Promise<R>;
|
/test/testfwk/arkxtest/jsunit/src/module/kit/ |
H A D | SysTestKit.js | 94 return new Promise((resolve, reject) => {
|
/test/xts/acts/ability/ability_runtime/fa/faapplicationinfo/src/main/js/test/ |
H A D | ApplicationInfoJsunit.test.js | 32 var promise = new Promise((resolve, reject) => {
|
/third_party/node/test/async-hooks/ |
H A D | test-async-local-storage-errors.js | 94 Promise.reject(new Error('err4'));
|
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/ |
H A D | bnx2i_hwi.c | 1783 * bnx2i_process_reject_mesg - process iscsi reject pdu 1795 struct bnx2i_reject_msg *reject; in bnx2i_process_reject_mesg() local 1798 reject = (struct bnx2i_reject_msg *) cqe; in bnx2i_process_reject_mesg() 1799 if (reject->data_length) { in bnx2i_process_reject_mesg() 1800 bnx2i_get_rq_buf(bnx2i_conn, conn->data, reject->data_length); in bnx2i_process_reject_mesg() 1808 hdr->opcode = reject->op_code; in bnx2i_process_reject_mesg() 1809 hdr->reason = reject->reason; in bnx2i_process_reject_mesg() 1810 hton24(hdr->dlength, reject->data_length); in bnx2i_process_reject_mesg() 1811 hdr->max_cmdsn = cpu_to_be32(reject->max_cmd_sn); in bnx2i_process_reject_mesg() 1812 hdr->exp_cmdsn = cpu_to_be32(reject in bnx2i_process_reject_mesg() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/bnx2i/ |
H A D | bnx2i_hwi.c | 1783 * bnx2i_process_reject_mesg - process iscsi reject pdu 1795 struct bnx2i_reject_msg *reject; in bnx2i_process_reject_mesg() local 1798 reject = (struct bnx2i_reject_msg *) cqe; in bnx2i_process_reject_mesg() 1799 if (reject->data_length) { in bnx2i_process_reject_mesg() 1800 bnx2i_get_rq_buf(bnx2i_conn, conn->data, reject->data_length); in bnx2i_process_reject_mesg() 1808 hdr->opcode = reject->op_code; in bnx2i_process_reject_mesg() 1809 hdr->reason = reject->reason; in bnx2i_process_reject_mesg() 1810 hton24(hdr->dlength, reject->data_length); in bnx2i_process_reject_mesg() 1811 hdr->max_cmdsn = cpu_to_be32(reject->max_cmd_sn); in bnx2i_process_reject_mesg() 1812 hdr->exp_cmdsn = cpu_to_be32(reject in bnx2i_process_reject_mesg() [all...] |
/third_party/node/deps/undici/src/lib/fetch/ |
H A D | index.js | 133 // an exception, reject p with it and return p. 139 p.reject(e) 224 // 3. If response is a network error, then reject p with a TypeError 227 p.reject( 330 // which would give us an undefined error to reject with. 337 p.reject(error) 1958 return new Promise((resolve, reject) => agent.dispatch( 2112 reject(error)
|
/kernel/linux/linux-5.10/lib/ |
H A D | string.c | 621 * strcspn - Calculate the length of the initial substring of @s which does not contain letters in @reject 623 * @reject: The string to avoid 625 size_t strcspn(const char *s, const char *reject) in strcspn() argument 632 for (r = reject; *r != '\0'; ++r) { in strcspn()
|
/kernel/linux/linux-6.6/lib/ |
H A D | string.c | 458 * strcspn - Calculate the length of the initial substring of @s which does not contain letters in @reject 460 * @reject: The string to avoid 462 size_t strcspn(const char *s, const char *reject) in strcspn() argument 467 if (strchr(reject, *p)) in strcspn()
|
/test/xts/acts/communication/wifi_standard/entry/src/ohosTest/ets/test/ |
H A D | WifiManagerCandidateNetWork.test.js | 389 return new Promise((resolve, reject) => {
406 return new Promise((resolve, reject) => {
|
/test/xts/acts/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/entry/src/ohosTest/js/test/ |
H A D | SchemaJsTest.js | 51 var canGet = new Promise((resolve, reject) => {
62 reject(new Error('not resolved in 2 second, reject it.'))
|