HomeSort by relevance Sort by last modified time
    Searched refs:Descriptor (Results 176 - 200 of 340) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/protobuf/src/google/protobuf/compiler/cpp/
cpp_message.cc 51 #include <google/protobuf/descriptor.pb.h>
79 // Sort the fields of the given Descriptor by number into a new[]'d array
81 const FieldDescriptor** SortFieldsByNumber(const Descriptor* descriptor) {
83 new const FieldDescriptor*[descriptor->field_count()];
84 for (int i = 0; i < descriptor->field_count(); i++) {
85 fields[i] = descriptor->field(i);
87 sort(fields, fields + descriptor->field_count(),
94 bool operator()(const Descriptor::ExtensionRange* left,
95 const Descriptor::ExtensionRange* right) const
    [all...]
cpp_extension.cc 40 #include <google/protobuf/descriptor.pb.h>
52 string ExtendeeClassName(const FieldDescriptor* descriptor) {
53 const Descriptor* extendee = descriptor->containing_type();
59 ExtensionGenerator::ExtensionGenerator(const FieldDescriptor* descriptor,
61 : descriptor_(descriptor),
cpp_field.cc 43 #include <google/protobuf/descriptor.pb.h>
56 void SetCommonFieldVariables(const FieldDescriptor* descriptor,
59 (*variables)["name"] = FieldName(descriptor);
60 (*variables)["index"] = SimpleItoa(descriptor->index());
61 (*variables)["number"] = SimpleItoa(descriptor->number());
62 (*variables)["classname"] = ClassName(FieldScope(descriptor), false);
63 (*variables)["declared_type"] = DeclaredTypeMethodName(descriptor->type());
66 WireFormat::TagSize(descriptor->number(), descriptor->type()));
67 (*variables)["deprecation"] = descriptor->options().deprecated(
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
WrapInRefactoring.java 76 * This constructor is solely used by {@link Descriptor},
145 return new Descriptor(
427 public static class Descriptor extends VisualRefactoringDescriptor {
428 public Descriptor(String project, String description, String comment,
ExtractStyleRefactoring.java 131 * This constructor is solely used by {@link Descriptor},
190 return new Descriptor(
513 public static class Descriptor extends VisualRefactoringDescriptor {
514 public Descriptor(String project, String description, String comment,
  /art/runtime/
primitive.h 113 static const char* Descriptor(Type type) {
  /external/javassist/src/main/javassist/expr/
NewExpr.java 97 * called method descriptor, which is defined in the JVM specification.
100 * @see javassist.bytecode.Descriptor
136 return Descriptor.getParameterTypes(desc, thisClass.getClassPool());
186 CtClass[] params = Descriptor.getParameterTypes(signature, cp);
  /external/protobuf/python/google/protobuf/
descriptor.py 67 This class is the base of all descriptor classes. It provides common options
71 has_options: True if the descriptor has non-default options. Usually it
79 """Initialize the descriptor given its options message and the name of the
86 # Does this descriptor have non-default options?
90 """Sets the descriptor's options
92 This function is used in generated proto2 files to update descriptor
98 # Does this descriptor have non-default options?
102 """Retrieves descriptor options.
105 descriptor.
137 containing_type: if provided, this is a nested descriptor, with thi
    [all...]
descriptor_pool.py 49 The message descriptor can be used in conjunction with the message_factory
62 from google.protobuf import descriptor
83 """A collection of protobufs dynamically constructed by descriptor protos."""
89 specialized file descriptor proto lookup code to be triggered on demand. An
114 """Adds a Descriptor to the pool, non-recursively.
116 If the Descriptor contains nested messages or enums, the caller must
121 desc: A Descriptor.
123 if not isinstance(desc, descriptor.Descriptor):
124 raise TypeError('Expected instance of descriptor.Descriptor.'
    [all...]
  /external/protobuf/src/google/protobuf/compiler/java/
java_context.cc 36 #include <google/protobuf/descriptor.h>
107 const Descriptor* message) {
java_doc_comment.cc 142 io::Printer* printer, const DescriptorType* descriptor) {
144 if (descriptor->GetSourceLocation(&location)) {
165 void WriteMessageDocComment(io::Printer* printer, const Descriptor* message) {
java_field.cc 150 const Descriptor* descriptor, Context* context)
151 : descriptor_(descriptor),
153 ImmutableFieldGenerator>[descriptor->field_count()]) {
159 for (int i = 0; i < descriptor->field_count(); i++) {
161 descriptor->field(i), messageBitIndex, builderBitIndex, context);
172 void SetCommonFieldVariables(const FieldDescriptor* descriptor,
175 (*variables)["field_name"] = descriptor->name();
179 (*variables)["constant_name"] = FieldConstantName(descriptor);
180 (*variables)["number"] = SimpleItoa(descriptor->number())
    [all...]
java_message.cc 52 #include <google/protobuf/descriptor.pb.h>
66 bool GenerateHasBits(const Descriptor* descriptor) {
67 return SupportFieldPresence(descriptor->file()) ||
68 HasRepeatedFields(descriptor);
74 MessageGenerator::MessageGenerator(const Descriptor* descriptor)
75 : descriptor_(descriptor) {}
82 const Descriptor* descriptor, Context* context
    [all...]
  /external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
WebRtcAudioUtils.java 17 import android.media.audiofx.AudioEffect.Descriptor;
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
duration.pb.h 56 static const ::google::protobuf::Descriptor* descriptor();
empty.pb.h 60 static const ::google::protobuf::Descriptor* descriptor();
timestamp.pb.h 60 static const ::google::protobuf::Descriptor* descriptor();
map_field.h 127 // Creates descriptor for only one time.
141 // needs to know its descriptor, because MapEntry is not generated class which
142 // cannot initialize its own descriptor by calling generated
143 // descriptor-assign-function. Thus, we need to register a callback to
144 // initialize MapEntry's descriptor.
145 const Descriptor** entry_descriptor_;
269 void SetEntryDescriptor(const Descriptor** descriptor);
struct.pb.h 81 static const ::google::protobuf::Descriptor* descriptor();
173 static const ::google::protobuf::Descriptor* descriptor();
335 static const ::google::protobuf::Descriptor* descriptor();
  /external/skia/src/effects/gradients/
SkGradientShader.cpp 15 void SkGradientShaderBase::Descriptor::flatten(SkWriteBuffer& buffer) const {
70 SkGradientShaderBase::SkGradientShaderBase(const Descriptor& desc, const SkMatrix& ptsToUnit)
219 Descriptor desc;
778 static void desc_init(SkGradientShaderBase::Descriptor* desc,
803 SkGradientShaderBase::Descriptor desc;
822 SkGradientShaderBase::Descriptor desc;
851 SkGradientShaderBase::Descriptor desc;
    [all...]
  /external/javassist/src/main/javassist/bytecode/analysis/
Executor.java 23 import javassist.bytecode.Descriptor;
547 CtClass returnType = Descriptor.getReturnType(method.getDescriptor(), classPool);
    [all...]
  /external/protobuf/src/google/protobuf/compiler/
plugin.pb.cc 13 #include <google/protobuf/descriptor.h>
25 const ::google::protobuf::Descriptor* CodeGeneratorRequest_descriptor_ = NULL;
28 const ::google::protobuf::Descriptor* CodeGeneratorResponse_descriptor_ = NULL;
31 const ::google::protobuf::Descriptor* CodeGeneratorResponse_File_descriptor_ = NULL;
135 "uf/descriptor.proto\"}\n\024CodeGeneratorRequ"
212 const ::google::protobuf::Descriptor* CodeGeneratorRequest::descriptor() { function in class:google::protobuf::compiler::CodeGeneratorRequest
491 metadata.descriptor = CodeGeneratorRequest_descriptor_;
554 const ::google::protobuf::Descriptor* CodeGeneratorResponse_File::descriptor() { function in class:google::protobuf::compiler::CodeGeneratorResponse_File
908 const ::google::protobuf::Descriptor* CodeGeneratorResponse::descriptor() { function in class:google::protobuf::compiler::CodeGeneratorResponse
    [all...]
command_line_interface.cc 61 #include <google/protobuf/descriptor.h>
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/
GeneratedMessage.java 33 import com.google.protobuf.Descriptors.Descriptor;
99 public Descriptor getDescriptorForType() {
100 return internalGetFieldAccessorTable().descriptor;
107 final Descriptor descriptor = internalGetFieldAccessorTable().descriptor; local
108 for (final FieldDescriptor field : descriptor.getFields()) {
321 public Descriptor getDescriptorForType() {
322 return internalGetFieldAccessorTable().descriptor;
334 final Descriptor descriptor = internalGetFieldAccessorTable().descriptor local
638 final FieldDescriptor descriptor = extension.getDescriptor(); local
648 FieldDescriptor descriptor = extension.getDescriptor(); local
672 FieldDescriptor descriptor = extension.getDescriptor(); local
732 FieldDescriptor descriptor = next.getKey(); local
956 final FieldDescriptor descriptor = extension.getDescriptor(); local
965 FieldDescriptor descriptor = extension.getDescriptor(); local
988 FieldDescriptor descriptor = extension.getDescriptor(); local
999 final FieldDescriptor descriptor = extension.getDescriptor(); local
1011 final FieldDescriptor descriptor = extension.getDescriptor(); local
1025 final FieldDescriptor descriptor = extension.getDescriptor(); local
    [all...]
  /external/javassist/src/main/javassist/compiler/
JvstCodeGen.java 89 bytecode.addLdc(Descriptor.ofMethod(returnType, paramTypeList));
100 bytecode.addLdc(Descriptor.of(dollarType));
396 String methodname, String descriptor,
404 bytecode.addInvokespecial(classname, methodname, descriptor);
405 setReturnType(descriptor, false, false);
569 * @param typeDesc the type descriptor of the variable
628 Descriptor.ofMethod(CtClass.voidType, args));

Completed in 484 milliseconds

1 2 3 4 5 6 78 91011>>