Home
last modified time | relevance | path

Searched refs:bs (Results 1 – 25 of 56) sorted by relevance

123

/llvm-project-15.0.7/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/
H A Dto_bytes.pass.cpp46 assert(bs == "\xE1\x80\x85"); in test()
47 bs = myconv.to_bytes(ws.c_str()); in test()
48 assert(bs == "\xE1\x80\x85"); in test()
49 bs = myconv.to_bytes(ws); in test()
50 assert(bs == "\xE1\x80\x85"); in test()
52 assert(bs == "\xE1\x80\x85"); in test()
53 bs = myconv.to_bytes(L""); in test()
54 assert(bs.size() == 0); in test()
68 bs = myconv.to_bytes(ws); in test()
72 bs = myconv.to_bytes(L""); in test()
[all …]
H A Dfrom_bytes.pass.cpp44 std::string bs("\xE1\x80\x85"); in test() local
47 ws = myconv.from_bytes(bs.c_str()); in test()
49 ws = myconv.from_bytes(bs); in test()
51 ws = myconv.from_bytes(bs.data(), bs.data() + bs.size()); in test()
63 std::string bs("\xF1\x80\x80\x83"); in test() local
66 ws = myconv.from_bytes(bs.c_str()); in test()
68 ws = myconv.from_bytes(bs); in test()
70 ws = myconv.from_bytes(bs.data(), bs.data() + bs.size()); in test()
H A Dctor_err_string.pass.cpp57 std::string bs = myconv.to_bytes(L"\xDA83"); in main() local
58 assert(bs == "byte error"); in main()
72 std::string bs = myconv.to_bytes(L"\xDA83"); in main() local
73 assert(bs == "byte error"); in main()
H A Dconverted.pass.cpp44 std::string bs = myconv.to_bytes(L"\u1005"); in test() local
46 bs = myconv.to_bytes(L"\u1005e"); in test()
61 std::string bs = myconv.to_bytes(L"\U00040003"); in test() local
63 bs = myconv.to_bytes(L"\U00040003e"); in test()
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dobject-size.cpp36 struct C { int i; B bs[1]; } *c; in test2() member
39 gi = __builtin_object_size(&c->bs[0], 0); in test2()
41 gi = __builtin_object_size(&c->bs[0], 1); in test2()
43 gi = __builtin_object_size(&c->bs[0], 2); in test2()
45 gi = __builtin_object_size(&c->bs[0], 3); in test2()
48 gi = __builtin_object_size((A*)&c->bs[0], 0); in test2()
50 gi = __builtin_object_size((A*)&c->bs[0], 1); in test2()
52 gi = __builtin_object_size((A*)&c->bs[0], 2); in test2()
54 gi = __builtin_object_size((A*)&c->bs[0], 3); in test2()
57 gi = __builtin_object_size(&c->bs[0].buf[0], 0); in test2()
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/SystemZ/
H A Dzvector.c1272 bs = bs & bs2; in test_and()
1530 bs = bs | bs2; in test_or()
1788 bs = bs ^ bs2; in test_xor()
2808 bs = bs == ss2; in test_cmpeq()
2811 bs = bs == us2; in test_cmpeq()
2812 bs = bs == bs2; in test_cmpeq()
2992 bs = bs != ss2; in test_cmpne()
2995 bs = bs != us2; in test_cmpne()
2996 bs = bs != bs2; in test_cmpne()
3180 bs = bs > bs2; in test_cmpgt()
[all …]
/llvm-project-15.0.7/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
H A Doverflow.pass.cpp49 std::ofstream bs("overflow.dat"); in main() local
50 test_buf f(bs.rdbuf()); in main()
60 std::ifstream bs("overflow.dat"); in main() local
61 test_buf f(bs.rdbuf()); in main()
66 std::ofstream bs("overflow.dat"); in main() local
67 test_buf f(bs.rdbuf()); in main()
78 std::ifstream bs("overflow.dat"); in main() local
79 test_buf f(bs.rdbuf()); in main()
84 std::ofstream bs("overflow.dat"); in main() local
85 test_buf f(bs.rdbuf()); in main()
H A Dunderflow.pass.cpp51 std::ifstream bs("underflow.dat"); in main() local
52 test_buf f(bs.rdbuf()); in main()
63 std::ifstream bs("underflow.dat"); in main() local
64 test_buf f(bs.rdbuf()); in main()
84 std::ifstream bs("underflow_utf8.dat"); in main() local
85 test_buf f(bs.rdbuf()); in main()
H A Dpbackfail.pass.cpp51 std::ifstream bs("underflow.dat"); in main() local
52 test_buf f(bs.rdbuf()); in main()
58 std::fstream bs("underflow.dat"); in main() local
59 test_buf f(bs.rdbuf()); in main()
H A Dseekoff.pass.cpp46 std::fstream bs("seekoff.dat", std::ios::trunc | std::ios::in in main() local
48 test_buf f(bs.rdbuf()); in main()
/llvm-project-15.0.7/llvm/test/Analysis/Delinearization/
H A Ddivide_by_one.ll7 ; void test1(unsigned char *dst, int stride, int bs) {
8 ; for (int r = bs; r >= 0; --r)
9 ; for (int c = 0; c < bs; ++c)
17 ; CHECK: ArrayRef[{(1 + %bs),+,-1}<nw><%for.cond1.preheader>][{-1,+,1}<nw><%for.body3>]
19 ; AddRec: {{(%stride * %bs),+,(-1 * %stride)}<%for.cond1.preheader>,+,1}<nw><%for.body3>
23 ; CHECK: ArrayRef[{%bs,+,-1}<nsw><%for.cond1.preheader>][{0,+,1}<nuw><nsw><%for.body3>]
25 define void @test(i8* nocapture %dst, i32 %stride, i32 %bs) {
27 %cmp20 = icmp sgt i32 %bs, -1
31 %cmp218 = icmp slt i32 0, %bs
35 %r.021 = phi i32 [ %bs, %for.cond1.preheader.lr.ph ], [ %dec, %for.inc8 ]
[all …]
/llvm-project-15.0.7/clang/test/Sema/
H A Dzvector.c11 vector bool short bs, bs2; variable
95 bs = bs2; in foo()
334 bs = ~bs2; in foo()
383 bs = bs + bs2; // expected-error {{invalid operands}} in foo()
622 bs &= bs2; in foo()
653 bs |= bs2; in foo()
687 bs ^= bs2; in foo()
743 bs = bs << bs2; // expected-error {{invalid operands}} in foo()
843 bs = bs >> bs2; // expected-error {{invalid operands}} in foo()
1018 (void)(bs < bs2); in foo()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dpr32140.ll52 ; CHECK-NEXT: addis 4, 2, bs@toc@ha
54 ; CHECK-NEXT: addi 4, 4, bs@toc@l
61 ; CHECK-LE-NEXT: addis 4, 2, bs@toc@ha
63 ; CHECK-LE-NEXT: addi 4, 4, bs@toc@l
73 ; CHECK-BE-NEXT: addi 4, 4, bs@toc@l
82 store i16 %conv, i16* @bs, align 2
90 ; CHECK-NEXT: addis 4, 2, bs@toc@ha
92 ; CHECK-NEXT: addi 4, 4, bs@toc@l
101 ; CHECK-LE-NEXT: addi 4, 4, bs@toc@l
111 ; CHECK-BE-NEXT: addi 4, 4, bs@toc@l
[all …]
H A Dld-bswap64-no-ldbrx.ll4 define void @bs(i64* %p) {
5 ; CHECK-LABEL: bs:
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DLLVMIRConversionGen.cpp121 llvm::raw_string_ostream bs(builder); in emitOneBuilder() local
126 bs << builderStrRef.substr(0, loc.pos); in emitOneBuilder()
134 bs << result; in emitOneBuilder()
136 bs << formatv("op.{0}()", getterName); in emitOneBuilder()
138 bs << formatv("moduleTranslation.mapValue(op.{0}())", getterName); in emitOneBuilder()
140 bs << "moduleTranslation.convertType(op.getResult().getType())"; in emitOneBuilder()
142 bs << "opInst.getNumResults() == 1"; in emitOneBuilder()
144 bs << "opInst.getLoc()"; in emitOneBuilder()
146 bs << "opInst.getNumOperands()"; in emitOneBuilder()
148 bs << '$'; in emitOneBuilder()
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Ddefault-arguments.cpp37 B bs[2]; in f1() local
41 B bs[2]; member
63 B *bs = new B[2]; in f3() local
64 delete bs; in f3()
H A Ddebug-info-range-for-var-names.cpp10 vec as, bs, cs; in test() local
13 for (auto b : bs) in test()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dobjc-boxing.m65 BoxableStruct bs;
66 bs.str = strdup("dynamic string"); // The duped string shall be owned by val.
67 NSValue *val = @(bs); // no-warning
72 BoxableStruct *bs = malloc(sizeof(BoxableStruct)); // The pointer stored in bs isn't owned by val.
73 NSValue *val = @(*bs); // expected-warning{{Potential leak of memory pointed to by 'bs'}}
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcrashes.cpp181 template<typename> struct bs { struct
182 bs();
189 template<typename T> bs<T>::bs() { member; } // expected-error{{did you mean to call it}} in bs() function in pr16964::bs
191 bs<int> test() { in test()
192 return bs<int>(); // expected-note{{in instantiation}} in test()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-case.cpp149 llvm::raw_string_ostream bs{result}; in AsFortran() local
151 evaluate::Constant<T>{*lower}.AsFortran(bs << '('); in AsFortran()
153 bs << ':'; in AsFortran()
155 evaluate::Constant<T>{*upper}.AsFortran(bs << ':'); in AsFortran()
157 bs << ')'; in AsFortran()
159 evaluate::Constant<T>{*upper}.AsFortran(bs << "(:") << ')'; in AsFortran()
161 bs << "DEFAULT"; in AsFortran()
/llvm-project-15.0.7/llvm/test/Verifier/
H A Dset1.ll6 %bs = alloca i64, align 8
11 call void @llvm.dbg.declare(metadata i64* %bs, metadata !26, metadata !DIExpression()), !dbg !25
13 store i64 85, i64* %bs, align 8, !dbg !29
51 !26 = !DILocalVariable(name: "bs", scope: !17, file: !2, line: 11, type: !27)
/llvm-project-15.0.7/libcxx/test/std/utilities/template.bitset/bitset.hash/
H A Dbitset.pass.cpp36 T bs(static_cast<unsigned long long>(N)); in test()
37 const std::size_t result = h(bs); in test()
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_test_python.py33 bs = isl.basic_set("{ [1] }")
35 s = isl.set(bs)
173 def add(bs): argument
174 list.append(bs)
185 def fail(bs): argument
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZk.td52 (ins GPR:$rs1, GPR:$rs2, byteselect:$bs),
53 opcodestr, "$rd, $rs1, $rs2, $bs">{
54 bits<2> bs;
55 let Inst{31-30} = bs;
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Dset.ll26 %bs = alloca i64, align 8
31 call void @llvm.dbg.declare(metadata i64* %bs, metadata !26, metadata !DIExpression()), !dbg !25
33 store i64 197, i64* %bs, align 8, !dbg !29
100 !26 = !DILocalVariable(name: "bs", scope: !5, file: !2, line: 11, type: !27)

123