/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_enum_field.cc | 71 Formatter format(printer, variables_); in GeneratePrivateMembers() 77 Formatter format(printer, variables_); in GenerateAccessorDeclarations() 90 Formatter format(printer, variables_); in GenerateInlineAccessorDefinitions() 116 Formatter format(printer, variables_); in GenerateClearingCode() 121 Formatter format(printer, variables_); in GenerateMergingCode() 126 Formatter format(printer, variables_); in GenerateSwappingCode() 131 Formatter format(printer, variables_); in GenerateConstructorCode() 137 Formatter format(printer, variables_); in GenerateCopyConstructorCode() 143 Formatter format(printer, variables_); in GenerateSerializeWithCachedSizesToArray() 151 Formatter forma in GenerateByteSize() [all...] |
H A D | cpp_primitive_field.cc | 130 Formatter format(printer, variables_); in GeneratePrivateMembers() 136 Formatter format(printer, variables_); in GenerateAccessorDeclarations() 149 Formatter format(printer, variables_); in GenerateInlineAccessorDefinitions() 171 Formatter format(printer, variables_); in GenerateClearingCode() 176 Formatter format(printer, variables_); in GenerateMergingCode() 181 Formatter format(printer, variables_); in GenerateSwappingCode() 187 Formatter format(printer, variables_); in GenerateConstructorCode() 193 Formatter format(printer, variables_); in GenerateCopyConstructorCode() 199 Formatter format(printer, variables_); in GenerateSerializeWithCachedSizesToArray() 208 Formatter forma in GenerateByteSize() [all...] |
H A D | cpp_message_field.cc | 96 Formatter format(printer, variables_); in GeneratePrivateMembers() 106 Formatter format(printer, variables_); in GenerateAccessorDeclarations() 160 Formatter format(printer, variables_); in GenerateInlineAccessorDefinitions() 298 Formatter format(printer, variables_); in GenerateInternalAccessorDeclarations() 315 Formatter format(printer, variables_); in GenerateInternalAccessorDefinitions() 390 Formatter format(printer, variables_); in GenerateClearingCode() 408 Formatter format(printer, variables_); in GenerateMessageClearingCode() 427 Formatter format(printer, variables_); in GenerateMergingCode() 442 Formatter format(printer, variables_); in GenerateSwappingCode() 449 Formatter forma in GenerateDestructorCode() [all...] |
H A D | cpp_string_field.cc | 98 Formatter format(printer, variables_); in GeneratePrivateMembers() 119 Formatter format(printer, variables_); in GenerateStaticMembers() 133 Formatter format(printer, variables_); in GenerateAccessorDeclarations() 198 Formatter format(printer, variables_); in GenerateInlineAccessorDefinitions() 375 Formatter format(printer, variables_); in GenerateNonInlineAccessorDefinitions() 385 Formatter format(printer, variables_); in GenerateClearingCode() 407 Formatter format(printer, variables_); in GenerateMessageClearingCode() 460 Formatter format(printer, variables_); in GenerateMergingCode() 472 Formatter format(printer, variables_); in GenerateSwappingCode() 481 Formatter forma in GenerateConstructorCode() [all...] |
H A D | cpp_service.cc | 48 Formatter* format) { in InitMethodVariables() 68 Formatter format(printer, vars_); in GenerateDeclarations() 79 Formatter format(printer, vars_); in GenerateInterface() 123 Formatter format(printer, vars_); in GenerateStubDefinition() 157 Formatter format(printer, vars_); in GenerateMethodSignatures() 171 Formatter format(printer, vars_); in GenerateImplementation() 215 Formatter format(printer, vars_); in GenerateNotImplementedMethods() 230 Formatter format(printer, vars_); in GenerateCallMethod() 244 Formatter format(printer, vars_); in GenerateCallMethod() 272 Formatter forma in GenerateGetPrototype() [all...] |
H A D | cpp_map_field.cc | 102 Formatter format(printer, variables_); in GeneratePrivateMembers() 114 Formatter format(printer, variables_); in GenerateAccessorDeclarations() 131 Formatter format(printer, variables_); in GenerateInlineAccessorDefinitions() 156 Formatter format(printer, variables_); in GenerateClearingCode() 161 Formatter format(printer, variables_); in GenerateMergingCode() 166 Formatter format(printer, variables_); in GenerateSwappingCode() 176 static void GenerateSerializationLoop(const Formatter& format, bool string_key, in GenerateSerializationLoop() 210 Formatter format(printer, variables_); in GenerateSerializeWithCachedSizesToArray() 287 Formatter format(printer, variables_); in GenerateByteSize()
|
H A D | cpp_file.cc | 153 Formatter format(printer, variables_); in GenerateMacroUndefs() 184 Formatter format(printer, variables_); in GenerateHeader() 248 Formatter format(printer, variables_); in GenerateProtoHeader() 286 Formatter format(printer, variables_); in GeneratePBHeader() 331 Formatter format(printer, variables_); in DoIncludeFile() 383 Formatter format(printer, variables_); in GenerateSourceIncludes() 436 Formatter format(printer, variables_); in GenerateSourceDefaultInstance() 506 Formatter format(printer, variables_); in GenerateInternalForwardDeclarations() 564 Formatter format(printer, variables_); in GenerateSourceForMessage() 611 Formatter forma in GenerateGlobalSource() [all...] |
/third_party/rust/crates/syn/src/gen/ |
H A D | debug.rs | 9 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 19 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 21 fn debug(&self, formatter: &mut fmt::Formatter, name: &str) -> fmt::Result { in fmt() 36 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 50 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 62 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 74 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 89 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 101 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 112 fn fmt(&self, formatter: &mut fmt::Formatter) [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | str_join.h | 23 // an optional Formatter responsible for converting each argument in the range 66 // Concept: Formatter 69 // A Formatter is a function object that is responsible for formatting its 72 // functions. You may provide your own Formatter to enable `absl::StrJoin()` to 75 // The following is an example of a custom Formatter that simply uses 113 // Function Template: PairFormatter(Formatter, absl::string_view, Formatter) 126 // `AlphaNumFormatter()` for each Formatter in the pair. 134 // Function Template: DereferenceFormatter(Formatter) 140 template <typename Formatter> [all...] |
/third_party/rust/crates/syn/tests/debug/ |
H A D | gen.rs | 10 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 17 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 30 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 42 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 53 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 70 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 78 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 92 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 100 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 114 fn fmt(&self, formatter: &mut fmt::Formatter) [all...] |
H A D | mod.rs | 36 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 42 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 48 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 54 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 60 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 66 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 72 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 89 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 98 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() 107 fn fmt(&self, formatter: &mut fmt::Formatter) [all...] |
/third_party/mesa3d/src/gallium/tools/trace/ |
H A D | format.py | 33 class Formatter: class 58 class AnsiFormatter(Formatter): 59 '''Formatter for plain-text files which outputs ANSI escape codes. See 78 Formatter.function(self, name) 83 Formatter.variable(self, name) 88 Formatter.literal(self, value) 93 Formatter.address(self, value) 97 class WindowsConsoleFormatter(Formatter): 98 '''Formatter for the Windows Console. See 123 Formatter [all...] |
/third_party/skia/third_party/externals/tint/src/diagnostic/ |
H A D | formatter_test.cc | 52 Formatter fmt{{false, false, false, false}}; in TEST_F() 61 Formatter fmt{{false, false, false, true}}; in TEST_F() 71 Formatter fmt{{false, false, false, false}}; in TEST_F() 79 Formatter fmt{{true, false, false, false}}; in TEST_F() 88 Formatter fmt{{false, true, false, false}}; in TEST_F() 97 Formatter fmt{{false, false, true, false}}; in TEST_F() 115 Formatter fmt{{true, true, true, false}}; in TEST_F() 136 Formatter fmt{{false, false, true, false}}; in TEST_F() 150 Formatter fmt{{true, true, true, false, 4u}}; in TEST_F() 171 Formatter fm in TEST_F() [all...] |
H A D | formatter.cc | 58 struct Formatter::State { 109 Formatter::Formatter() {} in Formatter() function in tint::diag::Formatter 110 Formatter::Formatter(const Style& style) : style_(style) {} in Formatter() function in tint::diag::Formatter 112 void Formatter::format(const List& list, Printer* printer) const { in format() 130 void Formatter::format(const Diagnostic& diag, State& state) const { in format() 250 std::string Formatter::format(const List& list) const { in format() 256 Formatter::~Formatter() [all...] |
H A D | formatter.h | 27 /// Formatter are used to print a list of diagnostics messages. 28 class Formatter { class 45 Formatter(); 49 explicit Formatter(const Style& style); 51 ~Formatter();
|
/third_party/rust/crates/env_logger/src/fmt/ |
H A D | mod.rs | 3 //! This module contains a [`Formatter`] that can be used to format log records 5 //! about the contents of this module and can use the `Formatter` like an ordinary 27 //! [`Formatter`]: struct.Formatter.html 78 /// `Formatter` implements the standard [`Write`] trait for writing log records. 84 /// An instance of a `Formatter` is passed to an `env_logger` format as `buf`: 97 pub struct Formatter { structure names 102 impl Formatter { impls 104 Formatter { 123 impl Write for Formatter { [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | str_join_internal.h | 50 // Formatter objects 52 // The following are implementation classes for standard Formatter objects. The 130 template <typename Formatter> 134 explicit DereferenceFormatterImpl(Formatter&& f) in DereferenceFormatterImpl() 135 : f_(std::forward<Formatter>(f)) {} in DereferenceFormatterImpl() 148 Formatter f_; 151 // DefaultFormatter<T> is a traits class that selects a default Formatter to use 152 // for the given type T. The ::Type member names the Formatter to use. This is 153 // used by the strings::Join() functions that do NOT take a Formatter argument, 154 // in which case a default Formatter mus 291 typedef typename DefaultFormatter<ValueType>::Type Formatter; JoinRange() typedef [all...] |
/third_party/rust/crates/codespan/codespan/src/ |
H A D | index.rs | 46 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 54 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 72 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 80 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 97 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 105 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 141 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 149 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 160 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 168 fn fmt(&self, f: &mut fmt::Formatter<' [all...] |
/third_party/rust/crates/bitflags/tests/compile-fail/non_integer_base/ |
H A D | all_defined.rs | 72 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 78 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 84 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 90 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 96 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 102 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
|
/third_party/rust/crates/regex/regex-syntax/src/ |
H A D | error.rs | 55 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 70 pub struct Formatter<'e, E> { structure names 82 impl<'e> From<&'e ast::Error> for Formatter<'e, ast::ErrorKind> { 84 Formatter { in from() 93 impl<'e> From<&'e hir::Error> for Formatter<'e, hir::ErrorKind> { 95 Formatter { in from() 104 impl<'e, E: fmt::Display> fmt::Display for Formatter<'e, E> { 105 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() 172 fmter: &'p Formatter<'e, E>, in from_formatter()
|
/third_party/skia/third_party/externals/tint/src/writer/msl/ |
H A D | test_helper.h | 48 << diag::Formatter().format(Diagnostics()); in Build() 53 << diag::Formatter().format(program->Diagnostics()); in Build() 71 << diag::Formatter().format(Diagnostics()); 76 << diag::Formatter().format(program->Diagnostics()); 85 << diag::Formatter().format(result.program.Diagnostics());
|
/third_party/rust/crates/env_logger/src/fmt/humantime/ |
H A D | extern_impl.rs | 8 use crate::fmt::{Formatter, TimestampPrecision}; 14 impl Formatter { impls 80 /// The timestamp implements [`Display`] and can be written to a [`Formatter`]. 84 /// [`Formatter`]: struct.Formatter.html 91 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 96 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 108 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
|
/third_party/rust/crates/quote/src/ |
H A D | ident_fragment.rs | 15 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result; in fmt() 30 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 40 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 50 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 68 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() 79 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
|
/third_party/rust/crates/env_logger/src/ |
H A D | lib.rs | 242 //! These closures take a [`Formatter`] and `log::Record` as arguments: 298 use self::fmt::{FormatFn, Formatter}; 556 /// log record and output it to the given [`Formatter`]. 559 /// `Formatter` so that implementations can use the [`std::fmt`] macros 576 /// [`Formatter`]: fmt/struct.Formatter.html 581 F: Fn(&mut Formatter, &Record) -> io::Result<()> + Sync + Send, in format() 919 static FORMATTER: RefCell<Option<Formatter>> = RefCell::new(None); in log() 922 let print = |formatter: &mut Formatter, record: &Record| { in log() 940 *formatter = Formatter in log() [all...] |
/third_party/rust/crates/heck/src/ |
H A D | lib.rs | 82 f: &mut fmt::Formatter, in transform() 85 F: FnMut(&str, &mut fmt::Formatter) -> fmt::Result, in transform() 86 G: FnMut(&mut fmt::Formatter) -> fmt::Result, in transform() 178 fn lowercase(s: &str, f: &mut fmt::Formatter) -> fmt::Result { in lowercase() 191 fn uppercase(s: &str, f: &mut fmt::Formatter) -> fmt::Result { in uppercase() 199 fn capitalize(s: &str, f: &mut fmt::Formatter) -> fmt::Result { in capitalize()
|