/external/autotest/client/cros/cellular/mbim_compliance/ |
D | usb_descriptors_unittest.py | 50 descriptor = DescriptorTypeNotDefined(descriptor_data) 51 self.assertEqual(2, descriptor.bLength) 52 self.assertEqual(0xAA, descriptor.bDescriptorType) 53 self.assertEqual(descriptor_data, descriptor.data) 66 descriptor = TestDescriptor(array('B', [0x03, 0xBB, 0xBB])) 79 descriptor = TestDescriptor(array('B', [0x03, 0xAA, 0xCC])) 91 descriptor = TestDescriptor(array('B', [0x01, 0xAA, 0xBB])) 96 descriptor = TestDescriptor(array('B', [0x04, 0xAA, 0xBB])) 108 descriptor = TestDescriptor(array('B', [0x03])) 118 descriptor = TestDescriptor(descriptor_data) [all …]
|
/external/grpc-grpc/src/cpp/ext/filters/census/ |
D | views.cc | 59 auto descriptor = ViewDescriptor(); in MinuteDescriptor() local 61 &descriptor); in MinuteDescriptor() 62 return descriptor; in MinuteDescriptor() 66 auto descriptor = ViewDescriptor(); in HourDescriptor() local 68 &descriptor); in HourDescriptor() 69 return descriptor; in HourDescriptor() 91 const static ViewDescriptor descriptor = in ClientSentBytesPerRpcCumulative() local 97 return descriptor; in ClientSentBytesPerRpcCumulative() 101 const static ViewDescriptor descriptor = in ClientReceivedBytesPerRpcCumulative() local 107 return descriptor; in ClientReceivedBytesPerRpcCumulative() [all …]
|
/external/protobuf/src/google/protobuf/util/ |
D | type_resolver_util.cc | 86 const Descriptor* descriptor = pool_->FindMessageTypeByName(message_name); in ResolveMessageType() local 87 if (descriptor == NULL) { in ResolveMessageType() 91 ConvertDescriptor(descriptor, type); in ResolveMessageType() 107 const EnumDescriptor* descriptor = pool_->FindEnumTypeByName(type_name); in ResolveEnumType() local 108 if (descriptor == NULL) { in ResolveEnumType() 111 ConvertEnumDescriptor(descriptor, enum_type); in ResolveEnumType() 116 void ConvertDescriptor(const Descriptor* descriptor, Type* type) { in ConvertDescriptor() argument 118 type->set_name(descriptor->full_name()); in ConvertDescriptor() 119 for (int i = 0; i < descriptor->field_count(); ++i) { in ConvertDescriptor() 120 const FieldDescriptor* field = descriptor->field(i); in ConvertDescriptor() [all …]
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_helpers.h | 67 string UniqueFileScopeIdentifier(const Descriptor* descriptor); 96 string ClassName(const Descriptor* descriptor); 97 string ClassName(const EnumDescriptor* descriptor); 98 string ClassName(const ServiceDescriptor* descriptor); 99 string ClassName(const FileDescriptor* 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() argument [all …]
|
D | java_name_resolver.cc | 65 string ClassNameWithoutPackage(const Descriptor* descriptor, in ClassNameWithoutPackage() argument 67 return StripPackageName(descriptor->full_name(), in ClassNameWithoutPackage() 68 descriptor->file()); in ClassNameWithoutPackage() 72 string ClassNameWithoutPackage(const EnumDescriptor* descriptor, in ClassNameWithoutPackage() argument 75 const Descriptor* message_descriptor = descriptor->containing_type(); in ClassNameWithoutPackage() 77 return descriptor->name(); in ClassNameWithoutPackage() 80 "." + descriptor->name(); in ClassNameWithoutPackage() 85 string ClassNameWithoutPackage(const ServiceDescriptor* descriptor, in ClassNameWithoutPackage() argument 87 string full_name = StripPackageName(descriptor->full_name(), in ClassNameWithoutPackage() 88 descriptor->file()); in ClassNameWithoutPackage() [all …]
|
/external/python/apitools/apitools/base/protorpclite/ |
D | descriptor_test.py | 25 from apitools.base.protorpclite import descriptor 37 MODULE = descriptor 46 expected = descriptor.EnumValueDescriptor() 50 described = descriptor.describe_enum_value(MyEnum.MY_NAME) 61 expected = descriptor.EnumDescriptor() 64 described = descriptor.describe_enum(EmptyEnum) 74 expected = descriptor.EnumDescriptor() 77 described = descriptor.describe_enum(MyScope.NestedEnum) 89 expected = descriptor.EnumDescriptor() 92 a = descriptor.EnumValueDescriptor() [all …]
|
/external/e2fsprogs/tests/j_long_trans_mcsum_64bit/ |
D | expect | 22 Found expected sequence 1, type 1 (descriptor block) at block 1 23 Found expected sequence 1, type 1 (descriptor block) at block 64 24 Found expected sequence 1, type 1 (descriptor block) at block 127 25 Found expected sequence 1, type 1 (descriptor block) at block 190 26 Found expected sequence 1, type 1 (descriptor block) at block 253 27 Found expected sequence 1, type 1 (descriptor block) at block 316 28 Found expected sequence 1, type 1 (descriptor block) at block 379 29 Found expected sequence 1, type 1 (descriptor block) at block 442 30 Found expected sequence 1, type 1 (descriptor block) at block 505 31 Found expected sequence 1, type 1 (descriptor block) at block 568 [all …]
|
/external/e2fsprogs/tests/j_long_revoke_trans_mcsum_32bit/ |
D | expect | 23 Found expected sequence 1, type 1 (descriptor block) at block 1 24 Found expected sequence 1, type 1 (descriptor block) at block 64 25 Found expected sequence 1, type 1 (descriptor block) at block 127 26 Found expected sequence 1, type 1 (descriptor block) at block 190 27 Found expected sequence 1, type 1 (descriptor block) at block 253 28 Found expected sequence 1, type 1 (descriptor block) at block 316 29 Found expected sequence 1, type 1 (descriptor block) at block 379 30 Found expected sequence 1, type 1 (descriptor block) at block 442 31 Found expected sequence 1, type 1 (descriptor block) at block 505 32 Found expected sequence 1, type 1 (descriptor block) at block 568 [all …]
|
/external/e2fsprogs/tests/j_long_trans_mcsum_32bit/ |
D | expect | 23 Found expected sequence 1, type 1 (descriptor block) at block 1 24 Found expected sequence 1, type 1 (descriptor block) at block 64 25 Found expected sequence 1, type 1 (descriptor block) at block 127 26 Found expected sequence 1, type 1 (descriptor block) at block 190 27 Found expected sequence 1, type 1 (descriptor block) at block 253 28 Found expected sequence 1, type 1 (descriptor block) at block 316 29 Found expected sequence 1, type 1 (descriptor block) at block 379 30 Found expected sequence 1, type 1 (descriptor block) at block 442 31 Found expected sequence 1, type 1 (descriptor block) at block 505 32 Found expected sequence 1, type 1 (descriptor block) at block 568 [all …]
|
/external/e2fsprogs/tests/j_long_revoke_trans_mcsum_64bit/ |
D | expect | 22 Found expected sequence 1, type 1 (descriptor block) at block 1 23 Found expected sequence 1, type 1 (descriptor block) at block 64 24 Found expected sequence 1, type 1 (descriptor block) at block 127 25 Found expected sequence 1, type 1 (descriptor block) at block 190 26 Found expected sequence 1, type 1 (descriptor block) at block 253 27 Found expected sequence 1, type 1 (descriptor block) at block 316 28 Found expected sequence 1, type 1 (descriptor block) at block 379 29 Found expected sequence 1, type 1 (descriptor block) at block 442 30 Found expected sequence 1, type 1 (descriptor block) at block 505 31 Found expected sequence 1, type 1 (descriptor block) at block 568 [all …]
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_containers.h | 56 PyObject* NewMessageFieldsByName(const Descriptor* descriptor); 57 PyObject* NewMessageFieldsByCamelcaseName(const Descriptor* descriptor); 58 PyObject* NewMessageFieldsByNumber(const Descriptor* descriptor); 59 PyObject* NewMessageFieldsSeq(const Descriptor* descriptor); 61 PyObject* NewMessageNestedTypesSeq(const Descriptor* descriptor); 62 PyObject* NewMessageNestedTypesByName(const Descriptor* descriptor); 64 PyObject* NewMessageEnumsByName(const Descriptor* descriptor); 65 PyObject* NewMessageEnumsSeq(const Descriptor* descriptor); 66 PyObject* NewMessageEnumValuesByName(const Descriptor* descriptor); 68 PyObject* NewMessageExtensionsByName(const Descriptor* descriptor); [all …]
|
D | extension_dict.cc | 66 const FieldDescriptor* descriptor) { in ReleaseExtension() argument 67 if (descriptor->label() == FieldDescriptor::LABEL_REPEATED) { in ReleaseExtension() 68 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ReleaseExtension() 81 } else if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ReleaseExtension() 83 self->parent, descriptor, in ReleaseExtension() 93 const FieldDescriptor* descriptor = cmessage::GetExtensionDescriptor(key); in subscript() local 94 if (descriptor == NULL) { in subscript() 97 if (!CheckFieldBelongsToMessage(descriptor, self->message)) { in subscript() 101 if (descriptor->label() != FieldDescriptor::LABEL_REPEATED && in subscript() 102 descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in subscript() [all …]
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_helpers.cc | 114 std::string GetFileNamespace(const FileDescriptor* descriptor) { in GetFileNamespace() argument 115 if (descriptor->options().has_csharp_namespace()) { in GetFileNamespace() 116 return descriptor->options().csharp_namespace(); in GetFileNamespace() 118 return UnderscoresToCamelCase(descriptor->package(), true, true); in GetFileNamespace() 123 std::string GetFileNameBase(const FileDescriptor* descriptor) { in GetFileNameBase() argument 124 std::string proto_file = descriptor->name(); in GetFileNameBase() 130 std::string GetReflectionClassUnqualifiedName(const FileDescriptor* descriptor) { in GetReflectionClassUnqualifiedName() argument 133 return GetFileNameBase(descriptor) + "Reflection"; in GetReflectionClassUnqualifiedName() 296 std::string GetReflectionClassName(const FileDescriptor* descriptor) { in GetReflectionClassName() argument 297 std::string result = GetFileNamespace(descriptor); in GetReflectionClassName() [all …]
|
/external/protobuf/objectivec/google/protobuf/ |
D | Wrappers.pbobjc.m | 22 static GPBFileDescriptor *descriptor = NULL; 23 if (!descriptor) { 25 descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf" 28 return descriptor; 44 + (GPBDescriptor *)descriptor { class 45 static GPBDescriptor *descriptor = nil; 46 if (!descriptor) { 66 NSAssert(descriptor == nil, @"Startup recursed!"); 67 descriptor = localDescriptor; 69 return descriptor; [all …]
|
D | Type.pbobjc.m | 37 static GPBFileDescriptor *descriptor = NULL; 38 if (!descriptor) { 40 descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf" 43 return descriptor; 49 static GPBEnumDescriptor *descriptor = NULL; 50 if (!descriptor) { 63 if (!OSAtomicCompareAndSwapPtrBarrier(nil, worker, (void * volatile *)&descriptor)) { 67 return descriptor; 103 + (GPBDescriptor *)descriptor { class 104 static GPBDescriptor *descriptor = nil; [all …]
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_field.cc | 51 void SetCommonFieldVariables(const FieldDescriptor* descriptor, in SetCommonFieldVariables() argument 53 string camel_case_name = FieldName(descriptor); in SetCommonFieldVariables() 55 if (descriptor->type() == FieldDescriptor::TYPE_GROUP) { in SetCommonFieldVariables() 56 raw_field_name = descriptor->message_type()->name(); in SetCommonFieldVariables() 58 raw_field_name = descriptor->name(); in SetCommonFieldVariables() 62 UnCamelCaseFieldName(camel_case_name, descriptor)); in SetCommonFieldVariables() 66 if (descriptor->GetSourceLocation(&location)) { in SetCommonFieldVariables() 71 const string& classname = ClassName(descriptor->containing_type()); in SetCommonFieldVariables() 74 const string& capitalized_name = FieldNameCapitalized(descriptor); in SetCommonFieldVariables() 79 (*variables)["field_number"] = SimpleItoa(descriptor->number()); in SetCommonFieldVariables() [all …]
|
/external/protobuf/objectivec/Tests/ |
D | GPBDescriptorTests.m | 44 GPBDescriptor *descriptor = [TestAllTypes descriptor]; 48 [descriptor fieldWithName:@"optionalNestedEnum"]; 51 [descriptor fieldWithNumber:21]; 59 fieldDescriptorWithName = [descriptor fieldWithName:@"optionalForeignEnum"]; 61 fieldDescriptorWithNumber = [descriptor fieldWithNumber:22]; 69 fieldDescriptorWithName = [descriptor fieldWithName:@"optionalImportEnum"]; 71 fieldDescriptorWithNumber = [descriptor fieldWithNumber:23]; 79 fieldDescriptorWithName = [descriptor fieldWithName:@"optionalNestedMessage"]; 81 fieldDescriptorWithNumber = [descriptor fieldWithNumber:18]; 88 [descriptor fieldWithName:@"optionalForeignMessage"]; [all …]
|
/external/e2fsprogs/tests/j_ext_long_trans/ |
D | expect | 29 Found expected sequence 1, type 1 (descriptor block) at block 3 30 Found expected sequence 1, type 1 (descriptor block) at block 128 31 Found expected sequence 1, type 1 (descriptor block) at block 253 32 Found expected sequence 1, type 1 (descriptor block) at block 378 33 Found expected sequence 1, type 1 (descriptor block) at block 503 34 Found expected sequence 1, type 1 (descriptor block) at block 628 35 Found expected sequence 1, type 1 (descriptor block) at block 753 36 Found expected sequence 1, type 1 (descriptor block) at block 878 37 Found expected sequence 1, type 1 (descriptor block) at block 1003 38 Found expected sequence 1, type 1 (descriptor block) at block 1128 [all …]
|
/external/e2fsprogs/tests/j_long_trans/ |
D | expect | 20 Found expected sequence 1, type 1 (descriptor block) at block 1 21 Found expected sequence 1, type 1 (descriptor block) at block 126 22 Found expected sequence 1, type 1 (descriptor block) at block 251 23 Found expected sequence 1, type 1 (descriptor block) at block 376 24 Found expected sequence 1, type 1 (descriptor block) at block 501 25 Found expected sequence 1, type 1 (descriptor block) at block 626 26 Found expected sequence 1, type 1 (descriptor block) at block 751 27 Found expected sequence 1, type 1 (descriptor block) at block 876 28 Found expected sequence 1, type 1 (descriptor block) at block 1001 29 Found expected sequence 1, type 1 (descriptor block) at block 1126 [all …]
|
/external/protobuf/src/google/protobuf/ |
D | generated_message_reflection_unittest.cc | 68 unittest::TestAllTypes::descriptor()->FindFieldByName(name); in F() 77 unittest::TestAllTypes::descriptor()); in TEST() 101 unittest::TestAllTypes::descriptor()); in TEST() 138 unittest::TestAllTypes::descriptor()); in TEST() 226 const Descriptor* descriptor = message1.GetDescriptor(); in TEST() local 227 fields.push_back(descriptor->FindFieldByName("optional_double")); in TEST() 228 fields.push_back(descriptor->FindFieldByName("repeated_int32")); in TEST() 229 fields.push_back(descriptor->FindFieldByName("optional_string")); in TEST() 230 fields.push_back(descriptor->FindFieldByName("optional_uint64")); in TEST() 310 const Descriptor* descriptor = message1.GetDescriptor(); in TEST() local [all …]
|
/external/v8/src/inspector/ |
D | injected-script-source.js | 305 var descriptor = descriptors[i]; 306 if ("get" in descriptor) 307 descriptor.get = this._wrapObject(descriptor.get, objectGroupName); 308 if ("set" in descriptor) 309 descriptor.set = this._wrapObject(descriptor.set, objectGroupName); 310 if ("value" in descriptor) 311 … descriptor.value = this._wrapObject(descriptor.value, objectGroupName, false, generatePreview); 312 if (!("configurable" in descriptor)) 313 descriptor.configurable = false; 314 if (!("enumerable" in descriptor)) [all …]
|
/external/proguard/src/proguard/classfile/util/ |
D | ExternalTypeEnumeration.java | 39 private String descriptor; field in ExternalTypeEnumeration 43 public ExternalTypeEnumeration(String descriptor) in ExternalTypeEnumeration() argument 45 setDescriptor(descriptor); in ExternalTypeEnumeration() 54 void setDescriptor(String descriptor) in setDescriptor() argument 56 this.descriptor = descriptor; in setDescriptor() 64 index = descriptor.indexOf(JavaConstants.METHOD_ARGUMENTS_OPEN) + 1; in reset() 68 … throw new IllegalArgumentException("Missing opening parenthesis in descriptor ["+descriptor+"]"); in reset() 75 return index < descriptor.length() - 1; in hasMoreTypes() 84 index = descriptor.indexOf(JavaConstants.METHOD_ARGUMENTS_SEPARATOR, in nextType() 90 index = descriptor.indexOf(JavaConstants.METHOD_ARGUMENTS_CLOSE, in nextType() [all …]
|
D | InternalTypeEnumeration.java | 36 private String descriptor; field in InternalTypeEnumeration 45 public InternalTypeEnumeration(String descriptor) in InternalTypeEnumeration() argument 47 this.descriptor = descriptor; in InternalTypeEnumeration() 48 this.firstIndex = descriptor.indexOf(ClassConstants.METHOD_ARGUMENTS_OPEN); in InternalTypeEnumeration() 49 this.lastIndex = descriptor.indexOf(ClassConstants.METHOD_ARGUMENTS_CLOSE); in InternalTypeEnumeration() 54 lastIndex = descriptor.length(); in InternalTypeEnumeration() 74 return descriptor.substring(0, firstIndex); in formalTypeParameters() 97 char c = descriptor.charAt(index++); in nextType() 113 return descriptor.substring(startIndex, index); in nextType() 123 return descriptor.substring(lastIndex + 1); in returnType() [all …]
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_field.cc | 61 void SetCommonFieldVariables(const FieldDescriptor* descriptor, in SetCommonFieldVariables() argument 64 (*variables)["name"] = FieldName(descriptor); in SetCommonFieldVariables() 65 (*variables)["index"] = SimpleItoa(descriptor->index()); in SetCommonFieldVariables() 66 (*variables)["number"] = SimpleItoa(descriptor->number()); in SetCommonFieldVariables() 67 (*variables)["classname"] = ClassName(FieldScope(descriptor), false); in SetCommonFieldVariables() 68 (*variables)["declared_type"] = DeclaredTypeMethodName(descriptor->type()); in SetCommonFieldVariables() 74 StrCat("&this->", FieldName(descriptor), "()"); in SetCommonFieldVariables() 77 WireFormat::TagSize(descriptor->number(), descriptor->type())); in SetCommonFieldVariables() 78 (*variables)["deprecation"] = descriptor->options().deprecated() in SetCommonFieldVariables() 80 (*variables)["deprecated_attr"] = descriptor->options().deprecated() in SetCommonFieldVariables() [all …]
|
/external/e2fsprogs/tests/j_long_revoke_trans/ |
D | expect | 20 Found expected sequence 1, type 1 (descriptor block) at block 1 21 Found expected sequence 1, type 1 (descriptor block) at block 126 22 Found expected sequence 1, type 1 (descriptor block) at block 251 23 Found expected sequence 1, type 1 (descriptor block) at block 376 24 Found expected sequence 1, type 1 (descriptor block) at block 501 25 Found expected sequence 1, type 1 (descriptor block) at block 626 26 Found expected sequence 1, type 1 (descriptor block) at block 751 27 Found expected sequence 1, type 1 (descriptor block) at block 876 28 Found expected sequence 1, type 1 (descriptor block) at block 1001 29 Found expected sequence 1, type 1 (descriptor block) at block 1126 [all …]
|