Home
last modified time | relevance | path

Searched refs:full_name (Results 1 – 25 of 156) sorted by relevance

1234567

/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pb2.py21 full_name='google.protobuf.FieldDescriptorProto.Type',
106 full_name='google.protobuf.FieldDescriptorProto.Label',
131 full_name='google.protobuf.FileOptions.OptimizeMode',
156 full_name='google.protobuf.FieldOptions.CType',
182 full_name='google.protobuf.FileDescriptorSet',
188 name='file', full_name='google.protobuf.FileDescriptorSet.file', index=0,
210 full_name='google.protobuf.FileDescriptorProto',
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='google.protobuf.FileDescriptorProto.dependency', index=2,
[all …]
Ddescriptor.py115 def __init__(self, options, options_class_name, name, full_name, argument
143 self.full_name = full_name
226 def __init__(self, name, full_name, filename, containing_type, fields, argument
237 options, 'MessageOptions', name, full_name, file,
428 def __init__(self, name, full_name, index, number, type, cpp_type, label, argument
441 self.full_name = full_name
457 self._cdescriptor = _message.GetExtensionDescriptor(full_name)
459 self._cdescriptor = cpp_message.GetExtensionDescriptor(full_name)
462 self._cdescriptor = _message.GetFieldDescriptor(full_name)
464 self._cdescriptor = cpp_message.GetFieldDescriptor(full_name)
[all …]
Ddescriptor_pool.py140 def FindMessageTypeByName(self, full_name): argument
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): argument
165 full_name = full_name.lstrip('.') # fix inconsistent qualified name formats
166 if full_name not in self._enum_descriptors:
167 self.FindFileContainingSymbol(full_name)
168 return self._enum_descriptors[full_name]
[all …]
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)
/external/protobuf/python/google/protobuf/
Dproto_builder.py44 def _GetMessageFromFactory(factory, full_name): argument
55 proto_descriptor = factory.pool.FindMessageTypeByName(full_name)
60 def MakeSimpleProtoClass(fields, full_name=None, pool=None): argument
76 if full_name is not None:
78 proto_cls = _GetMessageFromFactory(factory, full_name)
100 if full_name is None:
101 full_name = ('net.proto2.python.public.proto_builder.AnonymousProto_' +
104 proto_cls = _GetMessageFromFactory(factory, full_name)
112 _MakeFileDescriptorProto(proto_file_name, full_name, field_items))
113 return _GetMessageFromFactory(factory, full_name)
[all …]
Ddescriptor.py139 def __init__(self, options, options_class_name, name, full_name, argument
167 self.full_name = full_name
258 def __new__(cls, name, full_name, filename, containing_type, fields, argument
264 return _message.default_pool.FindMessageTypeByName(full_name)
269 def __init__(self, name, full_name, filename, containing_type, fields, argument
281 options, 'MessageOptions', name, full_name, file,
497 def __new__(cls, name, full_name, index, number, type, cpp_type, label, argument
503 return _message.default_pool.FindExtensionByName(full_name)
505 return _message.default_pool.FindFieldByName(full_name)
507 def __init__(self, name, full_name, index, number, type, cpp_type, label, argument
[all …]
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 not in self._classes:
[all …]
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): argument
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): argument
268 full_name = _NormalizeFullyQualifiedName(full_name)
269 if full_name not in self._enum_descriptors:
[all …]
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, name))
354 message.DESCRIPTOR.full_name, oneof_name))
377 sub_message.DESCRIPTOR.full_name != 'google.protobuf.Value'):
[all …]
/external/nanopb-c/generator/proto/
Dplugin_pb2.py20 full_name='google.protobuf.compiler.CodeGeneratorRequest',
26 …name='file_to_generate', full_name='google.protobuf.compiler.CodeGeneratorRequest.file_to_generate…
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',
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_p…
82 … name='content', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.content', index=2,
103 full_name='google.protobuf.compiler.CodeGeneratorResponse',
109 name='error', full_name='google.protobuf.compiler.CodeGeneratorResponse.error', index=0,
[all …]
Dnanopb_pb2.py17 full_name='FieldType',
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',
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='NanoPBOptions.long_names', index=3,
[all …]
/external/nanopb-c/generator/google/protobuf/compiler/
Dplugin_pb2.py24 full_name='google.protobuf.compiler.CodeGeneratorRequest',
30 …name='file_to_generate', full_name='google.protobuf.compiler.CodeGeneratorRequest.file_to_generate…
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',
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_p…
86 … name='content', full_name='google.protobuf.compiler.CodeGeneratorResponse.File.content', index=2,
107 full_name='google.protobuf.compiler.CodeGeneratorResponse',
113 name='error', full_name='google.protobuf.compiler.CodeGeneratorResponse.error', index=0,
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor.cc484 bool AddSymbol(const string& full_name, Symbol symbol);
885 result->full_name_ = tables->AllocateString(parent->full_name() + in FindEnumValueByNumberCreatingIfUnknown()
914 const string& full_name, Symbol symbol) { in AddSymbol() argument
915 if (InsertIfNotPresent(&symbols_by_name_, full_name.c_str(), symbol)) { in AddSymbol()
916 symbols_after_checkpoint_.push_back(full_name.c_str()); in AddSymbol()
1302 if (fallback_database_->FindAllExtensionNumbers(extendee->full_name(), in FindAllExtensions()
1657 containing_type->full_name(), field_number, &file_proto)) { in TryFindExtensionInFallbackDatabase()
1859 proto->mutable_extendee()->append(containing_type()->full_name()); in CopyTo()
1872 proto->mutable_type_name()->append(message_type()->full_name()); in CopyTo()
1877 proto->mutable_type_name()->append(enum_type()->full_name()); in CopyTo()
[all …]
Dany.cc42 return type_url_prefix + message->full_name(); in GetTypeUrl()
44 return type_url_prefix + "/" + message->full_name(); in GetTypeUrl()
80 string full_name; in InternalIs() local
81 if (!ParseAnyTypeUrl(type_url, &full_name)) { in InternalIs()
84 return full_name == descriptor->full_name(); in InternalIs()
101 if (descriptor->full_name() != kAnyFullTypeName) { in GetAnyFieldDescriptors()
/external/eigen/bench/tensors/
Dbenchmark_main.cc176 char full_name[100]; in RunWithArg() local
179 snprintf(full_name, sizeof(full_name), "%s/%dM", name_, arg/(1<<20)); in RunWithArg()
181 snprintf(full_name, sizeof(full_name), "%s/%dK", name_, arg/(1<<10)); in RunWithArg()
183 snprintf(full_name, sizeof(full_name), "%s/%d", name_, arg); in RunWithArg()
186 snprintf(full_name, sizeof(full_name), "%s", name_); in RunWithArg()
188 printf("%-*s %10d %10" PRId64 "%s\n", g_name_column_width, full_name, in RunWithArg()
/external/squashfs-tools/squashfs-tools/
Dandroid.c84 char* full_name = (char*) malloc(full_name_size); in set_selabel() local
85 if (full_name == NULL) { in set_selabel()
90 full_name[0] = '/'; in set_selabel()
91 strncpy(full_name + 1, path, full_name_size - 1); in set_selabel()
93 if (selabel_lookup(sehnd, &secontext, full_name, mode)) { in set_selabel()
97 free(full_name); in set_selabel()
Dunsquashfs_xattr.c66 int res = lsetxattr(pathname, xattr_list[i].full_name, in write_xattr()
84 xattr_list[i].full_name, in write_xattr()
108 xattr_list[i].full_name, in write_xattr()
119 "%s\n", xattr_list[i].full_name, in write_xattr()
133 xattr_list[i].full_name, pathname); in write_xattr()
Dxattr.c133 xattr->full_name = strdup(name); in get_prefix()
137 if(strncmp(xattr->full_name, p->prefix, strlen(p->prefix)) == 0) in get_prefix()
142 xattr->name = xattr->full_name + strlen(prefix_table[i].prefix); in get_prefix()
238 xattr_list[i].full_name); in read_xattrs_from_system()
239 free(xattr_list[i].full_name); in read_xattrs_from_system()
245 vsize = lgetxattr(filename, xattr_list[i].full_name, in read_xattrs_from_system()
252 free(xattr_list[i].full_name); in read_xattrs_from_system()
260 vsize = lgetxattr(filename, xattr_list[i].full_name, in read_xattrs_from_system()
272 free(xattr_list[i].full_name); in read_xattrs_from_system()
282 " vsize %d\n", filename, xattr_list[i].full_name, in read_xattrs_from_system()
[all …]
Dread_xattrs.c132 xattr->full_name = malloc(len + entry->size + 1); in read_xattr_entry()
133 if(xattr->full_name == NULL) in read_xattr_entry()
136 memcpy(xattr->full_name, prefix_table[i].prefix, len); in read_xattr_entry()
137 memcpy(xattr->full_name + len, name, entry->size); in read_xattr_entry()
138 xattr->full_name[len + entry->size] = '\0'; in read_xattr_entry()
139 xattr->name = xattr->full_name + len; in read_xattr_entry()
284 free(xattr_list[i].full_name); in free_xattr()
356 entry.type, entry.size, xattr_list[j].full_name); in get_xattr()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_name_resolver.cc54 string StripPackageName(const string& full_name, in StripPackageName() argument
57 return full_name; in StripPackageName()
60 return full_name.substr(file->package().size() + 1); in StripPackageName()
67 return StripPackageName(descriptor->full_name(), in ClassNameWithoutPackage()
87 string full_name = StripPackageName(descriptor->full_name(), in ClassNameWithoutPackage() local
90 GOOGLE_CHECK(full_name.find('.') == string::npos); in ClassNameWithoutPackage()
91 return full_name; in ClassNameWithoutPackage()
/external/autotest/client/
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/protobuf/python/google/protobuf/internal/
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',
Ddescriptor_pool_test.py119 msg1.full_name)
140 msg2.full_name)
350 unittest_pb2.TestAllTypes.DESCRIPTOR.full_name))
384 expected_enum_full_name = '.'.join([msg_desc.full_name, name])
385 test.assertEqual(expected_enum_full_name, enum_desc.full_name)
412 expected_full_name = '.'.join([containing_type_desc.full_name, name])
415 test.assertEqual(expected_full_name, desc.full_name)
440 expected_field_full_name = '.'.join([msg_desc.full_name, name])
441 test.assertEqual(expected_field_full_name, field_desc.full_name)
464 expected_field_full_name = '.'.join([msg_desc.full_name, name])
[all …]
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/v8/tools/
Dgenerate-builtins-tests.py47 def BuildTests(function, full_name, options): argument
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))

1234567