Home
last modified time | relevance | path

Searched defs:prototype (Results 1 – 25 of 35) sorted by relevance

12

/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-class-definition4.js18 static prototype() { method in B
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/js/
Dtest-class-definition4.js18 static /* @@ label */prototype() { method in B
DInvalidParserImpl.js35 static prototype() {} method in A
/arkcompiler/ets_runtime/test/aottest/ts_inline_accessor_deopt/
Dts_inline_accessor_deopt.ts43 let prototype = Person.prototype; variable
/arkcompiler/ets_frontend/ets2panda/linter/test/concurrent/oh_modules/
DsharedArrayBuffer.ts28 readonly prototype: SharedArrayBuffer; property
/arkcompiler/ets_runtime/test/fuzztest/objectrefsetprototype_fuzzer/
Dobjectrefsetprototype_fuzzer.cpp37 Local<ObjectRef> prototype = object->GetPrototype(vm_); in ObjectRefSetPrototypeFuzzTest() local
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
Dpgo_type_parser.cpp90 … JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObjectWithInit(phclass); in GenerateHClass() local
177 … JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObjectWithInit(phclass); in GenerateHClass() local
272 JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObjectWithInit(phclass); in GenerateHClassForClassType() local
290 … JSHandle<JSObject> prototype = thread->GetEcmaVM()->GetFactory()->NewJSObjectWithInit(phclass); in GenerateHClassForPrototype() local
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_sendable_tests.cpp183 auto prototype = JSTaggedValue::GetProperty( in HWTEST_F_L0() local
194 Local<ObjectRef> prototype = constructor->GetFunctionPrototype(vm_); in HWTEST_F_L0() local
228 Local<ObjectRef> prototype = constructor->GetFunctionPrototype(vm_); in HWTEST_F_L0() local
278 Local<ObjectRef> prototype = obj->GetPrototype(vm_); in HWTEST_F_L0() local
320 Local<ObjectRef> prototype = obj->GetPrototype(vm_); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/tests/
Dobject_factory_test.cpp69 auto *prototype = cls->GetPrototype(thread).GetTaggedObject(); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dprogram_object.cpp155 auto prototype = vm->GetGlobalEnv()->GetObjectFunctionPrototype(); in MergeObjectLiteralHClassCache() local
Dclass_info_extractor.cpp405 JSHandle<JSObject> prototype = factory->NewOldSpaceJSObject(prototypeHClass); in DefineClassFromExtractor() local
499 JSHandle<JSObject> prototype; in DefineClassWithIHClass() local
757 JSHandle<JSObject> prototype = factory->NewSharedOldSpaceJSObject(prototypeHClass); in DefineSendableClassFromExtractor() local
/arkcompiler/ets_runtime/ecmascript/
Dshared_object_factory.cpp68 const JSHandle<JSTaggedValue> &prototype, in CreateSFunctionClass()
124 const JSHandle<JSTaggedValue> &prototype, const JSHandle<JSTaggedValue> &layout) in NewSEcmaHClass()
142 const JSHandle<JSTaggedValue> &prototype) in NewSEcmaHClassDictMode()
Djs_function.cpp238 JSTaggedValue prototype = fun.GetTaggedValue(); in CalcuExpotedOfProperties() local
967 JSMutableHandle<JSTaggedValue> prototype(thread, JSTaggedValue::Undefined()); in GetInstanceJSHClass() local
1019 JSHandle<JSTaggedValue> prototype(thread, derived->GetProtoOrHClass(thread)); in GetOrCreateDerivedJSHClass() local
Dobject_factory.cpp173 const JSHandle<JSTaggedValue> &prototype, const JSHandle<JSTaggedValue> &layout) in NewEcmaHClass()
478 … ObjectFactory::NewEcmaHClass(uint32_t size, JSType type, const JSHandle<JSTaggedValue> &prototype) in NewEcmaHClass()
485 const JSHandle<JSTaggedValue> &prototype) in NewEcmaHClass()
491 uint32_t size, uint32_t inlinedProps, JSType type, const JSHandle<JSTaggedValue> &prototype) in NewEcmaHClass()
1961const JSHandle<JSTaggedValue> &prototype, uint32_t inlinedProps) in CreateFunctionClass()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_private.cpp170 …> ContainersPrivate::NewContainerConstructor(JSThread *thread, const JSHandle<JSObject> &prototype, in NewContainerConstructor()
281 JSHandle<JSObject> prototype = factory->NewEmptyJSObject(); in InitializeArrayList() local
673 JSHandle<JSObject> prototype = factory->NewEmptyJSObject(); in InitializeVector() local
/arkcompiler/ets_runtime/ecmascript/compiler/
Dtyped_bytecode_lowering.cpp649 auto prototype = builder_.LoadPrototype(glue_, ldProtoInfo.receiverHC); in LoadOnPrototypeForHeapObjectReceiver() local
731 GateRef prototype = GetPrimitiveTypeProto(PrimitiveType::PRIMITIVE_BOOLEAN); in LowerTypedMonoLdObjByName() local
1093 auto prototype = builder_.LoadPrototype(glue_, receiverHC); in LowerTypedStObjByName() local
1144 auto prototype = builder_.LoadPrototype(glue_, receiverHC); in TypedStObjByNameTransition() local
1505 …GateRef prototype = builder_.GetGlobalEnvObj(circuit_->GetGlobalEnvCache(), static_cast<size_t>(*p… in TryLowerTypedLdObjByNameForBuiltinMethod() local
Dnumber_speculative_lowering.cpp1031 auto prototype = builder_.LoadPrototype(glue, receiverHC); in VisitLoadPropertyOnProto() local
Dhcr_circuit_builder.h300 void CircuitBuilder::StorePrototype(GateRef glue, GateRef hclass, GateRef prototype) in StorePrototype()
Dtyped_hcr_lowering.cpp2035 auto prototype = builder_.LoadPrototype(glue_, expectedReceiverHC); in LowerPrototypeCheck() local
2888 auto prototype = builder_.LoadPrototype(glue_, hclass); in LowerProtoChangeMarkerCheck() local
2902 GateRef prototype = acc_.GetValueIn(gate, 0); in LowerPrimitiveTypeProtoChangeMarkerCheck() local
3116 auto prototype = builder_.LoadPrototype(glue_, receiverHC); in LowerMonoStoreProperty() local
Dtyped_native_inline_lowering.cpp454 GateRef prototype = builder_.GetGlobalEnvValue(VariableType::JS_POINTER(), glue, globalEnv, in LowerTypedArrayIterator() local
2822 GateRef prototype = builder_.GetGlobalEnvValue( in LowerArrayIteratorBuiltin() local
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/
Dsnapshot_constantpool_data.cpp193 JSHandle<JSObject> prototype; in CheckAOTIhcPropertiesForRep() local
/arkcompiler/toolchain/tooling/dynamic/agent/
Druntime_impl.cpp442 Local<JSValueRef> prototype = Local<FunctionRef>(value)->GetFunctionPrototype(vm_); in GetProtoOrProtoType() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp1358 void Builtins::InitializeCtor(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &prototype, in InitializeCtor()
2752const JSHandle<JSObject> &prototype, EcmaEntrypoint ctorFunc, in NewBuiltinConstructor()
2770const JSHandle<JSObject> &prototype, EcmaEntrypoint ctorFunc, in NewBuiltinCjsCtor()
3219 …> Builtins::NewIntlConstructor(const JSHandle<GlobalEnv> &env, const JSHandle<JSObject> &prototype, in NewIntlConstructor()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_array_stub_builder.cpp576 GateRef prototype = StubBuilder::GetPrototype(glue, thisValue); in Filter() local
791 GateRef prototype = StubBuilder::GetPrototype(glue, thisValue); in Map() local
2354 GateRef prototype = GetGlobalEnvValue(VariableType::JS_POINTER(), glue, globalEnv, in Values() local
Dbuiltins_typedarray_stub_builder.cpp1404 GateRef prototype = GetPrototypeFromHClass(glue, LoadHClass(glue, thisValue)); in Filter() local
2629 GateRef prototype = GetPrototypeFromHClass(glue, LoadHClass(glue, thisValue)); in Map() local

12