Home
last modified time | relevance | path

Searched refs:StrFormat (Results 1 – 25 of 135) sorted by relevance

123456

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dstr_format_test.cc82 EXPECT_EQ("123", StrFormat("%d", 123)); in TEST_F()
84 EXPECT_EQ("=123=", StrFormat(view, 123)); in TEST_F()
108 EXPECT_EQ("24", StrFormat("%24$d", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, in TEST_F()
110 EXPECT_EQ("60", StrFormat("%60$d", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, in TEST_F()
119 EXPECT_EQ("123", StrFormat(pc, 123)); in TEST_F()
121 EXPECT_EQ("123", StrFormat(ParsedFormat<'d'>("%d"), 123)); in TEST_F()
123 EXPECT_EQ("=123=", StrFormat(ParsedFormat<'d'>(view), 123)); in TEST_F()
128 EXPECT_EQ("", StrFormat("%n", FormatCountCapture(&n))); in TEST_F()
130 EXPECT_EQ("123", StrFormat("%d%n", 123, FormatCountCapture(&n))); in TEST_F()
150 StrFormat("%5d%n%10d%n", 1, FormatCountCapture(&n1), 2, in TEST_F()
[all …]
/third_party/abseil-cpp/absl/strings/
Dstr_format_test.cc69 EXPECT_EQ("123", StrFormat("%d", 123)); in TEST_F()
71 EXPECT_EQ("=123=", StrFormat(view, 123)); in TEST_F()
95 EXPECT_EQ("24", StrFormat("%24$d", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, in TEST_F()
97 EXPECT_EQ("60", StrFormat("%60$d", 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, in TEST_F()
106 EXPECT_EQ("123", StrFormat(pc, 123)); in TEST_F()
108 EXPECT_EQ("123", StrFormat(ParsedFormat<'d'>("%d"), 123)); in TEST_F()
110 EXPECT_EQ("=123=", StrFormat(ParsedFormat<'d'>(view), 123)); in TEST_F()
115 EXPECT_EQ("", StrFormat("%n", FormatCountCapture(&n))); in TEST_F()
117 EXPECT_EQ("123", StrFormat("%d%n", 123, FormatCountCapture(&n))); in TEST_F()
137 StrFormat("%5d%n%10d%n", 1, FormatCountCapture(&n1), 2, in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_native/
Dwebgpu_absl_format.cpp36 s->Append(absl::StrFormat("[Color r:%f, g:%f, b:%f, a:%f]", in AbslFormatConvert()
49 s->Append(absl::StrFormat("[Extent3D width:%u, height:%u, depthOrArrayLayers:%u]", in AbslFormatConvert()
62 s->Append(absl::StrFormat("[Origin3D x:%u, y:%u, z:%u]", in AbslFormatConvert()
82 s->Append(absl::StrFormat(" \"%s\"", label)); in AbslFormatConvert()
103 s->Append(absl::StrFormat(" \"%s\"", label)); in AbslFormatConvert()
124 s->Append(absl::StrFormat(" \"%s\"", label)); in AbslFormatConvert()
128 s->Append(absl::StrFormat(" of Texture \"%s\"", textureLabel)); in AbslFormatConvert()
151 s->Append(absl::StrFormat(" \"%s\"", value->label));
181 …s->Append(absl::StrFormat("%x", static_cast<typename std::underlying_type<{{as_cppType(type.name)}…
202 s->Append(absl::StrFormat("{{as_cppType(type.name)}}::%x", 0));
[all …]
/third_party/grpc/src/core/lib/surface/
Dcall_log_batch.cc60 parts.push_back(absl::StrFormat("SEND_MESSAGE ptr=%p", in grpc_op_string()
68 absl::StrFormat("SEND_STATUS_FROM_SERVER status=%d details=", in grpc_op_string()
83 parts.push_back(absl::StrFormat( in grpc_op_string()
88 parts.push_back(absl::StrFormat("RECV_MESSAGE ptr=%p", in grpc_op_string()
92 parts.push_back(absl::StrFormat( in grpc_op_string()
99 parts.push_back(absl::StrFormat("RECV_CLOSE_ON_SERVER cancelled=%p", in grpc_op_string()
Devent_string.cc35 buf->push_back(absl::StrFormat("tag:%p", ev->tag)); in addhdr()
41 buf->push_back(absl::StrFormat(" %s", errstr(success))); in adderr()
/third_party/grpc/src/core/lib/security/credentials/external/
Dexternal_account_credentials.cc191 return absl::StrFormat("ExternalAccountCredentials{Audience:%s,%s}", in debug_string()
236 absl::StrFormat("Invalid token url: %s. Error: %s", options_.token_url, in ExchangeToken()
253 absl::StrFormat("%s:%s", options_.client_id, options_.client_secret); in ExchangeToken()
256 std::string str = absl::StrFormat("Basic %s", std::string(encoded_cred)); in ExchangeToken()
271 body_parts.push_back(absl::StrFormat("%s=%s", "audience", in ExchangeToken()
273 body_parts.push_back(absl::StrFormat( in ExchangeToken()
276 body_parts.push_back(absl::StrFormat( in ExchangeToken()
280 absl::StrFormat("%s=%s", "subject_token_type", in ExchangeToken()
282 body_parts.push_back(absl::StrFormat("%s=%s", "subject_token", in ExchangeToken()
289 absl::StrFormat("%s=%s", "scope", UrlEncode(scope).c_str())); in ExchangeToken()
[all …]
Daws_external_account_credentials.cc155 absl::StrFormat("Invalid region url. %s", in RetrieveRegion()
206 absl::StrFormat("Invalid url: %s.", uri.status().ToString()) in RetrieveRoleName()
268 absl::StrFormat("Invalid url with role name: %s.", in RetrieveSigningKeys()
320 absl::StrFormat("Missing or invalid AccessKeyId in %s.", in OnRetrieveSigningKeysInternal()
332 absl::StrFormat("Missing or invalid SecretAccessKey in %s.", in OnRetrieveSigningKeysInternal()
345 absl::StrFormat("Missing or invalid Token in %s.", response_body) in OnRetrieveSigningKeysInternal()
/third_party/grpc/src/core/lib/transport/
Dtransport_op_string.cc62 out->push_back(absl::StrFormat(" deadline=%" PRId64, md.deadline)); in put_metadata_list()
80 absl::StrFormat(" SEND_MESSAGE:flags=0x%08x:len=%d", in grpc_transport_stream_op_batch_string()
122 out.push_back(absl::StrFormat( in grpc_transport_op_string()
129 out.push_back(absl::StrFormat(" STOP_CONNECTIVITY_WATCH:watcher=%p", in grpc_transport_op_string()
144 out.push_back(absl::StrFormat(" SET_ACCEPT_STREAM:%p(%p,...)", in grpc_transport_op_string()
/third_party/grpc/src/core/ext/xds/
Dfile_watcher_certificate_provider_factory.cc50 absl::StrFormat("certificate_file=\"%s\", ", identity_cert_file_)); in ToString()
54 absl::StrFormat("private_key_file=\"%s\", ", private_key_file_)); in ToString()
58 absl::StrFormat("ca_certificate_file=\"%s\", ", root_cert_file_)); in ToString()
61 absl::StrFormat("refresh_interval=%ldms}", refresh_interval_ms_)); in ToString()
/third_party/grpc/src/core/lib/debug/
Dstats.cc152 parts.push_back(absl::StrFormat( in grpc_stats_data_as_json()
156 parts.push_back(absl::StrFormat("\"%s\": [", grpc_stats_histogram_name[i])); in grpc_stats_data_as_json()
159 absl::StrFormat("%s%" PRIdPTR, j == 0 ? "" : ",", in grpc_stats_data_as_json()
163 absl::StrFormat("], \"%s_bkt\": [", grpc_stats_histogram_name[i])); in grpc_stats_data_as_json()
165 parts.push_back(absl::StrFormat( in grpc_stats_data_as_json()
/third_party/grpc/src/core/lib/security/authorization/
Dmatchers.cc142 return absl::StrFormat("StringMatcher{exact=%s%s}", string_matcher_, in ToString()
145 return absl::StrFormat("StringMatcher{prefix=%s%s}", string_matcher_, in ToString()
148 return absl::StrFormat("StringMatcher{suffix=%s%s}", string_matcher_, in ToString()
151 return absl::StrFormat("StringMatcher{contains=%s%s}", string_matcher_, in ToString()
154 return absl::StrFormat("StringMatcher{safe_regex=%s%s}", in ToString()
320 return absl::StrFormat("HeaderMatcher{%s %srange=[%d, %d]}", name_, in ToString()
324 return absl::StrFormat("HeaderMatcher{%s %spresent=%s}", name_, in ToString()
332 return absl::StrFormat("HeaderMatcher{%s %s%s}", name_, in ToString()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DError.h82 DAWN_MAKE_ERROR(InternalErrorType::Validation, absl::StrFormat(__VA_ARGS__))
86 return DAWN_MAKE_ERROR(InternalErrorType::Validation, absl::StrFormat(__VA_ARGS__)); \
100 DAWN_MAKE_ERROR(InternalErrorType::Internal, absl::StrFormat(__VA_ARGS__))
120 DAWN_TRY_WITH_CLEANUP(EXPR, { error->AppendContext(absl::StrFormat(__VA_ARGS__)); })
/third_party/grpc/test/core/transport/
Dtimeout_encoding_test.cc91 std::string input = absl::StrFormat("%ld%c", test_vals[i], ext); in decode_suite()
94 input = absl::StrFormat(" %ld%c", test_vals[i], ext); in decode_suite()
97 input = absl::StrFormat("%ld %c", test_vals[i], ext); in decode_suite()
100 input = absl::StrFormat("%ld %c ", test_vals[i], ext); in decode_suite()
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dflow_control.cc54 str = absl::StrFormat("%" PRId64 " -> %" PRId64 "", old_val, new_val); in fmt_int64_diff_str()
56 str = absl::StrFormat("%" PRId64 "", old_val); in fmt_int64_diff_str()
64 str = absl::StrFormat("%" PRIu32 " -> %" PRIu32 "", old_val, new_val); in fmt_uint32_diff_str()
66 str = absl::StrFormat("%" PRIu32 "", old_val); in fmt_uint32_diff_str()
210 absl::StrFormat("frame of size %" PRId64 in ValidateRecvData()
252 absl::StrFormat("frame of size %" PRId64 in RecvData()
/third_party/grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc407 return absl::StrFormat( in debug_string()
445 std::string body = absl::StrFormat( in fetch_oauth2()
483 return absl::StrFormat("GoogleRefreshToken{ClientID:%s,%s}", in debug_string()
493 return absl::StrFormat( in create_loggable_refresh_token()
525 body->push_back(absl::StrFormat("&%s=%s", field_name, field)); in MaybeAddToBody()
554 return absl::StrFormat( in debug_string()
622 body_parts.push_back(absl::StrFormat( in FillBody()
666 absl::StrFormat("Invalid or missing STS endpoint URL. Error: %s", in ValidateStsCredentialsOptions()
742 return absl::StrFormat("AccessTokenCredentials{Token:%s}", in debug_string()
/third_party/json/benchmarks/thirdparty/benchmark/src/
Dbenchmark_register.cc181 StrFormat("%s:", family->arg_names_[arg_i].c_str()); in FindBenchmarks()
185 instance.name += StrFormat("%d", arg); in FindBenchmarks()
190 instance.name += StrFormat("/min_time:%0.3f", family->min_time_); in FindBenchmarks()
192 instance.name += StrFormat("/iterations:%d", family->iterations_); in FindBenchmarks()
194 instance.name += StrFormat("/repeats:%d", family->repetitions_); in FindBenchmarks()
204 instance.name += StrFormat("/threads:%d", instance.threads); in FindBenchmarks()
Djson_reporter.cc35 return StrFormat("\"%s\": \"%s\"", key.c_str(), value.c_str()); in FormatKV()
39 return StrFormat("\"%s\": \"%s\"", key.c_str(), value); in FormatKV()
43 return StrFormat("\"%s\": %s", key.c_str(), value ? "true" : "false"); in FormatKV()
/third_party/abseil-cpp/absl/random/internal/
Dranden_hwaes_test.cc64 auto a = absl::StrFormat("%#x", elem); in TEST()
65 auto b = absl::StrFormat("%#x", *id++); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dranden_hwaes_test.cc64 auto a = absl::StrFormat("%#x", elem); in TEST()
65 auto b = absl::StrFormat("%#x", *id++); in TEST()
/third_party/benchmark/src/
Dbenchmark_register.cc189 instance.name.args += StrFormat("%s:", arg_name.c_str()); in FindBenchmarks()
193 instance.name.args += StrFormat("%" PRId64, arg); in FindBenchmarks()
199 StrFormat("min_time:%0.3f", family->min_time_); in FindBenchmarks()
202 StrFormat("iterations:%lu", in FindBenchmarks()
207 StrFormat("repeats:%d", family->repetitions_); in FindBenchmarks()
227 instance.name.threads = StrFormat("threads:%d", instance.threads); in FindBenchmarks()
/third_party/grpc/test/core/util/
Dcmdline.cc138 s->push_back(absl::StrFormat(" [--%s|--no-%s]", a->name, a->name)); in add_args_to_usage()
141 s->push_back(absl::StrFormat(" [--%s=string]", a->name)); in add_args_to_usage()
144 s->push_back(absl::StrFormat(" [--%s=int]", a->name)); in add_args_to_usage()
161 s.push_back(absl::StrFormat(" [%s...]", cl->extra_arg_name)); in gpr_cmdline_usage_string()
/third_party/grpc/src/core/lib/gprpp/
Dhost_port.cc33 return absl::StrFormat("[%s]:%d", host, port); in JoinHostPort()
36 return absl::StrFormat("%s:%d", host, port); in JoinHostPort()
/third_party/grpc/test/core/end2end/fixtures/
Dh2_http_proxy.cc77 proxy_uri = absl::StrFormat( in chttp2_init_client_fullstack()
81 absl::StrFormat("http://%s@%s", proxy_auth_str, in chttp2_init_client_fullstack()
/third_party/grpc/test/core/gpr/
Darena_test.cc45 absl::StrFormat("test '%s': %" PRIdPTR " <- {", name, init_size)); in test()
47 parts.push_back(absl::StrFormat("%" PRIdPTR ",", allocs[i])); in test()
/third_party/grpc/src/core/ext/filters/client_channel/xds/
Dxds_client.cc183 absl::StrFormat( in OnTimerLocked()
2008 return absl::StrFormat( in CreateServiceConfigActionCluster()
2027 header_matcher = absl::StrFormat(" \"exact_match\": \"%s\"", in CreateServiceConfigRoute()
2032 header_matcher = absl::StrFormat(" \"regex_match\": \"%s\"", in CreateServiceConfigRoute()
2037 header_matcher = absl::StrFormat( in CreateServiceConfigRoute()
2047 absl::StrFormat(" \"present_match\": %s", in CreateServiceConfigRoute()
2052 header_matcher = absl::StrFormat( in CreateServiceConfigRoute()
2057 header_matcher = absl::StrFormat( in CreateServiceConfigRoute()
2065 absl::StrFormat(" { \n" in CreateServiceConfigRoute()
2071 absl::StrFormat(",\n" in CreateServiceConfigRoute()
[all …]

123456