Home
last modified time | relevance | path

Searched refs:to_code (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/protobuf-codegen/src/
Drust_types_values.rs54 pub(crate) fn to_code(&self, customize: &Customize) -> String { in to_code() method
60 RustType::Vec(ref param) => format!("::std::vec::Vec<{}>", param.to_code(customize)), in to_code()
63 key.to_code(customize), in to_code()
64 value.to_code(customize) in to_code()
67 RustType::Slice(ref param) => format!("[{}]", param.to_code(customize)), in to_code()
70 format!("::std::option::Option<{}>", param.to_code(customize)) in to_code()
75 param.to_code(customize) in to_code()
80 param.to_code(customize) in to_code()
85 param.to_code(customize) in to_code()
87 RustType::Uniq(ref param) => format!("::std::boxed::Box<{}>", param.to_code(customize)), in to_code()
[all …]
Doneof.rs104 oneof.type_name.to_code(&field.customize), in parse()
188 w.pub_enum(&self.type_name.to_code(&self.customize), |w| { in write_enum()
193 &variant.rust_type().to_code(&self.customize) in write_enum()
Dmessage.rs535 &field.full_storage_type().to_code(&self.customize), in write_struct()
550 &oneof.full_storage_type().to_code(&self.customize), in write_struct()
/external/libfuse/lib/modules/
Diconv.c26 char *to_code; member
588 free(ic->to_code); in iconv_destroy()
635 { "to_code=%s", offsetof(struct iconv, to_code), 1 },
694 to = ic->to_code ? ic->to_code : ""; in iconv_new()
728 free(ic->to_code); in iconv_new()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.autograph.pbtxt12 name: "to_code"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.autograph.pbtxt12 name: "to_code"
/external/tensorflow/tensorflow/python/autograph/
D__init__.py46 from tensorflow.python.autograph.impl.api import to_code
/external/rust/crates/protobuf-codegen/src/field/
Dmod.rs587 self.oneof().oneof_type_name.to_code(&self.customize), in variant_path()
897 t if t.is_primitive() => t.to_code(&self.customize), in accessor_fn()
1161 oneof_type_name.to_code(&self.customize), in write_for_self_field()
1720 get_xxx_return_type.to_code(&self.customize) in write_message_field_get()
1814 set_xxx_param_type.to_code(&self.customize) in write_message_field_set()
1847 param.to_code(&self.customize) in write_message_field_mut()
1851 mut_xxx_return_type.to_code(&self.customize) in write_message_field_mut()
1948 take_xxx_return_type.to_code(&self.customize) in write_message_field_take()
/external/tensorflow/tensorflow/python/autograph/g3doc/reference/
Dgenerated_code.md68 `tf.autograph.to_code` is a shortcut to obtain the generated code, and it's
/external/tensorflow/tensorflow/python/autograph/impl/
Dapi.py900 return to_code(
907 def to_code(entity, recursive=True, experimental_optional_features=None): function
Dapi_test.py1107 self.assertIsNotNone(parser.parse(api.to_code(test_fn)))
1118 api.to_code(test_fn)