Home
last modified time | relevance | path

Searched refs:root_scope (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/protobuf-codegen/src/
Dextensions.rs12 root_scope: &'a RootScope<'a>, field
23 self.root_scope, in extendee_rust_name()
44 self.root_scope, in return_type_gen()
89 root_scope: &RootScope, in write_extensions()
108 root_scope: root_scope, in write_extensions()
Doneof.rs33 fn need_boxed(field: &FieldWithContext, root_scope: &RootScope, owner_name: &str) -> bool { in need_boxed()
45 let message = root_scope.find_message(&message_name); in need_boxed()
56 root_scope: &RootScope, in parse()
58 let boxed = OneofField::need_boxed(field, root_scope, &oneof.message.name_absolute().path); in parse()
110 oneof.message.root_scope, in parse()
169 self.message.root_scope, in variants_except_group()
Dlib.rs174 root_scope: &RootScope, in gen_file()
214 MessageGen::new(message, &root_scope, &customize).write(&mut w); in gen_file()
219 EnumGen::new(enum_type, file, &customize, root_scope).write(&mut w); in gen_file()
222 write_extensions(file, &root_scope, &mut w, &customize); in gen_file()
263 let root_scope = RootScope { in gen() localVariable
281 let gen_file_result = gen_file(file, &files_map, &root_scope, customize); in gen()
Dmessage.rs44 pub root_scope: &'a RootScope<'a>, field
54 root_scope: &'a RootScope<'a>, in new()
65 .map(|field| FieldGen::parse(field, root_scope, &customize)) in new()
76 root_scope, in new()
615 MessageGen::new(nested, self.root_scope, &self.customize).write(w); in write()
622 EnumGen::new(enum_type, current_file, &self.customize, self.root_scope).write(w); in write()
Denums.rs67 root_scope: &RootScope, in new()
79 root_scope, in new()
Drust_types_values.rs504 root_scope: &RootScope, in type_name_to_rust_relative()
507 let message_or_enum = root_scope.find_message_or_enum(type_name); in type_name_to_rust_relative()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dscoped_allocator_optimizer_test.cc212 Scope root_scope = Scope::NewRootScope(); in BuildGraphWithMultipleScopes() local
213 root_scope = in BuildGraphWithMultipleScopes()
214 root_scope.WithDevice("/job:localhost/replica:0/task:0/device:CPU:0"); in BuildGraphWithMultipleScopes()
216 Output a = ops::Const<float>(root_scope.WithOpName("a"), in BuildGraphWithMultipleScopes()
218 Output b = ops::Const<float>(root_scope.WithOpName("b"), in BuildGraphWithMultipleScopes()
220 Output c = ops::Const<float>(root_scope.WithOpName("c"), in BuildGraphWithMultipleScopes()
224 Output s1 = ops::Add(root_scope.WithOpName("s1"), a, b); in BuildGraphWithMultipleScopes()
225 Output s2 = ops::Add(root_scope.WithOpName("s2"), b, c); in BuildGraphWithMultipleScopes()
226 Output a1 = ops::Abs(root_scope.WithOpName("a1"), s1); in BuildGraphWithMultipleScopes()
227 Output a2 = ops::Abs(root_scope.WithOpName("a2"), s2); in BuildGraphWithMultipleScopes()
[all …]
/external/rust/crates/grpcio-compiler/src/
Dcodegen.rs183 root_scope: &'a RootScope<'a>, field
191 root_scope: &'a RootScope<'a>, in new()
197 root_scope, in new()
204 self.root_scope in input()
213 self.root_scope in output()
546 root_scope: &'a RootScope, in new()
561 root_scope, in new()
655 root_scope: &RootScope, in gen_file()
670 ServiceGen::new(service, file, root_scope).write(&mut w); in gen_file()
687 let root_scope = RootScope { file_descriptors }; in gen() localVariable
[all …]
/external/rust/crates/protobuf-codegen/src/field/
Dmod.rs305 root_scope: &'a RootScope<'a>, in field_elem()
312 let message_or_enum = root_scope in field_elem()
324 root_scope, in field_elem()
336 field_elem(&key, root_scope, false, customize).0, in field_elem()
337 field_elem(&value, root_scope, false, customize).0, in field_elem()
360 root_scope, in field_elem()
431 root_scope: &'a RootScope<'a>, field
448 root_scope: &'a RootScope<'a>, in parse()
456 let (elem, enum_default_value) = field_elem(&field, root_scope, true, &customize); in parse()
487 FieldKind::Oneof(OneofField::parse(&oneof, &field, elem, root_scope)) in parse()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariable_scope_test.py1060 root_scope = variable_scope.get_variable_scope()
1062 root_scope, auxiliary_name_scope=False) as scope:
1069 root_scope, auxiliary_name_scope=False) as inner: