Home
last modified time | relevance | path

Searched refs:pTmp (Results 1 – 4 of 4) sorted by relevance

/developtools/profiler/device/plugins/hilog_plugin/src/
Dhilog_plugin.cpp300 char* pTmp = const_cast<char*>(data); in SetHilogLineDetails() local
305 pTmp = pTmp + TIME_SEC_WIDTH; in SetHilogLineDetails()
306 CHECK_TRUE(FindFirstSpace(&pTmp), false, "HilogPlugin:FindFirstSpace failed!"); in SetHilogLineDetails()
307 uint32_t value = static_cast<uint32_t>(strtoul(pTmp, &end, DEC_BASE)); in SetHilogLineDetails()
310 pTmp = end; in SetHilogLineDetails()
311 value = static_cast<uint32_t>(strtoul(pTmp, &end, DEC_BASE)); in SetHilogLineDetails()
314 pTmp = end; in SetHilogLineDetails()
315 CHECK_TRUE(RemoveSpaces(&pTmp), false, "HilogPlugin:RemoveSpaces failed!"); in SetHilogLineDetails()
316 info->mutable_detail()->set_level(*pTmp); in SetHilogLineDetails()
317 pTmp++; in SetHilogLineDetails()
[all …]
/developtools/profiler/device/plugins/process_plugin/src/
Dprocess_data_plugin.cpp409 char* pTmp = const_cast<char*>(line.c_str()); in GetBootData() local
414 while (pTmp != nullptr && *pTmp != '\n') { in GetBootData()
415 CHECK_TRUE(FindFirstNum(&pTmp), count, "%s: FindFirstNum failed", __func__); in GetBootData()
416 num = strtoull(pTmp, &end, DEC_BASE); in GetBootData()
420 pTmp = end; in GetBootData()
456 char* pTmp = const_cast<char*>(line.c_str()); in GetCpuUsageData() local
460 while (FindFirstSpace(&pTmp)) { in GetCpuUsageData()
461 pTmp++; in GetCpuUsageData()
468 while (pTmp != nullptr && *pTmp != '\n') { in GetCpuUsageData()
469 CHECK_TRUE(FindFirstNum(&pTmp), count, "%s: FindFirstNum failed", __func__); in GetCpuUsageData()
[all …]
/developtools/profiler/device/plugins/diskio_plugin/src/
Dio_stats.cpp411 char* pTmp = const_cast<char*>(line.c_str()); in ParseLineFields() local
414 while (pTmp != nullptr && *pTmp != '\n') { in ParseLineFields()
415 CHECK_TRUE(RemoveSpaces(&pTmp), count, "%s: RemoveSpaces failed!", __func__); in ParseLineFields()
416 if (*pTmp >= 'a' && *pTmp <= 'z') { in ParseLineFields()
419 int ret = sscanf_s(pTmp, "%63s %n", field, sizeof(field), &len); in ParseLineFields()
422 pTmp += len; in ParseLineFields()
425 CHECK_TRUE(FindFirstNum(&pTmp), count, "%s: FindFirstNum failed", __func__); in ParseLineFields()
426 num = strtoull(pTmp, &end, DEC_BASE); in ParseLineFields()
429 pTmp = end; in ParseLineFields()
440 char* pTmp = const_cast<char*>(line.c_str()); in ParseLineFields() local
[all …]
/developtools/profiler/device/plugins/hilog_plugin/test/unittest/
Dhilog_plugin_unittest.cpp151 const char* pTmp = data + TIME_HOUR_WIDTH; in GetSec() local
153 CHECK_TRUE(plugin.StringToL(pTmp, fixHour), 0, "%s:strtol fixHour failed", __func__); in GetSec()