Home
last modified time | relevance | path

Searched refs:Substitute (Results 1 – 25 of 245) sorted by relevance

12345678910

/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dsubstitute_test.cc25 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()
79 str = absl::Substitute("$0", null_p); in TEST()
84 str = absl::Substitute("$0", char_p); in TEST()
[all …]
Dsubstitute.h485 ABSL_MUST_USE_RESULT inline std::string Substitute(absl::string_view format) { in Substitute() function
491 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
498 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
506 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
514 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
523 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
532 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
542 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
552 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
563 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
[all …]
/external/abseil-cpp/absl/strings/
Dsubstitute_test.cc25 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()
79 str = absl::Substitute("$0", null_p); in TEST()
84 str = absl::Substitute("$0", char_p); in TEST()
[all …]
Dsubstitute.h482 ABSL_MUST_USE_RESULT inline std::string Substitute(absl::string_view format) { in Substitute() function
488 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
495 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
503 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
511 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
520 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
529 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
539 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
549 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
560 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
[all …]
/external/openscreen/third_party/abseil/src/absl/strings/
Dsubstitute_test.cc25 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()
79 str = absl::Substitute("$0", null_p); in TEST()
84 str = absl::Substitute("$0", char_p); in TEST()
[all …]
Dsubstitute.h485 ABSL_MUST_USE_RESULT inline std::string Substitute(absl::string_view format) { in Substitute() function
491 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
498 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
506 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
514 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
523 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
532 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
542 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
552 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
563 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dsubstitute_test.cc25 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()
79 str = absl::Substitute("$0", null_p); in TEST()
84 str = absl::Substitute("$0", char_p); in TEST()
[all …]
Dsubstitute.h482 ABSL_MUST_USE_RESULT inline std::string Substitute(absl::string_view format) { in Substitute() function
488 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
495 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
503 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
511 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
520 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
529 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
539 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
549 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
560 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
[all …]
/external/libtextclassifier/abseil-cpp/absl/strings/
Dsubstitute_test.cc25 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()
79 str = absl::Substitute("$0", null_p); in TEST()
84 str = absl::Substitute("$0", char_p); in TEST()
[all …]
Dsubstitute.h485 ABSL_MUST_USE_RESULT inline std::string Substitute(absl::string_view format) { in Substitute() function
491 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
498 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
506 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
514 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
523 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
532 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
542 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
552 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
563 ABSL_MUST_USE_RESULT inline std::string Substitute( in Substitute() function
[all …]
/external/libtextclassifier/native/utils/strings/
Dsubstitute_test.cc29 TEST(SubstituteTest, Substitute) { in TEST() argument
31 strings::Substitute("$0, $1!", {"Hello", "world"})); in TEST()
35 strings::Substitute("$1, $0!", {"Hello", "world"})); in TEST()
37 strings::Substitute("$1, $0, $2, $1", {"a", "b", "c"})); in TEST()
40 EXPECT_EQ("$", strings::Substitute("$$", {})); in TEST()
41 EXPECT_EQ("$1", strings::Substitute("$$1", {})); in TEST()
44 EXPECT_EQ("Text: ''", strings::Substitute("Text: '$0'", {null_cstring})); in TEST()
Dsubstitute.cc26 bool Substitute(const StringPiece format, const std::vector<StringPiece>& args, in Substitute() function
81 std::string Substitute(const StringPiece format, in Substitute() function
84 if (!Substitute(format, args, &result)) { in Substitute()
Dsubstitute.h34 bool Substitute(const StringPiece format, const std::vector<StringPiece>& args,
37 std::string Substitute(const StringPiece format,
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
Dtensor_desc.cc361 return absl::Substitute("$0(image2d, $1, (int2)($2, $3))", read_as, in Read()
365 std::string result = absl::Substitute("image2d.read(ushort2($0, $1))", in Read()
376 return absl::Substitute("$0(image3d, $1, (int4)($2, $3, $4, 0))", in Read()
382 absl::Substitute("image3d.read(ushort3($0, $1, $2))", coords[0], in Read()
393 return absl::Substitute("$0(image2d_array, $1, (int4)($2, $3, $4, 0))", in Read()
399 absl::Substitute("image2d_array.read(ushort2($0, $1), $2)", in Read()
413 absl::Substitute("image_buffer.read(uint($0))", coords[0]); in Read()
436 return absl::Substitute("$0(image2d, (int2)($1, $2), $3)", in Write()
440 return absl::Substitute("image2d.write($0, ushort2($1, $2))", var_name, in Write()
447 return absl::Substitute("$0(image3d, (int4)($1, $2, $3, 0), $4)", in Write()
[all …]
Dutil.cc58 return absl::Substitute("((($0) / $1) * $2 * $1 + (($0) % $1) + $3)", src_x, in GetXStrideCorrected()
69 return absl::Substitute("(((($0) / $1) * $2 + $3) * $1 + ($0) % $1)", src_x, in GetXStrideCorrectedV2()
/external/skqp/docs/
Dundocumented.bmh55 #Substitute little endian
59 #Substitute big endian
63 #Substitute YUV component y
67 #Substitute YUV component u
71 #Substitute YUV component v
75 #Substitute UV mapping
79 #Substitute multi-sample anti-aliasing
83 #Substitute GPU share group
87 #Substitute Bezier cruve
91 #Substitute Coons patch
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/testing/feature_parity/
Dutils.cc49 result = absl::Substitute("Linear=[$0]", data[0]); in ShapeToString()
52 result = absl::Substitute("HW=[$0, $1]", data[0], data[1]); in ShapeToString()
55 result = absl::Substitute("HWC=[$0, $1, $2]", data[0], data[1], data[2]); in ShapeToString()
58 result = absl::Substitute("BHWC=[$0, $1, $2, $3]", data[0], data[1], in ShapeToString()
73 result = absl::Substitute("[$0]", linear); in CoordinateToString()
80 result = absl::Substitute("[$0, $1]", h_coord, w_coord); in CoordinateToString()
91 result = absl::Substitute("[$0, $1, $2]", h_coord, w_coord, c_coord); in CoordinateToString()
111 result = absl::Substitute("[$0, $1, $2, $3]", b_coord, h_coord, w_coord, in CoordinateToString()
/external/tensorflow/tensorflow/core/grappler/
Dmutable_graph_view.cc252 return errors::InvalidArgument(absl::Substitute( in MutationError()
261 string params = absl::Substitute("from_node_name='$0', to_node_name='$1'", in UpdateFanoutsError()
269 return handler(absl::Substitute("fanin '$0' must be a regular tensor id", in CheckFaninIsRegular()
277 return handler(absl::Substitute("fanin '$0' must be a valid tensor id", in CheckFaninIsValid()
287 absl::Substitute("can't add fanin '$0' to self", fanin.ToString())); in CheckAddingFaninToSelf()
295 return handler(absl::Substitute("can't remove fanin '$0' from self", in CheckRemovingFaninFromSelf()
302 return absl::Substitute("node '$0' was not found", node_name); in NodeMissingErrorMsg()
319 absl::Substitute("port must be in range [$0, $1]", min, max)); in CheckPortRange()
325 return absl::Substitute( in SwapNodeNamesSwitchControlErrorMsg()
464 absl::Substitute("function_size=$0", function_size), in AddSubgraph()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Doperand_upcaster_test.cc50 auto module_string = absl::Substitute( in TEST_P()
64 op::Shape(absl::Substitute( in TEST_P()
71 op::Shape(absl::Substitute( in TEST_P()
78 op::Shape(absl::Substitute( in TEST_P()
/external/tflite-support/tensorflow_lite_support/cc/text/tokenizers/
Dregex_tokenizer.cc49 : delim_re_{absl::Substitute("($0)", regex_pattern)}, in RegexTokenizer()
57 : delim_re_{absl::Substitute("($0)", regex_pattern)}, in RegexTokenizer()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Delementwise.cc101 return absl::Substitute(result, input0); in GetOneInputCode()
176 return absl::Substitute(result, result_var, input1, input0); in GetTwoInputCode()
178 return absl::Substitute(result, result_var, input0, input1); in GetTwoInputCode()
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc259 strings::Substitute("Plugin failed with status code $0.", exit_code); in Communicate()
452 strings::Substitute("Plugin failed with status code $0.", error_code); in Communicate()
457 *error = strings::Substitute("Plugin killed by signal $0.", signal); in Communicate()
/external/abseil-cpp/CMake/install_test_project/
Dsimple.cc21 std::cout << absl::Substitute("Arg $0: $1\n", i, argv[i]); in main()
/external/openscreen/third_party/abseil/src/CMake/install_test_project/
Dsimple.cc21 std::cout << absl::Substitute("Arg $0: $1\n", i, argv[i]); in main()
/external/webrtc/third_party/abseil-cpp/CMake/install_test_project/
Dsimple.cc21 std::cout << absl::Substitute("Arg $0: $1\n", i, argv[i]); in main()

12345678910