/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_ashmem_test.cpp | 100 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 D | ashemem_benchmark_test.cpp | 113 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 D | b_file_test.cpp | 71 string readContent(result.get()); variable 72 EXPECT_EQ(readContent.compare(content), 0);
|
/ohos5.0/base/startup/init/services/param/trigger/ |
H A D | trigger_checker.c | 49 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 D | faultlogger.cpp | 709 …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 D | trigger_checker.h | 60 char *readContent; member
|
/ohos5.0/foundation/communication/ipc/ipc/test/moduletest/native/common/ |
H A D | ipc_core_module_test.cpp | 687 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 D | test_service_skeleton.cpp | 725 auto readContent = static_cast<const char *>(content); in TestAshmem() local 726 std::string str(readContent, readContentSize); in TestAshmem()
|