| /ark/js_runtime/ecmascript/tooling/test/ |
| D | debugger_params_test.cpp | 77 enableParams = EnableParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 83 enableParams = EnableParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 97 startSamplingData = StartSamplingParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 103 startSamplingData = StartSamplingParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 109 startSamplingData = StartSamplingParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 114 startSamplingData = StartSamplingParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 119 startSamplingData = StartSamplingParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 131 objectData = StartTrackingHeapObjectsParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 137 objectData = StartTrackingHeapObjectsParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 143 objectData = StartTrackingHeapObjectsParams::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() [all …]
|
| D | debugger_types_test.cpp | 75 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 80 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 85 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 90 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 95 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 100 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 105 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 112 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 118 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() 124 remoteObject = RemoteObject::Create(DispatchRequest(msg).GetParams()); in HWTEST_F_L0() [all …]
|
| /ark/js_runtime/ecmascript/tooling/base/ |
| D | pt_params.cpp | 19 std::unique_ptr<EnableParams> EnableParams::Create(const PtJson ¶ms) in Create() function in panda::ecmascript::tooling::EnableParams 34 LOG(ERROR, DEBUGGER) << "EnableParams::Create " << error; in Create() 41 std::unique_ptr<EvaluateOnCallFrameParams> EvaluateOnCallFrameParams::Create(const PtJson ¶ms) in Create() function in panda::ecmascript::tooling::EvaluateOnCallFrameParams 105 LOG(ERROR, DEBUGGER) << "EvaluateOnCallFrameParams::Create " << error; in Create() 111 std::unique_ptr<GetPossibleBreakpointsParams> GetPossibleBreakpointsParams::Create(const PtJson &pa… in Create() function in panda::ecmascript::tooling::GetPossibleBreakpointsParams 120 std::unique_ptr<Location> location = Location::Create(*start); in Create() 132 std::unique_ptr<Location> location = Location::Create(*end); in Create() 150 LOG(ERROR, DEBUGGER) << "GetPossibleBreakpointsParams::Create " << error; in Create() 157 std::unique_ptr<GetScriptSourceParams> GetScriptSourceParams::Create(const PtJson ¶ms) in Create() function in panda::ecmascript::tooling::GetScriptSourceParams 172 LOG(ERROR, DEBUGGER) << "GetScriptSourceParams::Create " << error; in Create() [all …]
|
| D | pt_params.h | 41 static std::unique_ptr<EnableParams> Create(const PtJson ¶ms); 65 static std::unique_ptr<EvaluateOnCallFrameParams> Create(const PtJson ¶ms); 96 static std::unique_ptr<GetPossibleBreakpointsParams> Create(const PtJson ¶ms); 140 static std::unique_ptr<GetScriptSourceParams> Create(const PtJson ¶ms); 159 static std::unique_ptr<RemoveBreakpointParams> Create(const PtJson ¶ms); 178 static std::unique_ptr<ResumeParams> Create(const PtJson ¶ms); 202 static std::unique_ptr<SetAsyncCallStackDepthParams> Create(const PtJson ¶ms); 220 static std::unique_ptr<SetBlackboxPatternsParams> Create(const PtJson ¶ms); 239 static std::unique_ptr<SetBreakpointByUrlParams> Create(const PtJson ¶ms); 318 static std::unique_ptr<SetPauseOnExceptionsParams> Create(const PtJson ¶ms); [all …]
|
| D | pt_types.cpp | 360 std::unique_ptr<RemoteObject> RemoteObject::Create(const PtJson ¶ms) in Create() function in panda::ecmascript::tooling::RemoteObject 423 LOG(ERROR, DEBUGGER) << "RemoteObject::Create " << error; in Create() 454 std::unique_ptr<ExceptionDetails> ExceptionDetails::Create(const PtJson ¶ms) in Create() function in panda::ecmascript::tooling::ExceptionDetails 511 std::unique_ptr<RemoteObject> obj = RemoteObject::Create(*exception); in Create() 530 LOG(ERROR, DEBUGGER) << "ExceptionDetails::Create " << error; in Create() 563 std::unique_ptr<InternalPropertyDescriptor> InternalPropertyDescriptor::Create(const PtJson ¶ms) in Create() function in panda::ecmascript::tooling::InternalPropertyDescriptor 580 std::unique_ptr<RemoteObject> obj = RemoteObject::Create(*value); in Create() 591 LOG(ERROR, DEBUGGER) << "InternalPropertyDescriptor::Create " << error; in Create() 611 std::unique_ptr<PrivatePropertyDescriptor> PrivatePropertyDescriptor::Create(const PtJson ¶ms) in Create() function in panda::ecmascript::tooling::PrivatePropertyDescriptor 629 obj = RemoteObject::Create(*value); in Create() [all …]
|
| D | pt_types.h | 111 static std::unique_ptr<RemoteObject> Create(const PtJson ¶ms); 385 static std::unique_ptr<ExceptionDetails> Create(const PtJson ¶ms); 520 static std::unique_ptr<InternalPropertyDescriptor> Create(const PtJson ¶ms); 567 static std::unique_ptr<PrivatePropertyDescriptor> Create(const PtJson ¶ms); 656 static std::unique_ptr<PropertyDescriptor> Create(const PtJson ¶ms); 838 static std::unique_ptr<CallArgument> Create(const PtJson ¶ms); 922 static std::unique_ptr<Location> Create(const PtJson ¶ms); 978 static std::unique_ptr<ScriptPosition> Create(const PtJson ¶ms); 1016 static std::unique_ptr<SearchMatch> Create(const PtJson ¶ms); 1033 static std::unique_ptr<LocationRange> Create(const PtJson ¶ms); [all …]
|
| /ark/runtime_core/assembler/ |
| D | annotation.cpp | 26 …copy_val = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U1>(sc_val.GetValue<uint… in InitScalarValue() 30 …copy_val = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U8>(sc_val.GetValue<uint… in InitScalarValue() 35 … std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U16>(sc_val.GetValue<uint16_t>())); in InitScalarValue() 40 … std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U32>(sc_val.GetValue<uint32_t>())); in InitScalarValue() 45 … std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::U64>(sc_val.GetValue<uint64_t>())); in InitScalarValue() 49 …copy_val = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I8>(sc_val.GetValue<int8… in InitScalarValue() 53 …copy_val = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I16>(sc_val.GetValue<int… in InitScalarValue() 57 …copy_val = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I32>(sc_val.GetValue<int… in InitScalarValue() 61 …copy_val = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::I64>(sc_val.GetValue<int… in InitScalarValue() 65 …copy_val = std::make_unique<ScalarValue>(ScalarValue::Create<Value::Type::F32>(sc_val.GetValue<flo… in InitScalarValue() [all …]
|
| /ark/runtime_core/runtime/tests/ |
| D | monitor_test.cpp | 41 // We need to create a runtime instance to be able to create strings. in MonitorTest() 44 Runtime::Create(options_); in MonitorTest() 65 auto header = ObjectHeader::Create(cls); in TEST_F() 76 auto header = ObjectHeader::Create(cls); in TEST_F() 91 auto header1 = ObjectHeader::Create(cls); in TEST_F() 92 auto header2 = ObjectHeader::Create(cls); in TEST_F() 111 auto header = ObjectHeader::Create(cls); in TEST_F() 127 auto header = ObjectHeader::Create(cls); in TEST_F() 141 auto header = ObjectHeader::Create(cls); in TEST_F() 160 auto header1 = ObjectHeader::Create(cls); in TEST_F() [all …]
|
| D | array_test.cpp | 29 // We need to create a runtime instance to be able to create strings. in ArrayTest() 32 Runtime::Create(options_); in ArrayTest() 61 Array *array = Array::Create(klass, n); in TestArrayObjectSize()
|
| /ark/runtime_core/libpandabase/utils/ |
| D | hash_base.h | 31 * \brief Create 32 bits Hash from \param key via \param seed. 43 * \brief Create 32 bits Hash from \param key. 54 * \brief Create 32 bits Hash from MUTF8 \param string. 64 * \brief Create 32 bits Hash from MUTF8 \param string.
|
| D | hash.h | 28 // NOTE: To create different seeds for your purposes, 29 // you must define it here and create new alias hash class 36 * \brief Create 32 bits Hash from \param key via \param seed. 48 * \brief Create 32 bits Hash from \param key. 59 * \brief Create 32 bits Hash from MUTF8 \param string. 69 * \brief Create 32 bits Hash from MUTF8 \param string.
|
| /ark/js_runtime/ecmascript/tests/ |
| D | name_dictionary_test.cpp | 71 JSHandle<NameDictionary> dict = NameDictionary::Create(thread, numOfElement); in HWTEST_F_L0() 79 JSHandle<NameDictionary> dictJShandle(NameDictionary::Create(thread, numOfElement)); in HWTEST_F_L0() 84 // create key and values in HWTEST_F_L0() 126 JSHandle<NameDictionary> dictHandle(NameDictionary::Create(thread, numOfElement)); in HWTEST_F_L0() 129 // create key and values in HWTEST_F_L0() 156 JSMutableHandle<NameDictionary> dictHandle(NameDictionary::Create(thread, numOfElement)); in HWTEST_F_L0() 159 // create key and values in HWTEST_F_L0()
|
| D | linked_hash_table_test.cpp | 68 JSHandle<LinkedHashMap> dict = LinkedHashMap::Create(thread, numOfElement); in HWTEST_F_L0() 75 JSHandle<LinkedHashSet> set = LinkedHashSet::Create(thread, numOfElement); in HWTEST_F_L0() 84 JSHandle<LinkedHashMap> dictHandle = LinkedHashMap::Create(thread, numOfElement); in HWTEST_F_L0() 125 JSHandle<LinkedHashSet> setHandle = LinkedHashSet::Create(thread, numOfElement); in HWTEST_F_L0() 162 JSHandle<LinkedHashMap> dictHandle = LinkedHashMap::Create(thread, numOfElement); in HWTEST_F_L0() 193 JSHandle<LinkedHashSet> setHandle = LinkedHashSet::Create(thread, numOfElement); in HWTEST_F_L0() 196 // create key and values in HWTEST_F_L0() 225 JSHandle<LinkedHashMap> dictHandle = LinkedHashMap::Create(thread, numOfElement); in HWTEST_F_L0() 257 JSHandle<LinkedHashSet> setHandle = LinkedHashSet::Create(thread, numOfElement); in HWTEST_F_L0() 260 // create key and values in HWTEST_F_L0()
|
| D | ecma_module_test.cpp | 72 JSHandle<NameDictionary> handleNameDict(NameDictionary::Create(thread, numOfElementsDict)); in HWTEST_F_L0() 133 …* CaseDescription: Create a source key, a source value, a source NameDictionary and a target EcmaM… 144 JSHandle<NameDictionary> handleNameDict(NameDictionary::Create(thread, numOfElementsDict)); in HWTEST_F_L0() 169 …* CaseDescription: Create 2 source EcmaModules that both add an item, create a ModuleManager that … 184 JSHandle<NameDictionary> handleNameDict1(NameDictionary::Create(thread, numOfElementsDict1)); in HWTEST_F_L0() 185 JSHandle<NameDictionary> handleNameDict2(NameDictionary::Create(thread, numOfElementsDict2)); in HWTEST_F_L0() 223 …* CaseDescription: Create two source EcmaModules that add different items, create a ModuleManager … 247 JSHandle<NameDictionary> handleNameDict1(NameDictionary::Create(thread, numOfElementsDict1)); in HWTEST_F_L0() 248 JSHandle<NameDictionary> handleNameDict2(NameDictionary::Create(thread, numOfElementsDict2)); in HWTEST_F_L0() 278 …* CaseDescription: Create a ModuleManager, check whether the ExportModuleName obtained from the Mo… [all …]
|
| D | symbol_table_test.cpp | 156 * Function: Create 158 * FunctionPoints: Create 163 HWTEST_F_L0(SymbolTableTest, Create) in HWTEST_F_L0() argument 170 JSHandle<SymbolTable> symbolTable = SymbolTable::Create(thread, numberOfElements); in HWTEST_F_L0() 190 JSHandle<SymbolTable> symbolTable = SymbolTable::Create(thread, numberOfElements); in HWTEST_F_L0() 216 …* by the create function. If the pointer variable has no value set, it returns fa… 224 JSHandle<SymbolTable> symbolTable = SymbolTable::Create(thread, numberOfElements); in HWTEST_F_L0() 241 …ion: This function compares the key value in the symboltable pointer variable created by the create 254 JSHandle<SymbolTable> symbolTable = SymbolTable::Create(thread, numberOfElements); in HWTEST_F_L0()
|
| D | tagged_tree_test.cpp | 189 JSHandle<TaggedTreeMap> tmap(thread, TaggedTreeMap::Create(thread, NODE_NUMBERS)); in HWTEST_F_L0() 199 JSHandle<TaggedTreeSet> tset(thread, TaggedTreeSet::Create(thread, NODE_NUMBERS)); in HWTEST_F_L0() 210 JSMutableHandle<TaggedTreeMap> tmap(thread, TaggedTreeMap::Create(thread, NODE_NUMBERS)); in HWTEST_F_L0() 246 JSMutableHandle<TaggedTreeSet> tset(thread, TaggedTreeSet::Create(thread, NODE_NUMBERS)); in HWTEST_F_L0() 276 JSMutableHandle<TaggedTreeMap> tmap(thread, TaggedTreeMap::Create(thread)); in HWTEST_F_L0() 305 JSMutableHandle<TaggedTreeSet> tset(thread, TaggedTreeSet::Create(thread)); in HWTEST_F_L0() 306 // create key in HWTEST_F_L0() 340 JSMutableHandle<TaggedTreeMap> tmap(thread, TaggedTreeMap::Create(thread)); in HWTEST_F_L0() 369 JSMutableHandle<TaggedTreeMap> tmap(thread, TaggedTreeMap::Create(thread)); in HWTEST_F_L0() 412 JSMutableHandle<TaggedTreeMap> tmap(thread, TaggedTreeMap::Create(thread)); in HWTEST_F_L0() [all …]
|
| D | gc_test.cpp | 48 [[maybe_unused]] bool success = Runtime::Create(options, {&lcEcma}); in SetUp() 49 ASSERT_TRUE(success) << "Cannot create Runtime"; in SetUp() 51 ASSERT_TRUE(instance != nullptr) << "Cannot create EcmaVM"; in SetUp()
|
| D | test_helper.h | 85 // If you want to call once create, you can refer to BuiltinsMathTest for detail. 101 [[maybe_unused]] bool success = Runtime::Create(options, {&lcEcma}); 102 ASSERT_TRUE(success) << "Cannot create Runtime"; 105 ASSERT_TRUE(instance != nullptr) << "Cannot create EcmaVM";
|
| /ark/runtime_core/runtime/core/ |
| D | core_vm.cpp | 27 // Create MemoryManager by RuntimeOptions 56 …return mem::MemoryManager::Create(ctx, internal_allocator, gc_type, gc_settings, gc_trigger_config… in CreateMM() 60 Expected<PandaCoreVM *, PandaString> PandaCoreVM::Create(Runtime *runtime, const RuntimeOptions &op… in Create() function in panda::core::PandaCoreVM 65 return Unexpected(PandaString("Cannot create MemoryManager")); in Create() 72 // Create Main Thread in Create() 73 core_vm->main_thread_ = MTManagedThread::Create(runtime, core_vm); in Create() 207 auto *array = coretypes::Array::Create(array_klass, args.size()); in CreateArgumentsArray()
|
| /ark/runtime_core/cmake/ |
| D | README.md | 12 After this step, create libraries and some debug-targets if you have installed additional libraries… 16 In the current build, create subdirectories for each project. For example, for the vixl library, cr…
|
| /ark/runtime_core/runtime/include/tooling/ |
| D | pt_reference.h | 25 static PtGlobalReference *Create(PtReference *ref); 31 static PtLocalReference *Create(PtReference *ref);
|
| /ark/js_runtime/ecmascript/ |
| D | linked_hash_table.cpp | 24 JSHandle<Derived> LinkedHashTable<Derived, HashObject>::Create(const JSThread *thread, int numberOf… in Create() function in panda::ecmascript::LinkedHashTable 136 JSHandle<Derived> newTable = Create(thread, newCapacity); in GrowCapacity() 163 JSHandle<Derived> newTable = Create(thread, newCapacity); in Shrink() 170 JSHandle<LinkedHashMap> LinkedHashMap::Create(const JSThread *thread, int numberOfElements) in Create() function in panda::ecmascript::LinkedHashMap 172 return LinkedHashTable<LinkedHashMap, LinkedHashMapObject>::Create(thread, numberOfElements); in Create() 226 JSHandle<LinkedHashSet> LinkedHashSet::Create(const JSThread *thread, int numberOfElements) in Create() function in panda::ecmascript::LinkedHashSet 228 return LinkedHashTable<LinkedHashSet, LinkedHashSetObject>::Create(thread, numberOfElements); in Create()
|
| /ark/js_runtime/ecmascript/tooling/agent/ |
| D | heapprofiler_impl.cpp | 48 …std::unique_ptr<AddInspectedHeapObjectParams> params = AddInspectedHeapObjectParams::Create(reques… in AddInspectedHeapObject() 77 …std::unique_ptr<GetHeapObjectIdParams> params = GetHeapObjectIdParams::Create(request.GetParams()); in GetHeapObjectId() 91 …std::unique_ptr<GetObjectByHeapObjectIdParams> params = GetObjectByHeapObjectIdParams::Create(requ… in GetObjectByHeapObjectId() 114 std::unique_ptr<StartSamplingParams> params = StartSamplingParams::Create(request.GetParams()); in StartSampling() 126 StartTrackingHeapObjectsParams::Create(request.GetParams()); in StartTrackingHeapObjects() 146 …std::unique_ptr<StopTrackingHeapObjectsParams> params = StopTrackingHeapObjectsParams::Create(requ… in StopTrackingHeapObjects() 157 …std::unique_ptr<StopTrackingHeapObjectsParams> params = StopTrackingHeapObjectsParams::Create(requ… in TakeHeapSnapshot()
|
| /ark/ts2abc/test262/ |
| D | es5_tests.txt | 1012 built-ins/Object/create/15.2.3.5-0-1.js 1013 built-ins/Object/create/15.2.3.5-0-2.js 1014 built-ins/Object/create/15.2.3.5-1.js 1015 built-ins/Object/create/15.2.3.5-1-1.js 1016 built-ins/Object/create/15.2.3.5-1-2.js 1017 built-ins/Object/create/15.2.3.5-1-3.js 1018 built-ins/Object/create/15.2.3.5-1-4.js 1019 built-ins/Object/create/15.2.3.5-2-1.js 1020 built-ins/Object/create/15.2.3.5-2-2.js 1021 built-ins/Object/create/15.2.3.5-3-1.js [all …]
|
| /ark/runtime_core/libpandafile/ |
| D | file_item_container.h | 70 … static_assert(!std::is_same_v<T, StringItem>, "Use GetOrCreateStringItem to create StringItem"); in CreateItem() 71 … static_assert(!std::is_same_v<T, ClassItem>, "Use GetOrCreateClassItem to create ClassItem"); in CreateItem() 73 "Use GetOrCreateForeignClassItem to create ForeignClassItem"); in CreateItem() 74 …static_assert(!std::is_same_v<T, ValueItem>, "Use GetOrCreateValueItem functions to create ValueIt… in CreateItem() 75 … static_assert(!std::is_same_v<T, ProtoItem>, "Use GetOrCreateProtoItem to create ValueItem"); in CreateItem() 77 "Use CreateLineNumberProgramItem to create LineNumberProgramItem"); in CreateItem()
|