/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
RubyDescriptor.java | 49 @JRubyClass(name = "Descriptor", include = "Enumerable") 53 RubyClass cDescriptor = protobuf.defineClassUnder("Descriptor", runtime.getObject(), new ObjectAllocator() { 69 * Descriptor.new => descriptor 71 * Creates a new, empty, message type descriptor. At a minimum, its name must be 86 * Descriptor.name => name 98 * Descriptor.name = name 100 * Assigns a name to this message type. The descriptor must not have been added 112 * Descriptor.add_field(field) => nil 114 * Adds the given FieldDescriptor to this message type. The descriptor must no 266 private Descriptors.Descriptor descriptor; field in class:RubyDescriptor [all...] |
/external/protobuf/src/google/protobuf/ |
reflection_ops.cc | 39 #include <google/protobuf/descriptor.h> 40 #include <google/protobuf/descriptor.pb.h> 57 const Descriptor* descriptor = from.GetDescriptor(); local 58 GOOGLE_CHECK_EQ(to->GetDescriptor(), descriptor) 60 << "(merge " << descriptor->full_name() 142 const Descriptor* descriptor = message.GetDescriptor(); local 146 for (int i = 0; i < descriptor->field_count(); i++) { 147 if (descriptor->field(i)->is_required()) 228 const Descriptor* descriptor = message.GetDescriptor(); local [all...] |
message.h | 82 // const Descriptor* descriptor = foo->GetDescriptor(); 86 // const FieldDescriptor* text_field = descriptor->FindFieldByName("text"); 90 // const FieldDescriptor* numbers_field = descriptor-> 122 #include <google/protobuf/descriptor.h> 165 const Descriptor* descriptor; member in struct:google::protobuf::Metadata 178 // the optimize_for option in descriptor.proto. 203 // must have the same descriptor, but need not necessarily be the same class. 266 // Parse a protocol buffer from a file descriptor. If successful, the entir [all...] |
reflection.h | 533 static const Descriptor* GetMessageFieldDescriptor() { 549 static const Descriptor* GetMessageFieldDescriptor() { 564 static const Descriptor* GetMessageFieldDescriptor() { 571 static const Descriptor* get() { 577 static const Descriptor* get() { 592 static const Descriptor* GetMessageFieldDescriptor() {
|
descriptor_unittest.cc | 47 #include <google/protobuf/descriptor.pb.h> 48 #include <google/protobuf/descriptor.h> 192 const string& element_name, const Message* descriptor, 215 const Message* descriptor, ErrorLocation location, 324 const Descriptor* foo_message_; 330 const Descriptor* bar_message_; 667 void CopyWithJsonName(const Descriptor* message, DescriptorProto* proto) { 679 const Descriptor* message_; 680 const Descriptor* message2_; 681 const Descriptor* message3_ [all...] |
preserve_unknown_enum_test.cc | 35 #include <google/protobuf/descriptor.h> 124 proto3_preserve_unknown_enum_unittest::MyMessage::descriptor())->New()); 165 proto2_preserve_unknown_enum_unittest::MyMessage::descriptor())->New()); 192 const google::protobuf::Descriptor* d = message.GetDescriptor(); 214 // We should be able to use the returned value descriptor to set a value on 226 const google::protobuf::Descriptor* d = message.GetDescriptor(); 248 const google::protobuf::Descriptor* d = message.GetDescriptor();
|
/external/protobuf/src/google/protobuf/util/ |
type_resolver_util.cc | 35 #include <google/protobuf/descriptor.pb.h> 36 #include <google/protobuf/descriptor.h> 86 const Descriptor* descriptor = pool_->FindMessageTypeByName(message_name); local 87 if (descriptor == NULL) { 91 ConvertDescriptor(descriptor, type); 107 const EnumDescriptor* descriptor = pool_->FindEnumTypeByName(type_name); local 108 if (descriptor == NULL) { 111 ConvertEnumDescriptor(descriptor, enum_type); 116 void ConvertDescriptor(const Descriptor* descriptor, Type* type) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
UnwrapRefactoring.java | 60 * This constructor is solely used by {@link Descriptor}, 157 return new Descriptor( 234 public static class Descriptor extends VisualRefactoringDescriptor { 235 public Descriptor(String project, String description, String comment,
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
MapUnittestProto3.cs | 16 #region Descriptor 17 /// <summary>File descriptor for google/protobuf/map_unittest_proto3.proto</summary> 18 public static pbr::FileDescriptor Descriptor { 19 get { return descriptor; } 21 private static pbr::FileDescriptor descriptor; field in class:Google.Protobuf.TestProtos.MapUnittestProto3Reflection 150 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 151 new pbr::FileDescriptor[] { global::Google.Protobuf.TestProtos.UnittestProto3Reflection.Descriptor, }, 183 public static pbr::MessageDescriptor Descriptor { 184 get { return global::Google.Protobuf.TestProtos.MapUnittestProto3Reflection.Descriptor.MessageTypes[0]; } 187 pbr::MessageDescriptor pb::IMessage.Descriptor { [all...] |
/external/protobuf/python/google/protobuf/pyext/ |
descriptor.cc | 38 #include <google/protobuf/descriptor.pb.h> 40 #include <google/protobuf/pyext/descriptor.h> 65 // Store interned descriptors, so that the same C++ descriptor yields the same 81 // message_descriptor = Descriptor( 156 // Helper functions for descriptor objects. 158 // A set of templates to retrieve the C++ FileDescriptor of any descriptor. 160 const FileDescriptor* GetFileDescriptor(const DescriptorClass* descriptor) { 161 return descriptor->file(); 164 const FileDescriptor* GetFileDescriptor(const FileDescriptor* descriptor) { 165 return descriptor; 284 const void* descriptor; member in struct:google::protobuf::python::PyBaseDescriptor 301 namespace descriptor { namespace in namespace:google::protobuf::python 506 const Descriptor* descriptor = _GetDescriptor(self); local [all...] |
/external/protobuf/src/google/protobuf/compiler/ruby/ |
ruby_generator.cc | 35 #include <google/protobuf/descriptor.h> 36 #include <google/protobuf/descriptor.pb.h> 54 void GenerateMessage(const google::protobuf::Descriptor* message, 60 const google::protobuf::Descriptor* message, 183 void GenerateMessage(const google::protobuf::Descriptor* message, 262 const google::protobuf::Descriptor* message, 338 bool UsesTypeFromFile(const Descriptor* message, const FileDescriptor* file,
|
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/ |
message.h | 82 // const Descriptor* descriptor = foo->GetDescriptor(); 86 // const FieldDescriptor* text_field = descriptor->FindFieldByName("text"); 90 // const FieldDescriptor* numbers_field = descriptor-> 126 #include <google/protobuf/descriptor.h> 155 const Descriptor* descriptor; member in struct:google::protobuf::Metadata 168 // the optimize_for option in descriptor.proto. 182 // must have the same descriptor, but need not necessarily be the same class. 239 // Parse a protocol buffer from a file descriptor. If successful, the entir [all...] |
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/ |
message.h | 82 // const Descriptor* descriptor = foo->GetDescriptor(); 86 // const FieldDescriptor* text_field = descriptor->FindFieldByName("text"); 90 // const FieldDescriptor* numbers_field = descriptor-> 126 #include <google/protobuf/descriptor.h> 155 const Descriptor* descriptor; member in struct:google::protobuf::Metadata 168 // the optimize_for option in descriptor.proto. 182 // must have the same descriptor, but need not necessarily be the same class. 239 // Parse a protocol buffer from a file descriptor. If successful, the entir [all...] |
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/ |
message.h | 82 // const Descriptor* descriptor = foo->GetDescriptor(); 86 // const FieldDescriptor* text_field = descriptor->FindFieldByName("text"); 90 // const FieldDescriptor* numbers_field = descriptor-> 126 #include <google/protobuf/descriptor.h> 155 const Descriptor* descriptor; member in struct:google::protobuf::Metadata 168 // the optimize_for option in descriptor.proto. 182 // must have the same descriptor, but need not necessarily be the same class. 239 // Parse a protocol buffer from a file descriptor. If successful, the entir [all...] |
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/ |
message.h | 82 // const Descriptor* descriptor = foo->GetDescriptor(); 86 // const FieldDescriptor* text_field = descriptor->FindFieldByName("text"); 90 // const FieldDescriptor* numbers_field = descriptor-> 126 #include <google/protobuf/descriptor.h> 155 const Descriptor* descriptor; member in struct:google::protobuf::Metadata 168 // the optimize_for option in descriptor.proto. 182 // must have the same descriptor, but need not necessarily be the same class. 239 // Parse a protocol buffer from a file descriptor. If successful, the entir [all...] |
/external/v8/src/ |
map-updater.cc | 27 Name* MapUpdater::GetKey(int descriptor) const { 28 return old_descriptors_->GetKey(descriptor); 31 PropertyDetails MapUpdater::GetDetails(int descriptor) const { 32 DCHECK_LE(0, descriptor); 33 if (descriptor == modified_descriptor_) { 37 return old_descriptors_->GetDetails(descriptor); 40 Object* MapUpdater::GetValue(int descriptor) const { 41 DCHECK_LE(0, descriptor); 42 if (descriptor == modified_descriptor_) { 46 DCHECK_EQ(kDescriptor, GetDetails(descriptor).location()) [all...] |
code-factory.cc | 19 typedef typename Stub::Descriptor Descriptor; 20 return Callable(stub.GetCode(), Descriptor(stub.isolate())); 212 typedef InterfaceDescriptor##Descriptor Name##Descriptor; 220 return Callable(code, Name##Descriptor(isolate)); \
|
/frameworks/base/tools/incident_report/ |
main.cpp | 39 static bool read_message(CodedInputStream* in, Descriptor const* descriptor, 41 static void print_message(Out* out, Descriptor const* descriptor, GenericMessage const* message); 45 read_length_delimited(CodedInputStream* in, uint32 fieldId, Descriptor const* descriptor, 53 FieldDescriptor const* field = descriptor->FindFieldByNumber(fieldId); 83 read_message(CodedInputStream* in, Descriptor const* descriptor, GenericMessage* message) 110 if (!read_length_delimited(in, fieldId, descriptor, message)) 303 Descriptor const* descriptor = IncidentProto::descriptor(); local 553 Descriptor const* descriptor = IncidentProto::descriptor(); local [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
message.h | 82 // const Descriptor* descriptor = foo->GetDescriptor(); 86 // const FieldDescriptor* text_field = descriptor->FindFieldByName("text"); 90 // const FieldDescriptor* numbers_field = descriptor-> 122 #include <google/protobuf/descriptor.h> 165 const Descriptor* descriptor; member in struct:google::protobuf::Metadata 178 // the optimize_for option in descriptor.proto. 203 // must have the same descriptor, but need not necessarily be the same class. 266 // Parse a protocol buffer from a file descriptor. If successful, the entir [all...] |
reflection.h | 533 static const Descriptor* GetMessageFieldDescriptor() { 549 static const Descriptor* GetMessageFieldDescriptor() { 564 static const Descriptor* GetMessageFieldDescriptor() { 571 static const Descriptor* get() { 577 static const Descriptor* get() { 592 static const Descriptor* GetMessageFieldDescriptor() {
|
/external/v8/tools/ |
ll_prof.py | 449 class Descriptor(object): 450 """Descriptor of a structure in the binary trace log.""" 460 _fields_ = Descriptor.CtypesFields(fields) 473 return [(field, Descriptor.CTYPE_MAP[format]) for (field, format) in fields] 481 TRACE_HEADER_DESC = Descriptor([ 495 PERF_EVENT_ATTR_DESC = Descriptor([ 511 PERF_EVENT_HEADER_DESC = Descriptor([ 519 PERF_MMAP_EVENT_BODY_DESC = Descriptor([ 528 PERF_MMAP2_EVENT_BODY_DESC = Descriptor([ 609 self.ip_struct = Descriptor.CTYPE_MAP[PERF_SAMPLE_EVENT_IP_FORMAT [all...] |
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
Descriptor.cs | 2 // source: google/protobuf/descriptor.proto 12 /// <summary>Holder for reflection information generated from google/protobuf/descriptor.proto</summary> 16 #region Descriptor 17 /// <summary>File descriptor for google/protobuf/descriptor.proto</summary> 18 public static pbr::FileDescriptor Descriptor { 19 get { return descriptor; } 21 private static pbr::FileDescriptor descriptor; field in class:Google.Protobuf.Reflection.DescriptorReflection 141 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 179 public static pbr::MessageDescriptor Descriptor { [all...] |
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
objectivec_message.cc | 47 #include <google/protobuf/descriptor.pb.h> 65 int OrderGroupForFieldDescriptor(const FieldDescriptor* descriptor) { 87 if (descriptor->is_repeated()) { 91 switch (descriptor->type()) { 145 bool operator()(const Descriptor::ExtensionRange* a, 146 const Descriptor::ExtensionRange* b) const { 151 // Sort the fields of the given Descriptor by number into a new[]'d array 153 const FieldDescriptor** SortFieldsByNumber(const Descriptor* descriptor) { 155 new const FieldDescriptor* [descriptor->field_count()] [all...] |
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
FieldMask.cs | 16 #region Descriptor 17 /// <summary>File descriptor for google/protobuf/field_mask.proto</summary> 18 public static pbr::FileDescriptor Descriptor { 19 get { return descriptor; } 21 private static pbr::FileDescriptor descriptor; field in class:Google.Protobuf.WellKnownTypes.FieldMaskReflection 30 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 195 public static pbr::MessageDescriptor Descriptor { 196 get { return global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor.MessageTypes[0]; } 199 pbr::MessageDescriptor pb::IMessage.Descriptor { 200 get { return Descriptor; } [all...] |
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
UnknownEnumValueTest.java | 33 import com.google.protobuf.Descriptors.Descriptor; 129 Descriptor descriptor = TestAllTypes.getDescriptor(); local 130 FieldDescriptor optionalNestedEnumField = descriptor.findFieldByName("optional_nested_enum"); 131 FieldDescriptor repeatedNestedEnumField = descriptor.findFieldByName("repeated_nested_enum"); 132 FieldDescriptor packedNestedEnumField = descriptor.findFieldByName("packed_nested_enum"); 179 Descriptor descriptor = TestAllTypes.getDescriptor(); local 180 FieldDescriptor optionalNestedEnumField = descriptor.findFieldByName("optional_nested_enum"); 181 FieldDescriptor repeatedNestedEnumField = descriptor.findFieldByName("repeated_nested_enum") [all...] |