Searched refs:PromiseState (Results 1 – 11 of 11) sorted by relevance
/third_party/node/deps/v8/src/objects/ |
D | js-promise.tq | 6 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);
|
D | js-promise.h | 54 static const char* Status(Promise::PromiseState status); 55 V8_EXPORT_PRIVATE Promise::PromiseState status() const; 56 void set_status(Promise::PromiseState status);
|
D | objects.cc | 5364 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/ |
D | convert.tq | 167 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);
|
D | promise-abstract-operations.tq | 196 // 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);
|
D | promise-misc.tq | 46 status: PromiseState::kPending, 66 status: PromiseState::kPending, 260 status: constexpr PromiseState, result: JSAny): JSPromise { 261 dcheck(status != PromiseState::kPending);
|
D | base.tq | 276 extern enum PromiseState extends int31 constexpr 'Promise::PromiseState' { 1137 s1: PromiseState, s2: PromiseState): bool {
|
/third_party/node/deps/v8/include/ |
D | v8-promise.h | 30 enum PromiseState { kPending, kFulfilled, kRejected }; enum 98 PromiseState State();
|
/third_party/node/src/ |
D | node_util.cc | 111 if (state != Promise::PromiseState::kPending) in GetPromiseDetails() 421 Integer::New(isolate, Promise::PromiseState::name)) \ in Initialize()
|
/third_party/node/deps/v8/src/api/ |
D | api.cc | 7748 Promise::PromiseState Promise::State() { in State() 7752 return static_cast<PromiseState>(js_promise->status()); in State()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
D | stylo.hpp | 101737 enum class PromiseState { enum 101746 extern PromiseState
|