Home
last modified time | relevance | path

Searched full:substitute (Results 1 – 25 of 19390) sorted by relevance

12345678910>>...776

/aosp_15_r20/external/cldr/common/supplemental/
H A Dcharacters.xml14 <substitute>(C)</substitute>
17 <substitute>&lt;&lt;</substitute>
20 <substitute>-</substitute>
23 <substitute>(R)</substitute>
26 <substitute>&gt;&gt;</substitute>
29 <substitute> 1/4</substitute>
32 <substitute> 1/2</substitute>
35 <substitute> 3/4</substitute>
38 <substitute>AE</substitute>
41 <substitute>ss</substitute>
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dsubstitute_test.cc15 #include "absl/strings/substitute.h"
35 TEST(SubstituteTest, Substitute) { in TEST() argument
37 EXPECT_EQ("Hello, world!", absl::Substitute("$0, $1!", "Hello", "world")); in TEST()
41 absl::Substitute("$0 $1 $2 $3 $4 $5 $6", 123, 0.2, 0.1f, in TEST()
50 absl::Substitute( in TEST()
59 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
68 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
77 std::string str = absl::Substitute("$0", int_p); in TEST()
84 str = absl::Substitute("$0", volptr); in TEST()
87 // null is special. StrCat prints 0x0. Substitute prints NULL. in TEST()
[all …]
Dsubstitute.h17 // File: substitute.h
22 // `Substitute()` and `SubstituteAndAppend()`.
24 // Unlike printf-style format specifiers, `Substitute()` functions do not need
30 // `Substitute()` does not allow you to specify *how* to format a value, beyond
42 // std::string s = Substitute("$1 purchased $0 $2 for $$10. Thanks $1!",
61 // If an invalid format string is provided, Substitute returns an empty string
67 // e.g. Substitute("Hello $2", "world"), or
97 // This class provides an argument type for `absl::Substitute()` and
516 // Substitute()
521 // The declarations of `Substitute()` below consist of overloads for passing 0
[all …]
/aosp_15_r20/external/angle/third_party/abseil-cpp/absl/strings/
H A Dsubstitute_test.cc15 #include "absl/strings/substitute.h"
38 TEST(SubstituteTest, Substitute) { in TEST() argument
40 EXPECT_EQ("Hello, world!", absl::Substitute("$0, $1!", "Hello", "world")); in TEST()
44 absl::Substitute("$0 $1 $2 $3 $4 $5 $6", 123, 0.2, 0.1f, in TEST()
53 absl::Substitute( in TEST()
62 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
71 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
80 std::string str = absl::Substitute("$0", int_p); in TEST()
87 str = absl::Substitute("$0", volptr); in TEST()
90 // null is special. StrCat prints 0x0. Substitute prints NULL. in TEST()
[all …]
H A Dchar_formatting_test.cc20 #include "absl/strings/substitute.h"
32 EXPECT_EQ(absl::Substitute("$0B", v), "AB"); in TEST()
47 EXPECT_EQ(absl::Substitute("$0B", v), "AB"); in TEST()
60 EXPECT_EQ(absl::Substitute("$0B", v), "AB"); in TEST()
68 EXPECT_EQ(absl::Substitute("$0B", v), "65B"); in TEST()
74 EXPECT_EQ(absl::Substitute("$0B", w), "255B"); in TEST()
83 EXPECT_EQ(absl::Substitute("$0B", v), "65B"); in TEST()
89 EXPECT_EQ(absl::Substitute("$0B", w), "-128B"); in TEST()
98 EXPECT_EQ(absl::Substitute("$0B", v), "65B"); in TEST()
104 EXPECT_EQ(absl::Substitute("$0B", w), "255B"); in TEST()
[all …]
H A Dsubstitute.h17 // File: substitute.h
22 // `Substitute()` and `SubstituteAndAppend()`.
24 // Unlike printf-style format specifiers, `Substitute()` functions do not need
30 // `Substitute()` does not allow you to specify *how* to format a value, beyond
42 // std::string s = Substitute("$1 purchased $0 $2 for $$10. Thanks $1!",
61 // If an invalid format string is provided, Substitute returns an empty string
67 // e.g. Substitute("Hello $2", "world"), or
98 // This class provides an argument type for `absl::Substitute()` and
526 // Substitute()
531 // The declarations of `Substitute()` below consist of overloads for passing 0
[all …]
/aosp_15_r20/external/abseil-cpp/absl/strings/
H A Dsubstitute_test.cc15 #include "absl/strings/substitute.h"
38 TEST(SubstituteTest, Substitute) { in TEST() argument
40 EXPECT_EQ("Hello, world!", absl::Substitute("$0, $1!", "Hello", "world")); in TEST()
44 absl::Substitute("$0 $1 $2 $3 $4 $5 $6", 123, 0.2, 0.1f, in TEST()
53 absl::Substitute( in TEST()
62 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
71 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
80 std::string str = absl::Substitute("$0", int_p); in TEST()
87 str = absl::Substitute("$0", volptr); in TEST()
90 // null is special. StrCat prints 0x0. Substitute prints NULL. in TEST()
[all …]
H A Dchar_formatting_test.cc20 #include "absl/strings/substitute.h"
32 EXPECT_EQ(absl::Substitute("$0B", v), "AB"); in TEST()
47 EXPECT_EQ(absl::Substitute("$0B", v), "AB"); in TEST()
60 EXPECT_EQ(absl::Substitute("$0B", v), "AB"); in TEST()
68 EXPECT_EQ(absl::Substitute("$0B", v), "65B"); in TEST()
74 EXPECT_EQ(absl::Substitute("$0B", w), "255B"); in TEST()
83 EXPECT_EQ(absl::Substitute("$0B", v), "65B"); in TEST()
89 EXPECT_EQ(absl::Substitute("$0B", w), "-128B"); in TEST()
98 EXPECT_EQ(absl::Substitute("$0B", v), "65B"); in TEST()
104 EXPECT_EQ(absl::Substitute("$0B", w), "255B"); in TEST()
[all …]
H A Dsubstitute.h17 // File: substitute.h
22 // `Substitute()` and `SubstituteAndAppend()`.
24 // Unlike printf-style format specifiers, `Substitute()` functions do not need
30 // `Substitute()` does not allow you to specify *how* to format a value, beyond
42 // std::string s = Substitute("$1 purchased $0 $2 for $$10. Thanks $1!",
61 // If an invalid format string is provided, Substitute returns an empty string
67 // e.g. Substitute("Hello $2", "world"), or
98 // This class provides an argument type for `absl::Substitute()` and
526 // Substitute()
531 // The declarations of `Substitute()` below consist of overloads for passing 0
[all …]
/aosp_15_r20/external/cronet/third_party/abseil-cpp/absl/strings/
H A Dsubstitute_test.cc15 #include "absl/strings/substitute.h"
38 TEST(SubstituteTest, Substitute) { in TEST() argument
40 EXPECT_EQ("Hello, world!", absl::Substitute("$0, $1!", "Hello", "world")); in TEST()
44 absl::Substitute("$0 $1 $2 $3 $4 $5 $6", 123, 0.2, 0.1f, in TEST()
53 absl::Substitute( in TEST()
62 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
71 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
80 std::string str = absl::Substitute("$0", int_p); in TEST()
87 str = absl::Substitute("$0", volptr); in TEST()
90 // null is special. StrCat prints 0x0. Substitute prints NULL. in TEST()
[all …]
H A Dchar_formatting_test.cc20 #include "absl/strings/substitute.h"
32 EXPECT_EQ(absl::Substitute("$0B", v), "AB"); in TEST()
47 EXPECT_EQ(absl::Substitute("$0B", v), "AB"); in TEST()
60 EXPECT_EQ(absl::Substitute("$0B", v), "AB"); in TEST()
68 EXPECT_EQ(absl::Substitute("$0B", v), "65B"); in TEST()
74 EXPECT_EQ(absl::Substitute("$0B", w), "255B"); in TEST()
83 EXPECT_EQ(absl::Substitute("$0B", v), "65B"); in TEST()
89 EXPECT_EQ(absl::Substitute("$0B", w), "-128B"); in TEST()
98 EXPECT_EQ(absl::Substitute("$0B", v), "65B"); in TEST()
104 EXPECT_EQ(absl::Substitute("$0B", w), "255B"); in TEST()
[all …]
H A Dsubstitute.h17 // File: substitute.h
22 // `Substitute()` and `SubstituteAndAppend()`.
24 // Unlike printf-style format specifiers, `Substitute()` functions do not need
30 // `Substitute()` does not allow you to specify *how* to format a value, beyond
42 // std::string s = Substitute("$1 purchased $0 $2 for $$10. Thanks $1!",
61 // If an invalid format string is provided, Substitute returns an empty string
67 // e.g. Substitute("Hello $2", "world"), or
98 // This class provides an argument type for `absl::Substitute()` and
526 // Substitute()
531 // The declarations of `Substitute()` below consist of overloads for passing 0
[all …]
/aosp_15_r20/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/strings/
H A Dsubstitute_test.cc15 #include "absl/strings/substitute.h"
35 TEST(SubstituteTest, Substitute) { in TEST() argument
37 EXPECT_EQ("Hello, world!", absl::Substitute("$0, $1!", "Hello", "world")); in TEST()
41 absl::Substitute("$0 $1 $2 $3 $4 $5 $6", 123, 0.2, 0.1f, in TEST()
50 absl::Substitute( in TEST()
59 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
68 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
77 std::string str = absl::Substitute("$0", int_p); in TEST()
84 str = absl::Substitute("$0", volptr); in TEST()
87 // null is special. StrCat prints 0x0. Substitute prints NULL. in TEST()
[all …]
H A Dsubstitute.h17 // File: substitute.h
22 // `Substitute()` and `SubstituteAndAppend()`.
24 // Unlike printf-style format specifiers, `Substitute()` functions do not need
30 // `Substitute()` does not allow you to specify *how* to format a value, beyond
42 // std::string s = Substitute("$1 purchased $0 $2 for $$10. Thanks $1!",
61 // If an invalid format string is provided, Substitute returns an empty string
67 // e.g. Substitute("Hello $2", "world"), or
97 // This class provides an argument type for `absl::Substitute()` and
516 // Substitute()
521 // The declarations of `Substitute()` below consist of overloads for passing 0
[all …]
/aosp_15_r20/external/webrtc/third_party/abseil-cpp/absl/strings/
H A Dsubstitute_test.cc15 #include "absl/strings/substitute.h"
35 TEST(SubstituteTest, Substitute) { in TEST() argument
37 EXPECT_EQ("Hello, world!", absl::Substitute("$0, $1!", "Hello", "world")); in TEST()
41 absl::Substitute("$0 $1 $2 $3 $4 $5 $6", 123, 0.2, 0.1f, in TEST()
50 absl::Substitute( in TEST()
59 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
68 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
77 std::string str = absl::Substitute("$0", int_p); in TEST()
84 str = absl::Substitute("$0", volptr); in TEST()
87 // null is special. StrCat prints 0x0. Substitute prints NULL. in TEST()
[all …]
H A Dsubstitute.h17 // File: substitute.h
22 // `Substitute()` and `SubstituteAndAppend()`.
24 // Unlike printf-style format specifiers, `Substitute()` functions do not need
30 // `Substitute()` does not allow you to specify *how* to format a value, beyond
42 // std::string s = Substitute("$1 purchased $0 $2 for $$10. Thanks $1!",
61 // If an invalid format string is provided, Substitute returns an empty string
67 // e.g. Substitute("Hello $2", "world"), or
97 // This class provides an argument type for `absl::Substitute()` and
515 // Substitute()
520 // The declarations of `Substitute()` below consist of overloads for passing 0
[all …]
/aosp_15_r20/external/openscreen/third_party/abseil/src/absl/strings/
H A Dsubstitute_test.cc15 #include "absl/strings/substitute.h"
25 TEST(SubstituteTest, Substitute) { in TEST() argument
27 EXPECT_EQ("Hello, world!", absl::Substitute("$0, $1!", "Hello", "world")); in TEST()
31 absl::Substitute("$0 $1 $2 $3 $4 $5 $6", 123, 0.2, 0.1f, in TEST()
40 absl::Substitute( in TEST()
49 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
58 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
67 std::string str = absl::Substitute("$0", int_p); in TEST()
74 str = absl::Substitute("$0", volptr); in TEST()
77 // null is special. StrCat prints 0x0. Substitute prints NULL. in TEST()
[all …]
H A Dsubstitute.h17 // File: substitute.h
22 // `Substitute()` and `SubstituteAndAppend()`.
24 // Unlike printf-style format specifiers, `Substitute()` functions do not need
30 // `Substitute()` does not allow you to specify *how* to format a value, beyond
42 // std::string s = Substitute("$1 purchased $0 $2 for $$10. Thanks $1!",
59 // If an invalid format string is provided, Substitute returns an empty string
65 // e.g. Substitute("Hello $2", "world"), or
94 // This class provides an argument type for `absl::Substitute()` and
469 // Substitute()
474 // The declarations of `Substitute()` below consist of overloads for passing 0
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_string.py210 self.assertEqual(s.substitute(dict(who='tim', what='ham')),
212 self.assertRaises(KeyError, s.substitute, dict(who='tim'))
213 self.assertRaises(TypeError, Template.substitute)
218 self.assertEqual(s.substitute(d), 'tim likes ham for dinner')
219 self.assertRaises(KeyError, s.substitute,
225 self.assertEqual(s.substitute(d), 'tim likes ham for dinner')
230 self.assertEqual(s.substitute(d), 'tim likes ham for dinner')
235 eq(s.substitute(dict(who='tim', what='ham')),
238 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $')
244 eq(s.substitute(d), '%(foo)s baz baz')
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
H A Dtensor_desc.cc24 #include "absl/strings/substitute.h"
113 *result = absl::Substitute(conversion, *result); in MayBeAddConversion()
775 result = absl::Substitute("$0(image2d, smp_zero, (int2)($1, $2))", in Read()
779 result = absl::Substitute("image2d.read(ushort2($0, $1))", coords[0], in Read()
796 absl::Substitute("$0(image3d, smp_zero, (int4)($1, $2, $3, 0))", in Read()
800 result = absl::Substitute("image3d.read(ushort3($0, $1, $2))", in Read()
816 result = absl::Substitute( in Read()
821 result = absl::Substitute("image2d_array.read(ushort2($0, $1), $2)", in Read()
840 result = absl::Substitute("image_buffer.read(uint($0))", coords[0]); in Read()
877 write_expr = absl::Substitute(conversion, write_expr); in Write()
[all …]
/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_string.py242 self.assertEqual(s.substitute(dict(who='tim', what='ham')),
244 self.assertRaises(KeyError, s.substitute, dict(who='tim'))
245 self.assertRaises(TypeError, Template.substitute)
250 self.assertEqual(s.substitute(d), 'tim likes ham for dinner')
251 self.assertRaises(KeyError, s.substitute,
257 eq(s.substitute(dict(who='tim', what='ham')),
260 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $')
266 eq(s.substitute(d), '%(foo)s baz baz')
273 eq(s.substitute(d), 'tim has eaten 7 bags of ham today')
276 eq(s.substitute(d), 'tim has eaten 7 bags of ham today')
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/variant/include/boost/variant/detail/
Dsubstitute.hpp7 // boost variant/detail/substitute.hpp header file
41 // (detail) metafunction substitute
55 struct substitute struct
66 struct substitute< \
89 struct substitute< \
96 typedef typename substitute< \
113 struct substitute< struct
120 typedef typename substitute<
137 struct substitute< struct
144 typedef F<typename substitute<
[all …]
/aosp_15_r20/external/pytorch/tools/autograd/
H A Dgen_variable_type.py931 return WRAPPER_REGISTRATION.substitute(
973 wrapper_registration = AUTOGRAD_NOT_IMPLEMENTED_REGISTRATION.substitute(
981 type_definition = METHOD_DEFINITION.substitute(
994 type_definition = METHOD_DEFINITION.substitute(
1279 LOOP_OVER_VECTOR_OF_GRAD_FNS.substitute(
1294 body.append(DECLARE_GRAD_FN.substitute(op="Node"))
1296 SETUP_NONE_REQUIRES_GRAD.substitute(
1302 SETUP_NONE_REQUIRES_GRAD.substitute(
1313 ASSIGN_GRAD_FN.substitute(
1336 ASSIGN_VECTOR_OF_GRAD_FN.substitute(
[all …]
H A Dgen_trace_type.py122 return OP_NAME.substitute(trace_name=trace_name)
131 return SELECT.substitute(
133 true=OP_NAME.substitute(trace_name=outplace_trace_name),
134 false=OP_NAME.substitute(trace_name=inplace_trace_name),
146 ADD_TRACE_INPUT.substitute(
149 ADD_TRACE_INPUT.substitute(name=name, input="options.layout()"),
150 ADD_TRACE_INPUT.substitute(name=name, input="options.device()"),
151 ADD_TRACE_INPUT.substitute(name=name, input="options.pinned_memory()"),
158 return [ADD_TRACE_INPUT.substitute(name=name, input=name)]
179 ADD_TRACE_INPUT.substitute(
[all …]
/aosp_15_r20/hardware/interfaces/audio/common/all-versions/test/utility/tests/
H A Dutility_tests.cpp70 std::string substitute(const char* fmt, const char* param) { in substitute() function
77 std::string substitute(const char* fmt, const std::string& s) { in substitute() function
78 return substitute(fmt, s.c_str()); in substitute()
94 android::base::WriteStringToFile(substitute(VALID_XML_SOURCE, MODULE_SOURCE), xml.path)) in TEST()
103 ASSERT_TRUE(android::base::WriteStringToFile(substitute(XML_INCLUDED_SOURCE, MODULE_SOURCE), in TEST()
108 substitute(VALID_XML_SOURCE, substitute(XI_INCLUDE, xmlInclude.path)), xml.path)) in TEST()
117 ASSERT_TRUE(android::base::WriteStringToFile(substitute(XML_INCLUDED_SOURCE, MODULE_SOURCE), in TEST()
123 substitute(VALID_XML_SOURCE, in TEST()
124 substitute(XI_INCLUDE, android::base::Basename(xmlInclude.path))), in TEST()
135 ASSERT_TRUE(android::base::WriteStringToFile(substitute(XML_INCLUDED_SOURCE, MODULE_SOURCE), in TEST()
[all …]

12345678910>>...776