Home
last modified time | relevance | path

Searched full:create (Results 1 – 25 of 267) sorted by relevance

1234567891011

/ark/js_runtime/ecmascript/tooling/test/
Ddebugger_params_test.cpp77 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 …]
Ddebugger_types_test.cpp75 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/
Dpt_params.cpp19 std::unique_ptr<EnableParams> EnableParams::Create(const PtJson &params) 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 &params) 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 &params) in Create() function in panda::ecmascript::tooling::GetScriptSourceParams
172 LOG(ERROR, DEBUGGER) << "GetScriptSourceParams::Create " << error; in Create()
[all …]
Dpt_params.h41 static std::unique_ptr<EnableParams> Create(const PtJson &params);
65 static std::unique_ptr<EvaluateOnCallFrameParams> Create(const PtJson &params);
96 static std::unique_ptr<GetPossibleBreakpointsParams> Create(const PtJson &params);
140 static std::unique_ptr<GetScriptSourceParams> Create(const PtJson &params);
159 static std::unique_ptr<RemoveBreakpointParams> Create(const PtJson &params);
178 static std::unique_ptr<ResumeParams> Create(const PtJson &params);
202 static std::unique_ptr<SetAsyncCallStackDepthParams> Create(const PtJson &params);
220 static std::unique_ptr<SetBlackboxPatternsParams> Create(const PtJson &params);
239 static std::unique_ptr<SetBreakpointByUrlParams> Create(const PtJson &params);
318 static std::unique_ptr<SetPauseOnExceptionsParams> Create(const PtJson &params);
[all …]
Dpt_types.cpp360 std::unique_ptr<RemoteObject> RemoteObject::Create(const PtJson &params) 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 &params) 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 &params) 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 &params) in Create() function in panda::ecmascript::tooling::PrivatePropertyDescriptor
629 obj = RemoteObject::Create(*value); in Create()
[all …]
Dpt_types.h111 static std::unique_ptr<RemoteObject> Create(const PtJson &params);
385 static std::unique_ptr<ExceptionDetails> Create(const PtJson &params);
520 static std::unique_ptr<InternalPropertyDescriptor> Create(const PtJson &params);
567 static std::unique_ptr<PrivatePropertyDescriptor> Create(const PtJson &params);
656 static std::unique_ptr<PropertyDescriptor> Create(const PtJson &params);
838 static std::unique_ptr<CallArgument> Create(const PtJson &params);
922 static std::unique_ptr<Location> Create(const PtJson &params);
978 static std::unique_ptr<ScriptPosition> Create(const PtJson &params);
1016 static std::unique_ptr<SearchMatch> Create(const PtJson &params);
1033 static std::unique_ptr<LocationRange> Create(const PtJson &params);
[all …]
/ark/runtime_core/assembler/
Dannotation.cpp26 …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/
Dmonitor_test.cpp41 // 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 …]
Darray_test.cpp29 // 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/
Dhash_base.h31 * \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.
Dhash.h28 // 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/
Dname_dictionary_test.cpp71 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()
Dlinked_hash_table_test.cpp68 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()
Decma_module_test.cpp72 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 …]
Dsymbol_table_test.cpp156 * 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()
Dtagged_tree_test.cpp189 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 …]
Dgc_test.cpp48 [[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()
Dtest_helper.h85 // 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/
Dcore_vm.cpp27 // 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/
DREADME.md12 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/
Dpt_reference.h25 static PtGlobalReference *Create(PtReference *ref);
31 static PtLocalReference *Create(PtReference *ref);
/ark/js_runtime/ecmascript/
Dlinked_hash_table.cpp24 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/
Dheapprofiler_impl.cpp48 …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/
Des5_tests.txt1012 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/
Dfile_item_container.h70 … 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()

1234567891011