Home
last modified time | relevance | path

Searched refs:buf1 (Results 1 – 25 of 33) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.assign/
H A Dnonmember_swap.pass.cpp28 swap(buf, buf1); in main()
30 assert(buf1.str() == ""); in main()
35 swap(buf, buf1); in main()
37 assert(buf1.str() == ""); in main()
42 swap(buf, buf1); in main()
44 assert(buf1.str() == ""); in main()
50 swap(buf, buf1); in main()
52 assert(buf1.str() == L""); in main()
57 swap(buf, buf1); in main()
59 assert(buf1.str() == L""); in main()
[all …]
H A Dmember_swap.pass.cpp26 buf.swap(buf1); in main()
28 assert(buf1.str() == ""); in main()
33 buf.swap(buf1); in main()
35 assert(buf1.str() == ""); in main()
40 buf.swap(buf1); in main()
42 assert(buf1.str() == ""); in main()
48 buf.swap(buf1); in main()
50 assert(buf1.str() == L""); in main()
55 buf.swap(buf1); in main()
57 assert(buf1.str() == L""); in main()
[all …]
H A Dmove.pass.cpp24 std::stringbuf buf1("testing"); in main() local
26 buf = std::move(buf1); in main()
30 std::stringbuf buf1("testing", std::ios_base::in); in main() local
32 buf = std::move(buf1); in main()
36 std::stringbuf buf1("testing", std::ios_base::out); in main() local
38 buf = std::move(buf1); in main()
43 std::wstringbuf buf1(L"testing"); in main() local
45 buf = std::move(buf1); in main()
49 std::wstringbuf buf1(L"testing", std::ios_base::in); in main() local
51 buf = std::move(buf1); in main()
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/
H A Dmove.pass.cpp24 std::stringbuf buf1("testing"); in main() local
25 std::stringbuf buf(std::move(buf1)); in main()
29 std::stringbuf buf1("testing", std::ios_base::in); in main() local
30 std::stringbuf buf(std::move(buf1)); in main()
34 std::stringbuf buf1("testing", std::ios_base::out); in main() local
35 std::stringbuf buf(std::move(buf1)); in main()
40 std::wstringbuf buf1(L"testing"); in main() local
41 std::wstringbuf buf(std::move(buf1)); in main()
45 std::wstringbuf buf1(L"testing", std::ios_base::in); in main() local
46 std::wstringbuf buf(std::move(buf1)); in main()
[all …]
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/PDB/Inputs/
H A DExpressionsTest0.script4 print N0::N1::sum(N0::N1::buf1, sizeof(N0::N1::buf1))
5 print N1::sum(N1::buf1, sizeof(N1::buf1))
6 print sum(buf1, sizeof(buf1))
7 print sum(buf1, 1000000000)
H A DExpressionsTest.cpp5 char buf1[] = {0, 1, 2, 3, 4, 5, 6, 7}; variable
18 char result = N0::N1::sum(N0::N1::buf1, sizeof(N0::N1::buf1)); in main()
H A DExpressionsTest2.script2 print sum(buf1 + 3, 3)
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/PDB/
H A Dexpressions.test10 CHECK: (lldb) print N0::N1::sum(N0::N1::buf1, sizeof(N0::N1::buf1))
14 CHECK: (lldb) print N1::sum(N1::buf1, sizeof(N1::buf1))
18 CHECK: (lldb) print sum(buf1, sizeof(buf1))
22 CHECK: (lldb) print sum(buf1, 1000000000)
34 CHECK: (lldb) print sum(buf1 + 3, 3)
/llvm-project-15.0.7/compiler-rt/test/fuzzer/
H A DCustomAllocator.cpp15 static const char *buf1 = "aaaa"; variable
19 int memcmp_result = memcmp(buf1, buf2, 4); in callFuzzerInterceptors()
23 int strncmp_result = strncmp(buf1, buf2, 4); in callFuzzerInterceptors()
27 int strcmp_result = strcmp(buf1, buf2); in callFuzzerInterceptors()
31 const char *strstr_result = strstr(buf1, buf2); in callFuzzerInterceptors()
/llvm-project-15.0.7/libc/test/src/string/memory_utils/
H A Dalgorithm_test.cpp247 SizedOp<TestBackend, 1>::isDifferent(buf1(), buf2()); in TEST_F()
257 SizedOp<TestBackend, 15>::isDifferent(buf1(), buf2()); in TEST_F()
276 SizedOp<TestBackend, 15>::isDifferent(buf1(), buf2()); in TEST_F()
296 SizedOp<TestBackend, 16>::isDifferent(buf1(), buf2()); in TEST_F()
312 SizedOp<TestBackend, 1>::threeWayCmp(buf1(), buf2()); in TEST_F()
323 SizedOp<TestBackend, 15>::threeWayCmp(buf1(), buf2()); in TEST_F()
343 SizedOp<TestBackend, 16>::threeWayCmp(buf1(), buf2()); in TEST_F()
354 SizedOp<TestBackend, 16>::threeWayCmp(buf1(), buf2()); in TEST_F()
379 Skip<11>::Then<SizedOp<TestBackend, 1>>::isDifferent(buf1(), buf2()); in TEST_F()
426 Tail<_8>::isDifferent(buf1(), buf2(), 16); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/
H A Dstack-protector.ll17 %buf1 = bitcast [8 x i8]* %buf to i8* ; <i8*> [#uses=1]
19 %1 = call i8* @strcpy(i8* %buf1, i8* %0) nounwind ; <i8*> [#uses=0]
38 %buf1 = bitcast [8 x i8]* %buf to i8* ; <i8*> [#uses=1]
40 %1 = call i8* @strcpy(i8* %buf1, i8* %0) nounwind ; <i8*> [#uses=0]
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dbuiltin-object-size-ptr.ll5 ; struct V { char buf1[10];
10 ; char *p = &var.buf1[1];
23 %buf1 = getelementptr inbounds %struct.V, %struct.V* %var, i32 0, i32 0
24 %arrayidx = getelementptr inbounds [10 x i8], [10 x i8]* %buf1, i64 0, i64 1
H A Dbuiltin-object-size-custom-dl.ll20 %buf1 = getelementptr inbounds %struct.V, %struct.V* %var, i32 0, i32 0
21 %arrayidx = getelementptr inbounds [10 x i8], [10 x i8]* %buf1, i64 0, i64 1
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dwin64_alloca_dynalloca.ll38 %buf1 = alloca i8, i64 %n, align 1
65 %r = call i64 @bar(i64 %n, i64 %x, i64 %n, ptr %buf0, ptr %buf1) nounwind
96 %buf1 = alloca i8, i64 %n, align 128
121 %r = call i64 @bar(i64 %n, i64 %x, i64 %n, ptr undef, ptr %buf1) nounwind
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/rvv/
H A Dstack-coloring-scalablevec.mir14 %buf1 = alloca <4 x i32>
24 - { id: 0, name: buf1, size: 16, alignment: 16 }
H A Dwrong-stack-offset-for-rvv-object.mir20 # | buf1 |
37 %buf1 = alloca [10 x i8], i32 0, align 8
109 - { id: 0, name: buf1, type: default, offset: 0, size: 1, alignment: 8,
124 ; CHECK-NEXT: - { id: 0, name: buf1, type: default, offset: -48, size: 1, alignment: 8,
/llvm-project-15.0.7/llvm/test/CodeGen/SPARC/
H A Dstack-protector.ll20 %buf1 = bitcast [8 x i8]* %buf to i8* ; <i8*> [#uses=1]
22 %1 = call i8* @strcpy(i8* %buf1, i8* %0) nounwind ; <i8*> [#uses=0]
/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-diagnose-as-builtin.c59 char buf1[10]; in call_memcpy2() local
61 …memcpy2(buf1, buf2, 11); // expected-warning {{'memcpy' will always overflow; destination buffer h… in call_memcpy2()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dcfguard-checks.ll108 @buf1 = internal global [16 x %struct._SETJMP_FLOAT128] zeroinitializer, align 16
116 %4 = call i32 @_setjmp(i8* bitcast ([16 x %struct._SETJMP_FLOAT128]* @buf1 to i8*), i8* %3) #2
123 %6 = call i32 @_setjmp(i8* bitcast ([16 x %struct._SETJMP_FLOAT128]* @buf1 to i8*), i8* %5) #3
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dstack-protector.ll33 %buf1 = bitcast [8 x i8]* %buf to i8* ; <i8*> [#uses=1]
35 %1 = call i8* @strcpy(i8* %buf1, i8* %0) nounwind ; <i8*> [#uses=0]
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dcfguard-checks.ll113 @buf1 = internal global [16 x %struct._SETJMP_FLOAT128] zeroinitializer, align 16
121 %4 = call i32 @_setjmp(i8* bitcast ([16 x %struct._SETJMP_FLOAT128]* @buf1 to i8*), i8* %3) #3
128 %6 = call i32 @_setjmp(i8* bitcast ([16 x %struct._SETJMP_FLOAT128]* @buf1 to i8*), i8* %5) #3
/llvm-project-15.0.7/clang/test/Analysis/
H A Dobjc-encode.m8 char buf1[] = @encode(int **);
/llvm-project-15.0.7/llvm/test/Analysis/StackSafetyAnalysis/
H A Dlifetime.ll549 %buf1 = alloca i8, i32 100000, align 16
551 call void @llvm.lifetime.start.p0i8(i64 -1, i8* %buf1)
552 ; CHECK: call void @llvm.lifetime.start.p0i8(i64 -1, i8* %buf1)
553 ; CHECK-NEXT: Alive: <buf1>
555 call void @llvm.lifetime.end.p0i8(i64 -1, i8* %buf1)
556 ; CHECK: call void @llvm.lifetime.end.p0i8(i64 -1, i8* %buf1)
559 call void @llvm.lifetime.start.p0i8(i64 -1, i8* %buf1)
560 ; CHECK: call void @llvm.lifetime.start.p0i8(i64 -1, i8* %buf1)
561 ; CHECK-NEXT: Alive: <buf1>
565 ; CHECK-NEXT: Alive: <buf1 buf2>
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dalloc-size.c255 short *const buf1 = (short*)(my_malloc(100)); in test9() local
261 gi = OBJECT_SIZE_BUILTIN(buf1, 0); in test9()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp876 SmallString<256> buf1; in checkCall_rand() local
877 llvm::raw_svector_ostream os1(buf1); in checkCall_rand()
1040 SmallString<256> buf1; in checkUncheckedReturnValue() local
1041 llvm::raw_svector_ostream os1(buf1); in checkUncheckedReturnValue()

12