Home
last modified time | relevance | path

Searched refs:DisableAllocationGuard (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/containers/
H A Dmap_allocator_requirement_test_templates.h45 DisableAllocationGuard g; in testMapInsert()
58 DisableAllocationGuard g; in testMapInsert()
71 DisableAllocationGuard g; in testMapInsert()
84 DisableAllocationGuard g; in testMapInsert()
96 DisableAllocationGuard g; in testMapInsert()
109 DisableAllocationGuard g; in testMapInsert()
121 DisableAllocationGuard g; in testMapInsert()
134 DisableAllocationGuard g; in testMapInsert()
148 DisableAllocationGuard g; in testMapInsert()
176 DisableAllocationGuard g; in testMapInsertHint()
[all …]
H A Dset_allocator_requirement_test_templates.h44 DisableAllocationGuard g; in testSetInsert()
57 DisableAllocationGuard g; in testSetInsert()
70 DisableAllocationGuard g; in testSetInsert()
83 DisableAllocationGuard g; in testSetInsert()
96 DisableAllocationGuard g; in testSetInsert()
108 DisableAllocationGuard g; in testSetInsert()
121 DisableAllocationGuard g; in testSetInsert()
135 DisableAllocationGuard g; in testSetInsert()
156 DisableAllocationGuard g; in testSetEmplace()
169 DisableAllocationGuard g; in testSetEmplace()
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/
H A Dsource.pass.cpp57 TEST_NOT_WIN32(DisableAllocationGuard g); in RunTestCase()
69 TEST_NOT_WIN32(DisableAllocationGuard g); in RunTestCase()
83 TEST_NOT_WIN32(DisableAllocationGuard g); in RunTestCase()
95 TEST_NOT_WIN32(DisableAllocationGuard g); in RunTestCase()
110 TEST_NOT_WIN32(DisableAllocationGuard g); in RunTestCase()
120 TEST_NOT_WIN32(DisableAllocationGuard g); in RunTestCase()
130 TEST_NOT_WIN32(DisableAllocationGuard g); in RunTestCase()
225 DisableAllocationGuard g; ((void)g); in RunStringMoveTest()
H A Dmove.pass.cpp37 DisableAllocationGuard g; in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/
H A Dswap.pass.cpp132 DisableAllocationGuard guard; in main()
143 DisableAllocationGuard guard; in main()
151 DisableAllocationGuard guard; in main()
159 DisableAllocationGuard guard; in main()
168 DisableAllocationGuard guard; in main()
179 DisableAllocationGuard guard; in main()
190 DisableAllocationGuard guard; in main()
/llvm-project-15.0.7/libcxx/test/libcxx/input.output/filesystems/class.path/path.member/path.native.obs/
H A Dstring_alloc.pass.cpp57 DisableAllocationGuard g(DisableAllocations); in doShortStringTest()
68 DisableAllocationGuard g(DisableAllocations); in doShortStringTest()
78 DisableAllocationGuard g(DisableAllocations); in doShortStringTest()
120 DisableAllocationGuard g(DisableAllocations); in doLongStringTest()
130 DisableAllocationGuard g(DisableAllocations); in doLongStringTest()
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.member/path.modifiers/
H A Dswap.pass.cpp56 DisableAllocationGuard g; in main()
62 DisableAllocationGuard g; in main()
74 DisableAllocationGuard g; in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/any/any.class/any.cons/
H A Dmove.pass.cpp39 DisableAllocationGuard g; ((void)g); in test_move_does_not_throw()
55 DisableAllocationGuard g; ((void)g); // no allocations should be performed. in test_move_empty()
75 DisableAllocationGuard g; ((void)g); in test_move()
H A Dcopy.pass.cpp48 DisableAllocationGuard g; ((void)g); // No allocations should occur. in test_copy_empty()
60 DisableAllocationGuard g(isSmallType<Type>()); ((void)g); in test_copy()
H A Ddefault.pass.cpp39 DisableAllocationGuard g; ((void)g); in main()
H A Din_place_type.pass.cpp38 DisableAllocationGuard g(isSmallType<Type>()); ((void)g); in test_in_place_type()
86 DisableAllocationGuard g(isSmallType<Type>()); ((void)g); in test_in_place_type_tracked()
/llvm-project-15.0.7/libcxx/test/support/
H A Dcount_new.h436 struct DisableAllocationGuard { struct
437 explicit DisableAllocationGuard(bool disable = true) : m_disabled(disable) in m_disabled() argument
449 ~DisableAllocationGuard() { in ~DisableAllocationGuard() argument
456 DisableAllocationGuard(DisableAllocationGuard const&);
457 DisableAllocationGuard& operator=(DisableAllocationGuard const&); argument
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.member/
H A Dpath.concat.pass.cpp104 TEST_NOT_WIN32(DisableAllocationGuard g); in doConcatSourceAllocTest()
114 TEST_NOT_WIN32(DisableAllocationGuard g); in doConcatSourceAllocTest()
124 TEST_NOT_WIN32(DisableAllocationGuard g); in doConcatSourceAllocTest()
133 TEST_NOT_WIN32(DisableAllocationGuard g); in doConcatSourceAllocTest()
378 LIBCPP_ONLY(DisableAllocationGuard g); in main()
390 LIBCPP_ONLY(DisableAllocationGuard g); in main()
H A Dpath.append.pass.cpp148 TEST_NOT_WIN32(DisableAllocationGuard g); in doAppendSourceAllocTest()
158 TEST_NOT_WIN32(DisableAllocationGuard g); in doAppendSourceAllocTest()
168 TEST_NOT_WIN32(DisableAllocationGuard g); in doAppendSourceAllocTest()
177 TEST_NOT_WIN32(DisableAllocationGuard g); in doAppendSourceAllocTest()
186 DisableAllocationGuard g; in doAppendSourceAllocTest()
H A Dpath.compare.pass.cpp94 DisableAllocationGuard g; // none of these operations should allocate in test_compare_basic()
112 DisableAllocationGuard g; // none of these operations should allocate in test_compare_basic()
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.nonmember/
H A Dswap.pass.cpp35 DisableAllocationGuard g; in main()
53 DisableAllocationGuard g; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/unord.map.elem/
H A Dindex.pass.cpp130 DisableAllocationGuard g; in main()
142 DisableAllocationGuard g; in main()
155 DisableAllocationGuard g; in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
H A Dalloc_rfunction.pass.cpp80 DisableAllocationGuard g; in main()
98 DisableAllocationGuard guard; in main()
H A Dcopy_move.pass.cpp135 DisableAllocationGuard g; in main()
158 DisableAllocationGuard guard; in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/any/any.nonmembers/
H A Dmake_any.pass.cpp30 DisableAllocationGuard g(isSmallType<Type>()); ((void)g); in test_make_any_type()
68 DisableAllocationGuard g(isSmallType<Type>()); ((void)g); in test_make_any_type_tracked()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.access/
H A Dindex_key.pass.cpp95 DisableAllocationGuard g; in main()
107 DisableAllocationGuard g; in main()
/llvm-project-15.0.7/libcxx/test/libcxx/containers/gnu_cxx/
H A Dhash_set.pass.cpp23 DisableAllocationGuard g; in test_default_does_not_allocate()
H A Dhash_map.pass.cpp23 DisableAllocationGuard g; in test_default_does_not_allocate()
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.member/path.construct/
H A Dmove.pass.cpp37 DisableAllocationGuard g; in main()
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/
H A Dgeneric_string_alloc.pass.cpp51 TEST_NOT_WIN32(DisableAllocationGuard g); in doAllocTest()

12