/arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
D | heap_snapshot.cpp | 41 CString *HeapSnapshot::GetString(const CString &as) in GetString() function in panda::ecmascript::HeapSnapshot 43 return stringTable_->GetString(as); in GetString() 51 return GetString(arrayName); // String type was handled singly, see#GenerateStringNode in GetArrayString() 115 GetString(CString("HeapVerify:").append(ToCString(totalNodesSize_))); in Verify() 263 return GetString("HiddenClass(NonMovable)"); in GenerateNodeName() 265 return GetString("LinkedNode"); in GenerateNodeName() 267 return GetString("TrackInfo"); in GenerateNodeName() 272 return GetString("BaseString"); in GenerateNodeName() 275 return GetString(objName); in GenerateNodeName() 278 return GetString("JSSharedObject"); in GenerateNodeName() [all …]
|
/arkcompiler/toolchain/tooling/test/testcases/ |
D | js_closure_scope_test.h | 53 ret = json->GetString("method", &method); in JsClosureScopeTest() 97 ret = innerResult->Get(0)->GetString("name", &name); in JsClosureScopeTest() 109 ret = value->GetString("description", &valueDes); in JsClosureScopeTest() 138 ret = innerResult->Get(0)->GetString("name", &name); in JsClosureScopeTest() 150 ret = value->GetString("description", &valueDes); in JsClosureScopeTest() 155 ret = innerResult->Get(1)->GetString("name", &name); in JsClosureScopeTest() 165 ret = value->GetString("description", &valueDes); in JsClosureScopeTest() 194 ret = innerResult->Get(0)->GetString("name", &name); in JsClosureScopeTest() 206 ret = value->GetString("description", &valueDes); in JsClosureScopeTest() 221 ret = json->GetString("method", &method); in JsClosureScopeTest() [all …]
|
D | js_container_test.h | 48 ret = json->GetString("method", &method); in JsContainerTest() 66 breakpoint = hitBreakpoints->Get(0)->GetString(); in JsContainerTest() 107 ret = innerResult->Get(i)->GetString("name", &name); in JsContainerTest() 117 ret = value->GetString("type", &type); in JsContainerTest() 122 ret = value->GetString("className", &className); in JsContainerTest() 127 ret = value->GetString("unserializableValue", &unserializableValue); in JsContainerTest() 132 ret = value->GetString("description", &description); in JsContainerTest()
|
D | js_exception_test.h | 49 ret = json->GetString("method", &method); in JsExceptionTest() 67 breakpoint = hitBreakpoints->Get(0)->GetString(); in JsExceptionTest() 88 ret = json->GetString("method", &method); in JsExceptionTest() 106 ret = callFrames->Get(0)->GetString("functionName", &functionName); in JsExceptionTest() 126 ret = json->GetString("method", &method); in JsExceptionTest() 166 ret = json->GetString("method", &method); in JsExceptionTest()
|
D | js_local_variable_scope_test.h | 50 ret = json->GetString("method", &method); in JsLocalVariableScopeTest() 84 ret = innerResult->Get(i)->GetString("name", &name); in JsLocalVariableScopeTest() 94 ret = value->GetString("type", &type); in JsLocalVariableScopeTest() 103 ret = value->GetString("description", &valueDes); in JsLocalVariableScopeTest()
|
D | js_heapdump_test.h | 65 ret = json->GetString("method", &method); in RecvReportProgress() 98 ret = json->GetString("method", &method); in RecvReportProgressFinished() 134 ret = json->GetString("method", &method); in RecvReportProgressChunk() 150 ret = params->GetString("chunk", &chunk); in RecvReportProgressChunk()
|
D | js_allocationtrack_test.h | 80 ret = json->GetString("method", &method); in RecvReportProgress() 107 ret = json->GetString("method", &method); in RecvReportProgressFinished() 143 ret = json->GetString("method", &method); in RecvReportProgressChunk() 159 ret = params->GetString("chunk", &chunk); in RecvReportProgressChunk()
|
D | js_watch_test.h | 106 ret = watchResult->GetString("description", &numResult); in RecvWatchDescription() 140 ret = watchResult->GetString("type", &type); in RecvWatchType() 174 ret = watchResult->GetString("type", &type); in RecvWatchObject() 208 ret = value->GetString("description", &description); in RecvWatchDescriptionByJack()
|
D | js_breakpoint_arrow_test.h | 48 ret = json->GetString("method", &method); in JsBreakpointArrowTest() 66 breakpoint = hitBreakpoints->Get(0)->GetString(); in JsBreakpointArrowTest()
|
/arkcompiler/toolchain/tooling/test/ |
D | debugger_events_test.cpp | 74 ASSERT_EQ(json->GetString("breakpointId", &breakpointId), Result::SUCCESS); in HWTEST_F_L0() 80 ASSERT_EQ(locationJson->GetString("scriptId", &scriptId), Result::SUCCESS); in HWTEST_F_L0() 110 ASSERT_EQ(params->GetString("reason", &reason), Result::SUCCESS); in HWTEST_F_L0() 134 ASSERT_EQ(json->GetString("method", &method), Result::SUCCESS); in HWTEST_F_L0() 149 ASSERT_EQ(json->GetString("method", &method), Result::SUCCESS); in HWTEST_F_L0() 179 ASSERT_EQ(params->GetString("scriptId", &tmpStr), Result::SUCCESS); in HWTEST_F_L0() 182 ASSERT_EQ(params->GetString("url", &tmpStr), Result::SUCCESS); in HWTEST_F_L0() 201 ASSERT_EQ(params->GetString("hash", &tmpStr), Result::SUCCESS); in HWTEST_F_L0() 204 ASSERT_EQ(params->GetString("sourceMapURL", &tmpStr), Result::SUCCESS); in HWTEST_F_L0() 220 ASSERT_EQ(params->GetString("scriptLanguage", &tmpStr), Result::SUCCESS); in HWTEST_F_L0() [all …]
|
D | pt_json_test.cpp | 98 EXPECT_EQ(json->GetString(), "abcdefg"); in HWTEST_F_L0() 109 EXPECT_EQ(json->Get(0)->GetString(), "a"); in HWTEST_F_L0() 110 EXPECT_EQ(json->Get(1)->GetString(), "b"); in HWTEST_F_L0() 122 EXPECT_EQ(json->Get(0)->GetString(), "a"); in HWTEST_F_L0() 123 EXPECT_EQ(json->Get(1)->GetString(), "b"); in HWTEST_F_L0() 168 ASSERT_EQ(root->GetString("e", &str), Result::SUCCESS); in HWTEST_F_L0() 171 ASSERT_EQ(json->GetString("ch", &str), Result::SUCCESS); in HWTEST_F_L0() 233 std::string result4 = num.GetString(); in HWTEST_F_L0()
|
D | debugger_returns_test.cpp | 70 ASSERT_EQ(enableReturns->ToJson()->GetString("debuggerId", &debuggerId), Result::SUCCESS); in HWTEST_F_L0() 84 ASSERT_EQ(setBreakpointByUrlReturns->ToJson()->GetString("breakpointId", &id), Result::SUCCESS); in HWTEST_F_L0() 105 ASSERT_EQ(json->GetString("type", &type), Result::SUCCESS); in HWTEST_F_L0() 137 …ASSERT_EQ(getScriptSourceReturns->ToJson()->GetString("scriptSource", &scriptSource), Result::SUCC… in HWTEST_F_L0() 141 ASSERT_EQ(getScriptSourceReturns->ToJson()->GetString("bytecode", &bytecode), Result::SUCCESS); in HWTEST_F_L0() 176 …ASSERT_EQ(setBreakpointReturns->ToJson()->GetString("breakpointId", &breakpointId), Result::SUCCES… in HWTEST_F_L0() 190 … ASSERT_EQ(setInstrumentationBreakpointReturns->ToJson()->GetString("breakpointId", &breakpointId), in HWTEST_F_L0() 245 ASSERT_EQ(json->GetString("type", &type), Result::SUCCESS); in HWTEST_F_L0() 275 …ASSERT_EQ(getHeapObjectIdReturns->ToJson()->GetString("heapSnapshotObjectId", &heapSnapshotObjectI… in HWTEST_F_L0() 291 ASSERT_EQ(json->GetString("type", &type), Result::SUCCESS); in HWTEST_F_L0() [all …]
|
D | debugger_types_test.cpp | 251 ret = objJson->GetString("type", &tmpStr); in HWTEST_F_L0() 255 ret = objJson->GetString("subtype", &tmpStr); in HWTEST_F_L0() 259 ret = objJson->GetString("className", &tmpStr); in HWTEST_F_L0() 263 ret = objJson->GetString("unserializableValue", &tmpStr); in HWTEST_F_L0() 267 ret = objJson->GetString("description", &tmpStr); in HWTEST_F_L0() 271 ret = objJson->GetString("objectId", &tmpStr); in HWTEST_F_L0() 489 ret = objJson->GetString("text", &tmpStr); in HWTEST_F_L0() 501 ret = objJson->GetString("scriptId", &tmpStr); in HWTEST_F_L0() 505 ret = objJson->GetString("url", &tmpStr); in HWTEST_F_L0() 512 ret = tmpJson->GetString("type", &tmpStr); in HWTEST_F_L0() [all …]
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/napi/bridges/lib/ |
D | EtsNapiTests.cpp | 24 std::string GetString(EtsEnv *env, ets_string const &estr) in GetString() function 894 std::string s1 = GetString(env, a1); in ETS_EtsNapiTests_printString1() 902 std::string s1 = GetString(env, a1); in ETS_EtsNapiTests_printString2() 903 std::string s2 = GetString(env, a2); in ETS_EtsNapiTests_printString2() 912 std::string s1 = GetString(env, a1); in ETS_EtsNapiTests_printString3() 913 std::string s2 = GetString(env, a2); in ETS_EtsNapiTests_printString3() 914 std::string s3 = GetString(env, a3); in ETS_EtsNapiTests_printString3() 923 std::string s1 = GetString(env, a1); in ETS_EtsNapiTests_printString4() 924 std::string s2 = GetString(env, a2); in ETS_EtsNapiTests_printString4() 925 std::string s3 = GetString(env, a3); in ETS_EtsNapiTests_printString4() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_string_table.h | 57 std::pair<EcmaString *, uint32_t> GetString( 59 …std::pair<EcmaString *, uint32_t> GetString(const uint8_t *utf8Data, uint32_t utf8Len, bool canBeC… 60 std::pair<EcmaString *, uint32_t> GetString(const uint16_t *utf16Data, uint32_t utf16Len) const; 61 EcmaString *GetString(EcmaString *string) const; 67 EcmaString *str = GetString(string); in InsertStringIfNotExist()
|
D | ecma_string_table.cpp | 29 std::pair<EcmaString *, uint32_t> EcmaStringTable::GetString(const JSHandle<EcmaString> &firstStrin… in GetString() function in panda::ecmascript::EcmaStringTable 47 std::pair<EcmaString *, uint32_t> EcmaStringTable::GetString(const uint8_t *utf8Data, in GetString() function in panda::ecmascript::EcmaStringTable 61 std::pair<EcmaString *, uint32_t> EcmaStringTable::GetString(const uint16_t *utf16Data, uint32_t ut… in GetString() function in panda::ecmascript::EcmaStringTable 74 EcmaString *EcmaStringTable::GetString(EcmaString *string) const in GetString() function in panda::ecmascript::EcmaStringTable 110 std::pair<EcmaString *, uint32_t> result = GetString(firstFlat, secondFlat); in GetOrInternString() 124 std::pair<EcmaString *, uint32_t> result = GetString(utf8Data, utf8Len, canBeCompress); in GetOrInternString() 142 std::pair<EcmaString *, uint32_t> result = GetString(utf8Data, utf8Len, true); in CreateAndInternStringNonMovable() 155 std::pair<EcmaString *, uint32_t> result = GetString(utf16Data, utf16Len); in GetOrInternString() 178 EcmaString *result = GetString(strFlat); in GetOrInternString() 212 return GetString(string); in TryGetInternString() [all …]
|
/arkcompiler/runtime_core/static_core/runtime/ |
D | string_table.cpp | 28 auto *str = internalTable_.GetString(mutf8Data, utf16Length, canBeCompressed, ctx); in GetOrInternString() 38 auto *str = internalTable_.GetString(utf16Data, utf16Length, ctx); in GetOrInternString() 47 auto *str = internalTable_.GetString(string, ctx); in GetOrInternString() 61 coretypes::String *str = table_.GetString(data.data, data.utf16Length, data.isAscii, ctx); in GetOrInternInternalString() 92 coretypes::String *StringTable::Table::GetString(const uint8_t *utf8Data, uint32_t utf16Length, boo… in GetString() function in panda::StringTable::Table 106 coretypes::String *StringTable::Table::GetString(const uint16_t *utf16Data, uint32_t utf16Length, in GetString() function in panda::StringTable::Table 120 coretypes::String *StringTable::Table::GetString(coretypes::String *string, [[maybe_unused]] const … in GetString() function in panda::StringTable::Table 171 coretypes::String *result = GetString(mutf8Data, utf16Length, canBeCompressed, ctx); in GetOrInternString() 191 coretypes::String *result = GetString(utf16Data, utf16Length, ctx); in GetOrInternString() 210 coretypes::String *result = GetString(string, ctx); in GetOrInternString() [all …]
|
/arkcompiler/runtime_core/static_core/compiler/aot/ |
D | aot_file.h | 113 … [this, &fileName](auto &header) { return fileName == GetString(header.fileNameStr); }); in FindPandaFile() 122 const char *GetString(size_t offset) const in GetString() function 134 return GetString(GetAotHeader()->fileNameStr); in GetFileName() 139 return GetString(GetAotHeader()->cmdlineStr); in GetCommandLine() 144 return GetString(GetAotHeader()->classCtxStr); in GetClassContext() 228 return GetAotFile()->GetString(GetHeader()->fileNameStr); in GetFileName()
|
/arkcompiler/toolchain/tooling/base/ |
D | pt_params.cpp | 48 ret = params.GetString("callFrameId", &callFrameId); in Create() 55 ret = params.GetString("expression", &expression); in Create() 62 ret = params.GetString("objectGroup", &objectGroup); in Create() 131 ret = params.GetString("targetCallFrames", &targetCallFrames); in Create() 200 ret = params.GetString("scriptId", &scriptId); in Create() 222 ret = params.GetString("breakpointId", &breakpointId); in Create() 294 paramsObject->patterns_.emplace_back(item->GetString()); in Create() 325 ret = params.GetString("url", &url); in Create() 332 ret = params.GetString("urlRegex", &urlRegex); in Create() 339 ret = params.GetString("scriptHash", &scriptHash); in Create() [all …]
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
D | arena_allocator_test.cpp | 170 std::string GetString() const noexcept in GetString() function in panda::ComplexClass 261 ASSERT_EQ(vec[i].GetString(), std::to_string(i)) << i; in TEST_F() 266 ASSERT_EQ(dataPtr[i].GetString(), std::to_string(i)) << "value of i: " << i; in TEST_F() 281 ASSERT_EQ(vec[i].GetString(), "1") << "value of i: " << i; in TEST_F() 294 ASSERT_EQ(vec[i].GetString(), "1") << "value of i: " << i; in TEST_F() 298 ASSERT_EQ(vec[i].GetString(), "0") << "value of i: " << i; in TEST_F() 312 ASSERT_EQ(vec[i].GetString(), "1") << "value of i: " << i; in TEST_F() 340 ASSERT_EQ(it->GetString(), std::to_string(i)) << "value of i: " << i; in TEST_F() 356 ASSERT_EQ(it->GetString(), "1") << "value of i: " << i; in TEST_F() 370 ASSERT_EQ(it->GetString(), "1") << "value of i: " << j; in TEST_F() [all …]
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ |
D | ets_vm_plugin.cpp | 71 std::string classDescriptor = GetString(env, jsClassDescriptor); in GetEtsFunction() 72 std::string methodName = GetString(env, jsFunctionName); in GetEtsFunction() 91 std::string classDescriptor = GetString(env, jsClassDescriptor); in GetEtsClass() 154 auto stdlibPath = GetString(env, argv[0]); in CreateEtsRuntime() 161 auto indexPath = GetString(env, argv[1]); in CreateEtsRuntime() 228 argStrings.push_back(GetString(env, option)); in CreateRuntime() 248 argStrings.push_back("--" + GetString(env, key) + "=" + GetString(env, value)); in CreateRuntime()
|
D | js_value.cpp | 54 ctx->GetStringStor()->Release(jsValue->GetString()); in FinalizeETSWeak() 101 auto cachedStr = ctx->GetStringStor()->Get(interop::js::GetString(env, nvalue)); in Create() 145 std::string const *str = GetString().Data(); in GetNapiValue()
|
/arkcompiler/toolchain/tooling/client/manager/ |
D | watch_manager.cpp | 84 Result ret = json->GetString("callFrameId", &callFrameId_); in RequestWatchInfo() 157 Result ret = result->GetString("type", &type); in ShowWatchResult() 174 ret = result->GetString("objectId", &objectId); in ShowWatchResult() 191 ret = result->GetString("description", &description); in ShowWatchResult() 207 Result ret = watchResult->Get(i)->GetString("name", &name); in OutputWatchResult() 219 ret = value->GetString("description", &description); in OutputWatchResult()
|
/arkcompiler/toolchain/test/fuzztest/common_fuzzer/ |
D | common_fuzzer.h | 31 std::string GetString(const uint8_t* data, size_t size); 47 std::string common_fuzzer::GetString(const uint8_t* data, size_t size) in GetString() function
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/perf/ |
D | code.js | 21 exports.GetString = function () { return "abc"; } class in exports
|