Home
last modified time | relevance | path

Searched refs:cs (Results 1 – 25 of 486) sorted by relevance

12345678910>>...20

/llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/
H A Downer_less.pass.cpp68 CS cs; in main() local
76 assert(!cs(p1, p2)); in main()
78 assert(cs(p1 ,p3) || cs(p3, p1)); in main()
79 assert(cs(p3, p1) == cs(p3, p2)); in main()
84 assert(cs(p1, w3) || cs(p3, w1)); in main()
85 assert(cs(p3, w1) == cs(p3, w2)); in main()
91 CS cs; in main() local
101 assert(cs(w1, w3) || cs(w3, w1)); in main()
102 assert(cs(w3, w1) == cs(w3, w2)); in main()
107 assert(cs(w1, p3) || cs(w3, p1)); in main()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A Dregex2.h119 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c)) argument
120 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c)) argument
121 #define CHIN(cs, c) ((cs)->ptr[(uch)(c)] & (cs)->mask) argument
122 #define MCadd(p, cs, cp) mcadd(p, cs, cp) /* llvm_regcomp() internal fns */ argument
123 #define MCsub(p, cs, cp) mcsub(p, cs, cp) argument
124 #define MCin(p, cs, cp) mcin(p, cs, cp) argument
H A Dregcomp.c799 cset *cs; in p_bracket() local
824 CHadd(cs, ']'); in p_bracket()
932 CHadd(cs, i); in p_b_term()
963 CHadd(cs, c); in p_b_cclass()
979 CHadd(cs, c); in p_b_eclass()
1201 cset *cs; in allocset() local
1237 cs->hash = 0; in allocset()
1241 return(cs); in allocset()
1264 CHsub(cs, i); in freeset()
1300 cs = cs2; in freezeset()
[all …]
/llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.access/
H A Dindex.pass.cpp24 const S& cs = s; in test() local
26 ASSERT_SAME_TYPE(decltype(cs[0]), typename S::const_reference); in test()
28 LIBCPP_ASSERT_NOEXCEPT( cs[0]); in test()
29 for (S::size_type i = 0; i < cs.size(); ++i) in test()
32 assert(cs[i] == s[i]); in test()
34 assert(cs[cs.size()] == '\0'); in test()
42 const S& cs = s; in test() local
46 LIBCPP_ASSERT_NOEXCEPT( cs[0]); in test()
47 for (S::size_type i = 0; i < cs.size(); ++i) in test()
50 assert(cs[i] == s[i]); in test()
[all …]
H A Dback.pass.cpp24 const S& cs = s; in test() local
26 ASSERT_SAME_TYPE(decltype(cs.back()), typename S::const_reference); in test()
28 LIBCPP_ASSERT_NOEXCEPT( cs.back()); in test()
29 assert(&cs.back() == &cs[cs.size()-1]); in test()
30 assert(&s.back() == &s[cs.size()-1]); in test()
/llvm-project-15.0.7/clang/test/Index/Core/
H A Dindex-source.m8 // CHECK-NEXT: RelChild | Base | c:objc(cs)Base
202 // CHECK-NEXT: RelChild | I3 | c:objc(cs)I3
206 // CHECK-NEXT: RelChild | I3 | c:objc(cs)I3
215 // CHECK-NEXT: RelChild | I3 | c:objc(cs)I3
276 // CHECK-NEXT: RelChild | I4 | c:objc(cs)I4
279 // CHECK-NEXT: RelChild | I4 | c:objc(cs)I4
281 // CHECK-NEXT: RelChild | I4 | c:objc(cs)I4
297 // CHECK-NEXT: RelChild | I5 | c:objc(cs)I5
300 // CHECK-NEXT: RelChild | I5 | c:objc(cs)I5
302 // CHECK-NEXT: RelChild | I5 | c:objc(cs)I5
[all …]
H A Dindex-subkinds.m3 // CHECK: [[@LINE+1]]:12 | class/ObjC | XCTestCase | c:objc(cs)XCTestCase | _OBJC_CLASS_$_XCTestCas…
7 // CHECK: [[@LINE+1]]:12 | class(test)/ObjC | MyTestCase | c:objc(cs)MyTestCase | _OBJC_CLASS_$_MyT…
10 // CHECK: [[@LINE+1]]:17 | class(test)/ObjC | MyTestCase | c:objc(cs)MyTestCase | <no-cgname> | Def…
12 // CHECK: [[@LINE+1]]:8 | instance-method(test)/ObjC | testMe | c:objc(cs)MyTestCase(im)testMe | -[…
20 // CHECK: [[@LINE+1]]:12 | class(test)/ObjC | SubTestCase | c:objc(cs)SubTestCase | _OBJC_CLASS_$_S…
23 // CHECK: [[@LINE+1]]:17 | class(test)/ObjC | SubTestCase | c:objc(cs)SubTestCase | <no-cgname> | D…
29 // CHECK: [[@LINE+3]]:12 | class(test)/ObjC | MyTestCase | c:objc(cs)MyTestCase | _OBJC_CLASS_$_MyT…
34 // CHECK: [[@LINE+2]]:17 | class(test)/ObjC | MyTestCase | c:objc(cs)MyTestCase | _OBJC_CLASS_$_MyT…
46 // CHECK: [[@LINE+1]]:34 | instance-property(IB)/ObjC | prop | c:objc(cs)IBCls(py)prop | <no-cgname…
50 // CHECK: [[@LINE+1]]:12 | instance-method(IB)/ObjC | doIt | c:objc(cs)IBCls(im)doIt | -[IBCls doIt…
[all …]
H A Dexternal-source-symbol-attr.m21 // CHECK: [[@LINE-1]]:12 | class/Swift | I2 | c:@M@some_module@objc(cs)I2 | {{.*}} | Decl | rel: 0
25 // CHECK: [[@LINE-1]]:15 | instance-method/acc-get/Swift | prop | c:@M@some_module@objc(cs)I2(im)pr…
26 // CHECK: [[@LINE-2]]:15 | instance-method/acc-set/Swift | setProp: | c:@M@some_module@objc(cs)I2(i…
27 // CHECK: [[@LINE-3]]:15 | instance-property/Swift | prop | c:@M@some_module@objc(cs)I2(py)prop |
31 // CHECK: [[@LINE-1]]:12 | class/Swift | I1 | c:@M@some_module@objc(cs)I1 |
33 // CHECK: [[@LINE-1]]:6 | instance-method/Swift | method | c:@M@some_module@objc(cs)I1(im)method |
44 // CHECK: [[@LINE-1]]:8 | instance-method/ObjC | cat_method | c:@M@some_module@objc(cs)I1(im)cat_me…
51 …]]:8 | instance-method/Swift | cat_method2 | c:@CM@cat_module@some_module@objc(cs)I1(im)cat_method2
90 // CHECK: [[@LINE-1]]:12 | class/Swift | I3 | c:@M@modname@objc(cs)I3 |
94 // CHECK: [[@LINE-1]]:7 | instance-method/Swift | meth | c:@M@modname@objc(cs)I3(im)meth |
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dstackmap-nops.ll35 ; CHECK-NEXT: nopw %cs:512(%rax,%rax)
37 ; CHECK-NEXT: nopw %cs:512(%rax,%rax)
40 ; CHECK-NEXT: nopw %cs:512(%rax,%rax)
43 ; CHECK-NEXT: nopw %cs:512(%rax,%rax)
46 ; CHECK-NEXT: nopw %cs:512(%rax,%rax)
49 ; CHECK-NEXT: nopw %cs:512(%rax,%rax)
52 ; CHECK-NEXT: nopw %cs:512(%rax,%rax)
55 ; CHECK-NEXT: nopw %cs:512(%rax,%rax)
58 ; CHECK-NEXT: nopw %cs:512(%rax,%rax)
61 ; CHECK-NEXT: nopw %cs:512(%rax,%rax)
[all …]
/llvm-project-15.0.7/llvm/test/Verifier/
H A Dpreallocated-valid.ll16 %cs = call token @llvm.call.preallocated.setup(i32 1)
19 call void @foo1(i32* preallocated(i32) %y) ["preallocated"(token %cs)]
24 %cs = call token @llvm.call.preallocated.setup(i32 1)
27 call void %f(i32* preallocated(i32) %y) ["preallocated"(token %cs)]
32 %cs = call token @llvm.call.preallocated.setup(i32 1)
38 %cs = call token @llvm.call.preallocated.setup(i32 2)
59 %cs = call token @llvm.call.preallocated.setup(i32 1)
60 call void @llvm.call.preallocated.teardown(token %cs)
65 %cs = call token @llvm.call.preallocated.setup(i32 1)
70 call void @foo1(i32* preallocated(i32) %y) ["preallocated"(token %cs)]
[all …]
H A Dpreallocated-invalid.ll17 %cs = call token @llvm.call.preallocated.setup(i32 1)
39 %cs = call token @llvm.what()
40 call void @foo0() ["preallocated"(token %cs)]
62 %cs = call token @llvm.call.preallocated.setup(i32 1)
79 %cs = call token @llvm.call.preallocated.setup(i32 2)
86 %cs = call token @llvm.call.preallocated.setup(i32 1)
95 %cs = call token @llvm.call.preallocated.setup(i32 1)
104 %cs = call token @llvm.call.preallocated.setup(i32 3)
123 %cs = call token @llvm.call.preallocated.setup(i32 0)
124 call void @foo0() ["preallocated"(token %cs)]
[all …]
/llvm-project-15.0.7/llvm/test/tools/llvm-profgen/
H A Dcs-preinline.test2 …perfscript=%S/Inputs/inline-cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --c…
6 …perfscript=%S/Inputs/inline-cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --c…
10 …perfscript=%S/Inputs/inline-cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --c…
14 …perfscript=%S/Inputs/inline-cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --c…
19cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --csspgo-preinliner=1 --sample…
23 …perfscript=%S/Inputs/inline-cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --c…
25cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --csspgo-preinliner=1 --sample…
H A Dinline-cs-noprobe.test1 …rofgen --format=text --perfscript=%S/Inputs/inline-cs-noprobe.perfscript --binary=%S/Inputs/inline…
3 …nline-cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --output=%t --profile-sum…
5cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --output=%t --profile-summary-c…
8cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --output=%t --profile-summary-c…
H A Dnoinline-cs-pseudoprobe.test1 …n --format=text --perfscript=%S/Inputs/noinline-cs-pseudoprobe.perfscript --binary=%S/Inputs/noinl…
3 …-cs-pseudoprobe.perfscript --binary=%S/Inputs/noinline-cs-pseudoprobe.perfbin --output=%t --profil…
5 … --format=text --perfscript=%S/Inputs/noinline-cs-pseudoprobe.aggperfscript --binary=%S/Inputs/noi…
7cs-pseudoprobe.aggperfscript --binary=%S/Inputs/noinline-cs-pseudoprobe.perfbin --output=%t --prof…
H A Dcs-preinline-sample-profile.test2 …perfscript=%S/Inputs/inline-cs-noprobe.perfscript --binary=%S/Inputs/inline-cs-noprobe.perfbin --c…
5 …--llvm-sample-profile=%t1 --binary=%S/Inputs/inline-cs-noprobe.perfbin --csspgo-preinliner=1 --gen…
9 …script=%S/Inputs/inline-cs-pseudoprobe.perfscript --binary=%S/Inputs/inline-cs-pseudoprobe.perfbin…
12 …llvm-sample-profile=%t3 --binary=%S/Inputs/inline-cs-pseudoprobe.perfbin --csspgo-preinliner=1 --g…
H A Dnoinline-cs-noprobe.test3 …gen --format=text --perfscript=%S/Inputs/noinline-cs-noprobe.perfscript --binary=%S/Inputs/noinlin…
5 …t --binary=%S/Inputs/noinline-cs-noprobe.perfbin --output=%t1 --profile-summary-cold-count=0 --css…
7cs-noprobe.perfscript --binary=%S/Inputs/noinline-cs-noprobe.perfbin --output=%t --profile-summary…
9 …en --format=text --perfscript=%S/Inputs/noinline-cs-noprobe.aggperfscript --binary=%S/Inputs/noinl…
11 …ine-cs-noprobe.aggperfscript --binary=%S/Inputs/noinline-cs-noprobe.perfbin --output=%t --profile-…
14 …gen --format=text --perfscript=%S/Inputs/noinline-cs-noprobe.perfscript --binary=%S/Inputs/noinlin…
15 …-format=extbinary --perfscript=%S/Inputs/noinline-cs-noprobe.perfscript --binary=%S/Inputs/noinlin…
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dbuiltin-object-size-cxx14.cpp11 char cs[10] = {}; in bos0() local
12 return __builtin_object_size(&cs[k], 0); in bos0()
17 char cs[10] = {}; in bos1() local
18 return __builtin_object_size(&cs[k], 1); in bos1()
23 char cs[10] = {}; in bos2() local
24 return __builtin_object_size(&cs[k], 2); in bos2()
29 char cs[10] = {}; in bos3() local
30 return __builtin_object_size(&cs[k], 3); in bos3()
/llvm-project-15.0.7/clang/test/ExtractAPI/
H A Dobjc_interface.m60 "target": "c:objc(cs)Super"
65 "target": "c:objc(cs)Super"
70 "target": "c:objc(cs)Super"
74 "source": "c:objc(cs)Super",
79 "source": "c:objc(cs)Derived@Ivar",
80 "target": "c:objc(cs)Derived"
85 "target": "c:objc(cs)Derived"
89 "source": "c:objc(cs)Derived",
90 "target": "c:objc(cs)Super"
112 "precise": "c:objc(cs)Super"
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/android/
H A Dcomparison-in-temp-failure-retry.rst20 char cs[1];
21 while (TEMP_FAILURE_RETRY(read(STDIN_FILENO, cs, sizeof(cs)) != 0)) {
22 // Do something with cs.
33 char cs[1];
34 while (TEMP_FAILURE_RETRY(read(STDIN_FILENO, cs, sizeof(cs))) != 0) {
35 // Do something with cs.
/llvm-project-15.0.7/libcxx/test/std/containers/associative/multiset/multiset.observers/
H A Dcomp.pass.cpp24 const set_type& cs = s; in main() local
26 assert(cs.key_comp()(*i1, *i2)); in main()
27 assert(!cs.key_comp()(*i2, *i1)); in main()
29 assert(cs.value_comp()(*i1, *i2)); in main()
30 assert(!cs.value_comp()(*i2, *i1)); in main()
/llvm-project-15.0.7/llvm/test/MC/X86/
H A Dprefix-padding-64.s6 # CHECK: f: 2e 2e 2e 2e 2e 2e 2e 2e 48 81 21 00 00 00 00 andq $0, %cs:(%rcx)
7 # CHECK: 1e: 2e 2e 2e 2e 2e 2e 2e 2e 48 81 21 00 00 00 00 andq $0, %cs:(%rcx)
13 # CHECK: 78: 2e 2e 2e 2e 48 81 a1 00 00 00 00 00 00 00 00 andq $0, %cs:(%rcx)
14 # CHECK: 87: 2e 2e 2e 2e 48 81 a1 00 00 00 00 00 00 00 00 andq $0, %cs:(%rcx)
15 # CHECK: 96: 2e 2e 2e 2e 2e 2e 2e 48 81 24 24 00 00 00 00 andq $0, %cs:(%rsp)
17 # CHECK: b4: 2e 2e 2e 48 81 a4 24 00 00 00 00 00 00 00 00 andq $0, %cs:(%rsp)
18 # CHECK: c3: 2e 2e 2e 2e 2e 2e 2e 48 81 65 00 00 00 00 00 andq $0, %cs:(%rbp)
20 # CHECK: e1: 2e 2e 2e 2e 48 81 a5 00 00 00 00 00 00 00 00 andq $0, %cs:(%rbp)
28 andq $foo, %cs:(%rcx)
/llvm-project-15.0.7/libcxx/test/std/containers/associative/set/set.observers/
H A Dcomp.pass.cpp24 const set_type& cs = s; in main() local
26 assert(cs.key_comp()(*p1.first, *p2.first)); in main()
27 assert(!cs.key_comp()(*p2.first, *p1.first)); in main()
29 assert(cs.value_comp()(*p1.first, *p2.first)); in main()
30 assert(!cs.value_comp()(*p2.first, *p1.first)); in main()
/llvm-project-15.0.7/clang/bindings/python/tests/cindex/
H A Dtest_cursor.py149 cs = xs[1:]
166 cs = xs[1:]
171 self.assertFalse(cs[0].is_copy_constructor())
172 self.assertTrue(cs[1].is_copy_constructor())
173 self.assertFalse(cs[2].is_copy_constructor())
182 cs = xs[1:]
186 self.assertTrue(cs[0].is_default_constructor())
196 cs = xs[1:]
201 self.assertFalse(cs[0].is_move_constructor())
202 self.assertFalse(cs[1].is_move_constructor())
[all …]
/llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.iterators/
H A Drend.pass.cpp25 const S& cs = s; in test() local
27 typename S::const_reverse_iterator ce = cs.rend(); in test()
31 assert(ce == cs.rbegin()); in test()
34 assert(static_cast<std::size_t>(ce - cs.rbegin()) == cs.size()); in test()
H A Dend.pass.cpp25 const S& cs = s; in test() local
27 typename S::const_iterator ce = cs.end(); in test()
31 assert(ce == cs.begin()); in test()
34 assert(static_cast<std::size_t>(ce - cs.begin()) == cs.size()); in test()

12345678910>>...20