Home
last modified time | relevance | path

Searched full:count (Results 1 – 25 of 5640) sorted by relevance

12345678910>>...226

/llvm-project/clang/test/Sema/
H A Dattr-counted-by-late-parsed-struct-ptrs.c17 struct size_known * buf __counted_by(count);
18 int count; member
22 …struct size_unknown * buf __counted_by(count); // expected-error{{'counted_by' cannot be applied t…
23 int count; member
28 const struct size_unknown * buf __counted_by(count);
29 int count; member
33 …void* buf __counted_by(count); // expected-error{{'counted_by' cannot be applied to a pointer with…
34 int count; member
38 // buffer of `count` function pointers is allowed
39 void (**fn_ptr)(void) __counted_by(count);
[all …]
H A Dattr-counted-by-struct-ptrs.c18 int count;
19 struct size_known * buf __counted_by(count);
23 int count;
25 struct size_unknown * buf __counted_by(count);
29 int count;
31 const struct size_unknown * buf __counted_by(count);
35 int count;
37 void* buf __counted_by(count);
41 int count;
42 // buffer of `count` functio
17 int count; global() member
22 int count; global() member
28 int count; global() member
34 int count; global() member
40 int count; global() member
46 int count; global() member
52 int count; global() member
59 int count; global() member
66 int count; global() member
71 int count; global() member
77 int count; global() member
85 int count; global() member
91 int count; global() member
99 int count; global() member
111 int count; global() member
116 int count; global() member
122 int count; global() member
128 int count; global() member
136 int count; global() member
142 int count; global() member
148 int count; global() member
155 int count; global() member
164 int count; global() member
169 int count; global() member
178 int count; global() member
186 int count; global() member
191 int count; global() member
196 int count; global() member
204 int count; global() member
214 int count; global() member
220 int count; global() member
[all...]
H A Dattr-counted-by-vla.c9 int count;
15 unsigned char count; // expected-note {{'count' declared here}}
18 int array[] __counted_by(count); // expected-error {{'counted_by' field 'count' isn't within the same struct as the annotated flexible array}}
23 unsigned char count; // expected-note {{'count' declared here}}
26 int array[] __counted_by(count); // expected-error {{'counted_by' field 'count' isn't within the same struct as the annotated flexible array}}
32 unsigned char count; // expecte
8 int count; global() member
14 unsigned char count; // expected-note {{'count' declared here}} global() member
22 unsigned char count; // expected-note {{'count' declared here}} global() member
31 unsigned char count; // expected-note {{'count' declared here}} global() member
41 unsigned char count; global() member
52 unsigned char count; global() member
63 unsigned char count; global() member
97 int count; global() member
103 int count; global() member
110 unsigned char count; global() member
121 int count; global() member
128 int count; global() member
135 int count; global() member
144 int count; global() member
150 int count; global() member
165 int count; global() member
170 int count; global() member
175 int count; global() member
183 int count; global() member
190 int count; global() member
[all...]
/llvm-project/flang/test/Semantics/
H A Dcanondo04.f908 integer :: count variable
9 count = 0
12 count = count + 1
13 results(count) = j1
20 count = count + 1
21 results(count) = 100*j1 + 10*j2 + j3
24 count = count + 1
25 results(count) = 10*j3 + j4
32 count = count + 1
33 results(count) = 100*j1 + 10*j2 + j3
[all …]
/llvm-project/libc/src/string/memory_utils/x86_64/
H A Dinline_memcpy.h51 size_t count) { in inline_memcpy_x86_sse2_ge64()
52 if (count <= 128) in inline_memcpy_x86_sse2_ge64() argument
53 return builtin::Memcpy<64>::head_tail(dst, src, count); in inline_memcpy_x86_sse2_ge64()
55 align_to_next_boundary<32, Arg::Dst>(dst, src, count); in inline_memcpy_x86_sse2_ge64()
56 return builtin::Memcpy<32>::loop_and_tail(dst, src, count); in inline_memcpy_x86_sse2_ge64()
61 size_t count) { in inline_memcpy_x86_avx_ge64()
62 if (count <= 128) in inline_memcpy_x86_avx_ge64() argument
63 return builtin::Memcpy<64>::head_tail(dst, src, count); in inline_memcpy_x86_avx_ge64()
64 if (count < 256) in inline_memcpy_x86_avx_ge64()
65 return builtin::Memcpy<128>::head_tail(dst, src, count); in inline_memcpy_x86_avx_ge64()
74 inline_memcpy_x86_sse2_ge64_sw_prefetching(Ptr __restrict dst,CPtr __restrict src,size_t count) inline_memcpy_x86_sse2_ge64_sw_prefetching() argument
121 inline_memcpy_x86_avx_ge64_sw_prefetching(Ptr __restrict dst,CPtr __restrict src,size_t count) inline_memcpy_x86_avx_ge64_sw_prefetching() argument
158 inline_memcpy_x86(Ptr __restrict dst,CPtr __restrict src,size_t count) inline_memcpy_x86() argument
212 inline_memcpy_x86_maybe_interpose_repmovsb(Ptr __restrict dst,CPtr __restrict src,size_t count) inline_memcpy_x86_maybe_interpose_repmovsb() argument
[all...]
H A Dinline_bcmp.h22 inline_bcmp_generic_gt16(CPtr p1, CPtr p2, size_t count) { in inline_bcmp_generic_gt16()
23 return generic::Bcmp<uint64_t>::loop_and_tail_align_above(256, p1, p2, count); in inline_bcmp_generic_gt16()
28 inline_bcmp_x86_sse41_gt16(CPtr p1, CPtr p2, size_t count) { in inline_bcmp_x86_sse41_gt16()
29 if (count <= 32) in inline_bcmp_x86_sse41_gt16()
30 return generic::branchless_head_tail_neq<__m128i>(p1, p2, count); in inline_bcmp_x86_sse41_gt16()
31 return generic::Bcmp<__m128i>::loop_and_tail_align_above(256, p1, p2, count); in inline_bcmp_x86_sse41_gt16()
37 inline_bcmp_x86_avx_gt16(CPtr p1, CPtr p2, size_t count) { in inline_bcmp_x86_avx_gt16()
38 if (count <= 32) in inline_bcmp_x86_avx_gt16()
39 return generic::branchless_head_tail_neq<__m128i>(p1, p2, count); in inline_bcmp_x86_avx_gt16()
40 if (count < in inline_bcmp_x86_avx_gt16()
21 inline_bcmp_generic_gt16(CPtr p1,CPtr p2,size_t count) inline_bcmp_generic_gt16() argument
27 inline_bcmp_x86_sse41_gt16(CPtr p1,CPtr p2,size_t count) inline_bcmp_x86_sse41_gt16() argument
36 inline_bcmp_x86_avx_gt16(CPtr p1,CPtr p2,size_t count) inline_bcmp_x86_avx_gt16() argument
47 inline_bcmp_x86_avx512bw_gt16(CPtr p1,CPtr p2,size_t count) inline_bcmp_x86_avx512bw_gt16() argument
59 inline_bcmp_x86(CPtr p1,CPtr p2,size_t count) inline_bcmp_x86() argument
[all...]
H A Dinline_memcmp.h21 inline_memcmp_generic_gt16(CPtr p1, CPtr p2, size_t count) { in inline_memcmp_generic_gt16() argument
23 count); in inline_memcmp_generic_gt16()
28 inline_memcmp_x86_sse41_gt16(CPtr p1, CPtr p2, size_t count) { in inline_memcmp_x86_sse41_gt16() argument
30 count); in inline_memcmp_x86_sse41_gt16()
36 inline_memcmp_x86_avx2_gt16(CPtr p1, CPtr p2, size_t count) { in inline_memcmp_x86_avx2_gt16() argument
37 if (count <= 32) in inline_memcmp_x86_avx2_gt16()
38 return generic::Memcmp<__m128i>::head_tail(p1, p2, count); in inline_memcmp_x86_avx2_gt16()
39 if (count <= 64) in inline_memcmp_x86_avx2_gt16()
40 return generic::Memcmp<__m256i>::head_tail(p1, p2, count); in inline_memcmp_x86_avx2_gt16()
42 count); in inline_memcmp_x86_avx2_gt16()
48 inline_memcmp_x86_avx512bw_gt16(CPtr p1,CPtr p2,size_t count) inline_memcmp_x86_avx512bw_gt16() argument
60 inline_memcmp_x86(CPtr p1,CPtr p2,size_t count) inline_memcmp_x86() argument
[all...]
/llvm-project/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/
H A Dsearch_n_pred.pass.cpp13 // search_n(ForwardIterator first, ForwardIterator last, Size count,
36 static unsigned count;
39 ++count; in operator ()()
44 unsigned count_equal::count = 0;
53 count_equal::count = 0; in test()
55 assert(count_equal::count <= sa); in test()
56 count_equal::count = 0; in test()
58 assert(count_equal::count <= sa); in test()
59 count_equal::count = 0; in test()
61 assert(count_equal::count < in test()
37 static unsigned count; global() member
43 unsigned count_equal::count = 0; global() member in count_equal
[all...]
/llvm-project/libcxxabi/test/
H A Dcatch_class_04.pass.cpp28 static int count; member
30 explicit B(int id) : id_(id) {count++;} in B()
31 B(const B& a) : id_(a.id_) {count++;} in B()
32 ~B() {count--;} in ~B()
35 int B::count = 0; member in B
40 static int count; member
42 explicit C1(int id) : B(id-2), id_(id) {count++;} in C1()
43 C1(const C1& a) : B(a.id_-2), id_(a.id_) {count++;} in C1()
44 ~C1() {count--;} in ~C1()
47 int C1::count = 0; member in C1
[all …]
H A Dcatch_class_03.pass.cpp28 static int count; member
30 explicit B(int id) : id_(id) {count++;} in B()
31 B(const B& a) : id_(a.id_) {count++;} in B()
32 ~B() {count--;} in ~B()
35 int B::count = 0; member in B
40 static int count; member
42 explicit C1(int id) : B(id-2), id_(id) {count++;} in C1()
43 C1(const C1& a) : B(a.id_-2), id_(a.id_) {count++;} in C1()
44 ~C1() {count--;} in ~C1()
47 int C1::count = 0; member in C1
[all …]
/llvm-project/clang/test/ARCMT/
H A Dobjcmt-property-dot-syntax.m.result19 @property int count;
28 obj.count = 100;
30 ((P*)0).count = array.count;
32 obj.PropertyReturnsPObj.count = array.count;
34 obj.count = (i1+i2*i3 - 100);
36 return obj.count -
37 ((P*)0).count + array.count +
38 fun().count -
39 obj.PropertyReturnsPObj.count +
40 self->obj.count;
[all …]
/llvm-project/clang/test/Analysis/
H A Dretain-release-path-notes.m47 …ect alloc] init]; // expected-note{{Method returns an instance of NSObject with a +1 retain count}}
48 … stored into 'leaked' is not referenced later in this execution path and has a retain count of +1}}
52 …n 'CFCreateSomething' returns a Core Foundation object of type 'CFTypeRef' with a +1 retain count}}
53 … stored into 'leaked' is not referenced later in this execution path and has a retain count of +1}}
57 …o methodWithValue]; // expected-note{{Method returns an Objective-C object with a +0 retain count}}
58 …[leaked retain]; // expected-note{{Reference count incremented. The object now has a +1 retain cou…
59 …[leaked retain]; // expected-note{{Reference count incremented. The object now has a +2 retain cou…
60 …[leaked release]; // expected-note{{Reference count decremented. The object now has a +1 retain co…
61 … stored into 'leaked' is not referenced later in this execution path and has a retain count of +1}}
65 …oo.propertyValue; // expected-note{{Property returns an Objective-C object with a +0 retain count}}
[all …]
/llvm-project/llvm/utils/
H A Dbisect-skip-count2 # This script is used to bisect skip and count arguments for --debug-counter.
3 # It is similar to bisect, except it understands how to increase skip and decrease count
7 # bisect-skip-count bisect-command.sh "%(skip)d" "%(count)d" 2>&1 | tee bisect.out
13 # count=$2
15 # opt -debug-counter=my-counter-skip=${skip},my-counter-count=${count}
19 # count" to find the values of the counter that produce a passing
20 # result. Incrementing the last good count by one or decrementing the
56 count = start + (end - start)//2 variable
57 print("Visiting Skip: %d with (Start, End) = (%d,%d)" % (count, start, end))
58 cmd = [x % {'skip':count, 'count':-1} for x in args.command]
[all …]
/llvm-project/llvm/test/Transforms/HardwareLoops/ARM/
H A Dcalls.ll41 ; CHECK: [[COUNT:%[^ ]+]] = phi i32 [ [[X]], %entry ], [ [[LOOP_DEC:%[^ ]+]], %loop ]
42 ; CHECK: [[LOOP_DEC]] = call i32 @llvm.loop.decrement.reg.i32(i32 [[COUNT]], i32 1)
51 %count = phi i32 [ 0, %entry ], [ %count.next, %loop ]
52 %addr.a = getelementptr i32, ptr %a, i32 %count
53 %addr.b = getelementptr i32, ptr %b, i32 %count
57 %count.next = add nuw i32 %count, 2
58 %cmp = icmp ne i32 %count.next, 100
73 %count = phi i32 [ 0, %entry ], [ %count.next, %loop ]
74 %addr.a = getelementptr half, ptr %a, i32 %count
77 %addr.b = getelementptr half, ptr %b, i32 %count
[all …]
/llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
H A Dweak_ptr.pass.cpp25 static int count; member
27 B() {++count;} in B()
28 B(const B&) {++count;} in B()
29 virtual ~B() {--count;} in ~B()
32 int B::count = 0; member in B
37 static int count; member
39 A() {++count;} in A()
40 A(const A& other) : B(other) {++count;} in A()
41 ~A() {--count;} in ~A()
44 int A::count = 0; member in A
[all …]
H A Dshared_ptr_Y.pass.cpp23 static int count; member
25 B() {++count;} in B()
26 B(const B&) {++count;} in B()
27 virtual ~B() {--count;} in ~B()
30 int B::count = 0; member in B
35 static int count; member
37 A() {++count;} in A()
38 A(const A& other) : B(other) {++count;} in A()
39 ~A() {--count;} in ~A()
42 int A::count = 0; member in A
[all …]
H A Dweak_ptr_Y.pass.cpp25 static int count; member
27 B() {++count;} in B()
28 B(const B&) {++count;} in B()
29 virtual ~B() {--count;} in ~B()
32 int B::count = 0; member in B
37 static int count; member
39 A() {++count;} in A()
40 A(const A& other) : B(other) {++count;} in A()
41 ~A() {--count;} in ~A()
44 int A::count = 0; member in A
[all …]
/llvm-project/lldb/unittests/Core/
H A DMangledTest.cpp242 auto Count = [M](const char *Name, FunctionNameType Type) -> int { in TEST() local
249 EXPECT_EQ(1, Count("main", eFunctionNameTypeFull)); in TEST()
250 EXPECT_EQ(1, Count("main", eFunctionNameTypeBase)); in TEST()
251 EXPECT_EQ(0, Count("main", eFunctionNameTypeMethod)); in TEST()
254 EXPECT_EQ(1, Count("_Z3foov", eFunctionNameTypeFull)); in TEST()
255 EXPECT_EQ(1, Count("_Z3foov", eFunctionNameTypeBase)); in TEST()
256 EXPECT_EQ(1, Count("foo", eFunctionNameTypeBase)); in TEST()
257 EXPECT_EQ(0, Count("foo", eFunctionNameTypeMethod)); in TEST()
260 EXPECT_EQ(1, Count("puts@GLIBC_2.5", eFunctionNameTypeFull)); in TEST()
261 EXPECT_EQ(1, Count("puts@GLIBC_2.6", eFunctionNameTypeFull)); in TEST()
[all …]
/llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/
H A Dshared_ptr_Y.pass.cpp23 static int count; member
25 B() {++count;} in B()
26 B(const B&) {++count;} in B()
27 virtual ~B() {--count;} in ~B()
30 int B::count = 0; member in B
35 static int count; member
37 A() {++count;} in A()
38 A(const A& other) : B(other) {++count;} in A()
39 ~A() {--count;} in ~A()
42 int A::count = 0; member in A
[all …]
H A Dshared_ptr_Y_rv.pass.cpp26 static int count; member
28 B() {++count;} in B()
29 B(const B&) {++count;} in B()
30 virtual ~B() {--count;} in ~B()
33 int B::count = 0; member in B
38 static int count; member
40 A() {++count;} in A()
41 A(const A& other) : B(other) {++count;} in A()
42 ~A() {--count;} in ~A()
45 int A::count = 0; member in A
[all …]
H A Dauto_ptr_Y.pass.cpp26 static int count; member
28 B() {++count;} in B()
29 B(const B&) {++count;} in B()
30 virtual ~B() {--count;} in ~B()
33 int B::count = 0; member in B
38 static int count; member
40 A() {++count;} in A()
41 A(const A& other) : B(other) {++count;} in A()
42 ~A() {--count;} in ~A()
45 int A::count = 0; member in A
[all …]
/llvm-project/cross-project-tests/debuginfo-tests/dexter-tests/
H A Doptnone-loops.cpp66 // That is because we can compute the loop trip count
96 // expression 'count' in order to simplify the control
98 __attribute__((optnone)) int loop_rotate_test(int *src, unsigned count) { in loop_rotate_test() argument
101 while (count) { in loop_rotate_test()
102 result += src[count - 1]; // DexLabel('target_loop_rotate_test') in loop_rotate_test()
103 count--; in loop_rotate_test()
109 // DexExpectWatchValue('src[count]', 13, on_line=ref('target_loop_rotate_test'))
119 unsigned count = 0; in loop_vectorize_test() local
123 while(count != 16) { // DexLabel('target_loop_vectorize_test') in loop_vectorize_test()
124 tempArray[count] = src[count]; in loop_vectorize_test()
[all …]
/llvm-project/libcxx/test/std/containers/associative/set/
H A Dcount.pass.cpp13 // size_type count(const key_type& k) const;
40 R r = m.count(5); in main()
42 r = m.count(6); in main()
44 r = m.count(7); in main()
46 r = m.count(8); in main()
48 r = m.count(9); in main()
50 r = m.count(10); in main()
52 r = m.count(11); in main()
54 r = m.count(12); in main()
56 r = m.count(4); in main()
[all …]
/llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
H A Dallocate_shared.pass.cpp30 static int count; member
32 A(int i, char c) : int_(i), char_(c) {++count;} in A()
35 {++count;} in A()
36 ~A() {--count;} in ~A()
47 int A::count = 0; member in A
51 static int count; member
52 Zero() {++count;} in Zero()
53 Zero(Zero const &) {++count;} in Zero()
54 ~Zero() {--count;} in ~Zero()
57 int Zero::count = 0; member in Zero
[all …]
/llvm-project/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
H A Dinvoke_rvalue.pass.cpp25 int count = 0; variable
31 count += i; in f_void_1()
38 count += i; in operator ()()
41 void mem1() {++count;} in mem1()
42 void mem2() const {count += 2;} in mem2()
49 int save_count = count; in test_void_1()
53 assert(count == save_count + 2); in test_void_1()
54 save_count = count; in test_void_1()
58 assert(count == save_count + 2); in test_void_1()
59 save_count = count; in test_void_1()
[all …]

12345678910>>...226