Lines Matching refs:CodeWriter
22 use crate::gen::code_writer::CodeWriter;
486 pub(crate) fn write_clear(&self, w: &mut CodeWriter) { in write_clear() argument
513 w: &mut CodeWriter, in write_write_element() argument
571 pub(crate) fn write_struct_field(&self, w: &mut CodeWriter) { in write_struct_field() argument
594 fn write_if_let_self_field_is_some<F>(&self, s: &SingularField, w: &mut CodeWriter, cb: F) in write_if_let_self_field_is_some() argument
596 F: Fn(&RustValueTyped, &mut CodeWriter), in write_if_let_self_field_is_some() argument
683 pub(crate) fn write_if_self_field_is_none<F>(&self, w: &mut CodeWriter, cb: F) in write_if_self_field_is_none() argument
685 F: Fn(&mut CodeWriter), in write_if_self_field_is_none() argument
692 pub(crate) fn write_for_self_field<F>(&self, w: &mut CodeWriter, varn: &str, cb: F) in write_for_self_field() argument
694 F: Fn(&mut CodeWriter, &RustType), in write_for_self_field() argument
723 fn write_self_field_assign(&self, w: &mut CodeWriter, value: &str) { in write_self_field_assign() argument
728 fn write_self_field_assign_some(&self, w: &mut CodeWriter, s: &SingularField, value: &str) { in write_self_field_assign_some() argument
747 w: &mut CodeWriter, in write_self_field_assign_value_singular() argument
772 fn write_self_field_assign_value(&self, w: &mut CodeWriter, value: &RustValueTyped) { in write_self_field_assign_value() argument
797 w: &mut CodeWriter, in write_self_field_assign_default() argument
896 w: &mut CodeWriter, in write_merge_from_field_message_string_bytes_repeated() argument
922 fn write_merge_from_oneof_case_block(&self, o: &OneofField, w: &mut CodeWriter) { in write_merge_from_oneof_case_block() argument
954 fn write_merge_from_map_case_block(&self, map: &MapField, w: &mut CodeWriter) { in write_merge_from_map_case_block() argument
995 fn write_merge_from_singular_case_block(&self, s: &SingularField, w: &mut CodeWriter) { in write_merge_from_singular_case_block() argument
1012 fn write_merge_from_repeated_case_block(&self, w: &mut CodeWriter) { in write_merge_from_repeated_case_block() argument
1071 pub(crate) fn write_merge_from_field_case_block(&self, w: &mut CodeWriter) { in write_merge_from_field_case_block() argument
1083 w: &mut CodeWriter, in write_element_size() argument
1104 w: &mut CodeWriter, in write_write_map_field() argument
1134 pub(crate) fn write_message_write_field(&self, os: &str, w: &mut CodeWriter) { in write_message_write_field() argument
1173 w: &mut CodeWriter, in for_each_map_entry() argument
1174 cb: impl FnOnce(&RustValueTyped, &RustValueTyped, &mut CodeWriter), in for_each_map_entry() argument
1196 w: &mut CodeWriter, in write_compute_map_field_size() argument
1209 pub(crate) fn write_message_compute_field_size(&self, sum_var: &str, w: &mut CodeWriter) { in write_message_compute_field_size() argument
1258 fn write_message_field_get_singular_message(&self, s: &SingularField, w: &mut CodeWriter) { in write_message_field_get_singular_message() argument
1286 w: &mut CodeWriter, in write_message_field_get_singular_enum() argument
1302 fn write_message_field_get_singular(&self, singular: &SingularField, w: &mut CodeWriter) { in write_message_field_get_singular() argument
1362 fn write_message_field_get_oneof(&self, o: &OneofField, w: &mut CodeWriter) { in write_message_field_get_oneof() argument
1408 fn write_message_field_get(&self, w: &mut CodeWriter) { in write_message_field_get() argument
1473 fn write_message_field_has(&self, w: &mut CodeWriter) { in write_message_field_has() argument
1499 fn write_message_field_set(&self, w: &mut CodeWriter) { in write_message_field_set() argument
1551 w: &mut CodeWriter, in write_message_field_mut_singular_with_flag() argument
1570 fn write_message_field_mut_singular(&self, s: &SingularField, w: &mut CodeWriter) { in write_message_field_mut_singular() argument
1583 fn write_message_field_mut(&self, w: &mut CodeWriter) { in write_message_field_mut() argument
1663 fn write_message_field_take_oneof(&self, o: &OneofField, w: &mut CodeWriter) { in write_message_field_take_oneof() argument
1725 fn write_message_field_take_singular(&self, s: &SingularField, w: &mut CodeWriter) { in write_message_field_take_singular() argument
1772 fn write_message_field_take(&self, w: &mut CodeWriter) { in write_message_field_take() argument
1801 pub(crate) fn write_message_single_field_accessors(&self, w: &mut CodeWriter) { in write_message_single_field_accessors() argument