Home
last modified time | relevance | path

Searched refs:count_ (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/libcxx/test/support/
H A Dcounting_predicates.h22 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 Dcounting_projection.h21 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 Dtypes.h26 : 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 Ddtor.pass.cpp29 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 Duninitialized_fill.pass.cpp23 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 Duninitialized_fill_n.pass.cpp22 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 Duninitialized_copy.pass.cpp23 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 Duninitialized_copy_n.pass.cpp23 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 Dconstruct_at.pass.cpp37 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 Dtypes.h22 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 Dfilter_test.cc22 ++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 D2009-10-16-Scope.ll8 %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 D2009-10-16-Scope.ll8 %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 Dsanitizer_libignore.cpp26 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 Dsanitizer_allocator_primary32.h80 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 Dsanitizer_libignore.h81 uptr count_; variable
H A Dsanitizer_syscalls_netbsd.inc666 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 Dconstruct.pass.cpp39 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 Dtypes.h95 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 Dp1.cpp12 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 Dasan_errors.h158 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 Dwarn-thread-safety-analysis.cpp1168 count_ = x; in func()
1173 T count_ GUARDED_BY(mu_);