Home
last modified time | relevance | path

Searched defs:CodeWriter (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/protobuf-codegen/src/
Dcode_writer.rs14 pub struct CodeWriter<'a> { struct
19 impl<'a> CodeWriter<'a> { argument
84 F: Fn(&mut CodeWriter), in indented()
95 F: Fn(&mut CodeWriter), in commented()
119 F: Fn(&mut CodeWriter), in lazy_static_decl_get()
140 F: Fn(&mut CodeWriter), in block()
149 F: Fn(&mut CodeWriter), in expr_block()
156 F: Fn(&mut CodeWriter), in stmt_block()
163 F: Fn(&mut CodeWriter), in unsafe_expr()
170 F: Fn(&mut CodeWriter), in impl_self_block()
[all …]
Dmessage.rs131 fn write_match_each_oneof_variant<F>(&self, w: &mut CodeWriter, cb: F) in write_match_each_oneof_variant()
133 F: Fn(&mut CodeWriter, &OneofVariantGen, &str, &RustType), in write_match_each_oneof_variant()
158 fn write_write_to_with_cached_sizes(&self, w: &mut CodeWriter) { in write_write_to_with_cached_sizes()
177 fn write_get_cached_size(&self, w: &mut CodeWriter) { in write_get_cached_size()
183 fn write_default_instance(&self, w: &mut CodeWriter) { in write_default_instance()
197 fn write_compute_size(&self, w: &mut CodeWriter) { in write_compute_size()
222 fn write_field_accessors(&self, w: &mut CodeWriter) { in write_field_accessors()
232 fn write_impl_self(&self, w: &mut CodeWriter) { in write_impl_self()
243 fn write_unknown_fields(&self, w: &mut CodeWriter) { in write_unknown_fields()
265 fn write_merge_from(&self, w: &mut CodeWriter) { in write_merge_from()
[all …]
Denums.rs141 pub fn write(&self, w: &mut CodeWriter) { in write()
159 fn write_struct(&self, w: &mut CodeWriter) { in write_struct()
198 fn write_fn_value(&self, w: &mut CodeWriter) { in write_fn_value()
212 fn write_impl_enum(&self, w: &mut CodeWriter) { in write_impl_enum()
287 fn write_impl_value(&self, w: &mut CodeWriter) { in write_impl_value()
312 fn write_impl_copy(&self, w: &mut CodeWriter) { in write_impl_copy()
316 fn write_impl_eq(&self, w: &mut CodeWriter) { in write_impl_eq()
333 fn write_impl_hash(&self, w: &mut CodeWriter) { in write_impl_hash()
345 fn write_impl_default(&self, w: &mut CodeWriter) { in write_impl_default()
Dextensions.rs59 fn write(&self, w: &mut CodeWriter) { in write()
90 w: &mut CodeWriter, in write_extensions()
Dserde.rs5 pub fn write_serde_attr(w: &mut CodeWriter, customize: &Customize, attr: &str) { in write_serde_attr()
Dlib.rs99 w: &mut CodeWriter, in write_file_descriptor_data()
Doneof.rs181 pub fn write_enum(&self, w: &mut CodeWriter) { in write_enum()
/external/rust/crates/grpcio-compiler/src/
Dcodegen.rs31 struct CodeWriter<'a> { struct
36 impl<'a> CodeWriter<'a> { argument
82 F: Fn(&mut CodeWriter), in indented()
93 F: Fn(&mut CodeWriter), in commented()
103 F: Fn(&mut CodeWriter), in block()
112 F: Fn(&mut CodeWriter), in expr_block()
119 F: Fn(&mut CodeWriter), in impl_self_block()
126 F: Fn(&mut CodeWriter), in pub_struct()
133 F: Fn(&mut CodeWriter), in pub_trait()
160 F: Fn(&mut CodeWriter), in fn_block()
[all …]
/external/rust/crates/protobuf-codegen/src/field/
Dmod.rs926 pub fn write_clear(&self, w: &mut CodeWriter) { in write_clear()
1000 pub fn write_write_element(&self, w: &mut CodeWriter, os: &str, var: &str, ty: &RustType) { in write_write_element()
1080 fn write_if_let_self_field_is_some<F>(&self, w: &mut CodeWriter, cb: F) in write_if_let_self_field_is_some()
1082 F: Fn(&str, &RustType, &mut CodeWriter), in write_if_let_self_field_is_some()
1132 fn write_if_self_field_is_not_empty<F>(&self, w: &mut CodeWriter, cb: F) in write_if_self_field_is_not_empty()
1134 F: Fn(&mut CodeWriter), in write_if_self_field_is_not_empty()
1141 pub fn write_if_self_field_is_none<F>(&self, w: &mut CodeWriter, cb: F) in write_if_self_field_is_none()
1143 F: Fn(&mut CodeWriter), in write_if_self_field_is_none()
1150 pub fn write_for_self_field<F>(&self, w: &mut CodeWriter, varn: &str, cb: F) in write_for_self_field()
1152 F: Fn(&mut CodeWriter, &RustType), in write_for_self_field()
[all …]
/external/javapoet/src/main/java/com/squareup/javapoet/
DCodeWriter.java43 final class CodeWriter { class
71 CodeWriter(Appendable out) { in CodeWriter() method in CodeWriter
75 CodeWriter(Appendable out, String indent, Set<String> staticImports, Set<String> alwaysQualify) { in CodeWriter() method in CodeWriter
79 CodeWriter(Appendable out, in CodeWriter() method in CodeWriter
/external/tflite-support/tensorflow_lite_support/codegen/
Dutils.cc49 CodeWriter::CodeWriter(ErrorReporter* err) : indent_(0), err_(err) {} in CodeWriter() function in tflite::support::codegen::CodeWriter