Home
last modified time | relevance | path

Searched refs:STR (Results 1 – 25 of 110) sorted by relevance

12345

/llvm-project-15.0.7/libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/
H A Dformatter.string.pass.cpp80 test_termination_condition<T, ArgumentT>(STR(" azAZ09,./<>?"), STR("}"), in test_string_type()
86 test_termination_condition<T, ArgumentT>(STR("world"), STR("}"), in test_string_type()
88 test_termination_condition<T, ArgumentT>(STR("world"), STR("_>}"), in test_string_type()
91 test_termination_condition<T, ArgumentT>(STR(" world"), STR(">8}"), in test_string_type()
93 test_termination_condition<T, ArgumentT>(STR("___world"), STR("_>8}"), in test_string_type()
95 test_termination_condition<T, ArgumentT>(STR("_world__"), STR("_^8}"), in test_string_type()
97 test_termination_condition<T, ArgumentT>(STR("world___"), STR("_<8}"), in test_string_type()
100 test_termination_condition<T, ArgumentT>(STR("world"), STR(".5}"), in test_string_type()
102 test_termination_condition<T, ArgumentT>(STR("unive"), STR(".5}"), in test_string_type()
105 test_termination_condition<T, ArgumentT>(STR("%world%"), STR("%^7.7}"), in test_string_type()
[all …]
H A Dformatter.c_string.pass.cpp69 test_termination_condition<ArgumentT>(STR(" azAZ09,./<>?"), STR("}"), in test_char_pointer()
73 test_termination_condition<ArgumentT>(STR("abc"), STR("}"), s.c_str()); in test_char_pointer()
76 test_termination_condition<ArgumentT>(STR("world"), STR("_>}"), in test_char_pointer()
79 test_termination_condition<ArgumentT>(STR(" world"), STR(">8}"), in test_char_pointer()
81 test_termination_condition<ArgumentT>(STR("___world"), STR("_>8}"), in test_char_pointer()
83 test_termination_condition<ArgumentT>(STR("_world__"), STR("_^8}"), in test_char_pointer()
85 test_termination_condition<ArgumentT>(STR("world___"), STR("_<8}"), in test_char_pointer()
88 test_termination_condition<ArgumentT>(STR("world"), STR(".5}"), in test_char_pointer()
90 test_termination_condition<ArgumentT>(STR("unive"), STR(".5}"), in test_char_pointer()
93 test_termination_condition<ArgumentT>(STR("%world%"), STR("%^7.7}"), in test_char_pointer()
[all …]
H A Dformatter.const_char_array.pass.cpp92 test_helper_wrapper<" azAZ09,./<>?">(STR(" azAZ09,./<>?"), STR("}")); in test_array()
97 test_helper_wrapper<"world">(STR("world"), STR("}")); in test_array()
98 test_helper_wrapper<"world">(STR("world"), STR("_>}")); in test_array()
100 test_helper_wrapper<"world">(STR(" world"), STR(">8}")); in test_array()
101 test_helper_wrapper<"world">(STR("___world"), STR("_>8}")); in test_array()
102 test_helper_wrapper<"world">(STR("_world__"), STR("_^8}")); in test_array()
103 test_helper_wrapper<"world">(STR("world___"), STR("_<8}")); in test_array()
105 test_helper_wrapper<"world">(STR("world"), STR(".5}")); in test_array()
106 test_helper_wrapper<"universe">(STR("unive"), STR(".5}")); in test_array()
108 test_helper_wrapper<"world">(STR("%world%"), STR("%^7.7}")); in test_array()
[all …]
H A Dformatter.char_array.pass.cpp87 test_helper_wrapper<" azAZ09,./<>?">(STR(" azAZ09,./<>?"), STR("}")); in test_array()
92 test_helper_wrapper<"world">(STR("world"), STR("}")); in test_array()
93 test_helper_wrapper<"world">(STR("world"), STR("_>}")); in test_array()
95 test_helper_wrapper<"world">(STR(" world"), STR(">8}")); in test_array()
96 test_helper_wrapper<"world">(STR("___world"), STR("_>8}")); in test_array()
97 test_helper_wrapper<"world">(STR("_world__"), STR("_^8}")); in test_array()
98 test_helper_wrapper<"world">(STR("world___"), STR("_<8}")); in test_array()
100 test_helper_wrapper<"world">(STR("world"), STR(".5}")); in test_array()
101 test_helper_wrapper<"universe">(STR("unive"), STR(".5}")); in test_array()
103 test_helper_wrapper<"world">(STR("%world%"), STR("%^7.7}")); in test_array()
[all …]
H A Dformatter.signed_integral.pass.cpp37 #define STR(S) MAKE_STRING(CharT, S) macro
77 test_termination_condition(STR("-128"), STR("}"), A(-128)); in test_signed_integral_type()
78 test_termination_condition(STR("0"), STR("}"), A(0)); in test_signed_integral_type()
79 test_termination_condition(STR("127"), STR("}"), A(127)); in test_signed_integral_type()
81 test_termination_condition(STR("-32768"), STR("}"), A(-32768)); in test_signed_integral_type()
82 test_termination_condition(STR("32767"), STR("}"), A(32767)); in test_signed_integral_type()
85 test_termination_condition(STR("-2147483648"), STR("}"), A(-2147483648)); in test_signed_integral_type()
86 test_termination_condition(STR("2147483647"), STR("}"), A(2147483647)); in test_signed_integral_type()
89 …test_termination_condition(STR("-9223372036854775808"), STR("}"), A(std::numeric_limits<int64_t>::… in test_signed_integral_type()
90 …test_termination_condition(STR("9223372036854775807"), STR("}"), A(std::numeric_limits<int64_t>::m… in test_signed_integral_type()
[all …]
H A Dformatter.floating_point.pass.cpp40 #define STR(S) MAKE_STRING(CharT, S) macro
437 test_termination_condition(STR("}"), A(-std::numeric_limits<float>::max())); in test_float_type()
438 test_termination_condition(STR("}"), A(-std::numeric_limits<float>::min())); in test_float_type()
439 test_termination_condition(STR("}"), A(-0.0)); in test_float_type()
441 test_termination_condition(STR("}"), A(0.0)); in test_float_type()
442 test_termination_condition(STR("}"), A(std::numeric_limits<float>::min())); in test_float_type()
443 test_termination_condition(STR("}"), A(std::numeric_limits<float>::max())); in test_float_type()
458 test_termination_condition(STR("}"), A(-std::numeric_limits<A>::infinity()), STR("-inf")); in test_float_type()
459 test_termination_condition(STR("}"), A(std::numeric_limits<A>::infinity()), STR("inf")); in test_float_type()
462 test_termination_condition(STR("}"), std::copysign(nan, -1.0), STR("-nan")); in test_float_type()
[all …]
H A Dformatter.char.pass.cpp29 #define STR(S) MAKE_STRING(CharT, S) macro
68 test_termination_condition(STR("a"), STR("}"), ArgumentT('a')); in test_char_type()
69 test_termination_condition(STR("z"), STR("}"), ArgumentT('z')); in test_char_type()
70 test_termination_condition(STR("A"), STR("}"), ArgumentT('A')); in test_char_type()
71 test_termination_condition(STR("Z"), STR("}"), ArgumentT('Z')); in test_char_type()
72 test_termination_condition(STR("0"), STR("}"), ArgumentT('0')); in test_char_type()
73 test_termination_condition(STR("9"), STR("}"), ArgumentT('9')); in test_char_type()
H A Dformatter.unsigned_integral.pass.cpp37 #define STR(S) MAKE_STRING(CharT, S) macro
77 test_termination_condition(STR("0"), STR("}"), A(0)); in test_unsigned_integral_type()
78 test_termination_condition(STR("255"), STR("}"), A(255)); in test_unsigned_integral_type()
80 test_termination_condition(STR("65535"), STR("}"), A(65535)); in test_unsigned_integral_type()
82 test_termination_condition(STR("4294967295"), STR("}"), A(4294967295)); in test_unsigned_integral_type()
84 test_termination_condition(STR("8446744073709551615"), STR("}"), in test_unsigned_integral_type()
89STR("340282366920938463463374607431768211455"), STR("}"), A(std::numeric_limits<__uint128_t>::max(… in test_unsigned_integral_type()
H A Dformatter.pointer.pass.cpp35 #define STR(S) MAKE_STRING(CharT, S) macro
81 test_termination_condition(STR("0x0"), STR("}"), nullptr); in test_nullptr_t()
86 test_termination_condition(STR("0x0"), STR("}"), PointerT(0)); in test_pointer_type()
87 test_termination_condition(STR("0x42"), STR("}"), PointerT(0x42)); in test_pointer_type()
88 test_termination_condition(STR("0xffff"), STR("}"), PointerT(0xffff)); in test_pointer_type()
89 test_termination_condition(STR(""), STR("}"), PointerT(-1)); in test_pointer_type()
H A Dformatter.bool.pass.cpp30 #define STR(S) MAKE_STRING(CharT, S) macro
69 test_termination_condition(STR("true"), STR("}"), true); in test_boolean()
70 test_termination_condition(STR("false"), STR("}"), false); in test_boolean()
/llvm-project-15.0.7/llvm/test/tools/llvm-dwarfdump/
H A Ddebug-line-str.yaml5 # RUN: llvm-dwarfdump --debug-line-str %t1.o | FileCheck %s --check-prefix=LINE-STR
7 # LINE-STR: .debug_line_str contents:
8 # LINE-STR-NEXT: 0x00000000: "abc"
9 # LINE-STR-NEXT: 0x00000004: "cba"
10 # LINE-STR-NEXT: 0x00000008: ""
11 # LINE-STR-EMPTY:
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dmemrchr.ll9 ; CHECK-NEXT: [[RET:%.*]] = call i8* @memrchr(i8* [[STR:%.*]], i32 [[C:%.*]], i32 [[N:%.*]])
19 ; CHECK-NEXT: [[RET:%.*]] = call i8* @memrchr(i8* nonnull [[STR:%.*]], i32 [[C:%.*]], i32 [[N:%.…
29 ; CHECK-NEXT: [[RET:%.*]] = call i8* @memrchr(i8* [[STR:%.*]], i32 [[C:%.*]], i32 5)
39 ; CHECK-NEXT: [[RET:%.*]] = call i8* @memrchr(i8* [[STR:%.*]], i32 [[C:%.*]], i32 5)
49 ; CHECK-NEXT: [[RET:%.*]] = call i8* @memrchr(i8* [[STR:%.*]], i32 [[C:%.*]], i32 0)
H A Dsprintf-1.ll75 …noundef nonnull dereferenceable(1) [[DST:%.*]], i8* noundef nonnull dereferenceable(1) [[STR:%.*]])
103 ; WITHSTPCPY-NEXT: [[STPCPY:%.*]] = call i8* @stpcpy(i8* [[DST:%.*]], i8* [[STR:%.*]])
110 ; NOSTPCPY-NEXT: [[STRLEN:%.*]] = call i32 @strlen(i8* noundef nonnull dereferenceable(1) [[STR:…
112 ; NOSTPCPY-NEXT: call void @llvm.memcpy.p0i8.p0i8.i32(i8* align 1 [[DST:%.*]], i8* align 1 [[STR
136 ; CHECK-IPRINTF-NEXT: [[STPCPY:%.*]] = call i8* @stpcpy(i8* [[DST:%.*]], i8* [[STR:%.*]])
143 ; WIN-NEXT: [[STRLEN:%.*]] = call i32 @strlen(i8* noundef nonnull dereferenceable(1) [[STR:%.*]])
145 ; WIN-NEXT: call void @llvm.memcpy.p0i8.p0i8.i32(i8* align 1 [[DST:%.*]], i8* align 1 [[STR]], i…
174 ; CHECK-IPRINTF-NEXT: [[STPCPY:%.*]] = call i8* @stpcpy(i8* [[DST:%.*]], i8* [[STR:%.*]])
181 …enceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @percent_s, i32 0, i32 0), i8* [[STR:%.*]])
H A Dstrstr-1.ll19 ; CHECK-NEXT: ret i8* [[STR:%.*]]
30 ; CHECK-NEXT: [[STRCHR:%.*]] = call i8* @strchr(i8* noundef nonnull dereferenceable(1) [[STR:%.*…
54 ; CHECK-NEXT: ret i8* [[STR:%.*]]
65 ; CHECK-NEXT: [[STRNCMP:%.*]] = call i32 @strncmp(i8* [[STR:%.*]], i8* [[PAT]], i64 [[STRLEN]])
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dblock-desc-str.m8 // CHECK-COMDAT: @[[STR:.*]] = private unnamed_addr constant [6 x i8] c"v8@?0\00"
9 …itcast ({{.*}} to i8*), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @[[STR]], i32 0, i32 0), {…
11 // CHECK: @[[STR:.*]] = private unnamed_addr constant [6 x i8] c"v8@?0\00"
12 …itcast ({{.*}} to i8*), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @[[STR]], i32 0, i32 0), {…
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/include/
H A DTypes.h195 #define __PRAGMA(STR) _Pragma(#STR) argument
196 #define OMP_PRAGMA(STR) __PRAGMA(omp STR) argument
/llvm-project-15.0.7/lld/test/MachO/
H A Dcstring-dedup.s7 # RUN: FileCheck %s --check-prefix=STR --implicit-check-not foo --implicit-check-not bar
12 # STR: Contents of (__TEXT,__cstring) section
13 # STR: {{[[:xdigit:]]+}} foo
14 # STR: {{[[:xdigit:]]+}} barbaz
15 # STR: {{[[:xdigit:]]+}} {{$}}
/llvm-project-15.0.7/llvm/unittests/IR/
H A DValueTest.cpp148 #define CHECK_PRINT(INST, STR) \ in TEST() argument
154 EXPECT_EQ(STR, OS.str()); \ in TEST()
160 EXPECT_EQ(STR, OS.str()); \ in TEST()
167 #define CHECK_PRINT_AS_OPERAND(INST, TYPE, STR) \ in TEST() argument
173 EXPECT_EQ(StringRef(STR), StringRef(OS.str())); \ in TEST()
179 EXPECT_EQ(StringRef(STR), StringRef(OS.str())); \ in TEST()
/llvm-project-15.0.7/clang/test/Modules/
H A Dmalformed.cpp11 #define STR(x) STR2(x) macro
12 #include STR(HEADER)
/llvm-project-15.0.7/clang/test/Preprocessor/
H A D_Pragma-dependency.c10 #define STR "GCC dependency \"parse.y\"") macro
12 DO_PRAGMA (STR
/llvm-project-15.0.7/clang/test/Modules/Inputs/declare-use/
H A Dj.h4 #define STR(x) #x macro
5 #define HDR(x) STR(x.h)
/llvm-project-15.0.7/openmp/runtime/test/affinity/format/
H A Dapi.c10 #define STR(x) XSTR(x) macro
16 fprintf(stderr, "error: %s: %d: " STR(condition) "\n", __FILE__, \
/llvm-project-15.0.7/clang/test/Lexer/
H A Dcxx2a-spaceship.cpp34 #define STR(x) #x macro
35 #define STR_EXPANDED(x) STR(x)
H A Dunicode.c19 #define STR(X) XSTR(X) macro
21 static const char *copyright = STR(COPYRIGHT); // no-warning
/llvm-project-15.0.7/llvm/test/FileCheck/match-time-error-propagation/
H A Dmatched-expected-pattern.txt4 RUN: echo > %t.chk 'CHECK: [[#122+1]] [[STR:abc]] [[#NUM:]]'
17 ERR-NEXT:<stdin>:1:5: note: captured var "STR"
29 DUMP-NEXT:check:1'2 ^~~ captured var "STR"

12345