| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | counting_predicates.h | 22 unary_counting_predicate(Predicate p) : p_(p), count_(0) {} in unary_counting_predicate() 26 size_t count() const { return count_; } in count() 27 void reset() { count_ = 0; } in reset() 31 mutable size_t count_; member 42 binary_counting_predicate ( Predicate p ) : p_(p), count_(0) {} in binary_counting_predicate() 46 size_t count() const { return count_; } in count() 47 void reset() { count_ = 0; } in reset() 51 mutable size_t count_; member 59 int* count_ = nullptr; variable 67 ++(*count_); in decltype() [all …]
|
| H A D | counting_projection.h | 21 int* count_ = nullptr; variable 25 constexpr counting_projection(int& count) : count_(&count) {} in counting_projection() 26 constexpr counting_projection(Proj proj, int& count) : proj_(std::move(proj)), count_(&count) {} in counting_projection() 30 ++(*count_); in decltype()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
| H A D | types.h | 26 : count_(count), value_(*count) in DestroyInReverseOrder() 27 { ++*count_; } in DestroyInReverseOrder() 30 : count_(other.count_), value_(*other.count_) in DestroyInReverseOrder() 31 { ++*count_; } in DestroyInReverseOrder() 37 --*count_; in ~DestroyInReverseOrder() 38 assert(*count_ == value_); in ~DestroyInReverseOrder() 42 int* count_;
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
| H A D | dtor.pass.cpp | 29 int* count_; member 30 constexpr explicit TrackDtor(int* count) : count_(count) {} in TrackDtor() 31 TEST_CONSTEXPR_CXX14 TrackDtor(TrackDtor&& that) : count_(that.count_) { that.count_ = nullptr; } in TrackDtor() 32 TEST_CONSTEXPR_CXX20 ~TrackDtor() { if(count_) ++*count_; } in ~TrackDtor()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/ |
| H A D | uninitialized_fill.pass.cpp | 23 static int count_; member 28 ++count_; in B() 29 if (count_ == 3) in B() 37 int B::count_ = 0; member in B 68 B::count_ = 0; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/ |
| H A D | uninitialized_fill_n.pass.cpp | 22 static int count_; member 27 ++count_; in B() 28 if (count_ == 3) in B() 36 int B::count_ = 0; member in B 67 B::count_ = 0; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/ |
| H A D | uninitialized_copy.pass.cpp | 23 static int count_; member 28 ++count_; in B() 29 if (count_ == 3) in B() 37 int B::count_ = 0; member in B 69 B::count_ = 0; in main()
|
| H A D | uninitialized_copy_n.pass.cpp | 23 static int count_; member 28 ++count_; in B() 29 if (count_ == 3) in B() 38 int B::count_ = 0; member in B 69 B::count_ = 0; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/ |
| H A D | construct_at.pass.cpp | 37 int& count_; member 38 constexpr Counted(int& count) : count_(count) { ++count; } in Counted() 39 constexpr Counted(Counted const& that) : count_(that.count_) { ++count_; } in Counted() 40 constexpr ~Counted() { --count_; } in ~Counted()
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/ |
| H A D | types.h | 22 constexpr explicit distance_apriori_sentinel(std::ptrdiff_t const count) : count_(count) {} in distance_apriori_sentinel() 31 return -y.count_; 36 return x.count_; 40 std::ptrdiff_t count_ = 0;
|
| /llvm-project-15.0.7/third-party/benchmark/test/ |
| H A D | filter_test.cc | 22 ++count_; in ReportRuns() 28 TestReporter() : count_(0), max_family_index_(0) {} in TestReporter() 32 size_t GetCount() const { return count_; } in GetCount() 37 mutable size_t count_; member in __anon154328080111::TestReporter
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | 2009-10-16-Scope.ll | 8 %count_ = alloca i32, align 4 ; <i32*> [#uses=2] 12 …call void @llvm.dbg.declare(metadata i32* %count_, metadata !4, metadata !DIExpression()), !dbg !D… 13 %conv = ptrtoint i32* %count_ to i32, !dbg !0 ; <i32> [#uses=1] 30 !4 = !DILocalVariable(name: "count_", line: 5, scope: !5, file: !3, type: !6)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | 2009-10-16-Scope.ll | 8 %count_ = alloca i32, align 4 ; <ptr> [#uses=2] 12 …call void @llvm.dbg.declare(metadata ptr %count_, metadata !4, metadata !DIExpression()), !dbg !DI… 13 %conv = ptrtoint ptr %count_ to i32, !dbg !0 ; <i32> [#uses=1] 30 !4 = !DILocalVariable(name: "count_", line: 5, scope: !5, file: !3, type: !6)
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_libignore.cpp | 26 if (count_ >= kMaxLibs) { in AddIgnoredLibrary() 31 Lib *lib = &libs_[count_++]; in AddIgnoredLibrary() 44 for (uptr i = 0; i < count_; i++) { in OnLibraryLoaded() 55 for (uptr i = 0; i < count_; i++) { in OnLibraryLoaded()
|
| H A D | sanitizer_allocator_primary32.h | 80 count_ = count; in SetFromArray() 84 uptr Count() const { return count_; } in Count() 85 void Clear() { count_ = 0; } in Clear() 87 batch_[count_++] = ptr; in Add() 88 DCHECK_LE(count_, kMaxNumCached); in Add() 106 uptr count_;
|
| H A D | sanitizer_libignore.h | 81 uptr count_; variable
|
| H A D | sanitizer_syscalls_netbsd.inc | 666 PRE_SYSCALL(readlink)(void *path_, void *buf_, long long count_) { 672 PRE_WRITE(buf_, count_); 676 (long long res, void *path_, void *buf_, long long count_) { 1302 (long long fd_, void *buf_, long long count_, void *basep_) { 1306 (long long res, long long fd_, void *buf_, long long count_, void *basep_) { 1528 (long long fd_, void *buf_, long long count_, void *basep_) { 1532 (long long res, long long fd_, void *buf_, long long count_, void *basep_) { 2011 (long long res, long long fd_, void *buf_, long long count_) { 2479 POST_SYSCALL(uuidgen)(long long res, void *store_, long long count_) { 2856 PRE_SYSCALL(__getdents30)(long long fd_, void *buf_, long long count_) { [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
| H A D | construct.pass.cpp | 39 TEST_CONSTEXPR_CXX20 B(int& count) : count_(count) {} in B() 45 ++count_; in construct() 54 int& count_; member
|
| /llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.transform/ |
| H A D | types.h | 95 int count_; member 96 constexpr explicit SizedSentinelView(int count = 8) : count_(count) {} in count_() function 98 constexpr int *end() const { return globalBuff + count_; } in end()
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.friend/ |
| H A D | p1.cpp | 12 U count_; member 13 Rep(U count) : count_(count) {} in Rep() 17 for (U count = n.count_; count; --count) in operator *()
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/ |
| H A D | asan_errors.h | 158 ErrorCallocOverflow(u32 tid, BufferedStackTrace *stack_, uptr count_, in ErrorCallocOverflow() 162 count(count_), in ErrorCallocOverflow() 173 ErrorReallocArrayOverflow(u32 tid, BufferedStackTrace *stack_, uptr count_, in ErrorReallocArrayOverflow() 177 count(count_), in ErrorReallocArrayOverflow()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | warn-thread-safety-analysis.cpp | 1168 count_ = x; in func() 1173 T count_ GUARDED_BY(mu_);
|