/arkcompiler/ets_runtime/test/moduletest/multiprotoic/ |
D | multiprotoic.js | 22 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/ |
D | intl.js | 23 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/ |
D | setobjectwithproto.ts | 17 var proto = {}; 20 __proto__: proto 22 print(obj.__proto__ == proto)
|
/arkcompiler/ets_frontend/merge_abc/protos/ |
D | assemblyFunction.proto | 19 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";
|
D | assemblyRecord.proto | 19 import "assemblyField.proto"; 20 import "assemblyFileLocation.proto"; 21 import "ideHelpers.proto"; 22 import "meta.proto";
|
D | assemblyProgram.proto | 19 import "assemblyFunction.proto"; 20 import "assemblyRecord.proto"; 21 import "assemblyType.proto"; 22 import "assemblyLiterals.proto";
|
D | assemblyField.proto | 19 import "assemblyType.proto"; 20 import "meta.proto";
|
D | meta.proto | 19 import "annotation.proto"; 20 import "assemblyType.proto";
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | dump_test.cpp | 181 …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/ |
D | HowToWriteProtoForAssemblyStuff.md | 55 | proto类型 | C++类型 | 备注 | 140 proto 191 proto 212 proto 234 proto 264 proto
|
/arkcompiler/ets_frontend/merge_abc/src/ |
D | main.cpp | 24 namespace panda::proto { namespace 78 … proto::ProtobufSnapshotGenerator::GenerateProgram(protoFile, *(programs[idx++]), &allocator); in Run() 94 panda::proto::ProtoMemManager mm; in main() 95 return panda::proto::Run(argc, argv); in main()
|
D | assemblyLabelProto.h | 23 namespace panda::proto {
|
D | assemblyInsProto.h | 23 namespace panda::proto {
|
D | assemblyFileLocationProto.h | 22 namespace panda::proto {
|
D | assemblyTypeProto.h | 23 namespace panda::proto {
|
D | assemblyFieldProto.h | 24 namespace panda::proto {
|
D | assemblyRecordProto.h | 25 namespace panda::proto {
|
D | assemblyProgramProto.h | 26 namespace panda::proto {
|
D | ideHelpersProto.h | 22 namespace panda::proto {
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_hclass.cpp | 321 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 …]
|
D | js_function.h | 108 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()
|
D | js_for_in_iterator.cpp | 44 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/ |
D | intrinsics_gen.h.erb | 57 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/ |
D | test-object-proto-expected.txt | 1 SyntaxError: Duplicate __proto__ fields are not allowed in object literals [test-object-proto.js:25…
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_proxy.cpp | 64 JSHandle<JSTaggedValue> proto = env->GetObjectFunctionPrototype(); in Revocable() local 65 JSHandle<JSObject> result = thread->GetEcmaVM()->GetFactory()->OrdinaryNewJSObjectCreate(proto); in Revocable()
|