/external/autotest/client/cros/cellular/mbim_compliance/ |
usb_descriptors_unittest.py | 14 class TestDescriptor(Descriptor): 15 """ Descriptor for unit testing. """ 24 """ Test cases for verifying Descriptor classes and DescriptorParser. """ 29 Verifies that an excepion is raised when constructing a Descriptor 35 class DescriptorFieldsNotDefined(Descriptor): 36 """ Descriptor without _FIELDS attribute. """ 42 Verifies that it is OK to construct a Descriptor subclass that does not 45 class DescriptorTypeNotDefined(Descriptor): 46 """ Descriptor without DESCRIPTOR_TYPE attribute. """ 50 descriptor = DescriptorTypeNotDefined(descriptor_data [all...] |
/external/v8/src/ic/ia32/ |
ic-ia32.cc | 263 typedef StoreWithVectorDescriptor Descriptor; 268 Register receiver = Descriptor::ReceiverRegister(); 269 Register key = Descriptor::NameRegister(); 283 __ LoadParameterFromStack<Descriptor>(Descriptor::ValueRegister(), 284 Descriptor::kValue); 484 typedef StoreWithVectorDescriptor Descriptor; 486 Register receiver = Descriptor::ReceiverRegister(); 487 Register name = Descriptor::NameRegister(); 488 Register value = Descriptor::ValueRegister() [all...] |
/external/v8/src/ic/x87/ |
ic-x87.cc | 263 typedef StoreWithVectorDescriptor Descriptor; 268 Register receiver = Descriptor::ReceiverRegister(); 269 Register key = Descriptor::NameRegister(); 283 __ LoadParameterFromStack<Descriptor>(Descriptor::ValueRegister(), 284 Descriptor::kValue); 484 typedef StoreWithVectorDescriptor Descriptor; 486 Register receiver = Descriptor::ReceiverRegister(); 487 Register name = Descriptor::NameRegister(); 488 Register value = Descriptor::ValueRegister() [all...] |
/external/protobuf/csharp/src/AddressBook/ |
Addressbook.cs | 16 #region Descriptor 17 /// <summary>File descriptor for addressbook.proto</summary> 18 public static pbr::FileDescriptor Descriptor { 19 get { return descriptor; } 21 private static pbr::FileDescriptor descriptor; field in class:Google.Protobuf.Examples.AddressBook.AddressbookReflection 35 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 54 public static pbr::MessageDescriptor Descriptor { 55 get { return global::Google.Protobuf.Examples.AddressBook.AddressbookReflection.Descriptor.MessageTypes[0]; } 58 pbr::MessageDescriptor pb::IMessage.Descriptor { 59 get { return Descriptor; } [all...] |
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
javamicro_message.cc | 44 #include <google/protobuf/descriptor.pb.h> 71 // Sort the fields of the given Descriptor by number into a new[]'d array 73 const FieldDescriptor** SortFieldsByNumber(const Descriptor* descriptor) { 75 new const FieldDescriptor*[descriptor->field_count()]; 76 for (int i = 0; i < descriptor->field_count(); i++) { 77 fields[i] = descriptor->field(i); 79 sort(fields, fields + descriptor->field_count(), 87 string UniqueFileScopeIdentifier(const Descriptor* descriptor) { [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Gcd/ |
Gcd.c | 222 Validate resource descriptor HOB's attributes.
227 @param Attributes Resource descriptor HOB attributes.
403 Internal function. Inserts a new descriptor into a sorted list
696 @retval EFI_UNSUPPORTED Could not find the proper descriptor on this
1016 @retval EFI_NOT_FOUND No descriptor for the desired space exists.
[all...] |
/external/llvm/lib/Transforms/Utils/ |
SymbolRewriter.cpp | 26 // Currently, the following descriptor types are supported: 44 // New rewrite descriptors can be created. Addding a new rewrite descriptor 47 // a) extended the rewrite descriptor kind enumeration 49 // b) implementing the new descriptor 264 for (auto &Descriptor : *DescriptorList) 265 if (!parseEntry(YS, Descriptor, DL)) 287 YS.printError(Entry.getValue(), "rewrite descriptor must be a map"); 305 yaml::MappingNode *Descriptor, 312 for (auto &Field : *Descriptor) { 321 YS.printError(Field.getKey(), "descriptor key must be a scalar") [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/ |
LightMemoryTest.c | 702 EFI_GCD_MEMORY_SPACE_DESCRIPTOR Descriptor;
718 // the different GCD memory descriptor, it may be cause different action.
722 &Descriptor
728 if (Descriptor.GcdMemoryType == EfiGcdMemoryTypeReserved &&
729 (Descriptor.Capabilities & (EFI_MEMORY_PRESENT | EFI_MEMORY_INITIALIZED | EFI_MEMORY_TESTED)) ==
732 CurrentLength = Descriptor.BaseAddress + Descriptor.Length - CurrentBase;
740 Descriptor.Capabilities
746 CurrentBase = Descriptor.BaseAddress + Descriptor.Length; [all...] |
/external/protobuf/src/google/protobuf/ |
message.cc | 48 #include <google/protobuf/descriptor.pb.h> 50 #include <google/protobuf/descriptor.h> 68 const Descriptor* descriptor = GetDescriptor(); local 69 GOOGLE_CHECK_EQ(from.GetDescriptor(), descriptor) 71 "to: " << descriptor->full_name() << ", " 81 const Descriptor* descriptor = GetDescriptor(); local 82 GOOGLE_CHECK_EQ(from.GetDescriptor(), descriptor) 84 "to: " << descriptor->full_name() << ", [all...] |
repeated_field_reflection.h | 271 static const Descriptor* GetMessageFieldDescriptor() { 287 static const Descriptor* GetMessageFieldDescriptor() { 302 static const Descriptor* GetMessageFieldDescriptor() { 309 static const Descriptor* get() { 315 static const Descriptor* get() { 330 static const Descriptor* GetMessageFieldDescriptor() {
|
/external/javassist/src/main/javassist/ |
CtConstructor.java | 58 String desc = Descriptor.ofConstructor(parameters); 126 + (isConstructor() ? Descriptor.toString(getSignature()) 380 int num = Descriptor.numOfParameters(desc) + 1; 387 Descriptor.Iterator it = new Descriptor.Iterator(desc);
|
CtMethod.java | 56 String desc = Descriptor.ofMethod(returnType, parameters); 172 + Descriptor.getParamDescriptor(methodInfo.getDescriptor()); 194 + getName() + Descriptor.toString(getSignature()); 345 String descriptor() { method in class:CtMethod.ConstParameter 357 * Returns the descriptor for constructors. 366 * Returns the default descriptor for constructors. 385 String descriptor() { method in class:CtMethod.IntConstParameter 406 String descriptor() { method in class:CtMethod.LongConstParameter 427 String descriptor() { method in class:CtMethod.StringConstParameter
|
/external/javassist/src/main/javassist/expr/ |
NewArray.java | 88 int dim = Descriptor.arrayDimension(desc); 89 desc = Descriptor.toArrayComponent(desc, dim); 90 return Descriptor.toCtClass(desc, thisClass.getClassPool()); 129 return Descriptor.arrayDimension(desc) 206 retType = Descriptor.toCtClass(desc, thisClass.getClassPool());
|
MethodCall.java | 96 cname = Descriptor.toClassName(cname); 121 * called method descriptor, which is defined in the JVM specification. 124 * @see javassist.bytecode.Descriptor 156 return Descriptor.getParameterTypes(getMethodDesc(), 165 return Descriptor.getReturnType(getMethodDesc(), 207 CtClass[] params = Descriptor.getParameterTypes(signature, cp); 208 CtClass retType = Descriptor.getReturnType(signature, cp);
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
MessageTest.java | 89 * have the same descriptor, this should work, but it is an entirely different 168 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); local 169 DynamicMessage.Builder builder = DynamicMessage.newBuilder(descriptor); 172 builder.setField(descriptor.findFieldByName("a"), 1); 174 builder.setField(descriptor.findFieldByName("b"), 1); 176 builder.setField(descriptor.findFieldByName("c"), 1); 181 Descriptors.Descriptor descriptor = TestRequiredForeign.getDescriptor(); local 182 DynamicMessage.Builder builder = DynamicMessage.newBuilder(descriptor); 308 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); local 318 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); local 342 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); local [all...] |
/external/protobuf/php/ext/google/protobuf/ |
message.c | 50 field = upb_msgdef_ntofz(self->descriptor->msgdef, Z_STRVAL_P(field_name)); 54 layout_set(self->descriptor->layout, message_data(self), field, value); 64 field = upb_msgdef_ntofz(self->descriptor->msgdef, Z_STRVAL_P(member)); 68 zval* retval = layout_get(self->descriptor->layout, message_data(self), field TSRMLS_CC); 178 static const upb_handlers* msgdef_pb_serialize_handlers(Descriptor* desc) { 187 Descriptor* desc = (Descriptor*)zend_object_store_get_object( 220 Descriptor* desc = zend_object_store_get_object(php_descriptor TSRMLS_CC); 227 msg->descriptor = desc; 242 Descriptor* desc = php_to_descriptor(php_descriptor) [all...] |
/external/protobuf/src/google/protobuf/compiler/java/ |
java_name_resolver.cc | 49 // Strip package name from a descriptor's full name. 65 string ClassNameWithoutPackage(const Descriptor* descriptor, 67 return StripPackageName(descriptor->full_name(), 68 descriptor->file()); 72 string ClassNameWithoutPackage(const EnumDescriptor* descriptor, 75 const Descriptor* message_descriptor = descriptor->containing_type(); 77 return descriptor->name(); 80 "." + descriptor->name() [all...] |
java_field.h | 46 #include <google/protobuf/descriptor.h> 129 // Convenience class which constructs FieldGenerators for a Descriptor. 133 explicit FieldGeneratorMap(const Descriptor* descriptor, 140 const Descriptor* descriptor_; 158 FieldGeneratorMap(const Descriptor* descriptor, 179 void SetCommonFieldVariables(const FieldDescriptor* descriptor, 184 void SetCommonOneofVariables(const FieldDescriptor* descriptor,
|
java_message_builder_lite.cc | 55 #include <google/protobuf/descriptor.pb.h> 66 bool GenerateHasBits(const Descriptor* descriptor) { 67 return SupportFieldPresence(descriptor->file()) || 68 HasRepeatedFields(descriptor); 71 string MapValueImmutableClassdName(const Descriptor* descriptor, 73 const FieldDescriptor* value_field = descriptor->FindFieldByName("value"); 80 const Descriptor* descriptor, Context* context [all...] |
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
WebRtcAudioEffects.java | 16 import android.media.audiofx.AudioEffect.Descriptor; 125 for (Descriptor d : AudioEffect.queryEffects()) { 138 for (Descriptor d : AudioEffect.queryEffects()) { 151 for (Descriptor d : AudioEffect.queryEffects()) { 282 for (Descriptor d : AudioEffect.queryEffects()) { 372 // AudioEffect.Descriptor array that are actually not available on the device. 373 // As an example: Samsung Galaxy S6 includes an AGC in the descriptor but
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
EffectsTest.java | 94 AudioEffect.Descriptor[] descriptors = AudioEffect.queryEffects(); 105 AudioEffect.Descriptor[] mDescriptors; 107 public EffectListAdapter(Context context, AudioEffect.Descriptor[] descriptors) { 148 AudioEffect.Descriptor[] mDescriptors; 150 public EffectView(Context context, AudioEffect.Descriptor[] descriptors) {
|
/system/libfmq/include/fmq/ |
MessageQueue.h | 39 typedef MQDescriptor<T, flavor> Descriptor; 46 MessageQueue(const Descriptor& Desc, bool resetPointers = true); 216 const Descriptor* getDesc() const { return mDesc.get(); } 435 std::unique_ptr<Descriptor> mDesc; 580 * Verify that the the Descriptor contains the minimum number of grantors 584 (mDesc->countGrantors() < Descriptor::kMinGrantorCount) || 591 mapGrantorDescr(Descriptor::READPTRPOS)); 603 reinterpret_cast<std::atomic<uint64_t>*>(mapGrantorDescr(Descriptor::WRITEPTRPOS)); 614 mRing = reinterpret_cast<uint8_t*>(mapGrantorDescr(Descriptor::DATAPTRPOS)); 617 mEvFlagWord = static_cast<std::atomic<uint32_t>*>(mapGrantorDescr(Descriptor::EVFLAGWORDPOS)) [all...] |
/external/nanopb-c/generator/proto/ |
plugin_pb2.py | 3 from google.protobuf import descriptor 10 DESCRIPTOR = descriptor.FileDescriptor( 13 serialized_pb='\n\x0cplugin.proto\x12\x18google.protobuf.compiler\x1a google/protobuf/descriptor.proto\"}\n\x14\x43odeGeneratorRequest\x12\x18\n\x10\x66ile_to_generate\x18\x01 \x03(\t\x12\x11\n\tparameter\x18\x02 \x01(\t\x12\x38\n\nproto_file\x18\x0f \x03(\x0b\x32$.google.protobuf.FileDescriptorProto\"\xaa\x01\n\x15\x43odeGeneratorResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x42\n\x04\x66ile\x18\x0f \x03(\x0b\x32\x34.google.protobuf.compiler.CodeGeneratorResponse.File\x1a>\n\x04\x46ile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x0finsertion_point\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x0f \x01(\t') 18 _CODEGENERATORREQUEST = descriptor.Descriptor( 22 file=DESCRIPTOR, 25 descriptor.FieldDescriptor( 32 descriptor.FieldDescriptor( 39 descriptor.FieldDescriptor [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
AudioEffect.java | 199 * The effect descriptor contains information on a particular effect implemented in the 216 public static class Descriptor { 218 public Descriptor() { 234 public Descriptor(String type, String uuid, String connectMode, 322 * Effect descriptor 324 private Descriptor mDescriptor; 395 Descriptor[] desc = new Descriptor[1]; 441 * Get the effect descriptor. 443 * @see android.media.audiofx.AudioEffect.Descriptor [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/UefiUsbLib/ |
UsbDxeLib.c | 22 Get the descriptor of the specified USB device.
24 Submit a USB get descriptor request for the USB device specified by UsbIo, Value,
25 and Index, and return the descriptor in the buffer specified by Descriptor.
28 If Descriptor is NULL, then ASSERT().
34 @param DescriptorLength The size, in bytes, of Descriptor.
35 @param Descriptor A pointer to the descriptor buffer to get.
40 buffer specified by DescriptorLength and Descriptor
54 OUT VOID *Descriptor,
[all...] |