Home
last modified time | relevance | path

Searched refs:readContent (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_ashmem_test.cpp100 const char *readContent = reinterpret_cast<const char *>(readData); variable
101 EXPECT_EQ(memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)), 0);
106 readContent = reinterpret_cast<const char *>(readData);
107 EXPECT_EQ(memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)), 0);
140 const char *readContent = reinterpret_cast<const char *>(readData); variable
141 EXPECT_EQ(memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)), 0);
177 const char *readContent = reinterpret_cast<const char *>(readData); variable
178 EXPECT_EQ(memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)), 0);
209 const char *readContent = reinterpret_cast<const char *>(readData); variable
210 EXPECT_EQ(memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)), 0);
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/ashemem_benchmark_test/
H A Dashemem_benchmark_test.cpp113 const char *readContent = reinterpret_cast<const char *>(readData); in BENCHMARK_F() local
114 AssertEqual(memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)), 0, in BENCHMARK_F()
120 readContent = reinterpret_cast<const char *>(readData); in BENCHMARK_F()
121 AssertEqual(memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)), 0, in BENCHMARK_F()
159 const char *readContent = reinterpret_cast<const char *>(readData); in BENCHMARK_F() local
160 AssertEqual(memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)), 0, in BENCHMARK_F()
201 const char *readContent = reinterpret_cast<const char *>(readData); in BENCHMARK_F() local
202 AssertEqual(memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)), 0, in BENCHMARK_F()
238 const char *readContent = reinterpret_cast<const char *>(readData); in BENCHMARK_F() local
239 AssertEqual(memcmp(MEMORY_CONTENT.c_str(), readContent, sizeof(MEMORY_CONTENT)), 0, in BENCHMARK_F()
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_filesystem/
H A Db_file_test.cpp71 string readContent(result.get()); variable
72 EXPECT_EQ(readContent.compare(content), 0);
/ohos5.0/base/startup/init/services/param/trigger/
H A Dtrigger_checker.c49 calculator->readContent = calculator->data + dataSize; in CalculatorInit()
192 ret = SystemReadParam(calculator->conditionName, calculator->readContent, &len); in ComputeSubCondition()
196 return CompareValue(calculator->conditionContent, calculator->readContent); in ComputeSubCondition()
/ohos5.0/base/hiviewdfx/hiview/plugins/faultlogger/service/
H A Dfaultlogger.cpp709 …std::string readContent(std::istreambuf_iterator<char>(logReadFile), (std::istreambuf_iterator<cha… in FaultlogLimit()
712 size_t pos = readContent.find("HiLog:"); in FaultlogLimit()
716 readContent.resize(pos); in FaultlogLimit()
721 auto fileLen = readContent.length(); in FaultlogLimit()
723 readContent.resize(maxLogSize); in FaultlogLimit()
724 readContent += "\nThe cpp crash log length is " + std::to_string(fileLen) + in FaultlogLimit()
732 logWriteFile << readContent; in FaultlogLimit()
/ohos5.0/base/startup/init/services/param/include/
H A Dtrigger_checker.h60 char *readContent; member
/ohos5.0/foundation/communication/ipc/ipc/test/moduletest/native/common/
H A Dipc_core_module_test.cpp687 auto readContent = static_cast<const char *>(content); variable
688 std::string str(readContent, strlen(ashmemString.c_str()));
/ohos5.0/foundation/communication/ipc/ipc/test/auxiliary/native/src/
H A Dtest_service_skeleton.cpp725 auto readContent = static_cast<const char *>(content); in TestAshmem() local
726 std::string str(readContent, readContentSize); in TestAshmem()