Lines Matching defs:reason
1978 bool PromiseCapabilityRef::Reject(const EcmaVM *vm, uintptr_t reason)
1984 JSTaggedValue arg = *reinterpret_cast<JSTaggedValue *>(reason);
2006 bool PromiseCapabilityRef::Reject(const EcmaVM *vm, Local<JSValueRef> reason)
2012 JSHandle<JSTaggedValue> arg = JSNApiHelper::ToJSHandle(reason);
2232 PromiseRejectInfo::PromiseRejectInfo(Local<JSValueRef> promise, Local<JSValueRef> reason,
2234 : promise_(promise), reason_(reason), operation_(operation), data_(data) {}
4390 void JSNApi::TriggerGC(const EcmaVM *vm, ecmascript::GCReason reason, TRIGGER_GC_TYPE gcType)
4406 vm->CollectGarbage(vm->GetHeap()->SelectGCType(), reason);
4409 vm->CollectGarbage(ecmascript::TriggerGCType::OLD_GC, reason);
4412 vm->CollectGarbage(ecmascript::TriggerGCType::FULL_GC, reason);
4428 void JSNApi::HintGC(const EcmaVM *vm, MemoryReduceDegree degree, ecmascript::GCReason reason)
4433 const_cast<ecmascript::Heap *>(vm->GetHeap())->CheckAndTriggerHintGC(degree, reason);
5585 const JSHandle<JSTaggedValue> reason,
5594 PromiseRejectInfo promiseRejectInfo(promiseVal, JSNApiHelper::ToLocal<JSValueRef>(reason),