Searched refs:full_name (Results 1 - 25 of 152) sorted by relevance

1234567

/external/protobuf/python/google/protobuf/
H A Dproto_builder.py44 def _GetMessageFromFactory(factory, full_name):
49 full_name: str, the fully qualified name of the proto type.
51 A class, for the type identified by full_name.
55 proto_descriptor = factory.pool.FindMessageTypeByName(full_name)
60 def MakeSimpleProtoClass(fields, full_name=None, pool=None):
69 full_name: optional str, the fully-qualified name of the proto type.
76 if full_name is not None:
78 proto_cls = _GetMessageFromFactory(factory, full_name)
100 if full_name is None:
101 full_name
[all...]
H A Dmessage_factory.py69 if descriptor.full_name not in self._classes:
78 self._classes[descriptor.full_name] = result_class
83 if extension.containing_type.full_name not in self._classes:
85 extended_class = self._classes[extension.containing_type.full_name]
87 return self._classes[descriptor.full_name]
108 full_name = '.'.join([file_desc.package, name])
110 full_name = msg.name
111 result[full_name] = self.GetPrototype(
112 self.pool.FindMessageTypeByName(full_name))
124 if extension.containing_type.full_name no
[all...]
H A Ddescriptor.py139 def __init__(self, options, options_class_name, name, full_name,
150 full_name: (str) Fully-qualified name of this protocol message type,
165 # TODO(falk): Add function to calculate full_name instead of having it in
167 self.full_name = full_name
206 full_name: (str) Fully-qualified name of this protocol message type,
258 def __new__(cls, name, full_name, filename, containing_type, fields,
264 return _message.default_pool.FindMessageTypeByName(full_name)
269 def __init__(self, name, full_name, filename, containing_type, fields,
281 options, 'MessageOptions', name, full_name, fil
[all...]
H A Ddescriptor_pool.py147 self._descriptors[desc.full_name] = desc
162 self._enum_descriptors[enum_desc.full_name] = enum_desc
243 def FindMessageTypeByName(self, full_name):
247 full_name: The full name of the descriptor to load.
253 full_name = _NormalizeFullyQualifiedName(full_name)
254 if full_name not in self._descriptors:
255 self.FindFileContainingSymbol(full_name)
256 return self._descriptors[full_name]
258 def FindEnumTypeByName(self, full_name)
[all...]
H A Dsymbol_database.py93 self._symbols[desc.full_name] = message
96 self._symbols_by_file[desc.file.name][desc.full_name] = message
154 return self.GetSymbol(descriptor.full_name)
H A Djson_format.py100 full_name = message_descriptor.full_name
103 if full_name in _WKTJSONMETHODS:
104 return _WKTJSONMETHODS[full_name][0](
217 full_name = message_descriptor.full_name
221 if full_name in _WKTJSONMETHODS:
222 js['value'] = _WKTJSONMETHODS[full_name][0](sub_message, including_default)
342 message_descriptor.full_name, name))
346 message.DESCRIPTOR.full_name, nam
[all...]
/external/protobuf/src/google/protobuf/
H A Dany.cc42 return type_url_prefix + message->full_name();
44 return type_url_prefix + "/" + message->full_name();
80 string full_name; local
81 if (!ParseAnyTypeUrl(type_url, &full_name)) {
84 return full_name == descriptor->full_name();
101 if (descriptor->full_name() != kAnyFullTypeName) {
/external/squashfs-tools/squashfs-tools/
H A Dunsquashfs_xattr.c66 int res = lsetxattr(pathname, xattr_list[i].full_name,
84 xattr_list[i].full_name,
108 xattr_list[i].full_name,
119 "%s\n", xattr_list[i].full_name,
133 xattr_list[i].full_name, pathname);
H A Dandroid.c84 char* full_name = (char*) malloc(full_name_size); local
85 if (full_name == NULL) {
90 full_name[0] = '/';
91 strncpy(full_name + 1, path, full_name_size - 1);
93 if (selabel_lookup(sehnd, &secontext, full_name, mode)) {
97 free(full_name);
H A Dread_xattrs.c132 xattr->full_name = malloc(len + entry->size + 1);
133 if(xattr->full_name == NULL)
136 memcpy(xattr->full_name, prefix_table[i].prefix, len);
137 memcpy(xattr->full_name + len, name, entry->size);
138 xattr->full_name[len + entry->size] = '\0';
139 xattr->name = xattr->full_name + len;
284 free(xattr_list[i].full_name);
356 entry.type, entry.size, xattr_list[j].full_name);
/external/nanopb-c/generator/google/protobuf/compiler/
H A Dplugin_pb2.py24 full_name='google.protobuf.compiler.CodeGeneratorRequest', variable
30 name='file_to_generate', full_name='google.protobuf.compiler.CodeGeneratorRequest.file_to_generate', index=0,
37 name='parameter', full_name='google.protobuf.compiler.CodeGeneratorRequest.parameter', index=1,
44 name='proto_file', full_name='google.protobuf.compiler.CodeGeneratorRequest.proto_file', index=2,
66 full_name='google.protobuf.compiler.CodeGeneratorResponse.File', variable
72 name='name', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.name', index=0,
79 name='insertion_point', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point', index=1,
86 name='content', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.content', index=2,
107 full_name='google.protobuf.compiler.CodeGeneratorResponse', variable
113 name='error', full_name
[all...]
/external/nanopb-c/generator/proto/
H A Dnanopb_pb2.py17 full_name='FieldType', variable
57 name='nanopb_fileopt', full_name='nanopb_fileopt', index=0,
65 name='nanopb_msgopt', full_name='nanopb_msgopt', index=1,
73 name='nanopb_enumopt', full_name='nanopb_enumopt', index=2,
81 name='nanopb', full_name='nanopb', index=3,
91 full_name='NanoPBOptions', variable
97 name='max_size', full_name='NanoPBOptions.max_size', index=0,
104 name='max_count', full_name='NanoPBOptions.max_count', index=1,
111 name='type', full_name='NanoPBOptions.type', index=2,
118 name='long_names', full_name
[all...]
H A Dplugin_pb2.py20 full_name='google.protobuf.compiler.CodeGeneratorRequest', variable
26 name='file_to_generate', full_name='google.protobuf.compiler.CodeGeneratorRequest.file_to_generate', index=0,
33 name='parameter', full_name='google.protobuf.compiler.CodeGeneratorRequest.parameter', index=1,
40 name='proto_file', full_name='google.protobuf.compiler.CodeGeneratorRequest.proto_file', index=2,
62 full_name='google.protobuf.compiler.CodeGeneratorResponse.File', variable
68 name='name', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.name', index=0,
75 name='insertion_point', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.insertion_point', index=1,
82 name='content', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.content', index=2,
103 full_name='google.protobuf.compiler.CodeGeneratorResponse', variable
109 name='error', full_name
[all...]
/external/nanopb-c/generator/google/protobuf/
H A Dmessage_factory.py61 if descriptor.full_name not in self._classes:
66 self._classes[descriptor.full_name] = result_class
70 return self._classes[descriptor.full_name]
94 result[desc.full_name] = _FACTORY.GetPrototype(desc)
H A Ddescriptor_pb2.py21 full_name='google.protobuf.FieldDescriptorProto.Type', variable
106 full_name='google.protobuf.FieldDescriptorProto.Label', variable
131 full_name='google.protobuf.FileOptions.OptimizeMode', variable
156 full_name='google.protobuf.FieldOptions.CType', variable
182 full_name='google.protobuf.FileDescriptorSet', variable
188 name='file', full_name='google.protobuf.FileDescriptorSet.file', index=0,
210 full_name='google.protobuf.FileDescriptorProto', variable
216 name='name', full_name='google.protobuf.FileDescriptorProto.name', index=0,
223 name='package', full_name='google.protobuf.FileDescriptorProto.package', index=1,
230 name='dependency', full_name
308 full_name='google.protobuf.DescriptorProto.ExtensionRange', variable
342 full_name='google.protobuf.DescriptorProto', variable
412 full_name='google.protobuf.FieldDescriptorProto', variable
491 full_name='google.protobuf.EnumDescriptorProto', variable
533 full_name='google.protobuf.EnumValueDescriptorProto', variable
575 full_name='google.protobuf.ServiceDescriptorProto', variable
617 full_name='google.protobuf.MethodDescriptorProto', variable
666 full_name='google.protobuf.FileOptions', variable
758 full_name='google.protobuf.MessageOptions', variable
800 full_name='google.protobuf.FieldOptions', variable
871 full_name='google.protobuf.EnumOptions', variable
906 full_name='google.protobuf.EnumValueOptions', variable
934 full_name='google.protobuf.ServiceOptions', variable
962 full_name='google.protobuf.MethodOptions', variable
990 full_name='google.protobuf.UninterpretedOption.NamePart', variable
1024 full_name='google.protobuf.UninterpretedOption', variable
1094 full_name='google.protobuf.SourceCodeInfo.Location', variable
1142 full_name='google.protobuf.SourceCodeInfo', variable
[all...]
H A Ddescriptor.py115 def __init__(self, options, options_class_name, name, full_name,
126 full_name: (str) Fully-qualified name of this protocol message type,
141 # TODO(falk): Add function to calculate full_name instead of having it in
143 self.full_name = full_name
182 full_name: (str) Fully-qualified name of this protocol message type,
226 def __init__(self, name, full_name, filename, containing_type, fields,
237 options, 'MessageOptions', name, full_name, file,
318 full_name: (str) Name of this field, including containing scope. This is
428 def __init__(self, name, full_name, inde
[all...]
H A Ddescriptor_pool.py140 def FindMessageTypeByName(self, full_name):
144 full_name: The full name of the descriptor to load.
150 full_name = full_name.lstrip('.') # fix inconsistent qualified name formats
151 if full_name not in self._descriptors:
152 self.FindFileContainingSymbol(full_name)
153 return self._descriptors[full_name]
155 def FindEnumTypeByName(self, full_name):
159 full_name: The full name of the enum descriptor to load.
165 full_name
[all...]
/external/protobuf/python/google/protobuf/internal/
H A Dproto_builder_test.py63 full_name='net.proto2.python.public.proto_builder_test.Test')
74 full_name='net.proto2.python.public.proto_builder_test.OrderedTest')
86 full_name='net.proto2.python.public.proto_builder_test.Test',
90 full_name='net.proto2.python.public.proto_builder_test.Test',
H A Dsymbol_database_test.py94 'protobuf_unittest.ForeignEnum').full_name)
98 'protobuf_unittest.TestAllTypes.NestedEnum').full_name)
104 'protobuf_unittest.TestAllTypes').full_name)
108 'protobuf_unittest.TestAllTypes.NestedMessage').full_name)
/external/eigen/bench/tensors/
H A Dbenchmark_main.cc176 char full_name[100]; local
179 snprintf(full_name, sizeof(full_name), "%s/%dM", name_, arg/(1<<20));
181 snprintf(full_name, sizeof(full_name), "%s/%dK", name_, arg/(1<<10));
183 snprintf(full_name, sizeof(full_name), "%s/%d", name_, arg);
186 snprintf(full_name, sizeof(full_name), "%s", name_);
188 printf("%-*s %10d %10" PRId64 "%s\n", g_name_column_width, full_name,
[all...]
/external/autotest/client/
H A Dsetup_modules.py45 full_name = os.path.join(path, filename)
46 if not os.path.isdir(full_name):
50 if not os.access(full_name, os.R_OK | os.X_OK):
52 if "__init__.py" in os.listdir(full_name):
61 full_name = parent_module_name + "." + name
62 sys.modules[full_name] = module
/external/libtextclassifier/common/
H A Dembedding-feature-extractor.h83 std::string full_name = ArgPrefix(); local
84 full_name.push_back('_');
85 full_name.append(param_name);
86 return full_name;
/external/toybox/toys/other/
H A Dmodinfo.c38 static void modinfo_file(char *full_name) argument
47 if (-1 != (fd = open(full_name, O_RDONLY))) {
54 perror_msg_raw(full_name);
58 output_field("filename", full_name);
/external/protobuf/src/google/protobuf/compiler/java/
H A Djava_name_resolver.cc54 string StripPackageName(const string& full_name, argument
57 return full_name;
60 return full_name.substr(file->package().size() + 1);
67 return StripPackageName(descriptor->full_name(),
87 string full_name = StripPackageName(descriptor->full_name(), local
90 GOOGLE_CHECK(full_name.find('.') == string::npos);
91 return full_name;
/external/v8/tools/
H A Dgenerate-builtins-tests.py47 def BuildTests(function, full_name, options):
54 TryCatch(result, "%s(%s);" % (full_name, GetVars(result, length)))
60 "var recv = new %s(%s);" % (full_name, GetVars(result, length)),
87 call = "%s.prototype.%s.call(%s)" % (full_name, method["name"], args)
90 filename = os.path.join(options.outdir, "%s.js" % (full_name))

Completed in 685 milliseconds

1234567