Home
last modified time | relevance | path

Searched refs:to_string (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_tree_map_test.cpp62 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0()
63 std::string ivalue = myValue + std::to_string(i); in HWTEST_F_L0()
76 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0()
77 std::string ivalue = myValue + std::to_string(i); in HWTEST_F_L0()
100 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0()
101 std::string ivalue = myValue + std::to_string(i); in HWTEST_F_L0()
109 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0()
116 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0()
117 std::string ivalue = myValue + std::to_string(i); in HWTEST_F_L0()
129 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0()
[all …]
Djs_handle_test.cpp54 std::string test = "test" + std::to_string(i); in GlobalHandleCommon()
72 std::string test = "test" + std::to_string(i); in HWTEST_F_L0()
81 std::string test = "test" + std::to_string(i); in HWTEST_F_L0()
106 std::string test = "test" + std::to_string(i); in HWTEST_F_L0()
119 std::string test = "test" + std::to_string(i); in HWTEST_F_L0()
126 std::string test = "test" + std::to_string(i); in HWTEST_F_L0()
172 std::string test = "test" + std::to_string(i); in HWTEST_F_L0()
185 std::string test = "test" + std::to_string(i); in HWTEST_F_L0()
Djs_api_hashmap_test.cpp46 std::string iKey = myKeyVal.first + std::to_string(i); in Update()
47 std::string iValue = myKeyVal.second + std::to_string(i); in Update()
89 std::string iKey = myKey + std::to_string(i); in HWTEST_F_L0()
90 std::string iValue = myValue + std::to_string(i); in HWTEST_F_L0()
129 std::string iKey = myKey + std::to_string(i); in HWTEST_F_L0()
136 std::string iKey = myKey + std::to_string(i); in HWTEST_F_L0()
137 std::string iValue = myValue + std::to_string(i); in HWTEST_F_L0()
149 std::string iKey = myKey + std::to_string(i); in HWTEST_F_L0()
150 std::string iValue = myValue + std::to_string(i); in HWTEST_F_L0()
176 std::string iKey = myKey + std::to_string(i); in HWTEST_F_L0()
[all …]
Djs_api_tree_map_iterator_test.cpp42 std::string ikey = mapKeyValue[0] + std::to_string(i); in TestKeyValueCommon()
43 std::string ivalue = mapKeyValue[1] + std::to_string(valueNext ? i + 1U : i); in TestKeyValueCommon()
94 std::string ikey = mapKey + std::to_string(i); in HWTEST_F_L0()
95 std::string ivalue = mapValue + std::to_string(i + 2U); in HWTEST_F_L0()
104 std::string ikey = mapKey + std::to_string(i); in HWTEST_F_L0()
105 std::string ivalue = mapValue + std::to_string(i + 2U); in HWTEST_F_L0()
196 std::string resultKey = mapKey + std::to_string(i); in HWTEST_F_L0()
230 std::string resultKey = mapValue + std::to_string(i + 1U); in HWTEST_F_L0()
249 std::string ikey = mapKey + std::to_string(i + 1U); in HWTEST_F_L0()
250 std::string ivalue = mapValue + std::to_string(i + 2U); in HWTEST_F_L0()
[all …]
Djs_api_tree_set_test.cpp55 std::string ikey = myKey + std::to_string(i); in TestCommon()
86 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0()
108 std::string ikey = myKey + std::to_string(NODE_NUMBERS); in HWTEST_F_L0()
115 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0()
123 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0()
132 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0()
154 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0()
180 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0()
187 std::string fkey = myKey + std::to_string(0); in HWTEST_F_L0()
196 std::string lkey = myKey + std::to_string(NODE_NUMBERS - 1); in HWTEST_F_L0()
Dtagged_tree_test.cpp280 std::string ikey = strKeyValue[0] + std::to_string(i); in KeyValueUpdate()
281 std::string ivalue = strKeyValue[1] + std::to_string(i); // 1 : value index in KeyValueUpdate()
331 std::string ivalue = myValue + std::to_string(i); in HWTEST_F_L0()
349 std::string minKey = myKey + std::to_string(0); in HWTEST_F_L0()
366 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0()
368 std::string tmp = myKey + std::to_string(i - 1); in HWTEST_F_L0()
412 std::string ckey = myKey + std::to_string(0); in HWTEST_F_L0()
440 std::string ckey = myKey + std::to_string(NODE_NUMBERS - 1); in HWTEST_F_L0()
465 std::string ikey = myKey + std::to_string(i); in HWTEST_F_L0()
466 std::string ivalue = myValue + std::to_string(i); in HWTEST_F_L0()
[all …]
/arkcompiler/toolchain/websocket/test/
Dwebsocket_test.cpp76 ret = serverSocket.InitUnixWebSocket(UNIX_DOMAIN_PATH_1 + std::to_string(appPid), 5);
89 …t = clientSocket.InitToolchainWebSocketForSockName(UNIX_DOMAIN_PATH_1 + std::to_string(appPid), 5);
173 ret = serverSocket.InitUnixWebSocket(UNIX_DOMAIN_PATH_2 + std::to_string(appPid), 5);
187 …t = clientSocket.InitToolchainWebSocketForSockName(UNIX_DOMAIN_PATH_2 + std::to_string(appPid), 5);
196 retClient = clientSocket.SendReply(HELLO_SERVER + std::to_string(i));
199 EXPECT_EQ(strcmp(recv.c_str(), (HELLO_CLIENT + std::to_string(i)).c_str()), 0);
200 if (strcmp(recv.c_str(), (HELLO_CLIENT + std::to_string(i)).c_str()) == 0) {
201 retClient = clientSocket.SendReply(CLIENT_OK + std::to_string(i));
211 EXPECT_EQ(strcmp(recv.c_str(), (HELLO_SERVER + std::to_string(i)).c_str()), 0);
212 serverSocket.SendReply(HELLO_CLIENT + std::to_string(i));
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
Dshared_gc.cpp28 + std::to_string(static_cast<int>(sHeap_->GetEcmaGCStats()->GetGCReason())) in RunPhases()
29 + ";Sensitive" + std::to_string(static_cast<int>(sHeap_->GetSensitiveStatus())) in RunPhases()
30 + ";IsInBackground" + std::to_string(sHeap_->IsInBackground()) in RunPhases()
31 + ";Startup" + std::to_string(sHeap_->OnStartupEvent()) in RunPhases()
32 + ";Old" + std::to_string(sHeap_->GetOldSpace()->GetCommittedSize()) in RunPhases()
33 + ";huge" + std::to_string(sHeap_->GetHugeObjectSpace()->GetCommittedSize()) in RunPhases()
34 + ";NonMov" + std::to_string(sHeap_->GetNonMovableSpace()->GetCommittedSize()) in RunPhases()
35 + ";TotCommit" + std::to_string(sHeap_->GetCommittedSize())); in RunPhases()
Dshared_full_gc.cpp39 + std::to_string(static_cast<int>(sHeap_->GetEcmaGCStats()->GetGCReason())) in RunPhases()
40 + ";Sensitive" + std::to_string(static_cast<int>(sHeap_->GetSensitiveStatus())) in RunPhases()
41 + ";IsInBackground" + std::to_string(sHeap_->IsInBackground()) in RunPhases()
42 + ";Startup" + std::to_string(sHeap_->OnStartupEvent()) in RunPhases()
43 + ";Old" + std::to_string(sHeap_->GetOldSpace()->GetCommittedSize()) in RunPhases()
44 + ";huge" + std::to_string(sHeap_->GetHugeObjectSpace()->GetCommittedSize()) in RunPhases()
45 + ";NonMov" + std::to_string(sHeap_->GetNonMovableSpace()->GetCommittedSize()) in RunPhases()
46 + ";TotCommit" + std::to_string(sHeap_->GetCommittedSize())); in RunPhases()
/arkcompiler/ets_runtime/ecmascript/module/
Dmodule_logger.cpp123 …std::string start = "<----Summary----> Total file number: " + std::to_string(totalFileNumber_) + "… in PrintSummary()
124 … std::to_string(totalTime_) + "ms, including used file:" + std::to_string(usedFileNumber_) + in PrintSummary()
125 ", cost time: " + std::to_string(usedFileTime_) + "ms, and unused file: " + in PrintSummary()
126 … std::to_string(unusedFileNumber_) +", cost time: " + std::to_string(unusedFileTime_) + "ms\n"; in PrintSummary()
140 …std::string start = "<----used file start----> used file: " + std::to_string(usedFileNumber_) + ",… in PrintUsedFileInfo()
141 + std::to_string(usedFileTime_) + "ms\n"; in PrintUsedFileInfo()
147 … std::string content = "used file " + std::to_string(fileNumber++) + ": " + i.first.c_str() + in PrintUsedFileInfo()
153 … std::string parentInfoStr = " parentModule " + std::to_string(parentModuleCount++) + in PrintUsedFileInfo()
177 …std::string start = "<----unused file start----> unused file: " + std::to_string(unusedFileNumber_… in PrintUnusedFileInfo()
178 ", cost time: " + std::to_string(unusedFileTime_) + "ms\n"; in PrintUnusedFileInfo()
[all …]
/arkcompiler/ets_runtime/ecmascript/dfx/tracing/
Dtracing.cpp99 args += "\"processId\":" + std::to_string(getpid()) + ","; in TraceEventRecordTracingStart()
123 …std::string args = "{\"data\":{\"jsHeapSizeUsed\":" + std::to_string(DFXJSNApi::GetHeapUsedSize(vm… in TraceEventRecordMemory()
132 std::string args = "{\"data\":{\"startTime\":" + std::to_string(profileInfo->startTime) + "}}"; in TraceEventRecordCpuProfilerStart()
192 … args += "\"columnNumber\":" + std::to_string(nodeInfo.codeEntry.columnNumber) + ","; in TraceEventUpdateCpuProfiler()
196 args += "\"lineNumber\":" + std::to_string(nodeInfo.codeEntry.lineNumber) + ","; in TraceEventUpdateCpuProfiler()
198 args += "\"scriptId\":" + std::to_string(nodeInfo.codeEntry.scriptId) + ","; in TraceEventUpdateCpuProfiler()
205 args += "\"id\":" + std::to_string(nodeInfo.id) + ","; in TraceEventUpdateCpuProfiler()
207 args += "\"parent\":" + std::to_string(nodeInfo.parentId) + ","; in TraceEventUpdateCpuProfiler()
209 args += "\"hitCount\":" + std::to_string(nodeInfo.hitCount) + ","; in TraceEventUpdateCpuProfiler()
212 args += std::to_string(it) + ","; in TraceEventUpdateCpuProfiler()
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/
Dfull_gc.cpp31 + std::to_string(static_cast<int>(gcStats->GetGCReason())) in RunPhases()
32 + ";Sensitive" + std::to_string(static_cast<int>(heap_->GetSensitiveStatus())) in RunPhases()
33 + ";IsInBackground" + std::to_string(heap_->IsInBackground()) in RunPhases()
34 + ";Startup" + std::to_string(heap_->OnStartupEvent()) in RunPhases()
35 + ";Young" + std::to_string(heap_->GetNewSpace()->GetCommittedSize()) in RunPhases()
36 + ";Old" + std::to_string(heap_->GetOldSpace()->GetCommittedSize()) in RunPhases()
37 + ";huge" + std::to_string(heap_->GetHugeObjectSpace()->GetCommittedSize()) in RunPhases()
38 + ";NonMov" + std::to_string(heap_->GetNonMovableSpace()->GetCommittedSize()) in RunPhases()
39 + ";TotCommit" + std::to_string(heap_->GetCommittedSize())); in RunPhases()
Dpartial_gc.cpp31 …ECMA_BYTRACE_NAME(HITRACE_TAG_ARK, "PartialGC::RunPhases" + std::to_string(heap_->IsConcurrentFull… in RunPhases()
32 + ";Reason" + std::to_string(static_cast<int>(gcStats->GetGCReason())) in RunPhases()
33 + ";Sensitive" + std::to_string(static_cast<int>(heap_->GetSensitiveStatus())) in RunPhases()
34 + ";IsInBackground" + std::to_string(heap_->IsInBackground()) in RunPhases()
35 + ";Startup" + std::to_string(heap_->OnStartupEvent()) in RunPhases()
36 + ";ConMark" + std::to_string(static_cast<int>(heap_->GetJSThread()->GetMarkStatus())) in RunPhases()
37 + ";Young" + std::to_string(heap_->GetNewSpace()->GetCommittedSize()) in RunPhases()
38 + ";Old" + std::to_string(heap_->GetOldSpace()->GetCommittedSize()) in RunPhases()
39 + ";TotalCommit" + std::to_string(heap_->GetCommittedSize())); in RunPhases()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/rawheap_translate/
Dutils.cpp127 filename += std::to_string(now->tm_year + timeStart); in RealPath()
128 filename += '-' + std::to_string(now->tm_mon + 1); in RealPath()
129 filename += '-' + std::to_string(now->tm_mday); in RealPath()
130 filename += '-' + std::to_string(now->tm_hour); in RealPath()
131 filename += '-' + std::to_string(now->tm_min); in RealPath()
132 filename += '-' + std::to_string(now->tm_sec); in RealPath()
/arkcompiler/ets_runtime/ecmascript/dfx/cpu_profiler/
Dsamples_record.cpp147 + std::to_string(profileInfo_->tid) + ",\"startTime\":" in StringifySampleData()
148 + std::to_string(profileInfo_->startTime) + ",\"endTime\":" in StringifySampleData()
149 + std::to_string(profileInfo_->stopTime) + ","; in StringifySampleData()
159 + std::to_string(profileInfo_->gcTime) + ",\"cInterpreterTime\":" in StringifyStateTimeStatistic()
160 + std::to_string(profileInfo_->cInterpreterTime) + ",\"asmInterpreterTime\":" in StringifyStateTimeStatistic()
161 + std::to_string(profileInfo_->asmInterpreterTime) + ",\"aotTime\":" in StringifyStateTimeStatistic()
162 + std::to_string(profileInfo_->aotTime) + ",\"asmInterpreterDeoptTime\":" in StringifyStateTimeStatistic()
163 + std::to_string(profileInfo_->asmInterpreterDeoptTime) + ",\"builtinTime\":" in StringifyStateTimeStatistic()
164 + std::to_string(profileInfo_->builtinTime) + ",\"napiTime\":" in StringifyStateTimeStatistic()
165 + std::to_string(profileInfo_->napiTime) + ",\"arkuiEngineTime\":" in StringifyStateTimeStatistic()
[all …]
/arkcompiler/runtime_core/static_core/runtime/tooling/
Dtools.cpp49 …std::string asptFilenameTime = std::to_string(localTime->tm_hour) + "-" + std::to_string(localTime… in StartSamplingProfiler()
50 "-" + std::to_string(localTime->tm_sec) + ".aspt"; in StartSamplingProfiler()
Ddebugger.cpp87 … std::to_string(location.GetBytecodeOffset()) + ") >= method code size (" + in CheckLocationInClass()
88 std::to_string(codeSize) + ")"); in CheckLocationInClass()
121 … std::string("Cannot find method with id ") + std::to_string(location.GetMethodId().GetOffset()) + in CheckLocation()
140 std::to_string(location.GetBytecodeOffset())); in SetBreakpoint()
215 … std::string("Thread " + std::to_string(thread.GetId()) + " is not suspended"))); in GetPandaFrameByPtThread()
227 … std::string("Frame not found or native, threadId=" + std::to_string(thread.GetId()) + in GetPandaFrameByPtThread()
228 " frameDepth=" + std::to_string(frameDepth)))); in GetPandaFrameByPtThread()
245 …or::Type::INVALID_REGISTER, std::string("Invalid register number: ") + std::to_string(regNumber))); in GetVRegByPandaFrame()
260 …or::Type::INVALID_REGISTER, std::string("Invalid register number: ") + std::to_string(regNumber))); in GetVRegByPandaFrameDyn()
277 std::to_string(thread.GetId()))); in GetThisVariableByFrame()
[all …]
/arkcompiler/ets_runtime/ecmascript/platform/common/
Dmap.cpp26 return CString(HEAP_TAG).append(std::to_string(threadId)).append(spaceName); in GetPageTagString()
31 return CString(CODE_TAG).append(std::to_string(threadId)); in GetPageTagString()
/arkcompiler/runtime_core/static_core/libpandafile/tests/
Dfile_format_version_test.cpp25 versionstr += std::to_string(VERSION[i]); in TEST()
38 versionstr += std::to_string(MIN_VERSION[i]); in TEST()
/arkcompiler/runtime_core/libpandafile/tests/
Dfile_format_version_test.cpp25 versionstr += std::to_string(version[i]);
38 versionstr += std::to_string(minVersion[i]);
/arkcompiler/ets_runtime/ecmascript/jobs/
Dhitrace_scope.cpp98 std::string strTrace = "MicroJobQueue::EnqueueJob: jobId: " + std::to_string(jobId); in EnqueueJobTrace()
99 strTrace += ", threadId: " + std::to_string(thread->GetThreadId()); in EnqueueJobTrace()
134 std::string strTrace = "PendingJob::ExecutePendingJob: jobId: " + std::to_string(jobId); in ExecuteJobTrace()
135 strTrace += ", threadId: " + std::to_string(thread->GetThreadId()); in ExecuteJobTrace()
/arkcompiler/runtime_core/platforms/windows/libpandabase/
Dlibrary_loader.cpp29 std::to_string(GetLastError()))); in Load()
40 std::to_string(GetLastError()))); in ResolveSymbol()
/arkcompiler/runtime_core/static_core/platforms/windows/libpandabase/
Dlibrary_loader.cpp29 std::to_string(GetLastError()))); in Load()
40 std::to_string(GetLastError()))); in ResolveSymbol()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dgate.cpp250 log << std::to_string(id_) << ", \"op\":\"" << GateMetaData::Str(opcode) << "\", "; in GetValueInAndOut()
279 log << std::to_string(curOut->GetGateConst()->GetId()) + in GetValueInAndOut()
284 log << ", " << std::to_string(curOut->GetGateConst()->GetId()) << in GetValueInAndOut()
330 … CheckFailed("Number of state out branches is not valid (expected:" + std::to_string(expected) + in CheckStateOutput()
331 … " actual:" + std::to_string(cnt) + ") methodName:" + methodName + " gateValue:" + log, -1); in CheckStateOutput()
381 std::to_string(GetInGateConst(0)->GetNumIns()) + in CheckSelector()
382 " actual:" + std::to_string(GetNumIns() - 1) + ")", in CheckSelector()
386 std::to_string(GetInGateConst(0)->GetNumIns()) + in CheckSelector()
387 " actual:" + std::to_string(GetNumIns() - 1) + ")", in CheckSelector()
769 return "MachineType-" + std::to_string(machineType); in MachineTypeStr()
[all …]
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
Dlocation.cpp49 return Unexpected("Invalid line number: " + std::to_string(*lineNumber)); in FromJsonProperty()
58 jsonBuilder.AddProperty("scriptId", std::to_string(scriptId_)); in ToJson()

12345678910>>...13