Home
last modified time | relevance | path

Searched refs:Descriptor (Results 1 – 25 of 211) sorted by relevance

123456789

/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.h46 class Descriptor; variable
77 void PrintNestedEnums(const Descriptor& descriptor) const;
85 const Descriptor& message_descriptor,
88 int (Descriptor::*CountFn)() const,
89 const FieldDescriptor* (Descriptor::*GetterFn)(int) const) const;
90 void PrintFieldsInDescriptor(const Descriptor& message_descriptor) const;
91 void PrintExtensionsInDescriptor(const Descriptor& message_descriptor) const;
93 void PrintDescriptor(const Descriptor& message_descriptor) const;
94 void PrintNestedDescriptors(const Descriptor& containing_descriptor) const;
97 void PrintMessage(const Descriptor& message_descriptor, const string& prefix,
[all …]
Dpython_generator.cc98 for (const Descriptor* current = descriptor.containing_type(); in NamePrefixedWithNestedTypes()
441 void Generator::PrintNestedEnums(const Descriptor& descriptor) const { in PrintNestedEnums()
583 void Generator::PrintDescriptor(const Descriptor& message_descriptor) const { in PrintDescriptor()
638 const Descriptor::ExtensionRange* range = in PrintDescriptor()
674 const Descriptor& containing_descriptor) const { in PrintNestedDescriptors()
701 void Generator::PrintMessage(const Descriptor& message_descriptor, in PrintMessage()
727 void Generator::PrintNestedMessages(const Descriptor& containing_descriptor, in PrintNestedMessages()
745 const Descriptor& descriptor, in FixForeignFieldsInDescriptor()
746 const Descriptor* containing_descriptor) const { in FixForeignFieldsInDescriptor()
780 void Generator::AddMessageToFileDescriptor(const Descriptor& descriptor) const { in AddMessageToFileDescriptor()
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor.h67 class Descriptor; variable
126 class LIBPROTOBUF_EXPORT Descriptor {
147 const Descriptor* containing_type() const;
212 const Descriptor* nested_type(int index) const;
216 const Descriptor* FindNestedTypeByName(const string& name) const;
295 const Descriptor* containing_type_;
308 Descriptor* nested_types_;
320 Descriptor() {} in Descriptor() function
327 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Descriptor);
493 const Descriptor* containing_type() const;
[all …]
Ddynamic_message.h50 class Descriptor; // descriptor.h variable
114 const Message* GetPrototype(const Descriptor* type);
130 const Message* GetPrototypeNoLock(const Descriptor* type);
134 static void ConstructDefaultOneofInstance(const Descriptor* type,
138 static void DeleteDefaultOneofInstance(const Descriptor* type,
Ddynamic_message_unittest.cc60 const Descriptor* descriptor_;
62 const Descriptor* extensions_descriptor_;
64 const Descriptor* packed_descriptor_;
66 const Descriptor* oneof_descriptor_;
111 TEST_F(DynamicMessageTest, Descriptor) { in TEST_F() argument
162 const Descriptor* descriptor = message->GetDescriptor(); in TEST_F()
176 const Descriptor* nested_descriptor; in TEST_F()
184 const Descriptor* foogroup_descriptor; in TEST_F()
Dmessage.cc63 const Descriptor* descriptor = GetDescriptor(); in MergeFrom()
76 const Descriptor* descriptor = GetDescriptor(); in CopyFrom()
241 void RegisterType(const Descriptor* descriptor, const Message* prototype);
244 const Message* GetPrototype(const Descriptor* type);
253 hash_map<const Descriptor*, const Message*> type_map_;
284 void GeneratedMessageFactory::RegisterType(const Descriptor* descriptor, in RegisterType()
300 const Message* GeneratedMessageFactory::GetPrototype(const Descriptor* type) { in GetPrototype()
352 const Descriptor* descriptor, const Message* prototype) { in InternalRegisterGeneratedMessage()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.h67 string UniqueFileScopeIdentifier(const Descriptor* descriptor);
96 string ClassName(const Descriptor* descriptor);
103 string ExtraMessageInterfaces(const Descriptor* descriptor);
107 string ExtraMutableMessageInterfaces(const Descriptor* descriptor);
110 string ExtraBuilderInterfaces(const Descriptor* descriptor);
114 string ExtraMessageOrBuilderInterfaces(const Descriptor* descriptor);
118 inline string ShortMutableJavaClassName(const Descriptor* descriptor) { in ShortMutableJavaClassName()
173 inline bool UseUnknownFieldSet(const Descriptor* descriptor) { in UseUnknownFieldSet()
180 inline bool HasGeneratedMethods(const Descriptor* descriptor) { in HasGeneratedMethods()
186 inline bool HasEqualsAndHashCode(const Descriptor* descriptor) { in HasEqualsAndHashCode()
[all …]
Djava_helpers.cc151 string UniqueFileScopeIdentifier(const Descriptor* descriptor) { in UniqueFileScopeIdentifier()
214 string ClassName(const Descriptor* descriptor) { in ClassName()
234 string ExtraMessageInterfaces(const Descriptor* descriptor) { in ExtraMessageInterfaces()
241 string ExtraBuilderInterfaces(const Descriptor* descriptor) { in ExtraBuilderInterfaces()
247 string ExtraMessageOrBuilderInterfaces(const Descriptor* descriptor) { in ExtraMessageOrBuilderInterfaces()
667 const FieldDescriptor** SortFieldsByNumber(const Descriptor* descriptor) { in SortFieldsByNumber()
684 const Descriptor* type, in HasRequiredFields()
685 hash_set<const Descriptor*>* already_seen) { in HasRequiredFields()
719 bool HasRequiredFields(const Descriptor* type) { in HasRequiredFields()
720 hash_set<const Descriptor*> already_seen; in HasRequiredFields()
[all …]
Djava_message.h61 explicit MessageGenerator(const Descriptor* descriptor);
84 const Descriptor* descriptor_;
92 explicit ImmutableMessageGenerator(const Descriptor* descriptor,
116 io::Printer* printer, const Descriptor::ExtensionRange* range);
Djava_generator_factory.h41 class Descriptor; // descriptor.h variable
63 const Descriptor* descriptor) const = 0;
82 const Descriptor* descriptor) const;
/external/protobuf/java/src/main/java/com/google/protobuf/
DDescriptors.java97 public List<Descriptor> getMessageTypes() { in getMessageTypes()
132 public Descriptor findMessageTypeByName(String name) { in findMessageTypeByName()
142 if (result != null && result instanceof Descriptor && in findMessageTypeByName()
144 return (Descriptor)result; in findMessageTypeByName()
409 private final Descriptor[] messageTypes;
454 messageTypes = new Descriptor[proto.getMessageTypeCount()]; in FileDescriptor()
457 new Descriptor(proto.getMessageType(i), this, null, i); in FileDescriptor()
480 FileDescriptor(String packageName, Descriptor message) in FileDescriptor()
489 messageTypes = new Descriptor[] {message}; in FileDescriptor()
500 for (final Descriptor messageType : messageTypes) { in crossLink()
[all …]
DDynamicMessage.java33 import com.google.protobuf.Descriptors.Descriptor;
51 private final Descriptor type;
66 DynamicMessage(Descriptor type, FieldSet<FieldDescriptor> fields, in DynamicMessage()
79 public static DynamicMessage getDefaultInstance(Descriptor type) { in getDefaultInstance()
89 public static DynamicMessage parseFrom(Descriptor type, in parseFrom()
97 Descriptor type, in parseFrom()
105 public static DynamicMessage parseFrom(Descriptor type, ByteString data) in parseFrom()
111 public static DynamicMessage parseFrom(Descriptor type, ByteString data, in parseFrom()
118 public static DynamicMessage parseFrom(Descriptor type, byte[] data) in parseFrom()
124 public static DynamicMessage parseFrom(Descriptor type, byte[] data, in parseFrom()
[all …]
DExtensionRegistry.java33 import com.google.protobuf.Descriptors.Descriptor;
172 final Descriptor containingType, final int fieldNumber) { in findExtensionByNumber()
183 final Descriptor containingType, final int fieldNumber) { in findImmutableExtensionByNumber()
195 final Descriptor containingType, final int fieldNumber) { in findMutableExtensionByNumber()
371 private final Descriptor descriptor;
374 DescriptorIntPair(final Descriptor descriptor, final int number) { in DescriptorIntPair()
/external/v8/src/
Dproperty.h24 class Descriptor BASE_EMBEDDED {
45 Descriptor() : details_(Smi::FromInt(0)) {} in Descriptor() function
53 Descriptor(Handle<Name> key, Handle<Object> value, PropertyDetails details) in Descriptor() function
58 Descriptor(Handle<Name> key,
73 OStream& operator<<(OStream& os, const Descriptor& d);
76 class FieldDescriptor FINAL : public Descriptor {
82 : Descriptor(key, HeapType::Any(key->GetIsolate()), attributes, in FieldDescriptor()
89 : Descriptor(key, field_type, attributes, FIELD, in FieldDescriptor()
94 class ConstantDescriptor FINAL : public Descriptor {
99 : Descriptor(key, value, attributes, CONSTANT, in ConstantDescriptor()
[all …]
/external/protobuf/java/src/test/java/com/google/protobuf/
DTestBadIdentifiers.java53 String descriptorField = TestBadIdentifiersProto.Descriptor in testGetDescriptor()
55 Descriptors.Descriptor protoDescriptor = TestBadIdentifiersProto.Descriptor in testGetDescriptor()
57 String nestedDescriptorField = TestBadIdentifiersProto.Descriptor in testGetDescriptor()
59 Descriptors.Descriptor nestedProtoDescriptor = TestBadIdentifiersProto in testGetDescriptor()
60 .Descriptor.NestedDescriptor.getDefaultInstance() in testGetDescriptor()
/external/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFDebugArangeSet.h30 struct Descriptor struct
42 void AddDescriptor(const DWARFDebugArangeSet::Descriptor& range); argument
51 const Descriptor* GetDescriptor(uint32_t i) const in GetDescriptor()
58 const Descriptor &
66 typedef std::vector<Descriptor> DescriptorColl;
DDWARFDebugPubnamesSet.h40 struct Descriptor struct
42 Descriptor() : in Descriptor() function
48 Descriptor(dw_offset_t the_offset, const char *the_name) : in Descriptor() function
64 const DWARFDebugPubnamesSet::Descriptor* GetDescriptor(uint32_t i) const in GetDescriptor() argument
83 typedef std::vector<Descriptor> DescriptorColl;
/external/jetty/src/java/org/eclipse/jetty/webapp/
DIterativeDescriptorProcessor.java35 …public static final Class<?>[] __signature = new Class[]{WebAppContext.class, Descriptor.class, Xm…
37 public abstract void start(WebAppContext context, Descriptor descriptor); in start()
38 public abstract void end(WebAppContext context, Descriptor descriptor); in end()
56 public void process(WebAppContext context, Descriptor descriptor) in process()
79 protected void visit (WebAppContext context, Descriptor descriptor, XmlParser.Node node) in visit()
/external/javassist/src/main/javassist/
DCtField.java60 this(Descriptor.of(type), name, declaring); in CtField()
346 return Descriptor.toCtClass(fieldInfo.getDescriptor(), in getType()
355 fieldInfo.setDescriptor(Descriptor.of(clazz)); in setType()
836 code.addPutfield(Bytecode.THIS, name, Descriptor.of(type)); in compile()
849 code.addPutstatic(Bytecode.THIS, name, Descriptor.of(type)); in compileIfStatic()
937 code.addPutfield(Bytecode.THIS, name, Descriptor.of(type)); in compile()
1015 code.addPutfield(Bytecode.THIS, name, Descriptor.of(type)); in compile()
1055 code.addPutstatic(Bytecode.THIS, name, Descriptor.of(type)); in compileIfStatic()
1108 String typeDesc = Descriptor.of(type); in compile()
1147 String typeDesc = Descriptor.of(type); in compileIfStatic()
[all …]
/external/javassist/src/main/javassist/compiler/
DAccessorMaker.java47 consDesc = Descriptor.appendParameter(lastParamType, desc); in getConstructor()
60 CtClass[] params = Descriptor.getParameterTypes(desc, pool); in getConstructor()
119 CtClass[] params = Descriptor.getParameterTypes(accDesc, pool); in getMethodAccessor()
131 code.addReturn(Descriptor.getReturnType(desc, pool)); in getMethodAccessor()
168 accDesc = "(" + Descriptor.of(clazz) + ")" + fieldType; in getFieldGetter()
183 code.addReturn(Descriptor.toCtClass(fieldType, pool)); in getFieldGetter()
219 accDesc = "(" + Descriptor.of(clazz) + fieldType + ")V"; in getFieldSetter()
227 reg = code.addLoad(0, Descriptor.toCtClass(fieldType, pool)); in getFieldSetter()
232 reg = code.addLoad(1, Descriptor.toCtClass(fieldType, pool)) in getFieldSetter()
/external/llvm/lib/Transforms/Utils/
DSymbolRewriter.cpp266 for (auto &Descriptor : *DescriptorList) in parse()
267 if (!parseEntry(YS, Descriptor, DL)) in parse()
307 yaml::MappingNode *Descriptor, in parseRewriteFunctionDescriptor() argument
314 for (auto &Field : *Descriptor) { in parseRewriteFunctionDescriptor()
358 YS.printError(Descriptor, in parseRewriteFunctionDescriptor()
375 yaml::MappingNode *Descriptor, in parseRewriteGlobalVariableDescriptor() argument
381 for (auto &Field : *Descriptor) { in parseRewriteGlobalVariableDescriptor()
420 YS.printError(Descriptor, in parseRewriteGlobalVariableDescriptor()
437 yaml::MappingNode *Descriptor, in parseRewriteGlobalAliasDescriptor() argument
443 for (auto &Field : *Descriptor) { in parseRewriteGlobalAliasDescriptor()
[all …]
/external/llvm/lib/MC/
DMCSectionMachO.cpp214 [&](decltype(*SectionTypeDescriptors) &Descriptor) { in ParseSectionSpecifier() argument
215 return Descriptor.AssemblerName && in ParseSectionSpecifier()
216 SectionType == Descriptor.AssemblerName; in ParseSectionSpecifier()
243 [&](decltype(*SectionAttrDescriptors) &Descriptor) { in ParseSectionSpecifier() argument
244 return Descriptor.AssemblerName && in ParseSectionSpecifier()
245 SectionAttr.trim() == Descriptor.AssemblerName; in ParseSectionSpecifier()
/external/libcxxabi/src/Unwind/
DUnwind-EHABI.cpp50 struct Descriptor { struct
74 Descriptor::Format format, in ProcessDescriptors()
94 case Descriptor::LU32: in ProcessDescriptors()
97 case Descriptor::LU16: in ProcessDescriptors()
106 Descriptor::Kind kind = in ProcessDescriptors()
107 static_cast<Descriptor::Kind>((length & 0x1) | ((offset & 0x1) << 1)); in ProcessDescriptors()
118 case Descriptor::CLEANUP: { in ProcessDescriptors()
122 case Descriptor::FUNC: { in ProcessDescriptors()
126 case Descriptor::CATCH: { in ProcessDescriptors()
170 Descriptor::Format format = in unwindOneFrame()
[all …]
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_message.cc73 const FieldDescriptor** SortFieldsByNumber(const Descriptor* descriptor) { in SortFieldsByNumber()
87 string UniqueFileScopeIdentifier(const Descriptor* descriptor) { in UniqueFileScopeIdentifier()
97 const Descriptor* type, in HasRequiredFields()
98 hash_set<const Descriptor*>* already_seen) { in HasRequiredFields()
132 static bool HasRequiredFields(const Descriptor* type) { in HasRequiredFields()
133 hash_set<const Descriptor*> already_seen; in HasRequiredFields()
141 MessageGenerator::MessageGenerator(const Descriptor* descriptor, const Params& params) in MessageGenerator()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.h66 string ClassName(const Descriptor* descriptor, bool qualified);
69 string SuperClassName(const Descriptor* descriptor);
83 inline const Descriptor* FieldScope(const FieldDescriptor* field) { in FieldScope()
134 string SafeFunctionName(const Descriptor* descriptor,

123456789