Home
last modified time | relevance | path

Searched refs:PromiseState (Results 1 – 11 of 11) sorted by relevance

/third_party/node/deps/v8/src/objects/
Djs-promise.tq6 status: PromiseState: 2 bit;
14 macro Status(): PromiseState {
18 macro SetStatus(status: constexpr PromiseState): void {
19 dcheck(this.Status() == PromiseState::kPending);
20 dcheck(status != PromiseState::kPending);
Djs-promise.h54 static const char* Status(Promise::PromiseState status);
55 V8_EXPORT_PRIVATE Promise::PromiseState status() const;
56 void set_status(Promise::PromiseState status);
Dobjects.cc5364 v8::Promise::PromiseState JSPromise::status() const { in status()
5367 return static_cast<v8::Promise::PromiseState>(value); in status()
5370 void JSPromise::set_status(Promise::PromiseState status) { in set_status()
5376 const char* JSPromise::Status(v8::Promise::PromiseState status) { in Status()
/third_party/node/deps/v8/src/builtins/
Dconvert.tq167 FromConstexpr<PromiseState, constexpr PromiseState>(c: constexpr PromiseState):
168 PromiseState {
169 return %RawDownCast<PromiseState>(Int32Constant(c));
401 Convert<PromiseState, int32>(s: int32): PromiseState {
402 return %RawDownCast<PromiseState>(s);
Dpromise-abstract-operations.tq196 // Assert: The value of promise.[[PromiseState]] is "pending".
197 dcheck(promise.Status() == PromiseState::kPending);
210 // 6. Set promise.[[PromiseState]] to "fulfilled".
211 promise.SetStatus(PromiseState::kFulfilled);
256 // 6. Set promise.[[PromiseState]] to "rejected".
257 promise.SetStatus(PromiseState::kRejected);
449 if (promise.Status() == PromiseState::kPending) {
465 if (promise.Status() == PromiseState::kFulfilled) {
472 dcheck(promise.Status() == PromiseState::kRejected);
506 const promise = NewJSPromise(PromiseState::kRejected, reason);
Dpromise-misc.tq46 status: PromiseState::kPending,
66 status: PromiseState::kPending,
260 status: constexpr PromiseState, result: JSAny): JSPromise {
261 dcheck(status != PromiseState::kPending);
Dbase.tq276 extern enum PromiseState extends int31 constexpr 'Promise::PromiseState' {
1137 s1: PromiseState, s2: PromiseState): bool {
/third_party/node/deps/v8/include/
Dv8-promise.h30 enum PromiseState { kPending, kFulfilled, kRejected }; enum
98 PromiseState State();
/third_party/node/src/
Dnode_util.cc111 if (state != Promise::PromiseState::kPending) in GetPromiseDetails()
421 Integer::New(isolate, Promise::PromiseState::name)) \ in Initialize()
/third_party/node/deps/v8/src/api/
Dapi.cc7748 Promise::PromiseState Promise::State() { in State()
7752 return static_cast<PromiseState>(js_promise->status()); in State()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp101737 enum class PromiseState { enum
101746 extern PromiseState