Home
last modified time | relevance | path

Searched refs:GPA (Results 1 – 25 of 35) sorted by relevance

12

/external/gwp_asan/gwp_asan/tests/
Dbasic.cpp13 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 …]
Drecoverable.cpp22 void *Ptr = AllocateMemory(GPA); in TEST_P()
23 DeallocateMemory(GPA, Ptr); in TEST_P()
25 DeallocateMemory(GPA, Ptr); in TEST_P()
32 DeallocateMemory(GPA, Ptr); in TEST_P()
39 char *Ptr = static_cast<char *>(AllocateMemory(GPA)); in TEST_P()
41 DeallocateMemory(GPA, Ptr + 1); in TEST_P()
48 DeallocateMemory(GPA, Ptr + 1); in TEST_P()
55 void *Ptr = AllocateMemory(GPA); in TEST_P()
56 DeallocateMemory(GPA, Ptr); in TEST_P()
71 char *Ptr = static_cast<char *>(AllocateMemory(GPA)); in TEST_P()
[all …]
Dslot_reuse.cpp13 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 …]
Denable_disable.cpp18 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 …]
Diterate.cpp19 Allocated.push_back({GPA.allocate(size), size}); in TEST_F()
22 void *Ptr = GPA.allocate(5); in TEST_F()
26 GPA.deallocate(Ptr); in TEST_F()
30 GPA.disable(); in TEST_F()
35 GPA.iterate( in TEST_F()
42 GPA.enable(); in TEST_F()
48 GPA.disable(); in TEST_F()
52 GPA.iterate( in TEST_F()
59 GPA.enable(); in TEST_F()
64 GPA.deallocate(Allocated.back().first); in TEST_F()
[all …]
Dharness.h49 char *AllocateMemory(gwp_asan::GuardedPoolAllocator &GPA);
50 void DeallocateMemory(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr);
51 void DeallocateMemory2(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr);
64 GPA.init(Opts); in SetUp()
67 void TearDown() override { GPA.uninitTestOnly(); } in TearDown()
70 gwp_asan::GuardedPoolAllocator GPA;
87 GPA.init(Opts); in InitNumSlots()
90 void TearDown() override { GPA.uninitTestOnly(); } in TearDown()
93 gwp_asan::GuardedPoolAllocator GPA;
107 GPA.init(Opts); in SetUp()
[all …]
Dthread_contention.cpp18 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
51 Threads.emplace_back(asyncTask, GPA, &StartingGun, NumIterations); in runThreadContentionTest()
64 runThreadContentionTest(NumThreads, NumIterations, &GPA); in TEST_F()
Dharness.cpp25 AllocateMemory(gwp_asan::GuardedPoolAllocator &GPA) { in AllocateMemory() argument
26 return static_cast<char *>(GPA.allocate(1)); in AllocateMemory()
29 DeallocateMemory(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr) { in DeallocateMemory() argument
30 GPA.deallocate(Ptr); in DeallocateMemory()
33 DeallocateMemory2(gwp_asan::GuardedPoolAllocator &GPA, void *Ptr) { in DeallocateMemory2() argument
34 GPA.deallocate(Ptr); in DeallocateMemory2()
Dlate_init.cpp14 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()
Dbacktrace.cpp17 void *Ptr = AllocateMemory(GPA); in TEST_P()
18 DeallocateMemory(GPA, Ptr); in TEST_P()
24 ASSERT_DEATH(DeallocateMemory2(GPA, Ptr), DeathRegex); in TEST_P()
29 DeallocateMemory2(GPA, Ptr); in TEST_P()
46 void *Ptr = AllocateMemory(GPA); in TEST_P()
47 DeallocateMemory(GPA, Ptr); in TEST_P()
Dnever_allocated.cpp17 void *Ptr = GPA.allocate(0x1000); in TEST_P()
18 GPA.deallocate(Ptr); in TEST_P()
48 GPA.deallocate(Ptr); in TEST_P()
52 DeallocateMemory(GPA, Ptr); in TEST_P()
/external/gwp_asan/gwp_asan/optional/
Dsegv_handler_posix.cpp240 void installSignalHandlers(gwp_asan::GuardedPoolAllocator *GPA, Printf_t Printf, in installSignalHandlers() argument
243 assert(GPA && "GPA wasn't provided to installSignalHandlers."); in installSignalHandlers()
249 GPAForSignalHandler = GPA; in installSignalHandlers()
Dsegv_handler.h24 void installSignalHandlers(gwp_asan::GuardedPoolAllocator *GPA, Printf_t Printf,
/external/cronet/third_party/icu/source/data/translit/
DLatin_ASCII.txt490 ㎬ → GPa ; # 33AC;SQUARE GPA (compat)
/external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/draft/
DScriptData.txt325 U+33AC ( ㎬ ) SQUARE GPA
/external/icu/icu4c/source/data/translit/
DLatin_ASCII.txt490 ㎬ → GPa ; # 33AC;SQUARE GPA (compat)
/external/icu/icu4c/source/data/unidata/norm2/
Duts46.txt3868 33AC >0067 0070 0061 #1.1 SQUARE GPA
/external/cronet/third_party/icu/source/data/unidata/norm2/
Duts46.txt3868 33AC >0067 0070 0061 #1.1 SQUARE GPA
/external/rust/crates/idna/src/
DIdnaMappingTable.txt3831 33AC ; mapped ; 0067 0070 0061 #1.1 SQUARE GPA
/external/one-true-awk/testdir/
Dfunstack.in7717 @Article{Crowe:1972:GPA,
11613 @Article{Lum:1973:GPA,
/external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/external/
D2013-1_UNLOCODE_CodeListPart1.csv6760 ,"BR","GPA","Garopaba","Garopaba","SC","--3-----","RQ","0607",,,
20074 ,"DE","GPA","Gross Pampau","Gross Pampau","SH","--3-----","RL","0701",,"5331N 01033E",
37955 "�","FR","GPA","Loguivy-Plougras","Loguivy-Plougras","22","--3-----","RL","1301",,"4831N 00330W","@…
/external/cronet/third_party/icu/source/data/unidata/
DUnicodeData.txt12151 33AC;SQUARE GPA;So;0;L;<square> 0047 0050 0061;;;;N;SQUARED GPA;;;;
/external/pcre/maint/Unicode.tables/
DUnicodeData.txt12149 33AC;SQUARE GPA;So;0;L;<square> 0047 0050 0061;;;;N;SQUARED GPA;;;;
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/unicode/
DUnicodeData.txt12151 33AC;SQUARE GPA;So;0;L;<square> 0047 0050 0061;;;;N;SQUARED GPA;;;;
/external/icu/icu4c/source/data/unidata/
DUnicodeData.txt12151 33AC;SQUARE GPA;So;0;L;<square> 0047 0050 0061;;;;N;SQUARED GPA;;;;

12