Home
last modified time | relevance | path

Searched refs:BUF_MAX_LEN (Results 1 – 6 of 6) sorted by relevance

/developtools/profiler/device/plugins/hidump_plugin/test/unittest/
Dhidump_plugin_unittest.cpp39 constexpr int BUF_MAX_LEN = 8; variable
228 char buff[BUF_MAX_LEN] = {0}; in RecordFileExist()
229 char* pRet = fgets(buff, BUF_MAX_LEN - 1, fp.get()); in RecordFileExist()
234 buff[BUF_MAX_LEN - 1] = '\0'; in RecordFileExist()
/developtools/profiler/device/plugins/hidump_plugin/src/
Dhidump_plugin.cpp32 const int BUF_MAX_LEN = 64; variable
117 char buf[BUF_MAX_LEN] = { 0 }; in Loop()
119 if (fgets(buf, BUF_MAX_LEN - 1, fp_.get()) == nullptr) { in Loop()
/developtools/profiler/device/plugins/hilog_plugin/src/
Dhilog_plugin.cpp37 const int BUF_MAX_LEN = 512; variable
232 std::unique_ptr<uint8_t[]> buffer = std::make_unique<uint8_t[]>(BUF_MAX_LEN); in Run()
239 if (fgets(reinterpret_cast<char*>(buffer.get()), BUF_MAX_LEN - 1, fp_.get()) != nullptr) { in Run()
/developtools/profiler/device/plugins/memory_plugin/src/
Dmemory_data_plugin.cpp26 constexpr int BUF_MAX_LEN = 2048; variable
339 std::unique_ptr<uint8_t[]> buffer {new (std::nothrow) uint8_t[BUF_MAX_LEN]}; in GetMemInfoByMemoryService()
343 size_t ret = fread(buffer.get(), 1, BUF_MAX_LEN, fp.get()); in GetMemInfoByMemoryService()
347 buffer.get()[BUF_MAX_LEN - 1] = '\0'; in GetMemInfoByMemoryService()
/developtools/profiler/device/plugins/hilog_plugin/test/unittest/
Dhilog_plugin_unittest.cpp43 constexpr int BUF_MAX_LEN = 32; variable
111 char buff[BUF_MAX_LEN] = {0}; in RecordFileExist()
118 char* pRet = fgets(buff, BUF_MAX_LEN - 1, fp.get()); in RecordFileExist()
120 buff[BUF_MAX_LEN - 1] = '\0'; in RecordFileExist()
/developtools/profiler/device/plugins/native_daemon/src/
Dmain.cpp30 const int BUF_MAX_LEN = 10; variable