/external/protobuf/src/google/protobuf/compiler/javanano/ |
javanano_field.h | 41 #include <google/protobuf/descriptor.h> 94 // Convenience class which constructs FieldGenerators for a Descriptor. 97 explicit FieldGeneratorMap(const Descriptor* descriptor, const Params ¶ms); 105 const Descriptor* descriptor_; 116 void SetCommonOneofVariables(const FieldDescriptor* descriptor, 118 void GenerateOneofFieldEquals(const FieldDescriptor* descriptor, 121 void GenerateOneofFieldHashCode(const FieldDescriptor* descriptor,
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
objectivec_extension.cc | 35 #include <google/protobuf/descriptor.pb.h> 45 const FieldDescriptor* descriptor) 46 : method_name_(ExtensionMethodName(descriptor)), 48 descriptor_(descriptor) { 49 if (descriptor->is_map()) {
|
objectivec_field.h | 38 #include <google/protobuf/descriptor.h> 97 FieldGenerator(const FieldDescriptor* descriptor, const Options& options); 121 SingleFieldGenerator(const FieldDescriptor* descriptor, 138 ObjCObjFieldGenerator(const FieldDescriptor* descriptor, 157 RepeatedFieldGenerator(const FieldDescriptor* descriptor, 166 // Convenience class which constructs FieldGenerators for a Descriptor. 169 FieldGeneratorMap(const Descriptor* descriptor, const Options& options); 184 const Descriptor* descriptor_;
|
objectivec_map_field.cc | 52 const char* MapEntryTypeName(const FieldDescriptor* descriptor, bool isKey) { 53 ObjectiveCType type = GetObjectiveCType(descriptor); 87 MapFieldGenerator::MapFieldGenerator(const FieldDescriptor* descriptor, 89 : RepeatedFieldGenerator(descriptor, options) { 91 descriptor->message_type()->FindFieldByName("key"); 93 descriptor->message_type()->FindFieldByName("value");
|
/art/runtime/verifier/ |
reg_type.h | 322 const StringPiece& descriptor, 324 : descriptor_(descriptor), 392 const StringPiece& descriptor, 404 ConflictType(mirror::Class* klass, const StringPiece& descriptor, 406 : RegType(klass, descriptor, cache_id) { 427 const StringPiece& descriptor, 439 UndefinedType(mirror::Class* klass, const StringPiece& descriptor, 441 : RegType(klass, descriptor, cache_id) { 450 PrimitiveType(mirror::Class* klass, const StringPiece& descriptor, 458 Cat1Type(mirror::Class* klass, const StringPiece& descriptor, [all...] |
/external/e2fsprogs/debugfs/ |
revoke.c | 538 struct buffer_head *descriptor; local 544 descriptor = NULL; 559 &descriptor, &offset, 566 if (descriptor) 567 flush_descriptor(journal, descriptor, offset, write_op); 572 * Write out one revoke record. We need to create a new descriptor 585 struct buffer_head *descriptor; local 596 descriptor = *descriptorp; 608 /* Make sure we have a descriptor with space left for the record */ 609 if (descriptor) { [all...] |
/external/e2fsprogs/e2fsck/ |
revoke.c | 538 struct buffer_head *descriptor; local 544 descriptor = NULL; 559 &descriptor, &offset, 566 if (descriptor) 567 flush_descriptor(journal, descriptor, offset, write_op); 572 * Write out one revoke record. We need to create a new descriptor 585 struct buffer_head *descriptor; local 596 descriptor = *descriptorp; 608 /* Make sure we have a descriptor with space left for the record */ 609 if (descriptor) { [all...] |
/external/adhd/cras/src/server/ |
cras_dsp_mod_ladspa.c | 17 const LADSPA_Descriptor *descriptor; member in struct:ladspa_data 25 const LADSPA_Descriptor *desc = data->descriptor; 35 const LADSPA_Descriptor *desc = data->descriptor; 45 const LADSPA_Descriptor *desc = data->descriptor; 59 const LADSPA_Descriptor *desc = data->descriptor; 71 const LADSPA_Descriptor *desc = data->descriptor; 83 const LADSPA_Descriptor *desc = data->descriptor; 107 if (LADSPA_IS_INPLACE_BROKEN(data->descriptor->Properties)) 115 const LADSPA_Descriptor *descriptor = data->descriptor; local [all...] |
/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/tensorflow/tensorflow/python/util/protobuf/ |
compare.py | 69 from google.protobuf import descriptor 130 if desc.label is not descriptor.FieldDescriptor.LABEL_REPEATED: 139 if desc.type in (descriptor.FieldDescriptor.TYPE_INT64, 140 descriptor.FieldDescriptor.TYPE_UINT64, 141 descriptor.FieldDescriptor.TYPE_SINT64): 143 elif desc.type in (descriptor.FieldDescriptor.TYPE_INT32, 144 descriptor.FieldDescriptor.TYPE_UINT32, 145 descriptor.FieldDescriptor.TYPE_SINT32, 146 descriptor.FieldDescriptor.TYPE_ENUM): 148 elif desc.type == descriptor.FieldDescriptor.TYPE_FLOAT [all...] |
/external/protobuf/ruby/ext/google/protobuf_c/ |
message.c | 43 layout_mark(self->descriptor->layout, Message_data(self)); 56 VALUE descriptor = rb_ivar_get(klass, descriptor_instancevar_interned); local 57 Descriptor* desc = ruby_to_Descriptor(descriptor); 67 msg->descriptor = desc; 68 rb_ivar_set(ret, descriptor_instancevar_interned, descriptor); 94 self->descriptor->layout-> 155 if (!upb_msgdef_lookupname(self->descriptor->msgdef, name, name_len, &f, 173 layout_set(self->descriptor->layout, Message_data(self), f, argv[1]); 176 return layout_get(self->descriptor->layout, Message_data(self), f) [all...] |
/external/v8/src/inspector/ |
injected-script-source.js | 342 for (var descriptor of iter) { 343 if (subtype === "internal#scopeList" && descriptor.name === "length") 345 if ("get" in descriptor) 346 descriptor.get = this._wrapObject(descriptor.get, objectGroupName); 347 if ("set" in descriptor) 348 descriptor.set = this._wrapObject(descriptor.set, objectGroupName); 349 if ("value" in descriptor) 350 descriptor.value = this._wrapObject(descriptor.value, objectGroupName, false, generatePreview) [all...] |
/external/proguard/src/proguard/optimize/ |
DuplicateInitializerFixer.java | 83 // Is there already another initializer with the same descriptor? 84 String descriptor = programMethod.getDescriptor(programClass); local 85 Method similarMethod = programClass.findMethod(name, descriptor); 95 int index = descriptor.indexOf(ClassConstants.METHOD_ARGUMENTS_CLOSE); 97 // Try to find a new, unique descriptor. 101 // Construct the new descriptor by inserting a new type 104 new StringBuffer(descriptor.substring(0, index)); 112 newDescriptorBuffer.append(descriptor.substring(index)); 116 // Is the new initializer descriptor unique? 122 System.out.println(" ["+programClass.getName()+"."+name+descriptor+"] ("+ClassUtil.externalClassAccessFlags(programMethod.getAccessFlags())+") -> ["+newDescriptor+"] (…) 173 String descriptor = method.getDescriptor(clazz); local [all...] |
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_message_field.cc | 47 void SetMessageVariables(const FieldDescriptor* descriptor, 50 SetCommonFieldVariables(descriptor, variables, options); 51 (*variables)["type"] = FieldMessageTypeName(descriptor); 52 if (descriptor->options().weak() || !descriptor->containing_oneof()) { 58 (HasFastArraySerialization(descriptor->message_type()->file(), options) 64 SafeFunctionName(descriptor->containing_type(), 65 descriptor, "release_"); 66 (*variables)["full_name"] = descriptor->full_name(); 67 if (options.proto_h && IsFieldDependent(descriptor)) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/ |
AnimationEditorDelegate.java | 102 ElementDescriptor descriptor; local 104 descriptor = data.getAnimDescriptors().getElementDescriptor(mRootTag); 106 descriptor = data.getAnimatorDescriptors().getElementDescriptor(mRootTag); 115 setUiRootNode(descriptor.createUiNode()); 132 ElementDescriptor descriptor; local 136 descriptor = new DocumentDescriptor("temp", null /*children*/); 139 descriptor = data.getAnimDescriptors().getElementDescriptor(mRootTag); 141 descriptor = data.getAnimatorDescriptors().getElementDescriptor(mRootTag); 145 setUiRootNode(descriptor.createUiNode());
|
/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...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleServerService.java | 151 // Variable for registration permission of Descriptor 338 * Sets default value to characteristic and descriptor. 598 BluetoothGattDescriptor descriptor = null; local 602 descriptor = characteristic.getDescriptor(DESCRIPTOR_UUID); 603 if (descriptor == null) { 604 showMessage("Descriptor not found"); 607 return descriptor; 620 BluetoothGattDescriptor descriptor = new BluetoothGattDescriptor(UPDATE_DESCRIPTOR_UUID, 0x11); local 621 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE); 622 notiCharacteristic.addDescriptor(descriptor); 708 BluetoothGattDescriptor descriptor = new BluetoothGattDescriptor(DESCRIPTOR_UUID, 0x11); local [all...] |
/external/protobuf/src/google/protobuf/compiler/java/ |
java_field.cc | 247 const Descriptor* descriptor, Context* context) 248 : descriptor_(descriptor), 250 ImmutableFieldGenerator>[descriptor->field_count()]) { 256 for (int i = 0; i < descriptor->field_count(); i++) { 258 descriptor->field(i), messageBitIndex, builderBitIndex, context); 270 const Descriptor* descriptor, Context* context) 271 : descriptor_(descriptor), 273 ImmutableFieldLiteGenerator>[descriptor->field_count()]) [all...] |
/external/protobuf/src/google/protobuf/util/ |
field_mask_util.h | 36 #include <google/protobuf/descriptor.h> 63 return InternalIsValidPath(T::descriptor(), path); 70 if (!InternalIsValidPath(T::descriptor(), mask.paths(i))) return false; 87 InternalGetFieldMaskForAllFields(T::descriptor(), out); 144 static bool InternalIsValidPath(const Descriptor* descriptor, 147 static void InternalGetFieldMaskForAllFields(const Descriptor* descriptor,
|
/frameworks/native/libs/ui/include/ui/ |
Gralloc2.h | 106 Error allocate(BufferDescriptor descriptor, uint32_t count, 109 Error allocate(BufferDescriptor descriptor, 112 return allocate(descriptor, 1, outStride, outBufferHandle); 118 BufferDescriptor descriptor; local 119 Error error = mMapper.createDescriptor(descriptorInfo, &descriptor); 121 error = allocate(descriptor, count, outStride, outBufferHandles);
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/util/ |
field_mask_util.h | 36 #include <google/protobuf/descriptor.h> 63 return InternalIsValidPath(T::descriptor(), path); 70 if (!InternalIsValidPath(T::descriptor(), mask.paths(i))) return false; 87 InternalGetFieldMaskForAllFields(T::descriptor(), out); 144 static bool InternalIsValidPath(const Descriptor* descriptor, 147 static void InternalGetFieldMaskForAllFields(const Descriptor* descriptor,
|
/prebuilts/misc/common/swig/include/2.0.11/chicken/ |
chicken.swg | 182 $1 = ($1_ltype)SWIG_MustGetPtr($input, $descriptor, $argnum, $disown); 186 $1 = ($1_ltype)SWIG_MustGetPtr($input, $descriptor, $argnum, SWIG_POINTER_DISOWN); 195 $1 = ($1_ltype)SWIG_MustGetPtr($input, $descriptor, 1, SWIG_POINTER_DISOWN); 199 $1 = *(($1_ltype)SWIG_MustGetPtr($input, $descriptor, 1, 0)); 221 $result = SWIG_NewPointerObj($1, $descriptor, $owner); 232 $result = SWIG_NewPointerObj($varname, $descriptor, 0); 247 if (!SWIG_ConvertPtr(C_block_item($input,1), &result, $descriptor, 0)) { 252 snprintf(err_msg, sizeof(err_msg), "Type error in argument #%i: expected %s", $argnum, ($descriptor->str ? $descriptor->str : $descriptor->name)) [all...] |
/external/autotest/client/cros/cellular/mbim_compliance/ |
usb_descriptors.py | 66 Metaclass for creating a USB descriptor class. 68 A derived descriptor class takes raw descriptor data as an array of unsigned 70 as instance attributes. A derived class of |Descriptor| should specify the 73 DESCRIPTOR_TYPE: An unsigned 8-bit number specifying the descriptor 77 DESCRIPTOR_SUBTYPE: An unsigned 8-bit number specifying the descriptor 83 in the USB descriptor. Each inner tuple is a field definition and 86 field from the raw descriptor data. The second element specifies the 88 derived descriptor class for storing the field. Each derived descriptor [all...] |
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
FieldMaskUtil.java | 36 import com.google.protobuf.Descriptors.Descriptor; 135 Descriptor descriptor = Internal.getDefaultInstance(type).getDescriptorForType(); local 139 FieldDescriptor field = descriptor.findFieldByNumber(fieldNumber); 152 Descriptor descriptor = local 155 return isValid(descriptor, fieldMask); 161 public static boolean isValid(Descriptor descriptor, FieldMask fieldMask) { 163 if (!isValid(descriptor, path)) 174 Descriptor descriptor = local [all...] |
/external/protobuf/python/google/protobuf/ |
descriptor_pool.py | 49 The message descriptor can be used in conjunction with the message_factory 60 from google.protobuf import descriptor 65 _USE_C_DESCRIPTORS = descriptor._USE_C_DESCRIPTORS 84 """A collection of protobufs dynamically constructed by descriptor protos.""" 90 return descriptor._message.DescriptorPool(descriptor_db) 96 specialized file descriptor proto lookup code to be triggered on demand. An 135 """Adds a Descriptor to the pool, non-recursively. 137 If the Descriptor contains nested messages or enums, the caller must 142 desc: A Descriptor. 144 if not isinstance(desc, descriptor.Descriptor) [all...] |