Home
last modified time | relevance | path

Searched refs:ChangeHint (Results 1 - 4 of 4) sorted by relevance

/commonlibrary/c_utils/base/include/
H A Dmapped_file.h144 bool ChangeHint(const char* hint);
/commonlibrary/c_utils/base/src/
H A Dmapped_file.cpp576 bool MappedFile::ChangeHint(const char* val) in ChangeHint() function in OHOS::Utils::MappedFile
/commonlibrary/c_utils/base/test/benchmarktest/mapped_benchmark_test/
H A Dmapped_benchmark_test.cpp461 AssertTrue((mf.ChangeHint(reinterpret_cast<char*>(0x89000))), in ChangeParamsWhenUnmapped()
462 "mf.ChangeHint(reinterpret_cast<char*>(0x89000)) did not equal true as expected.", state); in ChangeParamsWhenUnmapped()
510 AssertTrue((mf.ChangeHint(reinterpret_cast<char*>(0x80000))), in BENCHMARK_F()
511 "mf.ChangeHint(reinterpret_cast<char*>(0x80000)) did not equal true as expected.", state); in BENCHMARK_F()
1342 AssertFalse((mf.ChangeHint(mf.GetHint())), in BENCHMARK_F()
1343 "mf.ChangeHint(mf.GetHint()) did not equal false as expected.", state); in BENCHMARK_F()
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_mapped_file_test.cpp598 ASSERT_TRUE(mf.ChangeHint(reinterpret_cast<char*>(0x89000))); // 0x89000: random address. in HWTEST_F()
611 ASSERT_TRUE(mf.ChangeHint(reinterpret_cast<char*>(0x80000))); // 0x80000: random address. in HWTEST_F()
1235 ASSERT_FALSE(mf.ChangeHint(mf.GetHint())); in HWTEST_F()

Completed in 6 milliseconds