/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_string_iterator.cpp | 42 …JSHandle<JSTaggedValue> string(thread, thisValue.GetObject<JSStringIterator>()->GetIteratedString(… in Next() 48 uint32_t position = thisValue.GetObject<JSStringIterator>()->GetStringIteratorNextIndex(); in Next() 51 uint32_t len = EcmaStringAccessor(string.GetObject<EcmaString>()).GetLength(); in Next() 56 … thisValue.GetObject<JSStringIterator>()->SetIteratedString(thread, JSTaggedValue::Undefined()); in Next() 62 uint16_t first = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(position); in Next() 78 … uint16_t second = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(position + 1); in Next() 91 thisValue.GetObject<JSStringIterator>()->SetStringIteratorNextIndex(position + resultSize); in Next()
|
/arkcompiler/toolchain/tooling/test/ |
D | debugger_events_test.cpp | 72 ASSERT_EQ(breakpointResolved.ToJson()->GetObject("params", &json), Result::SUCCESS); in HWTEST_F_L0() 78 ASSERT_EQ(json->GetObject("location", &locationJson), Result::SUCCESS); in HWTEST_F_L0() 96 ASSERT_EQ(json->GetObject("params", ¶ms), Result::SUCCESS); in HWTEST_F_L0() 111 ASSERT_EQ(json1->GetObject("params", ¶ms), Result::SUCCESS); in HWTEST_F_L0() 124 ASSERT_EQ(json->GetObject("params", ¶ms), Result::SUCCESS); in HWTEST_F_L0() 139 ASSERT_EQ(json->GetObject("params", ¶ms), Result::SUCCESS); in HWTEST_F_L0() 163 ASSERT_EQ(json->GetObject("params", ¶ms), Result::SUCCESS); in HWTEST_F_L0() 215 ASSERT_EQ(json->GetObject("params", ¶ms), Result::SUCCESS); in HWTEST_F_L0() 240 ASSERT_EQ(json->GetObject("params", ¶ms), Result::SUCCESS); in HWTEST_F_L0() 311 ASSERT_EQ(json->GetObject("params", ¶ms), Result::SUCCESS); in HWTEST_F_L0() [all …]
|
D | debugger_returns_test.cpp | 103 ASSERT_EQ(evaluateOnCallFrameReturns->ToJson()->GetObject("result", &json), Result::SUCCESS); in HWTEST_F_L0() 109 …ASSERT_EQ(evaluateOnCallFrameReturns->ToJson()->GetObject("exceptionDetails", &tmpJson), Result::S… in HWTEST_F_L0() 180 … ASSERT_EQ(setBreakpointReturns->ToJson()->GetObject("actualLocation", &tmpJson), Result::SUCCESS); in HWTEST_F_L0() 243 ASSERT_EQ(callFunctionOnReturns->ToJson()->GetObject("result", &json), Result::SUCCESS); in HWTEST_F_L0() 249 …ASSERT_EQ(callFunctionOnReturns->ToJson()->GetObject("exceptionDetails", &tmpJson), Result::SUCCES… in HWTEST_F_L0() 266 ASSERT_EQ(stopSamplingReturns->ToJson()->GetObject("profile", &json), Result::SUCCESS); in HWTEST_F_L0() 289 … ASSERT_EQ(getObjectByHeapObjectIdReturns->ToJson()->GetObject("result", &json), Result::SUCCESS); in HWTEST_F_L0() 302 ASSERT_EQ(stopReturns->ToJson()->GetObject("profile", &json), Result::SUCCESS); in HWTEST_F_L0()
|
D | pt_returns_test.cpp | 62 …ASSERT_EQ(evaluateOnCallFrameReturns->ToJson()->GetObject("exceptionDetails", &tmpJson), Result::N… in HWTEST_F_L0() 72 ASSERT_EQ(getScriptSourceReturns->ToJson()->GetObject("bytecode", &tmpJson), Result::NOT_EXIST); in HWTEST_F_L0() 121 …ASSERT_EQ(setScriptSourceReturns->ToJson()->GetObject("exceptionDetails", &exceptionDetailJson), R… in HWTEST_F_L0() 131 …ASSERT_EQ(setScriptSource->ToJson()->GetObject("exceptionDetails", &exceptionJson), Result::NOT_EX… in HWTEST_F_L0() 179 …ASSERT_EQ(getPropertiesReturns->ToJson()->GetObject("exceptionDetails", &tmpJson), Result::SUCCESS… in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | read_only_space_test.cpp | 126 auto *regionBefore = Region::ObjectAddressToRange(string.GetObject<TaggedObject>()); in HWTEST_F_L0() 127 auto *objRegionBefore = Region::ObjectAddressToRange(obj.GetObject<TaggedObject>()); in HWTEST_F_L0() 131 auto *regionAfter = Region::ObjectAddressToRange(string.GetObject<TaggedObject>()); in HWTEST_F_L0() 132 auto *objRegionAfter = Region::ObjectAddressToRange(obj.GetObject<TaggedObject>()); in HWTEST_F_L0() 164 auto *region = Region::ObjectAddressToRange(string.GetObject<TaggedObject>()); in HWTEST_F_L0()
|
D | js_array_test.cpp | 61 JSArray *arr = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetObject<JSArray>(); in HWTEST_F_L0() 66 JSArray *arr2 = JSArray::ArrayCreate(thread, JSTaggedNumber(10)).GetObject<JSArray>(); in HWTEST_F_L0() 75 JSArray *arr = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetObject<JSArray>(); in HWTEST_F_L0() 91 JSArray *arr = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetObject<JSArray>(); in HWTEST_F_L0()
|
D | template_string_test.cpp | 76 JSArray *arr = JSArray::ArrayCreate(thread, JSTaggedNumber(arrayLength)).GetObject<JSArray>(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_list_format_test.cpp | 146 JSArray *arr = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetObject<JSArray>(); in HWTEST_F_L0() 184 JSArray *arr = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetObject<JSArray>(); in HWTEST_F_L0() 220 JSArray *arr = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetObject<JSArray>(); in HWTEST_F_L0() 252 JSArray *arr = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetObject<JSArray>(); in HWTEST_F_L0() 311 JSArray *arr = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetObject<JSArray>(); in HWTEST_F_L0() 350 JSArray *arr = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetObject<JSArray>(); in HWTEST_F_L0() 389 JSArray *arr = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetObject<JSArray>(); in HWTEST_F_L0() 427 JSArray *arr = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetObject<JSArray>(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
D | containers_test_helper.h | 39 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectTestCreate()
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | array_helper_test.cpp | 124 JSArray *handleArr = JSArray::ArrayCreate(thread, JSTaggedNumber(10)).GetObject<JSArray>(); in HWTEST_F_L0() 158 JSArray *handleArr = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetObject<JSArray>(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_for_in_iterator.cpp | 35 JSHandle<JSTaggedValue> object(thread, it->GetObject()); in CheckObjProto() 115 JSHandle<JSTaggedValue> object(thread, it->GetObject()); in NextInternal()
|
D | ecma_global_storage.h | 30 JSTaggedType GetObject() const in GetObject() function 452 auto value = reinterpret_cast<T *>(nodeAddr)->GetObject(); 464 auto value = reinterpret_cast<T *>(nodeAddr)->GetObject(); in ClearWeak()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | test_runtime_stubs.cpp | 107 JSFunction *function = env->GetObjectFunction().GetObject<JSFunction>(); in DEF_RUNTIME_STUBS() 129 JSFunction* function = env->GetObjectFunction().GetObject<JSFunction>(); in DEF_RUNTIME_STUBS()
|
/arkcompiler/ets_runtime/test/fuzztest/containersprivatecommon_fuzzer/ |
D | containersprivatecommon_fuzzer.h | 35 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/toolchain/tooling/base/ |
D | pt_json.h | 104 Result GetObject(const char *key, std::unique_ptr<PtJson> *value) const;
|
D | pt_types.cpp | 1080 ret = params.GetObject("exception", &exception); in Create() 1149 ret = params.GetObject("value", &value); in Create() 1197 ret = params.GetObject("value", &value); in Create() 1211 ret = params.GetObject("get", &get); in Create() 1224 ret = params.GetObject("set", &set); in Create() 1315 ret = params.GetObject("value", &value); in Create() 1336 ret = params.GetObject("get", &get); in Create() 1349 ret = params.GetObject("set", &set); in Create() 1394 ret = params.GetObject("symbol", &symbol); in Create() 1637 ret = params.GetObject("start", &start); in Create() [all …]
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapconstructor_fuzzer/ |
D | containerstreemapconstructor_fuzzer.cpp | 36 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmap_fuzzer/ |
D | containerslightweightmap_fuzzer.cpp | 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetgetindexof_fuzzer/ |
D | containerslightweightsetgetindexof_fuzzer.cpp | 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetclear_fuzzer/ |
D | containerslightweightsetclear_fuzzer.cpp | 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containerstreemapget_fuzzer/ |
D | containerstreemapget_fuzzer.cpp | 36 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightsetvalues_fuzzer/ |
D | containerslightweightsetvalues_fuzzer.cpp | 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containersstack_fuzzer/ |
D | containersstack_fuzzer.cpp | 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslistadd_fuzzer/ |
D | containerslistadd_fuzzer.cpp | 37 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|
/arkcompiler/ets_runtime/test/fuzztest/containershashmapset_fuzzer/ |
D | containershashmapset_fuzzer.cpp | 35 return globalEnv->GetObjectFunction().GetObject<JSFunction>(); in JSObjectCreate()
|