Home
last modified time | relevance | path

Searched refs:Size2Str (Results 1 - 6 of 6) sorted by relevance

/base/hiviewdfx/hilog/frameworks/libhilog/utils/
H A Dlog_utils.cpp57 string Size2Str(uint64_t size) in Size2Str() function
104 + Size2Str(MIN_LOG_FILE_SIZE) + ", " + Size2Str(MAX_LOG_FILE_SIZE) + "]"},
117 {ERR_BUFF_SIZE_INVALID, ("Invalid buffer size, buffer size should be in range [" + Size2Str(MIN_BUFFER_SIZE)
118 + ", " + Size2Str(MAX_BUFFER_SIZE) + "]")},
/base/hiviewdfx/hilog/services/hilogtool/
H A Dmain.cpp124 << " <size> range: [" << Size2Str(MIN_BUFFER_SIZE) << "," << Size2Str(MAX_BUFFER_SIZE) << "]." << endl in BufferHelper()
162 << " <length> range: [" << Size2Str(MIN_LOG_FILE_SIZE) <<", " << Size2Str(MAX_LOG_FILE_SIZE) << "]." << endl in PersistTaskHelper()
537 cout << "Log type " << LogType2Str(i) << " buffer size is " << Size2Str(rsp.size[i]) << endl; in BufferSizeGetHandler()
562 << Size2Str(rsp.size[i]) << " successfully" << endl; in BufferSizeSetHandler()
565 << Size2Str(rqst.size) << " failed" << endl; in BufferSizeSetHandler()
904 cout << task.fileName << " " << Size2Str(task.fileSize) << " " << to_string(task.fileNum) << endl; in PrintTaskInfo()
H A Dlog_display.cpp123 cout << setw(LENGTH_W) << Size2Str(GetTotalLen(rsp)) << colCmd; in PrintStats()
288 cout << "Total lines: " << lines << ", length: " << Size2Str(lens) << endl; in HilogShowLogStatsInfo()
295 cout << ", length: " << Size2Str(rsp.totalLens[i]); in HilogShowLogStatsInfo()
/base/hiviewdfx/hilog/frameworks/libhilog/utils/include/
H A Dlog_utils.h86 std::string Size2Str(uint64_t size);
/base/hiviewdfx/hilog/test/unittest/common/
H A Dhilog_utils_test.cpp53 * @tc.desc: Size2Str & Str2Size.
68 EXPECT_EQ(Size2Str(it.first), "1.0" + it.second); in HWTEST_F()
H A Dhilogtool_test.cpp516 + " " + Size2Str(length) + " " + std::to_string(num) + "\n"; in HWTEST_F()

Completed in 6 milliseconds