Searched refs:descriptor (Results 26 - 50 of 740) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_field.cc41 #include <google/protobuf/descriptor.pb.h>
54 void SetCommonFieldVariables(const FieldDescriptor* descriptor, argument
57 (*variables)["name"] = FieldName(descriptor);
58 (*variables)["index"] = SimpleItoa(descriptor->index());
59 (*variables)["number"] = SimpleItoa(descriptor->number());
60 (*variables)["classname"] = ClassName(FieldScope(descriptor), false);
61 (*variables)["declared_type"] = DeclaredTypeMethodName(descriptor->type());
64 WireFormat::TagSize(descriptor->number(), descriptor->type()));
65 (*variables)["deprecation"] = descriptor
85 FieldGeneratorMap(const Descriptor* descriptor, const Options& options) argument
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/python/
H A Dpython_generator.h77 void PrintNestedEnums(const Descriptor& descriptor) const;
102 const Descriptor& descriptor,
107 void AddMessageToFileDescriptor(const Descriptor& descriptor) const;
113 const DescriptorT& descriptor,
119 void FixForeignFieldsInNestedExtensions(const Descriptor& descriptor) const;
122 void PrintServiceDescriptor(const ServiceDescriptor& descriptor) const;
123 void PrintServiceClass(const ServiceDescriptor& descriptor) const;
124 void PrintServiceStub(const ServiceDescriptor& descriptor) const;
126 void PrintEnumValueDescriptor(const EnumValueDescriptor& descriptor) const;
132 string ModuleLevelDescriptorName(const DescriptorT& descriptor) cons
[all...]
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_field.cc41 #include <google/protobuf/descriptor.pb.h>
54 void SetCommonFieldVariables(const FieldDescriptor* descriptor, argument
56 (*variables)["name"] = FieldName(descriptor);
57 (*variables)["index"] = SimpleItoa(descriptor->index());
58 (*variables)["number"] = SimpleItoa(descriptor->number());
59 (*variables)["classname"] = ClassName(FieldScope(descriptor), false);
60 (*variables)["declared_type"] = DeclaredTypeMethodName(descriptor->type());
63 WireFormat::TagSize(descriptor->number(), descriptor->type()));
64 (*variables)["deprecation"] = descriptor
83 FieldGeneratorMap(const Descriptor* descriptor) argument
[all...]
/external/protobuf/src/google/protobuf/compiler/javanano/
H A Djavanano_helpers.h40 #include <google/protobuf/descriptor.pb.h>
41 #include <google/protobuf/descriptor.h>
92 // descriptor.
93 inline string ClassName(const Params& params, const Descriptor* descriptor) { argument
94 return ToJavaName(params, descriptor->name(), true,
95 descriptor->containing_type(), descriptor->file());
97 string ClassName(const Params& params, const EnumDescriptor* descriptor);
99 const ServiceDescriptor* descriptor) {
100 return ToJavaName(params, descriptor
98 ClassName(const Params& params, const ServiceDescriptor* descriptor) argument
102 ExtensionIdentifierName(const Params& params, const FieldDescriptor* descriptor) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_mem/memory_manager/include/
H A Dheapmm.h85 /* Heap descriptor. */
90 ** really be the AVL tree descriptor (type avl_avl). But (in the
92 ** AVL tree descriptor simply contains a pointer to the root. So,
93 ** whenever a pointer to the AVL tree descriptor is needed, I use the
98 ** (where heap_desc is a pointer to a heap descriptor). This trick
110 HMM_UNIQUE(descriptor); variable
114 void HMM_UNIQUE(init)(HMM_UNIQUE(descriptor) *desc);
117 HMM_UNIQUE(descriptor) *desc, HMM_UNIQUE(size_aau) num_addr_align_units);
121 HMM_UNIQUE(descriptor) *desc, HMM_UNIQUE(size_aau) needed_addr_align_units,
125 HMM_UNIQUE(descriptor) *des
[all...]
/external/libvpx/libvpx/vpx_mem/memory_manager/include/
H A Dheapmm.h85 /* Heap descriptor. */
90 ** really be the AVL tree descriptor (type avl_avl). But (in the
92 ** AVL tree descriptor simply contains a pointer to the root. So,
93 ** whenever a pointer to the AVL tree descriptor is needed, I use the
98 ** (where heap_desc is a pointer to a heap descriptor). This trick
110 HMM_UNIQUE(descriptor); variable
114 void HMM_UNIQUE(init)(HMM_UNIQUE(descriptor) *desc);
117 HMM_UNIQUE(descriptor) *desc, HMM_UNIQUE(size_aau) num_addr_align_units);
121 HMM_UNIQUE(descriptor) *desc, HMM_UNIQUE(size_aau) needed_addr_align_units,
125 HMM_UNIQUE(descriptor) *des
[all...]
/external/proguard/src/proguard/classfile/util/
H A DMemberFinder.java44 * Finds the field with the given name and descriptor in the given
50 String descriptor)
52 return (Field)findMember(referencingClass, clazz, name, descriptor, true);
57 * Finds the method with the given name and descriptor in the given
63 String descriptor)
65 return (Method)findMember(referencingClass, clazz, name, descriptor, false);
70 * Finds the class member with the given name and descriptor in the given
76 String descriptor,
87 (ClassVisitor)new NamedFieldVisitor(name, descriptor,
89 (ClassVisitor)new NamedMethodVisitor(name, descriptor,
47 findField(Clazz referencingClass, Clazz clazz, String name, String descriptor) argument
60 findMethod(Clazz referencingClass, Clazz clazz, String name, String descriptor) argument
73 findMember(Clazz referencingClass, Clazz clazz, String name, String descriptor, boolean isField) argument
[all...]
/external/chromium_org/third_party/protobuf/python/google/protobuf/
H A Dreflection.py52 from google.protobuf import descriptor as descriptor_mod
121 descriptor = dictionary[GeneratedProtocolMessageType._DESCRIPTOR_KEY]
122 bases = _NewMessage(bases, descriptor, dictionary)
126 setattr(descriptor, '_concrete_class', new_class)
146 descriptor = dictionary[GeneratedProtocolMessageType._DESCRIPTOR_KEY]
147 _InitMessage(descriptor, cls)
152 def ParseMessage(descriptor, byte_str):
156 descriptor: Protobuf Descriptor object
165 DESCRIPTOR = descriptor
H A Dmessage_factory.py48 def GetPrototype(self, descriptor):
49 """Builds a proto2 message class based on the passed in descriptor.
51 Passing a descriptor with a fully qualified name matching a previous
55 descriptor: The descriptor to build from.
58 A class describing the passed in descriptor.
61 if descriptor.full_name not in self._classes:
63 descriptor.name.encode('ascii', 'ignore'),
65 {'DESCRIPTOR': descriptor})
66 self._classes[descriptor
[all...]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
H A DPropertyDescriptorEditorProvider.java29 public PropertyEditor getEditorForPropertyDescriptor(PropertyDescriptor descriptor) argument
32 Object attributeValue = descriptor.getValue("enumerationValues");
33 if (isEnumerationProperty(descriptor)) {
49 private static boolean isEnumerationProperty(PropertyDescriptor descriptor) { argument
50 Object attributeValue = descriptor.getValue("enumerationValues");
/external/proguard/src/proguard/classfile/
H A DLibraryMember.java38 public String descriptor; field in class:LibraryMember
59 String descriptor)
63 this.descriptor = descriptor;
88 return descriptor;
57 LibraryMember(int u2accessFlags, String name, String descriptor) argument
H A DLibraryField.java34 * descriptor string. This field is filled out by the <code>{@link
54 String descriptor)
56 super(u2accessFlags, name, descriptor);
52 LibraryField(int u2accessFlags, String name, String descriptor) argument
/external/dexmaker/src/dx/java/com/android/dx/rop/type/
H A DPrototype.java22 * Representation of a method descriptor. Instances of this class are
31 /** {@code non-null;} method descriptor */
32 private final String descriptor; field in class:Prototype
45 * given method descriptor. See vmspec-2 sec4.3.3 for details on the
46 * field descriptor syntax.
48 * @param descriptor {@code non-null;} the descriptor
50 * @throws IllegalArgumentException thrown if the descriptor has
53 public static Prototype intern(String descriptor) { argument
54 if (descriptor
121 makeParameterArray(String descriptor) argument
168 intern(String descriptor, Type definer, boolean isStatic, boolean isInit) argument
215 Prototype(String descriptor, Type returnType, StdTypeList parameterTypes) argument
[all...]
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DExtensionRegistry.java112 /** The extension's descriptor. */
113 public final FieldDescriptor descriptor; field in class:ExtensionRegistry.ExtensionInfo
121 private ExtensionInfo(final FieldDescriptor descriptor) { argument
122 this.descriptor = descriptor;
125 private ExtensionInfo(final FieldDescriptor descriptor, argument
127 this.descriptor = descriptor;
134 * I.e. {@code result.descriptor.fullName()} will match {@code fullName} if
172 /** Add a non-message-type extension to the registry by descriptor
245 private final Descriptor descriptor; field in class:ExtensionRegistry.DescriptorIntPair
248 DescriptorIntPair(final Descriptor descriptor, final int number) argument
[all...]
/external/nanopb-c/generator/proto/
H A Dnanopb_pb2.py3 from google.protobuf import descriptor namespace
10 DESCRIPTOR = descriptor.FileDescriptor(
13 serialized_pb='\n\x0cnanopb.proto\x1a google/protobuf/descriptor.proto\"\x92\x01\n\rNanoPBOptions\x12\x10\n\x08max_size\x18\x01 \x01(\x05\x12\x11\n\tmax_count\x18\x02 \x01(\x05\x12$\n\x04type\x18\x03 \x01(\x0e\x32\n.FieldType:\nFT_DEFAULT\x12\x18\n\nlong_names\x18\x04 \x01(\x08:\x04true\x12\x1c\n\rpacked_struct\x18\x05 \x01(\x08:\x05\x66\x61lse*Z\n\tFieldType\x12\x0e\n\nFT_DEFAULT\x10\x00\x12\x0f\n\x0b\x46T_CALLBACK\x10\x01\x12\x0e\n\nFT_POINTER\x10\x04\x12\r\n\tFT_STATIC\x10\x02\x12\r\n\tFT_IGNORE\x10\x03:E\n\x0enanopb_fileopt\x12\x1c.google.protobuf.FileOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:G\n\rnanopb_msgopt\x12\x1f.google.protobuf.MessageOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:E\n\x0enanopb_enumopt\x12\x1c.google.protobuf.EnumOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:>\n\x06nanopb\x12\x1d.google.protobuf.FieldOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptionsB\x1a\n\x18\x66i.kapsi.koti.jpa.nanopb')
15 _FIELDTYPE = descriptor.EnumDescriptor(
21 descriptor.EnumValueDescriptor(
25 descriptor.EnumValueDescriptor(
29 descriptor.EnumValueDescriptor(
33 descriptor.EnumValueDescriptor(
37 descriptor.EnumValueDescriptor(
56 nanopb_fileopt = descriptor
[all...]
/external/chromium_org/v8/test/cctest/compiler/
H A Dtest-linkage.cc65 CallDescriptor* descriptor = linkage.GetIncomingDescriptor(); local
66 CHECK_NE(NULL, descriptor);
68 CHECK_EQ(1 + i, descriptor->JSParameterCount());
69 CHECK_EQ(1, descriptor->ReturnCount());
70 CHECK_EQ(Operator::kNoProperties, descriptor->properties());
71 CHECK_EQ(true, descriptor->IsJSFunctionCall());
93 CallDescriptor* descriptor = linkage.GetJSCallDescriptor(i); local
94 CHECK_NE(NULL, descriptor);
95 CHECK_EQ(i, descriptor->JSParameterCount());
96 CHECK_EQ(1, descriptor
[all...]
/external/protobuf/src/google/protobuf/compiler/python/
H A Dpython_generator.h77 void PrintNestedEnums(const Descriptor& descriptor) const;
102 const Descriptor& descriptor,
112 const DescriptorT& descriptor,
118 void FixForeignFieldsInNestedExtensions(const Descriptor& descriptor) const;
121 void PrintServiceDescriptor(const ServiceDescriptor& descriptor) const;
122 void PrintServiceClass(const ServiceDescriptor& descriptor) const;
123 void PrintServiceStub(const ServiceDescriptor& descriptor) const;
125 void PrintEnumValueDescriptor(const EnumValueDescriptor& descriptor) const;
131 string ModuleLevelDescriptorName(const DescriptorT& descriptor) const;
132 string ModuleLevelMessageName(const Descriptor& descriptor) cons
[all...]
/external/chromium_org/components/autofill/core/common/
H A Dweb_element_descriptor.h23 std::string descriptor; member in struct:autofill::WebElementDescriptor
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/
H A DCustomElementMicrotaskResolutionStep.cpp39 PassOwnPtrWillBeRawPtr<CustomElementMicrotaskResolutionStep> CustomElementMicrotaskResolutionStep::create(PassRefPtrWillBeRawPtr<CustomElementRegistrationContext> context, PassRefPtrWillBeRawPtr<Element> element, const CustomElementDescriptor& descriptor) argument
41 return adoptPtrWillBeNoop(new CustomElementMicrotaskResolutionStep(context, element, descriptor));
44 CustomElementMicrotaskResolutionStep::CustomElementMicrotaskResolutionStep(PassRefPtrWillBeRawPtr<CustomElementRegistrationContext> context, PassRefPtrWillBeRawPtr<Element> element, const CustomElementDescriptor& descriptor) argument
47 , m_descriptor(descriptor)
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_extension.cc79 ExtensionGenerator::ExtensionGenerator(const FieldDescriptor* descriptor) argument
80 : descriptor_(descriptor) {
91 void InitTemplateVars(const FieldDescriptor* descriptor, argument
96 vars["name"] = UnderscoresToCamelCase(descriptor);
97 vars["containing_type"] = ClassName(descriptor->containing_type());
98 vars["number"] = SimpleItoa(descriptor->number());
99 vars["constant_name"] = FieldConstantName(descriptor);
100 vars["index"] = SimpleItoa(descriptor->index());
102 descriptor->is_repeated() ? "" : DefaultValue(descriptor);
[all...]
/external/chromium_org/components/nacl/loader/nonsfi/
H A Delf_loader.h30 // Reads the ELF file from the descriptor and stores the header information
32 NaClErrorCode Read(struct NaClDesc* descriptor);
35 NaClErrorCode Load(struct NaClDesc* descriptor);
/external/compiler-rt/test/BlocksRuntime/
H A Dblockimport.c43 printf("descriptor %p\n", layout->descriptor);
44 printf("descriptor->size %d\n", layout->descriptor->size);
/external/libusb-compat/examples/
H A Dlsusb.c37 dev->descriptor.idVendor, dev->descriptor.idProduct);
/external/proguard/src/proguard/obfuscate/
H A DMemberNameConflictFixer.java31 * members that it visits. It avoids names from the given descriptor map,
108 // Get the member's name and descriptor.
110 String descriptor = member.getDescriptor(clazz);
115 // Trim the return argument from the descriptor if not.
117 descriptor = descriptor.substring(0, descriptor.indexOf(')')+1);
121 Map nameMap = MemberObfuscator.retrieveNameMap(descriptorMap, descriptor);
138 descriptor = member.getDescriptor(clazz);
142 ": field '" + ClassUtil.externalFullFieldDescription(0, name, descriptor)
[all...]
/external/protobuf/src/google/protobuf/compiler/java/
H A Djava_field.cc59 FieldGeneratorMap::FieldGeneratorMap(const Descriptor* descriptor) argument
60 : descriptor_(descriptor),
62 new scoped_ptr<FieldGenerator>[descriptor->field_count()]),
64 new scoped_ptr<FieldGenerator>[descriptor->extension_count()]) {
67 for (int i = 0; i < descriptor->field_count(); i++) {
68 field_generators_[i].reset(MakeGenerator(descriptor->field(i)));
70 for (int i = 0; i < descriptor->extension_count(); i++) {
71 extension_generators_[i].reset(MakeGenerator(descriptor->extension(i)));

Completed in 2133 milliseconds

1234567891011>>