Home
last modified time | relevance | path

Searched full:str (Results 1 – 25 of 18658) sorted by relevance

12345678910>>...747

/external/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_iter_iter.pass.cpp56 const char* str = "12345678901234567890"; variable
61 test(S(""), 0, 0, str, str+0, S("")); in test0()
62 test(S(""), 0, 0, str, str+0, S("")); in test0()
63 test(S(""), 0, 0, str, str+1, S("1")); in test0()
64 test(S(""), 0, 0, str, str+2, S("12")); in test0()
65 test(S(""), 0, 0, str, str+4, S("1234")); in test0()
66 test(S(""), 0, 0, str, str+5, S("12345")); in test0()
67 test(S(""), 0, 0, str, str+0, S("")); in test0()
68 test(S(""), 0, 0, str, str+1, S("1")); in test0()
69 test(S(""), 0, 0, str, str+5, S("12345")); in test0()
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_iter_iter.pass.cpp65 TEST_CONSTEXPR const char* str = "12345678901234567890"; variable
69 test(S(""), 0, 0, str, str + 0, S("")); in test0()
70 test(S(""), 0, 0, str, str + 0, S("")); in test0()
71 test(S(""), 0, 0, str, str + 1, S("1")); in test0()
72 test(S(""), 0, 0, str, str + 2, S("12")); in test0()
73 test(S(""), 0, 0, str, str + 4, S("1234")); in test0()
74 test(S(""), 0, 0, str, str + 5, S("12345")); in test0()
75 test(S(""), 0, 0, str, str + 0, S("")); in test0()
76 test(S(""), 0, 0, str, str + 1, S("1")); in test0()
77 test(S(""), 0, 0, str, str + 5, S("12345")); in test0()
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_iter_iter.pass.cpp65 TEST_CONSTEXPR const char* str = "12345678901234567890"; variable
69 test(S(""), 0, 0, str, str + 0, S("")); in test0()
70 test(S(""), 0, 0, str, str + 0, S("")); in test0()
71 test(S(""), 0, 0, str, str + 1, S("1")); in test0()
72 test(S(""), 0, 0, str, str + 2, S("12")); in test0()
73 test(S(""), 0, 0, str, str + 4, S("1234")); in test0()
74 test(S(""), 0, 0, str, str + 5, S("12345")); in test0()
75 test(S(""), 0, 0, str, str + 0, S("")); in test0()
76 test(S(""), 0, 0, str, str + 1, S("1")); in test0()
77 test(S(""), 0, 0, str, str + 5, S("12345")); in test0()
[all …]
/external/pigweed/pw_tokenizer/public/pw_tokenizer/internal/
Dpw_tokenizer_65599_fixed_length_256_hash_macro.h30 #define PW_TOKENIZER_65599_FIXED_LENGTH_256_HASH(str) \ argument
31 (uint32_t)(sizeof(str "") - 1 + /* The argument must be a string literal. */ \
32 0x0001003full * (uint8_t)str[0] + \
33 0x007e0f81ull * (uint8_t)( 1 < sizeof(str) ? str[ 1] : 0) + \
34 0x2e86d0bfull * (uint8_t)( 2 < sizeof(str) ? str[ 2] : 0) + \
35 0x43ec5f01ull * (uint8_t)( 3 < sizeof(str) ? str[ 3] : 0) + \
36 0x162c613full * (uint8_t)( 4 < sizeof(str) ? str[ 4] : 0) + \
37 0xd62aee81ull * (uint8_t)( 5 < sizeof(str) ? str[ 5] : 0) + \
38 0xa311b1bfull * (uint8_t)( 6 < sizeof(str) ? str[ 6] : 0) + \
39 0xd319be01ull * (uint8_t)( 7 < sizeof(str) ? str[ 7] : 0) + \
[all …]
Dpw_tokenizer_65599_fixed_length_128_hash_macro.h30 #define PW_TOKENIZER_65599_FIXED_LENGTH_128_HASH(str) \ argument
31 (uint32_t)(sizeof(str "") - 1 + /* The argument must be a string literal. */ \
32 0x0001003full * (uint8_t)str[0] + \
33 0x007e0f81ull * (uint8_t)( 1 < sizeof(str) ? str[ 1] : 0) + \
34 0x2e86d0bfull * (uint8_t)( 2 < sizeof(str) ? str[ 2] : 0) + \
35 0x43ec5f01ull * (uint8_t)( 3 < sizeof(str) ? str[ 3] : 0) + \
36 0x162c613full * (uint8_t)( 4 < sizeof(str) ? str[ 4] : 0) + \
37 0xd62aee81ull * (uint8_t)( 5 < sizeof(str) ? str[ 5] : 0) + \
38 0xa311b1bfull * (uint8_t)( 6 < sizeof(str) ? str[ 6] : 0) + \
39 0xd319be01ull * (uint8_t)( 7 < sizeof(str) ? str[ 7] : 0) + \
[all …]
Dpw_tokenizer_65599_fixed_length_96_hash_macro.h30 #define PW_TOKENIZER_65599_FIXED_LENGTH_96_HASH(str) \ argument
31 (uint32_t)(sizeof(str "") - 1 + /* The argument must be a string literal. */ \
32 0x0001003full * (uint8_t)str[0] + \
33 0x007e0f81ull * (uint8_t)( 1 < sizeof(str) ? str[ 1] : 0) + \
34 0x2e86d0bfull * (uint8_t)( 2 < sizeof(str) ? str[ 2] : 0) + \
35 0x43ec5f01ull * (uint8_t)( 3 < sizeof(str) ? str[ 3] : 0) + \
36 0x162c613full * (uint8_t)( 4 < sizeof(str) ? str[ 4] : 0) + \
37 0xd62aee81ull * (uint8_t)( 5 < sizeof(str) ? str[ 5] : 0) + \
38 0xa311b1bfull * (uint8_t)( 6 < sizeof(str) ? str[ 6] : 0) + \
39 0xd319be01ull * (uint8_t)( 7 < sizeof(str) ? str[ 7] : 0) + \
[all …]
Dpw_tokenizer_65599_fixed_length_80_hash_macro.h30 #define PW_TOKENIZER_65599_FIXED_LENGTH_80_HASH(str) \ argument
31 (uint32_t)(sizeof(str "") - 1 + /* The argument must be a string literal. */ \
32 0x0001003full * (uint8_t)str[0] + \
33 0x007e0f81ull * (uint8_t)( 1 < sizeof(str) ? str[ 1] : 0) + \
34 0x2e86d0bfull * (uint8_t)( 2 < sizeof(str) ? str[ 2] : 0) + \
35 0x43ec5f01ull * (uint8_t)( 3 < sizeof(str) ? str[ 3] : 0) + \
36 0x162c613full * (uint8_t)( 4 < sizeof(str) ? str[ 4] : 0) + \
37 0xd62aee81ull * (uint8_t)( 5 < sizeof(str) ? str[ 5] : 0) + \
38 0xa311b1bfull * (uint8_t)( 6 < sizeof(str) ? str[ 6] : 0) + \
39 0xd319be01ull * (uint8_t)( 7 < sizeof(str) ? str[ 7] : 0) + \
[all …]
/external/executorch/backends/qualcomm/builders/
Dqnn_constants.py19 op_name: str = "Batchnorm"
24 op_name: str = "Cast"
29 op_name: str = "Concat"
30 param_axis: str = "axis"
35 namespace: str = "qaisw"
36 meta_ctx_bin: str = "qnn_context_binary"
41 op_name: str = "Conv2d"
42 param_stride: str = "stride"
43 param_pad_amount: str = "pad_amount"
44 param_group: str = "group"
[all …]
/external/python/pyyaml/tests/data/
Dyaml11.schema84 '!!str #empty': ['str', '', "''"]
85 '!!str +.INF': ['str', '+.INF', "'+.INF'"]
86 '!!str +.Inf': ['str', '+.Inf', "'+.Inf'"]
87 '!!str +.inf': ['str', '+.inf', "'+.inf'"]
88 '!!str +0': ['str', '+0', "'+0'"]
89 '!!str +0.3e+3': ['str', '+0.3e+3', "'+0.3e+3'"]
90 '!!str +0.3e3': ['str', '+0.3e3', "+0.3e3"]
91 '!!str +0100_200': ['str', '+0100_200', "'+0100_200'"]
92 '!!str +0b100': ['str', '+0b100', "'+0b100'"]
93 '!!str +190:20:30': ['str', '+190:20:30', "'+190:20:30'"]
[all …]
/external/cronet/stable/third_party/cpu_features/src/test/
Dstring_view_test.cc33 const auto view = str("test"); in TEST()
40 EXPECT_EQ(CpuFeatures_StringView_IndexOfChar(str("test"), 'e'), 1); in TEST()
41 EXPECT_EQ(CpuFeatures_StringView_IndexOfChar(str("test"), 't'), 0); in TEST()
42 EXPECT_EQ(CpuFeatures_StringView_IndexOfChar(str("beef"), 'e'), 1); in TEST()
44 EXPECT_EQ(CpuFeatures_StringView_IndexOfChar(str("test"), 'z'), -1); in TEST()
51 EXPECT_EQ(CpuFeatures_StringView_IndexOf(str("test"), str("es")), 1); in TEST()
52 EXPECT_EQ(CpuFeatures_StringView_IndexOf(str("test"), str("test")), 0); in TEST()
53 EXPECT_EQ(CpuFeatures_StringView_IndexOf(str("tesstest"), str("test")), 4); in TEST()
55 EXPECT_EQ(CpuFeatures_StringView_IndexOf(str("test"), str("aa")), -1); in TEST()
57 EXPECT_EQ(CpuFeatures_StringView_IndexOf(kEmptyStringView, str("aa")), -1); in TEST()
[all …]
/external/cronet/tot/third_party/cpu_features/src/test/
Dstring_view_test.cc33 const auto view = str("test"); in TEST()
40 EXPECT_EQ(CpuFeatures_StringView_IndexOfChar(str("test"), 'e'), 1); in TEST()
41 EXPECT_EQ(CpuFeatures_StringView_IndexOfChar(str("test"), 't'), 0); in TEST()
42 EXPECT_EQ(CpuFeatures_StringView_IndexOfChar(str("beef"), 'e'), 1); in TEST()
44 EXPECT_EQ(CpuFeatures_StringView_IndexOfChar(str("test"), 'z'), -1); in TEST()
51 EXPECT_EQ(CpuFeatures_StringView_IndexOf(str("test"), str("es")), 1); in TEST()
52 EXPECT_EQ(CpuFeatures_StringView_IndexOf(str("test"), str("test")), 0); in TEST()
53 EXPECT_EQ(CpuFeatures_StringView_IndexOf(str("tesstest"), str("test")), 4); in TEST()
55 EXPECT_EQ(CpuFeatures_StringView_IndexOf(str("test"), str("aa")), -1); in TEST()
57 EXPECT_EQ(CpuFeatures_StringView_IndexOf(kEmptyStringView, str("aa")), -1); in TEST()
[all …]
/external/cpu_features/test/
Dstring_view_test.cc33 const auto view = str("test"); in TEST()
40 EXPECT_EQ(CpuFeatures_StringView_IndexOfChar(str("test"), 'e'), 1); in TEST()
41 EXPECT_EQ(CpuFeatures_StringView_IndexOfChar(str("test"), 't'), 0); in TEST()
42 EXPECT_EQ(CpuFeatures_StringView_IndexOfChar(str("beef"), 'e'), 1); in TEST()
44 EXPECT_EQ(CpuFeatures_StringView_IndexOfChar(str("test"), 'z'), -1); in TEST()
51 EXPECT_EQ(CpuFeatures_StringView_IndexOf(str("test"), str("es")), 1); in TEST()
52 EXPECT_EQ(CpuFeatures_StringView_IndexOf(str("test"), str("test")), 0); in TEST()
53 EXPECT_EQ(CpuFeatures_StringView_IndexOf(str("tesstest"), str("test")), 4); in TEST()
55 EXPECT_EQ(CpuFeatures_StringView_IndexOf(str("test"), str("aa")), -1); in TEST()
57 EXPECT_EQ(CpuFeatures_StringView_IndexOf(kEmptyStringView, str("aa")), -1); in TEST()
[all …]
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
Dget_long.pass.cpp52 const char str[] = "123"; in main() local
57 f.get(input_iterator<const char*>(str), in main()
58 input_iterator<const char*>(str+sizeof(str)), in main()
60 assert(iter.base() == str+3); in main()
65 const char str[] = "-123"; in main() local
70 f.get(input_iterator<const char*>(str), in main()
71 input_iterator<const char*>(str+sizeof(str)), in main()
73 assert(iter.base() == str+4); in main()
78 const char str[] = "123"; in main() local
82 f.get(input_iterator<const char*>(str), in main()
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
Dget_long.pass.cpp56 const char str[] = "123"; in main() local
61 f.get(cpp17_input_iterator<const char*>(str), in main()
62 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
64 assert(base(iter) == str+3); in main()
69 const char str[] = "-123"; in main() local
74 f.get(cpp17_input_iterator<const char*>(str), in main()
75 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
77 assert(base(iter) == str+4); in main()
82 const char str[] = "123"; in main() local
86 f.get(cpp17_input_iterator<const char*>(str), in main()
[all …]
Dget_long_double.pass.cpp42 const char str[] = "123"; in main() local
47 f.get(cpp17_input_iterator<const char*>(str), in main()
48 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
50 assert(base(iter) == str+sizeof(str)-1); in main()
55 const char str[] = "-123"; in main() local
58 f.get(cpp17_input_iterator<const char*>(str), in main()
59 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
61 assert(base(iter) == str+sizeof(str)-1); in main()
66 const char str[] = "123.5"; in main() local
69 f.get(cpp17_input_iterator<const char*>(str), in main()
[all …]
Dget_double.pass.cpp53 const char str[] = "123"; in main() local
58 f.get(cpp17_input_iterator<const char*>(str), in main()
59 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
61 assert(base(iter) == str+sizeof(str)-1); in main()
66 const char str[] = "-123"; in main() local
69 f.get(cpp17_input_iterator<const char*>(str), in main()
70 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
72 assert(base(iter) == str+sizeof(str)-1); in main()
77 const char str[] = "123.5"; in main() local
80 f.get(cpp17_input_iterator<const char*>(str), in main()
[all …]
Dget_float.pass.cpp42 const char str[] = "123"; in main() local
47 f.get(cpp17_input_iterator<const char*>(str), in main()
48 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
50 assert(base(iter) == str+sizeof(str)-1); in main()
55 const char str[] = "-123"; in main() local
58 f.get(cpp17_input_iterator<const char*>(str), in main()
59 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
61 assert(base(iter) == str+sizeof(str)-1); in main()
66 const char str[] = "123.5"; in main() local
69 f.get(cpp17_input_iterator<const char*>(str), in main()
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
Dget_long.pass.cpp56 const char str[] = "123"; in main() local
61 f.get(cpp17_input_iterator<const char*>(str), in main()
62 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
64 assert(base(iter) == str+3); in main()
69 const char str[] = "-123"; in main() local
74 f.get(cpp17_input_iterator<const char*>(str), in main()
75 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
77 assert(base(iter) == str+4); in main()
82 const char str[] = "123"; in main() local
86 f.get(cpp17_input_iterator<const char*>(str), in main()
[all …]
Dget_long_double.pass.cpp42 const char str[] = "123"; in main() local
47 f.get(cpp17_input_iterator<const char*>(str), in main()
48 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
50 assert(base(iter) == str+sizeof(str)-1); in main()
55 const char str[] = "-123"; in main() local
58 f.get(cpp17_input_iterator<const char*>(str), in main()
59 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
61 assert(base(iter) == str+sizeof(str)-1); in main()
66 const char str[] = "123.5"; in main() local
69 f.get(cpp17_input_iterator<const char*>(str), in main()
[all …]
Dget_double.pass.cpp53 const char str[] = "123"; in main() local
58 f.get(cpp17_input_iterator<const char*>(str), in main()
59 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
61 assert(base(iter) == str+sizeof(str)-1); in main()
66 const char str[] = "-123"; in main() local
69 f.get(cpp17_input_iterator<const char*>(str), in main()
70 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
72 assert(base(iter) == str+sizeof(str)-1); in main()
77 const char str[] = "123.5"; in main() local
80 f.get(cpp17_input_iterator<const char*>(str), in main()
[all …]
Dget_float.pass.cpp42 const char str[] = "123"; in main() local
47 f.get(cpp17_input_iterator<const char*>(str), in main()
48 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
50 assert(base(iter) == str+sizeof(str)-1); in main()
55 const char str[] = "-123"; in main() local
58 f.get(cpp17_input_iterator<const char*>(str), in main()
59 cpp17_input_iterator<const char*>(str+sizeof(str)), in main()
61 assert(base(iter) == str+sizeof(str)-1); in main()
66 const char str[] = "123.5"; in main() local
69 f.get(cpp17_input_iterator<const char*>(str), in main()
[all …]
/external/cronet/stable/third_party/libc++/src/test/std/utilities/format/format.formatter/format.formatter.spec/
Dformatter.char.fsigned-char.pass.cpp37 #define STR(S) MAKE_STRING(CharT, S) macro
62 test(STR("\x00"), STR("}"), '\x00'); in test()
63 test(STR("a"), STR("}"), 'a'); in test()
64 test(STR("\x80"), STR("}"), '\x80'); in test()
65 test(STR("\xff"), STR("}"), '\xff'); in test()
67 test(STR("\x00"), STR("c}"), '\x00'); in test()
68 test(STR("a"), STR("c}"), 'a'); in test()
69 test(STR("\x80"), STR("c}"), '\x80'); in test()
70 test(STR("\xff"), STR("c}"), '\xff'); in test()
73 test(STR(R"('\u{0}')"), STR("?}"), '\x00'); in test()
[all …]
Dformatter.char.funsigned-char.pass.cpp37 #define STR(S) MAKE_STRING(CharT, S) macro
62 test(STR("\x00"), STR("}"), '\x00'); in test()
63 test(STR("a"), STR("}"), 'a'); in test()
64 test(STR("\x80"), STR("}"), '\x80'); in test()
65 test(STR("\xff"), STR("}"), '\xff'); in test()
67 test(STR("\x00"), STR("c}"), '\x00'); in test()
68 test(STR("a"), STR("c}"), 'a'); in test()
69 test(STR("\x80"), STR("c}"), '\x80'); in test()
70 test(STR("\xff"), STR("c}"), '\xff'); in test()
73 test(STR(R"('\u{0}')"), STR("?}"), '\x00'); in test()
[all …]
/external/cronet/tot/third_party/libc++/src/test/std/utilities/format/format.formatter/format.formatter.spec/
Dformatter.char.fsigned-char.pass.cpp37 #define STR(S) MAKE_STRING(CharT, S) macro
62 test(STR("\x00"), STR("}"), '\x00'); in test()
63 test(STR("a"), STR("}"), 'a'); in test()
64 test(STR("\x80"), STR("}"), '\x80'); in test()
65 test(STR("\xff"), STR("}"), '\xff'); in test()
67 test(STR("\x00"), STR("c}"), '\x00'); in test()
68 test(STR("a"), STR("c}"), 'a'); in test()
69 test(STR("\x80"), STR("c}"), '\x80'); in test()
70 test(STR("\xff"), STR("c}"), '\xff'); in test()
73 test(STR(R"('\u{0}')"), STR("?}"), '\x00'); in test()
[all …]
Dformatter.char.funsigned-char.pass.cpp37 #define STR(S) MAKE_STRING(CharT, S) macro
62 test(STR("\x00"), STR("}"), '\x00'); in test()
63 test(STR("a"), STR("}"), 'a'); in test()
64 test(STR("\x80"), STR("}"), '\x80'); in test()
65 test(STR("\xff"), STR("}"), '\xff'); in test()
67 test(STR("\x00"), STR("c}"), '\x00'); in test()
68 test(STR("a"), STR("c}"), 'a'); in test()
69 test(STR("\x80"), STR("c}"), '\x80'); in test()
70 test(STR("\xff"), STR("c}"), '\xff'); in test()
73 test(STR(R"('\u{0}')"), STR("?}"), '\x00'); in test()
[all …]

12345678910>>...747