Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 117) sorted by relevance

12345

/arkcompiler/ets_runtime/test/moduletest/multiprotoic/
Dmultiprotoic.js22 let proto = new P(); variable
27 conditionArray.push(!(proto === protoT))
29 conditionArray.push(ArkTools.compareHClass(proto, protoT));
30 conditionArray.push(!ArkTools.isPrototype(proto));
42 Object.setPrototypeOf(obj1, proto);
43 Object.setPrototypeOf(obj2, proto);
44 Object.setPrototypeOf(obj3, proto);
46 conditionArray.push(ArkTools.isPrototype(proto));
48 conditionArray.push(!ArkTools.compareHClass(proto, protoT));
/arkcompiler/ets_runtime/test/moduletest/intl/
Dintl.js23 const proto = this.Intl.NumberFormat.prototype;
24 proto.resolvedOptions();
30 const proto = this.Intl.DateTimeFormat.prototype;
31 proto.resolvedOptions();
/arkcompiler/ets_runtime/test/aottest/setobjectwithproto/
Dsetobjectwithproto.ts17 var proto = {};
20 __proto__: proto
22 print(obj.__proto__ == proto)
/arkcompiler/ets_frontend/merge_abc/protos/
DassemblyFunction.proto19 import "assemblyIns.proto";
20 import "assemblyLabel.proto";
21 import "assemblyType.proto";
22 import "assemblyDebug.proto";
23 import "assemblyFileLocation.proto";
24 import "ideHelpers.proto";
25 import "meta.proto";
DassemblyRecord.proto19 import "assemblyField.proto";
20 import "assemblyFileLocation.proto";
21 import "ideHelpers.proto";
22 import "meta.proto";
DassemblyProgram.proto19 import "assemblyFunction.proto";
20 import "assemblyRecord.proto";
21 import "assemblyType.proto";
22 import "assemblyLiterals.proto";
DassemblyField.proto19 import "assemblyType.proto";
20 import "meta.proto";
Dmeta.proto19 import "annotation.proto";
20 import "assemblyType.proto";
/arkcompiler/ets_runtime/ecmascript/tests/
Ddump_test.cpp181 …c JSHandle<JSMap> NewJSMap(JSThread *thread, ObjectFactory *factory, JSHandle<JSTaggedValue> proto) in NewJSMap() argument
183 JSHandle<JSHClass> mapClass = factory->NewEcmaHClass(JSMap::SIZE, JSType::JS_MAP, proto); in NewJSMap()
190 …c JSHandle<JSSet> NewJSSet(JSThread *thread, ObjectFactory *factory, JSHandle<JSTaggedValue> proto) in NewJSSet() argument
192 JSHandle<JSHClass> setClass = factory->NewEcmaHClass(JSSet::SIZE, JSType::JS_SET, proto); in NewJSSet()
202 JSHandle<JSTaggedValue> proto = globalEnv->GetObjectFunctionPrototype(); in NewJSAPIHashMap() local
203 …le<JSHClass> mapClass = factory->NewEcmaHClass(JSAPIHashMap::SIZE, JSType::JS_API_HASH_MAP, proto); in NewJSAPIHashMap()
213 JSHandle<JSTaggedValue> proto = globalEnv->GetObjectFunctionPrototype(); in NewJSAPIHashSet() local
214 …le<JSHClass> setClass = factory->NewEcmaHClass(JSAPIHashSet::SIZE, JSType::JS_API_HASH_SET, proto); in NewJSAPIHashSet()
224 JSHandle<JSTaggedValue> proto = globalEnv->GetObjectFunctionPrototype(); in NewJSAPITreeMap() local
225 …le<JSHClass> mapClass = factory->NewEcmaHClass(JSAPITreeMap::SIZE, JSType::JS_API_TREE_MAP, proto); in NewJSAPITreeMap()
[all …]
/arkcompiler/ets_frontend/merge_abc/
DHowToWriteProtoForAssemblyStuff.md55 | proto类型 | C++类型 | 备注 |
140 proto
191 proto
212 proto
234 proto
264 proto
/arkcompiler/ets_frontend/merge_abc/src/
Dmain.cpp24 namespace panda::proto { namespace
78proto::ProtobufSnapshotGenerator::GenerateProgram(protoFile, *(programs[idx++]), &allocator); in Run()
94 panda::proto::ProtoMemManager mm; in main()
95 return panda::proto::Run(argc, argv); in main()
DassemblyLabelProto.h23 namespace panda::proto {
DassemblyInsProto.h23 namespace panda::proto {
DassemblyFileLocationProto.h22 namespace panda::proto {
DassemblyTypeProto.h23 namespace panda::proto {
DassemblyFieldProto.h24 namespace panda::proto {
DassemblyRecordProto.h25 namespace panda::proto {
DassemblyProgramProto.h26 namespace panda::proto {
DideHelpersProto.h22 namespace panda::proto {
/arkcompiler/ets_runtime/ecmascript/
Djs_hclass.cpp321 const JSHandle<JSTaggedValue> &proto) in TransitionProto() argument
326 … auto *newClass = jshclass->FindProtoTransitions(key.GetTaggedValue(), proto.GetTaggedValue()); in TransitionProto()
335 newJsHClass->SetPrototype(thread, proto.GetTaggedValue()); in TransitionProto()
345 AddProtoTransitions(thread, jshclass, newJsHClass, key, proto); in TransitionProto()
352 const JSHandle<JSTaggedValue> &proto) in TransProtoWithoutLayout() argument
357 … auto *newClass = jshclass->FindProtoTransitions(key.GetTaggedValue(), proto.GetTaggedValue()); in TransProtoWithoutLayout()
365 newJsHClass->SetPrototype(thread, proto.GetTaggedValue()); in TransProtoWithoutLayout()
368 AddProtoTransitions(thread, jshclass, newJsHClass, key, proto); in TransProtoWithoutLayout()
374 void JSHClass::SetPrototype(const JSThread *thread, JSTaggedValue proto) in SetPrototype() argument
376 JSHandle<JSTaggedValue> protoHandle(thread, proto); in SetPrototype()
[all …]
Djs_function.h108 const JSHandle<JSTaggedValue> &proto, bool writable = true);
131 inline void SetFunctionPrototype(const JSThread *thread, JSTaggedValue proto) in SetFunctionPrototype() argument
133 SetProtoOrHClass(thread, proto); in SetFunctionPrototype()
134 if (proto.IsJSHClass()) { in SetFunctionPrototype()
135 proto = JSHClass::Cast(proto.GetTaggedObject())->GetPrototype(); in SetFunctionPrototype()
137 if (proto.IsECMAObject()) { in SetFunctionPrototype()
138 proto.GetTaggedObject()->GetClass()->SetIsPrototype(true); in SetFunctionPrototype()
Djs_for_in_iterator.cpp44 JSTaggedValue proto = hclass->GetPrototype(); in CheckObjProto() local
45 if (!proto.IsJSObject()) { in CheckObjProto()
145 JSTaggedValue proto = JSTaggedValue::GetPrototype(thread, object); in NextInternal() local
147 it->SetObject(thread, proto); in NextInternal()
/arkcompiler/runtime_core/disassembler/templates/
Dintrinsics_gen.h.erb57 Method::Proto proto;
58 auto &shorty = proto.GetShorty();
64 proto.GetRefTypes().emplace_back("<%= get_object_descriptor(t) %>");
68 auto method = klass->GetDirectMethod(mutf8_name, proto);
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-object-proto-expected.txt1 SyntaxError: Duplicate __proto__ fields are not allowed in object literals [test-object-proto.js:25…
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_proxy.cpp64 JSHandle<JSTaggedValue> proto = env->GetObjectFunctionPrototype(); in Revocable() local
65 JSHandle<JSObject> result = thread->GetEcmaVM()->GetFactory()->OrdinaryNewJSObjectCreate(proto); in Revocable()

12345