/external/gwp_asan/gwp_asan/tests/ |
D | basic.cpp | 13 void *Ptr = GPA.allocate(1); in TEST_F() 15 EXPECT_TRUE(GPA.pointerIsMine(Ptr)); in TEST_F() 16 EXPECT_EQ(1u, GPA.getSize(Ptr)); in TEST_F() 17 GPA.deallocate(Ptr); in TEST_F() 21 EXPECT_FALSE(GPA.pointerIsMine(nullptr)); in TEST_F() 27 std::size_t MaxAllocSize = GPA.getAllocatorState()->maximumAllocationSize(); in TEST_F() 31 void *Ptr = GPA.allocate(AllocSize); in TEST_F() 33 EXPECT_TRUE(GPA.pointerIsMine(Ptr)); in TEST_F() 34 EXPECT_EQ(AllocSize, GPA.getSize(Ptr)); in TEST_F() 35 GPA.deallocate(Ptr); in TEST_F() [all …]
|
D | slot_reuse.cpp | 13 void singleByteGoodAllocDealloc(gwp_asan::GuardedPoolAllocator *GPA) { in singleByteGoodAllocDealloc() argument 14 void *Ptr = GPA->allocate(1); in singleByteGoodAllocDealloc() 16 EXPECT_TRUE(GPA->pointerIsMine(Ptr)); in singleByteGoodAllocDealloc() 17 EXPECT_EQ(1u, GPA->getSize(Ptr)); in singleByteGoodAllocDealloc() 18 GPA->deallocate(Ptr); in singleByteGoodAllocDealloc() 24 singleByteGoodAllocDealloc(&GPA); in TEST_F() 30 singleByteGoodAllocDealloc(&GPA); in TEST_F() 36 singleByteGoodAllocDealloc(&GPA); in TEST_F() 44 void runNoReuseBeforeNecessary(gwp_asan::GuardedPoolAllocator *GPA, in runNoReuseBeforeNecessary() argument 48 void *Ptr = GPA->allocate(1); in runNoReuseBeforeNecessary() [all …]
|
D | enable_disable.cpp | 18 P = GPA.allocate(Size); in TEST_F() 21 GPA.deallocate(P); in TEST_F() 25 P = GPA.allocate(Size); in TEST_F() 28 GPA.deallocate(P); in TEST_F() 33 GPA.disable(); in TEST_F() 47 auto &GPA = *reinterpret_cast<gwp_asan::GuardedPoolAllocator *>(arg); in enableMalloc() local 57 GPA.enable(); in enableMalloc() 64 EXPECT_EQ(pthread_create(&ThreadId, nullptr, &enableMalloc, &GPA), 0); in TEST_F() 74 GPA.disable(); in TEST_F() 78 void *P = GPA.allocate(Size); in TEST_F() [all …]
|
D | iterate.cpp | 18 Allocated.push_back({GPA.allocate(size), size}); in TEST_F() 21 void *Ptr = GPA.allocate(5); in TEST_F() 25 GPA.deallocate(Ptr); in TEST_F() 29 GPA.disable(); in TEST_F() 34 GPA.iterate( in TEST_F() 41 GPA.enable(); in TEST_F() 47 GPA.disable(); in TEST_F() 51 GPA.iterate( in TEST_F() 58 GPA.enable(); in TEST_F() 63 GPA.deallocate(Allocated.back().first); in TEST_F() [all …]
|
D | harness.h | 50 GPA.init(Opts); in SetUp() 53 void TearDown() override { GPA.uninitTestOnly(); } in TearDown() 56 gwp_asan::GuardedPoolAllocator GPA; 73 GPA.init(Opts); in InitNumSlots() 76 void TearDown() override { GPA.uninitTestOnly(); } in TearDown() 79 gwp_asan::GuardedPoolAllocator GPA; 92 GPA.init(Opts); in SetUp() 95 &GPA, gwp_asan::test::getPrintfFunction(), in SetUp() 101 GPA.uninitTestOnly(); in TearDown() 106 gwp_asan::GuardedPoolAllocator GPA;
|
D | backtrace.cpp | 18 AllocateMemory(gwp_asan::GuardedPoolAllocator &GPA) { in AllocateMemory() argument 19 return GPA.allocate(1); in AllocateMemory() 22 DeallocateMemory(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr) { in DeallocateMemory() argument 23 GPA.deallocate(Ptr); in DeallocateMemory() 26 DeallocateMemory2(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr) { in DeallocateMemory2() argument 27 GPA.deallocate(Ptr); in DeallocateMemory2() 34 void *Ptr = AllocateMemory(GPA); in TEST_F() 35 DeallocateMemory(GPA, Ptr); in TEST_F() 45 ASSERT_DEATH(DeallocateMemory2(GPA, Ptr), DeathRegex); in TEST_F() 49 void *Ptr = AllocateMemory(GPA); in TEST_F() [all …]
|
D | thread_contention.cpp | 18 void asyncTask(gwp_asan::GuardedPoolAllocator *GPA, in asyncTask() argument 27 GPA->allocate(GPA->getAllocatorState()->maximumAllocationSize())); in asyncTask() 41 GPA->deallocate(const_cast<char *>(Ptr)); in asyncTask() 46 gwp_asan::GuardedPoolAllocator *GPA) { in runThreadContentionTest() argument 55 Threads.emplace_back(asyncTask, GPA, &StartingGun, NumIterations); in runThreadContentionTest() 68 runThreadContentionTest(NumThreads, NumIterations, &GPA); in TEST_F()
|
D | late_init.cpp | 14 gwp_asan::GuardedPoolAllocator GPA; in TEST() local 17 EXPECT_FALSE(GPA.shouldSample()); in TEST() 23 GPA.init(Opts); in TEST() 24 EXPECT_TRUE(GPA.shouldSample()); in TEST()
|
/external/llvm-project/compiler-rt/lib/gwp_asan/tests/ |
D | basic.cpp | 13 void *Ptr = GPA.allocate(1); in TEST_F() 15 EXPECT_TRUE(GPA.pointerIsMine(Ptr)); in TEST_F() 16 EXPECT_EQ(1u, GPA.getSize(Ptr)); in TEST_F() 17 GPA.deallocate(Ptr); in TEST_F() 21 EXPECT_FALSE(GPA.pointerIsMine(nullptr)); in TEST_F() 27 std::size_t MaxAllocSize = GPA.getAllocatorState()->maximumAllocationSize(); in TEST_F() 31 void *Ptr = GPA.allocate(AllocSize); in TEST_F() 33 EXPECT_TRUE(GPA.pointerIsMine(Ptr)); in TEST_F() 34 EXPECT_EQ(AllocSize, GPA.getSize(Ptr)); in TEST_F() 35 GPA.deallocate(Ptr); in TEST_F() [all …]
|
D | slot_reuse.cpp | 13 void singleByteGoodAllocDealloc(gwp_asan::GuardedPoolAllocator *GPA) { in singleByteGoodAllocDealloc() argument 14 void *Ptr = GPA->allocate(1); in singleByteGoodAllocDealloc() 16 EXPECT_TRUE(GPA->pointerIsMine(Ptr)); in singleByteGoodAllocDealloc() 17 EXPECT_EQ(1u, GPA->getSize(Ptr)); in singleByteGoodAllocDealloc() 18 GPA->deallocate(Ptr); in singleByteGoodAllocDealloc() 24 singleByteGoodAllocDealloc(&GPA); in TEST_F() 30 singleByteGoodAllocDealloc(&GPA); in TEST_F() 36 singleByteGoodAllocDealloc(&GPA); in TEST_F() 44 void runNoReuseBeforeNecessary(gwp_asan::GuardedPoolAllocator *GPA, in runNoReuseBeforeNecessary() argument 48 void *Ptr = GPA->allocate(1); in runNoReuseBeforeNecessary() [all …]
|
D | enable_disable.cpp | 18 P = GPA.allocate(Size); in TEST_F() 21 GPA.deallocate(P); in TEST_F() 25 P = GPA.allocate(Size); in TEST_F() 28 GPA.deallocate(P); in TEST_F() 33 GPA.disable(); in TEST_F() 47 auto &GPA = *reinterpret_cast<gwp_asan::GuardedPoolAllocator *>(arg); in enableMalloc() local 57 GPA.enable(); in enableMalloc() 64 EXPECT_EQ(pthread_create(&ThreadId, nullptr, &enableMalloc, &GPA), 0); in TEST_F() 74 GPA.disable(); in TEST_F() 78 void *P = GPA.allocate(Size); in TEST_F() [all …]
|
D | iterate.cpp | 18 Allocated.push_back({GPA.allocate(size), size}); in TEST_F() 21 void *Ptr = GPA.allocate(5); in TEST_F() 25 GPA.deallocate(Ptr); in TEST_F() 29 GPA.disable(); in TEST_F() 34 GPA.iterate( in TEST_F() 41 GPA.enable(); in TEST_F() 47 GPA.disable(); in TEST_F() 51 GPA.iterate( in TEST_F() 58 GPA.enable(); in TEST_F() 63 GPA.deallocate(Allocated.back().first); in TEST_F() [all …]
|
D | backtrace.cpp | 18 AllocateMemory(gwp_asan::GuardedPoolAllocator &GPA) { in AllocateMemory() argument 19 return GPA.allocate(1); in AllocateMemory() 22 DeallocateMemory(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr) { in DeallocateMemory() argument 23 GPA.deallocate(Ptr); in DeallocateMemory() 26 DeallocateMemory2(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr) { in DeallocateMemory2() argument 27 GPA.deallocate(Ptr); in DeallocateMemory2() 34 void *Ptr = AllocateMemory(GPA); in TEST_F() 35 DeallocateMemory(GPA, Ptr); in TEST_F() 45 ASSERT_DEATH(DeallocateMemory2(GPA, Ptr), DeathRegex); in TEST_F() 49 void *Ptr = AllocateMemory(GPA); in TEST_F() [all …]
|
D | harness.h | 49 GPA.init(Opts); in SetUp() 52 void TearDown() override { GPA.uninitTestOnly(); } in TearDown() 55 gwp_asan::GuardedPoolAllocator GPA; 72 GPA.init(Opts); in InitNumSlots() 75 void TearDown() override { GPA.uninitTestOnly(); } in TearDown() 78 gwp_asan::GuardedPoolAllocator GPA; 91 GPA.init(Opts); in SetUp() 94 &GPA, gwp_asan::test::getPrintfFunction(), in SetUp() 100 GPA.uninitTestOnly(); in TearDown() 105 gwp_asan::GuardedPoolAllocator GPA;
|
D | thread_contention.cpp | 18 void asyncTask(gwp_asan::GuardedPoolAllocator *GPA, in asyncTask() argument 27 GPA->allocate(GPA->getAllocatorState()->maximumAllocationSize())); in asyncTask() 41 GPA->deallocate(const_cast<char *>(Ptr)); in asyncTask() 46 gwp_asan::GuardedPoolAllocator *GPA) { in runThreadContentionTest() argument 55 Threads.emplace_back(asyncTask, GPA, &StartingGun, NumIterations); in runThreadContentionTest() 68 runThreadContentionTest(NumThreads, NumIterations, &GPA); in TEST_F()
|
D | late_init.cpp | 14 gwp_asan::GuardedPoolAllocator GPA; in TEST() local 17 EXPECT_FALSE(GPA.shouldSample()); in TEST() 23 GPA.init(Opts); in TEST() 24 EXPECT_TRUE(GPA.shouldSample()); in TEST()
|
/external/gwp_asan/gwp_asan/optional/ |
D | segv_handler_posix.cpp | 197 void installSignalHandlers(gwp_asan::GuardedPoolAllocator *GPA, Printf_t Printf, in installSignalHandlers() argument 200 assert(GPA && "GPA wasn't provided to installSignalHandlers."); in installSignalHandlers() 206 GPAForSignalHandler = GPA; in installSignalHandlers()
|
D | segv_handler.h | 24 void installSignalHandlers(gwp_asan::GuardedPoolAllocator *GPA, Printf_t Printf,
|
/external/llvm-project/compiler-rt/lib/gwp_asan/optional/ |
D | segv_handler.h | 77 void installSignalHandlers(gwp_asan::GuardedPoolAllocator *GPA, Printf_t Printf,
|
D | segv_handler_posix.cpp | 139 void installSignalHandlers(gwp_asan::GuardedPoolAllocator *GPA, Printf_t Printf, in installSignalHandlers() argument 142 GPAForSignalHandler = GPA; in installSignalHandlers()
|
/external/icu/icu4c/source/data/translit/ |
D | Latin_ASCII.txt | 490 ㎬ → GPa ; # 33AC;SQUARE GPA (compat)
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | ScriptData.txt | 325 U+33AC ( ㎬ ) SQUARE GPA
|
/external/icu/icu4c/source/data/unidata/norm2/ |
D | uts46.txt | 3848 33AC >0067 0070 0061 #1.1 SQUARE GPA
|
/external/rust/crates/idna/src/ |
D | IdnaMappingTable.txt | 3831 33AC ; mapped ; 0067 0070 0061 #1.1 SQUARE GPA
|
/external/one-true-awk/testdir/ |
D | funstack.in | 7717 @Article{Crowe:1972:GPA, 11613 @Article{Lum:1973:GPA,
|