Home
last modified time | relevance | path

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

/ohos5.0/base/hiviewdfx/hilog_lite/test/unittest/
H A Dhilog_lite_test.cpp40 constexpr size_t RELLOC_SIZE = 10; variable
725 char *result = static_cast<char*>(ACELite::HilogRealloc::Realloc(ptr, 1, RELLOC_SIZE)); in HWTEST_F()
726 EXPECT_TRUE(strlen(result) == RELLOC_SIZE - 1); in HWTEST_F()
738 char *ptr = static_cast<char*>(malloc(RELLOC_SIZE - 1)); in HWTEST_F()
743 …char *result = static_cast<char*>(ACELite::HilogRealloc::Realloc(ptr, RELLOC_SIZE, RELLOC_SIZE - 1… in HWTEST_F()
745 EXPECT_TRUE(malloc_usable_size(result) >= RELLOC_SIZE); in HWTEST_F()