/developtools/profiler/hiebpf/src/ |
H A D | hhlog.cpp | 98 std::stringstream ss; in GetLogFileName() local 101 ss << "/data/local/tmp/"; in GetLogFileName() 102 ss << std::to_string(tmPtr->tm_year + yearStart) << "."; in GetLogFileName() 103 ss << std::to_string(tmPtr->tm_mon + monthStart) << "."; in GetLogFileName() 104 ss << std::to_string(tmPtr->tm_mday) << "_"; in GetLogFileName() 105 ss << std::to_string(tmPtr->tm_hour) << "."; in GetLogFileName() 106 ss << std::to_string(tmPtr->tm_min) << "."; in GetLogFileName() 107 ss << std::to_string(tmPtr->tm_sec) << ".hhlog"; in GetLogFileName() 108 return ss.str(); in GetLogFileName() 120 std::stringstream ss; in GetFormatTime() local [all...] |
H A D | libbpf_logger.cpp | 95 std::stringstream ss; in GetLogFileName() local 98 ss << std::to_string(tmPtr->tm_year + yearStart) << "."; in GetLogFileName() 99 ss << std::to_string(tmPtr->tm_mon + monthStart) << "."; in GetLogFileName() 100 ss << std::to_string(tmPtr->tm_mday) << "_"; in GetLogFileName() 101 ss << std::to_string(tmPtr->tm_hour) << "."; in GetLogFileName() 102 ss << std::to_string(tmPtr->tm_min) << "."; in GetLogFileName() 103 ss << std::to_string(tmPtr->tm_sec) << ".libbpf.log"; in GetLogFileName() 104 return ss.str(); in GetLogFileName()
|
H A D | bpf_log_reader.cpp | 71 std::stringstream ss; in GetLogFileName() local 74 ss << "/data/local/tmp/"; in GetLogFileName() 75 ss << std::to_string(tmPtr->tm_year + yearStart) << "."; in GetLogFileName() 76 ss << std::to_string(tmPtr->tm_mon + monthStart) << "."; in GetLogFileName() 77 ss << std::to_string(tmPtr->tm_mday) << "_"; in GetLogFileName() 78 ss << std::to_string(tmPtr->tm_hour) << "."; in GetLogFileName() 79 ss << std::to_string(tmPtr->tm_min) << "."; in GetLogFileName() 80 ss << std::to_string(tmPtr->tm_sec) << ".bpf.log"; in GetLogFileName() 81 return ss.str(); in GetLogFileName()
|
/developtools/profiler/device/plugins/native_daemon/include/ |
H A D | hook_standalone.h | 51 std::stringstream ss; in ToString() local 52 ss << "smbSize:" << smbSize << ", duration:" << duration in ToString() 61 ss << pid <<' '; in ToString() 63 ss << ", processName:" << processName << ' ' <<",startupMode: " << startupMode in ToString() 67 return ss.str(); in ToString()
|
H A D | hook_common.h | 161 std::stringstream ss; in ToString() local 162 ss << "filterSize:" << filterSize << ", shareMemorySize:" << shareMemorySize in ToString() 172 return ss.str(); in ToString()
|
H A D | utilities.h | 243 std::stringstream ss; in ToHex() local 245 ss << "0x"; in ToHex() 247 ss << std::hex << std::setw(BYTE_PRINT_WIDTH * size) << std::setfill('0') << (uint64_t)source; in ToHex() 248 return ss.str(); in ToHex()
|
/developtools/smartperf_host/trace_streamer/src/base/ |
H A D | string_to_numerical.h | 31 std::stringstream ss; in number() local 33 ss << std::dec << value; in number() 35 ss << std::hex << value; in number() 37 return ss.str(); in number() 43 std::stringstream ss; in ConvertTimestampToSecStr() local 44 ss << std::fixed << std::setprecision(precision) << seconds; in ConvertTimestampToSecStr() 45 return ss.str(); in ConvertTimestampToSecStr()
|
/developtools/smartperf_host/trace_streamer/test/unittest/pbreader_parser/ |
H A D | hisys_event_parser_test.cpp | 62 std::stringstream ss; in HWTEST_F() local 63 ss << jsMessage; in HWTEST_F() 64 ss >> jMessage; in HWTEST_F() 104 std::stringstream ss; in HWTEST_F() local 105 ss << jsMessage; in HWTEST_F() 106 ss >> jMessage; in HWTEST_F() 156 std::stringstream ss; in HWTEST_F() local 157 ss << *i; in HWTEST_F() 158 ss >> jMessage; in HWTEST_F()
|
/developtools/packing_tool/packing_tool/frameworks/src/ |
H A D | utils.cpp | 68 std::stringstream ss; in ListToString() local 70 ss << str; in ListToString() 72 return ss.str(); in ListToString() 163 std::stringstream ss; in GetSha256Str() local 165 ss << std::hex << std::setw(HEX_WIDTH) << std::setfill('0') << static_cast<uint32_t>(hash[i]); in GetSha256Str() 167 return ss.str(); in GetSha256Str() 192 std::stringstream ss; in GetSha256File() local 194 ss << std::hex << std::setw(HEX_WIDTH) << std::setfill('0') << static_cast<uint32_t>(hash[i]); in GetSha256File() 196 return ss.str(); in GetSha256File() 219 std::stringstream ss; in GetSha256Folder() local 372 std::stringstream ss; GenerateUUID() local [all...] |
/developtools/profiler/device/plugins/ftrace_plugin/src/ |
H A D | kernel_symbols_parser.cpp | 78 std::stringstream ss; in Parse() local 84 ss.clear(); in Parse() 85 ss.str(line); in Parse() 86 if (ss >> addrStr >> info.type >> info.name) { in Parse()
|
H A D | ftrace_parser.cpp | 423 std::stringstream ss(line.substr(pos + sep.size())); in ParsePerCpuStatus() 426 ss >> stats.entries; in ParsePerCpuStatus() 429 ss >> stats.overrun; in ParsePerCpuStatus() 432 ss >> stats.commitOverrun; in ParsePerCpuStatus() 435 ss >> stats.bytes; in ParsePerCpuStatus() 438 ss >> stats.oldestEventTs; in ParsePerCpuStatus() 441 ss >> stats.nowTs; in ParsePerCpuStatus() 444 ss >> stats.droppedEvents; in ParsePerCpuStatus() 447 ss >> stats.readEvents; in ParsePerCpuStatus()
|
H A D | string_utils.cpp | 37 std::stringstream ss; in ConvertToHex() local 38 ss << std::hex << num; in ConvertToHex() 39 return ss.str(); in ConvertToHex()
|
/developtools/hapsigner/hapsigntool_cpp/common/include/ |
H A D | signature_tools_log.h | 54 std::stringstream ss; in GetSystemTime() local 59 ss << std::put_time(localTime, "%m-%d %H:%M:%S"); in GetSystemTime() 60 ss << POINT << std::setfill(PLACEHOLDER) << std::setw(PLACEHOLDERLEN) << ms.count(); in GetSystemTime() 61 timeBuffer = ss.str(); in GetSystemTime()
|
/developtools/hapsigner/hapsigntool_cpp/codesigning/fsverity/src/ |
H A D | fs_verity_generator.cpp | 59 std::stringstream ss; in GenerateFsVerityDigest() local 61 ss << elem; in GenerateFsVerityDigest() 63 digestUtils.AddData(ss.str()); in GenerateFsVerityDigest()
|
/developtools/profiler/host/smartperf/client/client_command/ |
H A D | control_call_cmd.cpp | 109 std::ostringstream ss; in TimeDelay() local 110 ss << std::fixed << std::setprecision(two) << rateResult; in TimeDelay() 111 std::string ssResult = ss.str(); in TimeDelay() 159 std::ostringstream ss; in SlideList() local 160 ss << std::fixed << std::setprecision(two) << stallingRateResult; in SlideList() 161 std::string ssResult = ss.str(); in SlideList() 260 std::ostringstream ss; in GetAppStartTime() local 262 ss << std::fixed << std::setprecision(two) << stallingRateResult2; in GetAppStartTime() 263 std::string ssResult = ss.str(); in GetAppStartTime()
|
H A D | startup_delay.cpp | 62 std::stringstream ss(str); in GetHisysId() 64 getline(ss, line); in GetHisysId() 88 std::stringstream ss(str); in GetHisysIdAndKill() 91 while (ss >> singleId) { in GetHisysIdAndKill() 130 std::stringstream ss(resultPid); in GetSpClear() 132 while (ss >> token) { in GetSpClear()
|
H A D | profiler_fps.cpp | 446 std::stringstream ss(nodeIdStr); in GetGameLayer() 447 ss >> nodeId; in GetGameLayer() 448 if (ss.fail() || !ss.eof()) { in GetGameLayer()
|
H A D | parse_radar.cpp | 77 std::stringstream ss(string); in ParseRadarDelayTime() 81 while (getline(ss, segment, '}')) { in ParseRadarDelayTime()
|
H A D | sdk_data_recv.cpp | 92 std::stringstream ss(message);
in ProcessData() 100 while (std::getline(ss, item, ',')) {
in ProcessData()
|
/developtools/integration_verification/tools/rom_ram_analyzer/standard/ |
H A D | ram_analyzer.py | 84 output_file: str, ss: str, output_excel: bool, baseline_file: str, unit_adapt: bool): 103 device_num, ss) 121 refactored_result, output_file + ".xls", ss, baseline_file, unit_adapt) 131 def process_hidumper_info(cls, device_num: str, ss: str) -> typing.Dict[str, int]: 139 name_size_dict = cls.__parse_hidumper_mem(stdout, device_num, ss) 369 def __parse_hidumper_mem(cls, content: typing.Text, device_num: str, ss: str = "Pss") -> typing.Dict[ 393 if ss not in cls.__ss_dict.keys(): 394 print("error: {} is not a valid parameter".format(ss)) 411 size = int(processed[cls.__ss_dict.get(ss)]) * \ 481 def __save_result_as_excel(cls, data_dict: dict, filename: str, ss [all...] |
/developtools/smartperf_host/trace_streamer/src/filter/ |
H A D | task_pool_filter.cpp | 49 for (base::PartingString ss(taskPoolStr, ','); ss.Next();) { in TaskPoolFieldSegmentation() 52 for (base::PartingString inner(ss.GetCur(), ':'); inner.Next();) { in TaskPoolFieldSegmentation()
|
/developtools/smartperf_host/trace_streamer/test/unittest/rawtrace/ |
H A D | rawtrace_parser_test.cpp | 59 std::stringstream ss; in ChunkToString() local 64 ss << line << '\n'; in ChunkToString() 66 return ss.str(); in ChunkToString()
|
/developtools/hiperf/include/ |
H A D | utilities.h | 249 std::stringstream ss; in ToHex() local 251 ss << "0x"; in ToHex() 253 ss << std::hex << std::setw(BYTE_PRINT_WIDTH * size) << std::setfill('0') << (uint64_t)source; in ToHex() 254 return ss.str(); in ToHex()
|
/developtools/profiler/device/plugins/native_daemon/src/ |
H A D | utilities.cpp | 511 std::stringstream ss; in BufferToHexString() local 512 ss << size << ":"; in BufferToHexString() 514 ss << " 0x" << std::setfill('0') << std::setw(BYTE_PRINT_WIDTH) << std::hex in BufferToHexString() 517 return ss.str(); in BufferToHexString()
|
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/ |
H A D | common_stdtype.cpp | 56 std::stringstream ss; in SetTraceDataSize() local 57 ss << dataSize; in SetTraceDataSize() 58 values_[METADATA_ITEM_DATASIZE] = ss.str(); in SetTraceDataSize()
|