Home
last modified time | relevance | path

Searched refs:StrCat (Results 1 – 25 of 322) sorted by relevance

12345678910>>...13

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dstr_cat_test.cc39 TEST(StrCat, Ints) { in TEST() argument
53 answer = absl::StrCat(s, us); in TEST()
55 answer = absl::StrCat(i, ui); in TEST()
57 answer = absl::StrCat(l, ul); in TEST()
59 answer = absl::StrCat(ll, ull); in TEST()
61 answer = absl::StrCat(ptrdiff, size); in TEST()
63 answer = absl::StrCat(ptrdiff, intptr); in TEST()
65 answer = absl::StrCat(uintptr, 0); in TEST()
69 TEST(StrCat, Enums) { in TEST() argument
71 EXPECT_EQ("10", absl::StrCat(e)); in TEST()
[all …]
Dstr_cat_benchmark.cc39 strcpy(foo, absl::StrCat(kStringOne, i, kStringTwo, i * 65536ULL).c_str()); in BM_Sum_By_StrCat()
64 std::string(kStringOne) + " " + kStringTwo + ":" + absl::StrCat(i); in BM_StrCat_By_Strings()
78 result += absl::StrCat(i); in BM_StrCat_By_StringOpPlus()
88 std::string result = absl::StrCat(kStringOne, " ", kStringTwo, ":", i); in BM_StrCat_By_StrCat()
99 absl::StrCat(kStringOne, " ", absl::Hex(int64_t{i} + 0x10000000)); in BM_HexCat_By_StrCat()
121 std::string result = absl::StrCat(foo += 1.001f, " != ", int64_t{i}); in BM_FloatToString_By_StrCat()
133 absl::StrCat(absl::SixDigits(foo += 1.001), " != ", int64_t{i}); in BM_DoubleToString_By_SixDigits()
/third_party/abseil-cpp/absl/strings/
Dstr_cat_test.cc39 TEST(StrCat, Ints) { in TEST() argument
53 answer = absl::StrCat(s, us); in TEST()
55 answer = absl::StrCat(i, ui); in TEST()
57 answer = absl::StrCat(l, ul); in TEST()
59 answer = absl::StrCat(ll, ull); in TEST()
61 answer = absl::StrCat(ptrdiff, size); in TEST()
63 answer = absl::StrCat(ptrdiff, intptr); in TEST()
65 answer = absl::StrCat(uintptr, 0); in TEST()
69 TEST(StrCat, Enums) { in TEST() argument
71 EXPECT_EQ("10", absl::StrCat(e)); in TEST()
[all …]
Dstr_cat_benchmark.cc39 strcpy(foo, absl::StrCat(kStringOne, i, kStringTwo, i * 65536ULL).c_str()); in BM_Sum_By_StrCat()
64 std::string(kStringOne) + " " + kStringTwo + ":" + absl::StrCat(i); in BM_StrCat_By_Strings()
78 result += absl::StrCat(i); in BM_StrCat_By_StringOpPlus()
88 std::string result = absl::StrCat(kStringOne, " ", kStringTwo, ":", i); in BM_StrCat_By_StrCat()
99 absl::StrCat(kStringOne, " ", absl::Hex(int64_t{i} + 0x10000000)); in BM_HexCat_By_StrCat()
121 std::string result = absl::StrCat(foo += 1.001f, " != ", int64_t{i}); in BM_FloatToString_By_StrCat()
133 absl::StrCat(absl::SixDigits(foo += 1.001), " != ", int64_t{i}); in BM_DoubleToString_By_SixDigits()
/third_party/libphonenumber/cpp/src/phonenumbers/
Dstringutil.cc41 return absl::StrCat(n); in SimpleItoa()
45 return absl::StrCat(n); in SimpleItoa()
49 return absl::StrCat(n); in SimpleItoa()
154 string StrCat(const StringHolder& s1, const StringHolder& s2) { in StrCat() function
155 return absl::StrCat(s1, s2); in StrCat()
158 string StrCat(const StringHolder& s1, const StringHolder& s2, in StrCat() function
160 return absl::StrCat(s1, s2, s3); in StrCat()
163 string StrCat(const StringHolder& s1, const StringHolder& s2, in StrCat() function
165 return absl::StrCat(s1, s2, s3, s4); in StrCat()
168 string StrCat(const StringHolder& s1, const StringHolder& s2, in StrCat() function
[all …]
Dstringutil.h105 string StrCat(const StringHolder& s1, const StringHolder& s2);
107 string StrCat(const StringHolder& s1, const StringHolder& s2,
110 string StrCat(const StringHolder& s1, const StringHolder& s2,
113 string StrCat(const StringHolder& s1, const StringHolder& s2,
117 string StrCat(const StringHolder& s1, const StringHolder& s2,
121 string StrCat(const StringHolder& s1, const StringHolder& s2,
126 string StrCat(const StringHolder& s1, const StringHolder& s2,
131 string StrCat(const StringHolder& s1, const StringHolder& s2,
137 string StrCat(const StringHolder& s1, const StringHolder& s2,
144 string StrCat(const StringHolder& s1, const StringHolder& s2,
[all …]
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_field_base.cc66 string tag_bytes = StrCat(tag_array[0]); in SetCommonFieldVariables()
68 tag_bytes += ", " + StrCat(tag_array[i]); in SetCommonFieldVariables()
71 (*variables)["tag"] = StrCat(tag); in SetCommonFieldVariables()
72 (*variables)["tag_size"] = StrCat(tag_size); in SetCommonFieldVariables()
80 tag_bytes = StrCat(tag_array[0]); in SetCommonFieldVariables()
82 tag_bytes += ", " + StrCat(tag_array[i]); in SetCommonFieldVariables()
85 variables_["end_tag"] = StrCat(tag); in SetCommonFieldVariables()
111 string hasBitsNumber = StrCat(presenceIndex_ / 32); in SetCommonFieldVariables()
112 string hasBitsMask = StrCat(1 << (presenceIndex_ % 32)); in SetCommonFieldVariables()
323 …StringToBase64(descriptor->default_value_string()) + "\"), 0, " + StrCat(descriptor->default_value… in GetStringDefaultValueInternal()
[all …]
/third_party/libphonenumber/cpp/test/phonenumbers/
Dstringutil_test.cc227 TEST(StringUtilTest, StrCat) { in TEST() argument
231 s = StrCat("a", "b"); in TEST()
235 s = StrCat("a", "b", "c"); in TEST()
239 s = StrCat("a", "b", "c", "d"); in TEST()
243 s = StrCat("a", "b", "c", "d", "e"); in TEST()
247 s = StrCat("a", "b", "c", "d", "e", "f"); in TEST()
251 s = StrCat("a", "b", "c", "d", "e", "f", "g"); in TEST()
255 s = StrCat("a", "b", "c", "d", "e", "f", "g", "h"); in TEST()
259 s = StrCat("a", "b", "c", "d", "e", "f", "g", "h", "i"); in TEST()
263 s = StrCat("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k"); in TEST()
/third_party/protobuf/src/google/protobuf/util/internal/
Dfield_mask_utility.cc58 return StrCat(prefix, segment); in AppendPathSegmentToPrefix()
60 return StrCat(prefix, ".", segment); in AppendPathSegmentToPrefix()
138 StrCat( in DecodeCompactFieldMaskPaths()
151 StrCat( in DecodeCompactFieldMaskPaths()
164 StrCat( in DecodeCompactFieldMaskPaths()
201 StrCat("Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths()
211 StrCat("Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths()
217 StrCat("Invalid FieldMask '", paths, in DecodeCompactFieldMaskPaths()
Ddatapiece.cc179 return InvalidArgument(StrCat("\"", str_, "\"")); in ToDouble()
233 return StrCat(i32_); in ValueAsStringOrDefault()
235 return StrCat(i64_); in ValueAsStringOrDefault()
237 return StrCat(u32_); in ValueAsStringOrDefault()
239 return StrCat(u64_); in ValueAsStringOrDefault()
247 return StrCat("\"", str_.ToString(), "\""); in ValueAsStringOrDefault()
251 return StrCat("\"", base64, "\""); in ValueAsStringOrDefault()
359 return InvalidArgument(StrCat("\"", str_, "\"")); in StringToNumber()
363 return InvalidArgument(StrCat("\"", std::string(str_), "\"")); in StringToNumber()
Djson_objectwriter.cc90 return RenderSimple(name, StrCat(value)); in RenderInt32()
95 return RenderSimple(name, StrCat(value)); in RenderUint32()
102 WriteRawString(StrCat(value)); in RenderInt64()
111 WriteRawString(StrCat(value)); in RenderUint64()
/third_party/grpc/src/core/lib/json/
Djson_util.h50 absl::StrCat("field:", field_name, " error:type should be NUMBER") in ExtractJsonNumber()
56 absl::StrCat("field:", field_name, " error:failed to parse.").c_str())); in ExtractJsonNumber()
74 absl::StrCat("field:", field_name, " error:type should be BOOLEAN") in ExtractJsonBool()
87 absl::StrCat("field:", field_name, " error:type should be STRING") in ExtractJsonString()
102 absl::StrCat("field:", field_name, " error:type should be ARRAY") in ExtractJsonArray()
117 absl::StrCat("field:", field_name, " error:type should be OBJECT") in ExtractJsonObject()
166 absl::StrCat("field:", field_name, " error:does not exist.")
185 absl::StrCat("field:", field_name, " error:does not exist.")
193 absl::StrCat("field:", field_name,
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dmarshalling.cc166 std::string Unparse(short v) { return absl::StrCat(v); } in Unparse()
167 std::string Unparse(unsigned short v) { return absl::StrCat(v); } in Unparse()
168 std::string Unparse(int v) { return absl::StrCat(v); } in Unparse()
169 std::string Unparse(unsigned int v) { return absl::StrCat(v); } in Unparse()
170 std::string Unparse(long v) { return absl::StrCat(v); } in Unparse()
171 std::string Unparse(unsigned long v) { return absl::StrCat(v); } in Unparse()
172 std::string Unparse(long long v) { return absl::StrCat(v); } in Unparse()
173 std::string Unparse(unsigned long long v) { return absl::StrCat(v); } in Unparse()
Dparse.cc177 absl::StrCat("Can't open flagfile ", flag_file_name), true); in ReadFromFlagfile()
211 absl::StrCat("Unexpected line in the flagfile ", flag_file_name, ": ", in ReadFromFlagfile()
367 absl::StrCat("Infinite recursion on flag ", flag_name), true); in ReadFlagsFromEnv()
373 const std::string envname = absl::StrCat("FLAGS_", flag_name); in ReadFlagsFromEnv()
378 absl::StrCat(envname, " not found in environment"), true); in ReadFlagsFromEnv()
386 args.push_back(absl::StrCat("--", flag_name, "=", envval)); in ReadFlagsFromEnv()
517 absl::StrCat( in DeduceFlagValue()
529 absl::StrCat("Negative form with assignment is not valid for the " in DeduceFlagValue()
538 absl::StrCat("Negative form is not valid for the flag '", flag.Name(), in DeduceFlagValue()
546 absl::StrCat("Missing the value for the flag '", flag.Name(), "'"), in DeduceFlagValue()
[all …]
/third_party/abseil-cpp/absl/flags/
Dmarshalling.cc166 std::string Unparse(short v) { return absl::StrCat(v); } in Unparse()
167 std::string Unparse(unsigned short v) { return absl::StrCat(v); } in Unparse()
168 std::string Unparse(int v) { return absl::StrCat(v); } in Unparse()
169 std::string Unparse(unsigned int v) { return absl::StrCat(v); } in Unparse()
170 std::string Unparse(long v) { return absl::StrCat(v); } in Unparse()
171 std::string Unparse(unsigned long v) { return absl::StrCat(v); } in Unparse()
172 std::string Unparse(long long v) { return absl::StrCat(v); } in Unparse()
173 std::string Unparse(unsigned long long v) { return absl::StrCat(v); } in Unparse()
Dparse.cc177 absl::StrCat("Can't open flagfile ", flag_file_name), true); in ReadFromFlagfile()
211 absl::StrCat("Unexpected line in the flagfile ", flag_file_name, ": ", in ReadFromFlagfile()
367 absl::StrCat("Infinite recursion on flag ", flag_name), true); in ReadFlagsFromEnv()
373 const std::string envname = absl::StrCat("FLAGS_", flag_name); in ReadFlagsFromEnv()
378 absl::StrCat(envname, " not found in environment"), true); in ReadFlagsFromEnv()
386 args.push_back(absl::StrCat("--", flag_name, "=", envval)); in ReadFlagsFromEnv()
517 absl::StrCat( in DeduceFlagValue()
529 absl::StrCat("Negative form with assignment is not valid for the " in DeduceFlagValue()
538 absl::StrCat("Negative form is not valid for the flag '", flag.Name(), in DeduceFlagValue()
546 absl::StrCat("Missing the value for the flag '", flag.Name(), "'"), in DeduceFlagValue()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_field.cc64 (*variables)["index"] = StrCat(descriptor->index()); in SetCommonFieldVariables()
65 (*variables)["number"] = StrCat(descriptor->number()); in SetCommonFieldVariables()
70 (*variables)["tag_size"] = StrCat( in SetCommonFieldVariables()
97 variables_["set_hasbit"] = StrCat( in SetHasBitIndex()
100 variables_["clear_hasbit"] = StrCat( in SetHasBitIndex()
111 StrCat(prefix, (*variables)["name"], "_"); in SetCommonOneofFieldVariables()
/third_party/grpc/src/core/ext/xds/
Dxds_api.cc185 absl::StrCat("vhost={\n" in ToString()
331 return absl::StrCat("{", absl::StrJoin(contents, ", "), "}"); in ToString()
355 return absl::StrCat("{", absl::StrJoin(contents, ", "), "}"); in ToString()
379 return absl::StrCat("{", absl::StrJoin(contents, ", "), "}"); in ToString()
423 return absl::StrCat("{", absl::StrJoin(contents, ", "), "}"); in ToString()
446 return absl::StrCat("{", absl::StrJoin(contents, ", "), "}"); in ToString()
458 return absl::StrCat("{name=", name->AsHumanReadableString(), in ToString()
481 return absl::StrCat("[", absl::StrJoin(locality_strings, ", "), "]"); in ToString()
502 absl::StrCat(category.name, "=", category.parts_per_million)); in ToString()
504 return absl::StrCat("{[", absl::StrJoin(category_strings, ", "), in ToString()
[all …]
/third_party/abseil-cpp/absl/debugging/
Dfailure_signal_handler_test.cc50 std::string exit_regex = absl::StrCat( in TEST_P()
100 std::string file = absl::StrCat(tmp_dir, "/signo_", signo); in TEST_P()
102 std::string exit_regex = absl::StrCat( in TEST_P()
121 StartsWith(absl::StrCat( in TEST_P()
142 result = absl::StrCat(info.param); in SignalParamToString()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/
Dfailure_signal_handler_test.cc50 std::string exit_regex = absl::StrCat( in TEST_P()
100 std::string file = absl::StrCat(tmp_dir, "/signo_", signo); in TEST_P()
102 std::string exit_regex = absl::StrCat( in TEST_P()
121 StartsWith(absl::StrCat( in TEST_P()
148 result = absl::StrCat(info.param); in SignalParamToString()
/third_party/abseil-cpp/absl/flags/internal/
Dusage.cc191 printer.Write(absl::StrCat("--", flag.Name())); in FlagHelpHumanReadable()
194 printer.Write(absl::StrCat("(", flag.Help(), ");"), /*wrap_line=*/true); in FlagHelpHumanReadable()
205 dflt_val = absl::StrCat("\"", dflt_val, "\""); in FlagHelpHumanReadable()
207 printer.Write(absl::StrCat("default: ", dflt_val, ";")); in FlagHelpHumanReadable()
211 curr_val = absl::StrCat("\"", curr_val, "\""); in FlagHelpHumanReadable()
213 printer.Write(absl::StrCat("currently: ", curr_val, ";")); in FlagHelpHumanReadable()
343 out, absl::StrCat("/", absl::GetFlag(FLAGS_helpon), "."), in HandleUsageFlags()
/third_party/grpc/test/cpp/interop/
Dinterop_test.cc49 std::string binary_path = absl::StrCat(root, "/interop_client"); in test_client()
50 std::string port_arg = absl::StrCat("--server_port=", port); in test_client()
90 std::string command = absl::StrCat(root, "/interop_server"); in main()
92 std::string port_arg = absl::StrCat("--port=", port); in main()
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_enum.cc99 vars["index"] = StrCat(canonical_values_[i]->index()); in Generate()
100 vars["number"] = StrCat(canonical_values_[i]->number()); in Generate()
142 vars["number"] = StrCat(descriptor_->value(i)->number()); in Generate()
205 StrCat(canonical_values_[i]->number())); in Generate()
275 "index", StrCat(descriptor_->index())); in Generate()
288 "index", StrCat(descriptor_->index())); in Generate()
/third_party/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc228 return StrCat(field.default_value_int32()); in StringifyDefaultValue()
230 return StrCat(field.default_value_uint32()); in StringifyDefaultValue()
232 return StrCat(field.default_value_int64()); in StringifyDefaultValue()
234 return StrCat(field.default_value_uint64()); in StringifyDefaultValue()
270 return StrCat(field.default_value_enum()->number()); in StringifyDefaultValue()
511 StrCat(top_level_enum_values[i].second)); in PrintTopLevelEnums()
591 StrCat(extension_field.number())); in PrintTopLevelExtensions()
638 m["index"] = StrCat(descriptor.index()); in PrintServiceDescriptor()
660 m["index"] = StrCat(method->index()); in PrintServiceDescriptor()
787 printer_->Print("($start$, $end$), ", "start", StrCat(range->start), in PrintDescriptor()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Draw_hash_set_probe_benchmark.cc247 return {small ? absl::StrCat(v) : absl::StrFormat(kStringFormat, v)}; in Make()
409 return absl::StrCat("Ptr", Align); in Name()
414 return absl::StrCat("PtrIdentity", Align); in Name()
425 return absl::StrCat("P_", Name<T>(), "_", Name<U>()); in Name()
426 return absl::StrCat("P<", Name<T>(), ",", Name<U>(), ">"); in Name()
436 return absl::StrCat("AlmostSeq_", P); in Name()
479 std::string name = absl::StrCat(Name<T>(), "/", Name<Dist>()); in RunForTypeAndDistribution()
482 if (!CanRunBenchmark(absl::StrCat(name, "/min")) && in RunForTypeAndDistribution()
483 !CanRunBenchmark(absl::StrCat(name, "/avg")) && in RunForTypeAndDistribution()
484 !CanRunBenchmark(absl::StrCat(name, "/max"))) { in RunForTypeAndDistribution()
[all …]

12345678910>>...13