Lines Matching defs:FastCApiObject
40 class FastCApiObject {
42 static FastCApiObject& instance();
65 FastCApiObject* self = UnwrapObject(receiver);
99 FastCApiObject* self;
101 // For Wasm call, we don't pass FastCApiObject as the receiver, so we need
102 // to retrieve the FastCApiObject instance from a static variable.
105 // Note: FastCApiObject::instance() returns the reference of an object
108 self = &FastCApiObject::instance();
111 // should be a FastCApiObject.
125 FastCApiObject* self = UnwrapObject(args.This());
185 FastCApiObject* self = UnwrapObject(receiver);
220 FastCApiObject* self = UnwrapObject(args.This());
330 FastCApiObject* self = UnwrapObject(receiver);
349 FastCApiObject* self = UnwrapObject(args.This());
427 FastCApiObject* self = UnwrapObject(receiver);
441 FastCApiObject* self = UnwrapObject(args.This());
500 FastCApiObject* self = UnwrapObject(receiver);
519 FastCApiObject* self = UnwrapObject(receiver);
546 FastCApiObject* self = UnwrapObject(args.This());
584 FastCApiObject* self = UnwrapObject(receiver);
613 FastCApiObject* self = UnwrapObject(args.This());
640 FastCApiObject* self = UnwrapObject(args.This());
646 FastCApiObject* self = UnwrapObject(args.This());
652 FastCApiObject* self = UnwrapObject(args.This());
658 FastCApiObject* self = UnwrapObject(args.This());
680 static FastCApiObject* UnwrapObject(Local<Object> object) {
684 FastCApiObject* wrapped = reinterpret_cast<FastCApiObject*>(
702 thread_local FastCApiObject kFastCApiObject;
706 FastCApiObject& FastCApiObject::instance() { return kFastCApiObject; }
716 FastCApiObject::kV8WrapperObjectIndex,
720 FunctionTemplate::New(info.GetIsolate(), FastCApiObject::SupportsFPParams)
732 CFunction::Make(FastCApiObject::AddAllFastCallback V8_IF_USE_SIMULATOR(
733 FastCApiObject::AddAllFastCallbackPatch));
736 FunctionTemplate::New(isolate, FastCApiObject::AddAllSlowCallback,
742 FastCApiObject::AddAllSequenceFastCallback V8_IF_USE_SIMULATOR(
743 FastCApiObject::AddAllSequenceFastCallbackPatch));
747 isolate, FastCApiObject::AddAllSequenceSlowCallback, Local<Value>(),
752 FastCApiObject::AddAllTypedArrayFastCallback<int32_t>
754 FastCApiObject::AddAllTypedArrayFastCallbackPatch<int32_t>));
759 isolate, FastCApiObject::AddAllTypedArraySlowCallback,
764 FastCApiObject::AddAllTypedArrayFastCallback<int64_t>
766 FastCApiObject::AddAllTypedArrayFastCallbackPatch<int64_t>));
770 isolate, FastCApiObject::AddAllTypedArraySlowCallback,
775 FastCApiObject::AddAllTypedArrayFastCallback<uint64_t>
777 FastCApiObject::AddAllTypedArrayFastCallbackPatch<uint64_t>));
781 isolate, FastCApiObject::AddAllTypedArraySlowCallback,
787 FastCApiObject::AddAllTypedArrayFastCallback<uint32_t>
789 FastCApiObject::AddAllTypedArrayFastCallbackPatch<uint32_t>));
793 isolate, FastCApiObject::AddAllTypedArraySlowCallback,
799 FastCApiObject::AddAllTypedArrayFastCallback<float> V8_IF_USE_SIMULATOR(
800 FastCApiObject::AddAllTypedArrayFastCallbackPatch<float>));
804 isolate, FastCApiObject::AddAllTypedArraySlowCallback,
810 FastCApiObject::AddAllTypedArrayFastCallback<double>
812 FastCApiObject::AddAllTypedArrayFastCallbackPatch<double>));
816 isolate, FastCApiObject::AddAllTypedArraySlowCallback,
828 isolate, FastCApiObject::AddAllSequenceSlowCallback, Local<Value>(),
833 CFunction::Make(FastCApiObject::AddAllIntInvalidCallback);
841 isolate, FastCApiObject::AddAllSequenceSlowCallback, Local<Value>(),
846 FastCApiObject::AddAll32BitIntFastCallback_8Args V8_IF_USE_SIMULATOR(
847 FastCApiObject::AddAll32BitIntFastCallback_8ArgsPatch));
849 FastCApiObject::AddAll32BitIntFastCallback_6Args V8_IF_USE_SIMULATOR(
850 FastCApiObject::AddAll32BitIntFastCallback_6ArgsPatch));
852 FastCApiObject::AddAll32BitIntFastCallback_5Args V8_IF_USE_SIMULATOR(
853 FastCApiObject::AddAll32BitIntFastCallback_5ArgsPatch));
860 isolate, FastCApiObject::AddAll32BitIntSlowCallback, Local<Value>(),
867 isolate, FastCApiObject::AddAll32BitIntSlowCallback, Local<Value>(),
874 isolate, FastCApiObject::AddAll32BitIntSlowCallback, Local<Value>(),
879 FastCApiObject::AddAllFastCallbackNoOptions V8_IF_USE_SIMULATOR(
880 FastCApiObject::AddAllFastCallbackNoOptionsPatch));
884 isolate, FastCApiObject::AddAllSlowCallback, Local<Value>(),
889 FastCApiObject::Add32BitIntFastCallback V8_IF_USE_SIMULATOR(
890 FastCApiObject::Add32BitIntFastCallbackPatch));
894 isolate, FastCApiObject::Add32BitIntSlowCallback, Local<Value>(),
899 CFunction::Make(FastCApiObject::IsFastCApiObjectFastCallback);
903 isolate, FastCApiObject::IsFastCApiObjectSlowCallback,
910 isolate, FastCApiObject::FastCallCount, Local<Value>(), signature,
915 isolate, FastCApiObject::SlowCallCount, Local<Value>(), signature,
919 FunctionTemplate::New(isolate, FastCApiObject::ResetCounts,
924 FastCApiObject::kV8WrapperObjectIndex + 1);