Home
last modified time | relevance | path

Searched refs:format_args (Results 1 – 25 of 124) sorted by relevance

12345

/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.arguments/format.args/
Dctor.pass.cpp28 std::basic_format_args<Context> format_args{}; in test() local
29 assert(!format_args.get(0)); in test()
34 std::basic_format_args<Context> format_args{store}; in test() local
35 assert(format_args.get(0)); in test()
36 assert(!format_args.get(1)); in test()
41 std::basic_format_args<Context> format_args{store}; in test() local
42 assert(format_args.get(0)); in test()
43 assert(format_args.get(1)); in test()
44 assert(!format_args.get(2)); in test()
49 std::basic_format_args<Context> format_args{store}; in test() local
[all …]
Dget.pass.cpp25 const std::basic_format_args<Context> format_args{store}; in test() local
34 format_args.get(0)); in test()
42 std::basic_format_args<Context> format_args{store}; in test_handle() local
46 format_args.get(0)); in test_handle()
56 const std::basic_format_args<Context> format_args{store}; in test_string_view() local
68 format_args.get(0)); in test_string_view()
75 const std::basic_format_args<Context> format_args{}; in test() local
76 ASSERT_NOEXCEPT(format_args.get(0)); in test()
77 assert(!format_args.get(0)); in test()
Dtypes.compile.pass.cpp23 static_assert(std::is_same_v<std::format_args,
/external/rust/crates/tracing-attributes/tests/
Ddestructuring.rs16 .with_value(&format_args!("1")) in destructure_tuples()
17 .and(field::mock("arg2").with_value(&format_args!("2"))) in destructure_tuples()
45 .with_value(&format_args!("1")) in destructure_nested_tuples()
46 .and(field::mock("arg2").with_value(&format_args!("2"))) in destructure_nested_tuples()
47 .and(field::mock("arg3").with_value(&format_args!("3"))) in destructure_nested_tuples()
48 .and(field::mock("arg4").with_value(&format_args!("4"))) in destructure_nested_tuples()
103 .with_value(&format_args!("1")) in destructure_tuple_structs()
104 .and(field::mock("arg2").with_value(&format_args!("2"))) in destructure_tuple_structs()
144 .with_value(&format_args!("1")) in destructure_structs()
145 .and(field::mock("arg2").with_value(&format_args!("2"))) in destructure_structs()
[all …]
Dinstrument.rs174 .with_value(&format_args!("Foo")) in generics()
175 .and(field::mock("arg2").with_value(&format_args!("false"))), in generics()
207 .with_value(&format_args!("Foo")) in methods()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.arguments/format.arg/
Dvisit_format_arg.pass.cpp29 std::basic_format_args<Context> format_args{store}; in test() local
31 LIBCPP_ASSERT(format_args.__size() == 1); in test()
32 assert(format_args.get(0)); in test()
44 format_args.get(0)); in test()
55 std::basic_format_args<Context> format_args{store}; in test_handle() local
57 LIBCPP_ASSERT(format_args.__size() == 1); in test_handle()
58 assert(format_args.get(0)); in test_handle()
62 format_args.get(0)); in test_handle()
72 std::basic_format_args<Context> format_args{store}; in test_string_view() local
74 LIBCPP_ASSERT(format_args.__size() == 1); in test_string_view()
[all …]
/external/angle/src/libANGLE/
Dgen_extensions.py337 def write_file(fname, template, format_args): argument
339 formatted = template.format(**format_args)
464 format_args = {
484 write_file(gles_h_output_name, _GLES_EXTENSIONS_TEMPLATE, format_args)
485 write_file(gles_cpp_output_name, _GLES_EXT_STRINGS_TEMPLATE, format_args)
486 write_file(md_output_name, _MARKDOWN_TEMPLATE, format_args)
/external/rust/crates/tokio-test/src/
Dmacros.rs36 panic!("pending; {}", format_args!($($msg)+))
141 panic!("ready; value = {:?}; {}", v, format_args!($($msg)+))
215 Err(e) => panic!("assertion failed: Err({:?}): {}", e, format_args!($($arg)+)),
257 Ok(v) => panic!("assertion failed: Ok({:?}): {}", v, format_args!($($arg)+)),
/external/rust/crates/macaddr/src/
Daddr8.rs211 f.write_fmt(format_args!( in fmt()
216 f.write_fmt(format_args!( in fmt()
221 f.write_fmt(format_args!( in fmt()
Daddr6.rs211 f.write_fmt(format_args!( in fmt()
221 f.write_fmt(format_args!("{:03X}.{:03X}.{:03X}.{:03X}", p1, p2, p3, p4,)) in fmt()
223 f.write_fmt(format_args!( in fmt()
/external/tensorflow/tensorflow/python/ops/
Daccumulate_n_benchmark.py92 def _SetupAndRunBenchmark(self, graph, inputs, repeats, format_args): argument
112 args = format_args + (tag, duration)
122 format_args = (tag, size, ninput, repeats)
123 self._SetupAndRunBenchmark(graph, inputs, repeats, format_args)
/external/rust/crates/serde/src/de/
Dmod.rs209 Error::custom(format_args!("invalid type: {}, expected {}", unexp, exp))
227 Error::custom(format_args!("invalid value: {}, expected {}", unexp, exp))
241 Error::custom(format_args!("invalid length {}, expected {}", len, exp))
249 Error::custom(format_args!(
254 Error::custom(format_args!(
267 Error::custom(format_args!(
272 Error::custom(format_args!(
285 Error::custom(format_args!("missing field `{}`", field))
292 Error::custom(format_args!("duplicate field `{}`", field))
1377 fmt::Write::write_fmt(&mut writer, format_args!("integer `{}` as i128", v)).unwrap();
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/include/
Dformat23 using format_args = basic_format_args<format_context>;
54 string vformat(string_view fmt, format_args args);
56 string vformat(const locale& loc, string_view fmt, format_args args);
69 Out vformat_to(Out out, string_view fmt, format_args args);
74 format_args char> args);
185 #include <__format/format_args.h>
/external/rust/crates/tracing/src/
Dspan.rs587format_args!("++ {};{}", meta.name(), crate::log::LogValueSet { values, is_first: false }), in make_with()
1042 … self.log(ACTIVITY_LOG_TARGET, log::Level::Trace, format_args!("-> {};", _meta.name())); in do_enter()
1059 … self.log(ACTIVITY_LOG_TARGET, log::Level::Trace, format_args!("<- {};", _meta.name())); in do_exit()
1229format_args!("{};{}", _meta.name(), crate::log::LogValueSet { values, is_first: false }), in record_all()
1344 .args(format_args!("{} span={}", message, inner.id.into_u64())) in log()
1471 format_args!("-- {};", meta.name()), in drop()
Dlib.rs1042 .args(format_args!( in __tracing_log()
1095 self.record_debug(field, &format_args!("{}", value)) in fmt()
/external/rust/crates/anyhow/src/
Dmacros.rs193 let error = $crate::__private::format_err($crate::__private::format_args!($msg));
218 let error = $crate::__private::format_err($crate::__private::format_args!($msg));
/external/angle/scripts/
Dgen_interpreter_utils.py149 format_args = {
158 cpp_content = CPP_TEMPLATE.format(**format_args)
/external/rust/crates/combine/src/parser/
Dregex.rs243 error.error.add(StreamError::expected_format(format_args!( in add_error()
300 error.error.add(StreamError::expected_format(format_args!( in add_error()
359 error.error.add(StreamError::expected_format(format_args!( in add_error()
420 error.error.add(StreamError::expected_format(format_args!( in add_error()
486 error.error.add(StreamError::expected_format(format_args!( in add_error()
/external/cronet/testing/rust_gtest_interop/
Dexpect_macros.rs34 format_args!($expectation, $($e)+),
35 format_args!($($arg)+),
/external/rust/crates/tracing/tests/
Dsubscriber.rs82 bar = format_args!("hello from {}", from) in boxed_subscriber()
120 bar = format_args!("hello from {}", from) in arced_subscriber()
Devent.rs60 .event(event::msg(format_args!( in event_with_message()
83 .and(field::msg(format_args!( in message_without_delims()
110 .and(field::msg(format_args!("hello from my event"))) in string_message_without_delims()
133 .with_value(&tracing::field::debug(format_args!( in one_with_everything()
/external/autotest/client/cros/audio/
Dsox_utils.py117 format_args = _raw_format_args(channels, bits, rate)
118 args += format_args
121 args += format_args
/external/libxml2/python/
Dgenerator.py454 format_args=""
472 format_args = format_args + ", &pyobj_%s" % (arg[0])
478 format_args = format_args + ", &%s" % (arg[0])
480 format_args = format_args + ", &py_buffsize%d" % num_bufs
585 (format, format_args))
/external/rust/crates/macaddr/src/parser/
Dmod.rs38 …ParseError::InvalidLength(len) => f.write_fmt(format_args!("Invalid length of {} characters", len,… in fmt()
40 f.write_fmt(format_args!("Unexpected character '{}' at position {}", chr, pos,)) in fmt()
/external/fmtlib/include/fmt/
Dranges.h321 return format_args(value, ctx, std::get<N>(value.tuple)...);
325 typename FormatContext::iterator format_args(
333 typename FormatContext::iterator format_args(
342 return format_args(value, ctx, args...);

12345