Home
last modified time | relevance | path

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

/bionic/tests/
Dtagged_pointers_test.cpp55 HeapTaggingLevel tag_level = M_HEAP_TAGGING_LEVEL_TBI; in TEST() local
56 EXPECT_TRUE(android_mallopt(M_SET_HEAP_TAGGING_LEVEL, &tag_level, sizeof(tag_level))); in TEST()
59 tag_level = M_HEAP_TAGGING_LEVEL_ASYNC; in TEST()
60 EXPECT_FALSE(android_mallopt(M_SET_HEAP_TAGGING_LEVEL, &tag_level, sizeof(tag_level))); in TEST()
65 tag_level = M_HEAP_TAGGING_LEVEL_NONE; in TEST()
66 EXPECT_TRUE(android_mallopt(M_SET_HEAP_TAGGING_LEVEL, &tag_level, sizeof(tag_level))); in TEST()
77 tag_level = M_HEAP_TAGGING_LEVEL_TBI; in TEST()
78 EXPECT_FALSE(android_mallopt(M_SET_HEAP_TAGGING_LEVEL, &tag_level, sizeof(tag_level))); in TEST()
Dmalloc_test.cpp1264 TEST(android_mallopt, tag_level) { in TEST() argument
1294 HeapTaggingLevel tag_level = M_HEAP_TAGGING_LEVEL_TBI; in TEST() local
1295 EXPECT_FALSE(android_mallopt(M_SET_HEAP_TAGGING_LEVEL, &tag_level, sizeof(tag_level))); in TEST()
1297 tag_level = M_HEAP_TAGGING_LEVEL_NONE; in TEST()
1298 EXPECT_TRUE(android_mallopt(M_SET_HEAP_TAGGING_LEVEL, &tag_level, sizeof(tag_level))); in TEST()
1302 tag_level = M_HEAP_TAGGING_LEVEL_ASYNC; in TEST()
1303 EXPECT_FALSE(android_mallopt(M_SET_HEAP_TAGGING_LEVEL, &tag_level, sizeof(tag_level))); in TEST()
1305 tag_level = M_HEAP_TAGGING_LEVEL_NONE; in TEST()
1306 EXPECT_TRUE(android_mallopt(M_SET_HEAP_TAGGING_LEVEL, &tag_level, sizeof(tag_level))); in TEST()
/bionic/libc/bionic/
Dheap_tagging.cpp76 auto tag_level = *reinterpret_cast<HeapTaggingLevel*>(arg); in SetHeapTaggingLevel() local
77 if (tag_level == heap_tagging_level) { in SetHeapTaggingLevel()
81 switch (tag_level) { in SetHeapTaggingLevel()
97 heap_tagging_level = tag_level; in SetHeapTaggingLevel()
98 info_log("SetHeapTaggingLevel: tag level set to %d", tag_level); in SetHeapTaggingLevel()