/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | str_cat_test.cc | 39 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 …]
|
D | str_cat_benchmark.cc | 39 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/ |
D | stringutil.cc | 41 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 …]
|
D | stringutil.h | 105 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/ |
D | csharp_field_base.cc | 66 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 …]
|
D | csharp_message.cc | 164 printer->Print("private int _hasBits$i$;\n", "i", StrCat(i)); in Generate() 176 + ".Descriptor.MessageTypes[" + StrCat(descriptor_->index()) + "]"; in Generate() 179 + ".Descriptor.NestedTypes[" + StrCat(descriptor_->index()) + "]"; in Generate() 219 "index", StrCat(fieldDescriptor->number())); in Generate() 243 "index", StrCat(field->number())); in Generate() 385 printer->Print("_hasBits$i$ = other._hasBits$i$;\n", "i", StrCat(i)); in GenerateCloningCode() 701 "end_tag", StrCat(end_tag_)); in GenerateMainParseLoop() 730 StrCat( in GenerateMainParseLoop() 736 printer->Print("case $tag$: {\n", "tag", StrCat(tag)); in GenerateMainParseLoop()
|
/third_party/libphonenumber/cpp/test/phonenumbers/ |
D | stringutil_test.cc | 227 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/ |
D | field_mask_utility.cc | 58 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()
|
D | datapiece.cc | 179 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()
|
D | json_objectwriter.cc | 90 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/skia/third_party/externals/abseil-cpp/absl/flags/ |
D | marshalling.cc | 166 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()
|
D | parse.cc | 177 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 …]
|
D | reflection.cc | 117 absl::StrCat( in RegisterFlag() 136 absl::StrCat( in RegisterFlag() 143 absl::StrCat("Flag '", flag.Name(), in RegisterFlag() 152 absl::StrCat("Flag '", flag.Name(), in RegisterFlag() 158 absl::StrCat( in RegisterFlag() 271 absl::StrCat("Accessing retired flag '", name_, "'"), false); in OnAccess()
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_field.cc | 64 (*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/skia/third_party/externals/abseil-cpp/absl/debugging/ |
D | failure_signal_handler_test.cc | 50 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/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 228 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/protobuf/src/google/protobuf/compiler/java/ |
D | java_enum.cc | 99 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()
|
D | java_service.cc | 92 "index", StrCat(descriptor_->index())); in Generate() 212 vars["index"] = StrCat(i); in GenerateCallMethod() 259 vars["index"] = StrCat(i); in GenerateCallBlockingMethod() 304 vars["index"] = StrCat(i); in GenerateGetPrototype() 359 vars["index"] = StrCat(i); in GenerateStub() 423 vars["index"] = StrCat(i); in GenerateBlockingStub()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | raw_hash_set_probe_benchmark.cc | 247 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 …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/status/ |
D | statusor.cc | 64 what_ = absl::StrCat("Bad StatusOr access: ", status_.ToString()); in InitWhat() 85 absl::StrCat("Attempting to fetch value instead of handling error ", in Crash() 95 absl::StrCat("Attempting to fetch value instead of handling error ", in ThrowBadStatusOrAccess()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/ |
D | usage.cc | 196 printer.Write(absl::StrCat("--", flag.Name())); in FlagHelpHumanReadable() 199 printer.Write(absl::StrCat("(", flag.Help(), ");"), /*wrap_line=*/true); in FlagHelpHumanReadable() 210 dflt_val = absl::StrCat("\"", dflt_val, "\""); in FlagHelpHumanReadable() 212 printer.Write(absl::StrCat("default: ", dflt_val, ";")); in FlagHelpHumanReadable() 216 curr_val = absl::StrCat("\"", curr_val, "\""); in FlagHelpHumanReadable() 218 printer.Write(absl::StrCat("currently: ", curr_val, ";")); in FlagHelpHumanReadable() 487 SetFlagsHelpMatchSubstr(absl::StrCat("/", value, ".")); in DeduceUsageFlags()
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_oneof.cc | 49 variables_["raw_index"] = StrCat(descriptor_->index()); in OneofGenerator() 68 variables_["index"] = StrCat(-index); in SetOneofIndexBase() 87 "field_number", StrCat(field->number())); in GenerateCaseEnum()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | strutil_unittest.cc | 809 TEST(StrCat, Ints) { in TEST() argument 823 answer = StrCat(s, us); in TEST() 825 answer = StrCat(i, ui); in TEST() 827 answer = StrCat(l, ul); in TEST() 829 answer = StrCat(ll, ull); in TEST() 831 answer = StrCat(ptrdiff, size); in TEST() 833 answer = StrCat(ptrdiff, intptr); in TEST() 835 answer = StrCat(uintptr, 0); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
D | zipf_distribution_test.cc | 106 absl::StrCat("Range: ", +sample_min, ", ", +sample_max)); in TYPED_TEST() 308 ABSL_INTERNAL_LOG(INFO, absl::StrCat(points[i], ": ", buckets[i], in TEST_P() 311 ABSL_INTERNAL_LOG(INFO, absl::StrCat("trials ", trials)); in TEST_P() 313 absl::StrCat("mean ", avg, " vs. expected ", mean())); in TEST_P() 314 ABSL_INTERNAL_LOG(INFO, absl::StrCat(kChiSquared, "(data, ", dof, ") = ", in TEST_P() 317 absl::StrCat(kChiSquared, " @ 0.9995 = ", threshold)); in TEST_P() 345 std::string name = absl::StrCat("k_", p.k(), "__q_", absl::SixDigits(p.q()), in ParamName()
|
/third_party/protobuf/conformance/ |
D | binary_json_conformance_suite.cc | 387 StrCat("Test was asked for ", in ParseResponse() 406 StrCat("Test was asked for ", in ParseResponse() 443 string effective_test_name = StrCat( in ExpectParseFailureForProtoWithProtoVersion() 574 StrCat(setting.ConformanceLevelToString(level), in RunValidJsonTestWithValidator() 618 string effective_test_name = StrCat( in ExpectParseFailureForJson() 645 string effective_test_name = StrCat( in ExpectSerializeFailureForJson() 771 StrCat("ValidDataScalar", type_name, "[", i, "]"), REQUIRED, in TestValidDataForType() 774 StrCat("ValidDataScalarBinary", type_name, "[", i, "]"), in TestValidDataForType() 855 StrCat("ValidDataRepeated", type_name, ".UnpackedInput"), in TestValidDataForType() 858 StrCat("ValidDataRepeated", type_name, ".PackedInput"), in TestValidDataForType() [all …]
|