/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
select_reactor.hpp | 46 // Per-descriptor data. 71 // Register a descriptor with an associated single operation. Returns 0 on 74 int op_type, socket_type descriptor, 84 // given descriptor is flagged as ready, or an error has occurred. 85 ASIO_DECL void start_op(int op_type, socket_type descriptor, 88 // Cancel all operations associated with the given descriptor. The 89 // handlers associated with the descriptor will be invoked with the 91 ASIO_DECL void cancel_ops(socket_type descriptor, per_descriptor_data&); 93 // Cancel any operations that are running against the descriptor and remove 95 ASIO_DECL void deregister_descriptor(socket_type descriptor, [all...] |
/external/skia/gm/ |
clippedbitmapshaders.cpp | 54 SkString descriptor; local 57 descriptor = "tile"; 60 descriptor = "mirror"; 63 descriptor = "clamp"; 68 descriptor.prepend("clipped-bitmap-shaders-"); 70 descriptor.append("-hq"); 72 return descriptor;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
SessionRoute.cpp | 93 sp<DeviceDescriptor> descriptor, 107 if (((route->mDeviceDescriptor == 0) && (descriptor != 0)) || 109 ((descriptor == 0) || (!route->mDeviceDescriptor->equals(descriptor))))) { 113 route->mDeviceDescriptor = descriptor; 115 route = new SessionRoute(session, streamType, source, descriptor, uid); 118 if (descriptor != 0) {
|
/frameworks/native/libs/ui/ |
Gralloc1On0Adapter.cpp | 81 ALOGE("Invalid function descriptor"); 85 auto descriptor = local 87 switch (descriptor) { 158 ALOGE("Invalid function descriptor"); 162 ALOGE("Unknown function descriptor: %d", intDescriptor); 198 std::make_shared<Descriptor>(this, descriptorId)); 200 ALOGV("Created descriptor %" PRIu64, descriptorId); 207 gralloc1_buffer_descriptor_t descriptor) 209 ALOGV("Destroying descriptor %" PRIu64, descriptor); 273 auto descriptor = adapter->getDescriptor(descriptorId); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/ |
AnimDescriptors.java | 31 /** The root element descriptor */ 37 /** @return the root descriptor. */ 55 for (ElementDescriptor descriptor : getRootElementDescriptors()) { 56 nameToDescriptor.put(descriptor.getXmlName(), descriptor); local 60 ElementDescriptor descriptor = nameToDescriptor.get(mRootTag); local 61 if (descriptor == null) { 62 descriptor = getDescriptor(); 64 return descriptor;
|
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());
|
/dalvik/dx/src/com/android/dx/cf/code/ |
LocalVariableList.java | 133 * <p><b>Note:</b> At least one of {@code descriptor} or 141 * @param descriptor {@code null-ok;} the variable's type descriptor 146 CstString descriptor, CstString signature, int index) { 147 set0(n, new Item(startPc, length, name, descriptor, signature, index)); 153 * in all respects but the type descriptor and signature, if any. 212 /** {@code null-ok;} the variable's type descriptor */ 213 private final CstString descriptor; field in class:LocalVariableList.Item 224 * <p><b>Note:</b> At least one of {@code descriptor} or 231 * @param descriptor {@code null-ok;} the variable's type descripto [all...] |
/prebuilts/misc/common/swig/include/2.0.11/guile/ |
pointer-in-out.i | 51 if (SWIG_ConvertPtr($input, (void **) &temp, $*descriptor, 0)) { 59 if (SWIG_ConvertPtr($input, (void **) &temp, $*descriptor, 0)) { 68 if (SWIG_ConvertPtr($input, (void **) &temp, $*descriptor, 0)) { 80 "SWIG_APPEND_VALUE(SWIG_NewPointerObj(*$1, $*descriptor, 1));"; 83 "SWIG_APPEND_VALUE(SWIG_NewPointerObj(*$1, $*descriptor, 0));"; 94 if (SWIG_ConvertPtr($input, (void **) &$1, $descriptor, 0)) 99 $result = SWIG_NewPointerObj ($1, $descriptor, $owner);
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_string_field.cc | 38 #include <google/protobuf/descriptor.pb.h> 48 void SetStringVariables(const FieldDescriptor* descriptor, 51 SetCommonFieldVariables(descriptor, variables, options); 52 (*variables)["default"] = DefaultValue(descriptor); 54 SimpleItoa(descriptor->default_value_string().length()); 55 (*variables)["default_variable"] = descriptor->default_value_string().empty() 57 : "_default_" + FieldName(descriptor) + "_"; 59 descriptor->type() == FieldDescriptor::TYPE_BYTES ? "void" : "char"; 63 SafeFunctionName(descriptor->containing_type(), 64 descriptor, "release_") [all...] |
cpp_enum_field.cc | 38 #include <google/protobuf/descriptor.pb.h> 48 void SetEnumVariables(const FieldDescriptor* descriptor, 51 SetCommonFieldVariables(descriptor, variables, options); 52 const EnumValueDescriptor* default_value = descriptor->default_value_enum(); 53 (*variables)["type"] = ClassName(descriptor->enum_type(), true); 55 (*variables)["full_name"] = descriptor->full_name(); 63 EnumFieldGenerator(const FieldDescriptor* descriptor, 65 : descriptor_(descriptor) { 66 SetEnumVariables(descriptor, &variables_, options); 165 EnumOneofFieldGenerator(const FieldDescriptor* descriptor, [all...] |
/external/protobuf/src/google/protobuf/compiler/javanano/ |
javanano_field.cc | 75 const Descriptor* descriptor, const Params ¶ms) 76 : descriptor_(descriptor), 78 new scoped_ptr<FieldGenerator>[descriptor->field_count()]) { 83 for (int i = 0; i < descriptor->field_count(); i++) { 85 descriptor->field(i), params, &next_has_bit_index);
|
javanano_primitive_field.cc | 189 void SetPrimitiveVariables(const FieldDescriptor* descriptor, const Params params, 192 RenameJavaKeywords(UnderscoresToCamelCase(descriptor)); 194 RenameJavaKeywords(UnderscoresToCapitalizedCamelCase(descriptor)); 195 (*variables)["number"] = SimpleItoa(descriptor->number()); 197 && !descriptor->is_repeated()) { 198 (*variables)["type"] = BoxedPrimitiveTypeName(GetJavaType(descriptor)); 200 (*variables)["type"] = PrimitiveTypeName(GetJavaType(descriptor)); 207 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_STRING && 208 !descriptor->default_value_string().empty() && 210 if (descriptor->type() == FieldDescriptor::TYPE_BYTES) [all...] |
/external/protobuf/java/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/v8/test/webkit/ |
class-syntax-prototype.js | 26 function descriptor(object, propertyName) { function 41 shouldBeFalse('class A {}; descriptor(A, "prototype").writable'); 43 shouldBeFalse('class A {}; descriptor(A, "prototype").enumerable'); 46 shouldBeFalse('class A {}; descriptor(A, "prototype").configurable'); 49 shouldBeTrue('class A { static foo() {} }; descriptor(A, "foo").writable'); 51 shouldBeFalse('class A { static foo() {} }; descriptor(A, "foo").enumerable'); 53 shouldBeTrue('class A { static foo() {} }; descriptor(A, "foo").configurable'); 56 shouldBe('class A { static get foo() {} }; descriptor(A, "foo").writable', 'undefined'); 58 shouldBeFalse('class A { static get foo() {} }; descriptor(A, "foo").enumerable'); 61 shouldBeTrue('class A { static get foo() {} }; descriptor(A, "foo").configurable') [all...] |
/art/runtime/verifier/ |
reg_type.h | 281 const StringPiece& descriptor, 283 : descriptor_(descriptor), 318 const StringPiece& descriptor, 326 ConflictType(mirror::Class* klass, const StringPiece& descriptor, 328 : RegType(klass, descriptor, cache_id) {} 347 const StringPiece& descriptor, 355 UndefinedType(mirror::Class* klass, const StringPiece& descriptor, 357 : RegType(klass, descriptor, cache_id) {} 364 PrimitiveType(mirror::Class* klass, const StringPiece& descriptor, 372 Cat1Type(mirror::Class* klass, const StringPiece& descriptor, [all...] |
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstType.java | 89 * {@code null-ok;} the type descriptor corresponding to this instance, if 92 private CstString descriptor; field in class:CstType 154 this.descriptor = null; 221 * Gets the type descriptor for this instance. 223 * @return {@code non-null;} the descriptor 226 if (descriptor == null) { 227 descriptor = new CstString(type.getDescriptor()); 230 return descriptor; 239 // descriptor is a string like "[[Ljava/util/String;" 240 String descriptor = getDescriptor().getString() local [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/ |
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...] |
/external/e2fsprogs/e2fsck/ |
revoke.c | 440 struct journal_head *descriptor; local 446 descriptor = NULL; 458 &descriptor, &offset, 465 if (descriptor) 466 flush_descriptor(journal, descriptor, offset); 471 * Write out one revoke record. We need to create a new descriptor 481 struct journal_head *descriptor; local 492 descriptor = *descriptorp; 495 /* Make sure we have a descriptor with space left for the record */ 496 if (descriptor) { [all...] |
/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,
|
/frameworks/base/core/java/android/app/ |
ActivityManagerNative.java | 74 (IActivityManager)obj.queryLocalInterface(descriptor); 142 attachInterface(this, descriptor); 151 data.enforceInterface(IActivityManager.descriptor); 174 data.enforceInterface(IActivityManager.descriptor); 198 data.enforceInterface(IActivityManager.descriptor); 224 data.enforceInterface(IActivityManager.descriptor); 248 data.enforceInterface(IActivityManager.descriptor); 271 data.enforceInterface(IActivityManager.descriptor); 297 data.enforceInterface(IActivityManager.descriptor); 322 data.enforceInterface(IActivityManager.descriptor); [all...] |
/external/protobuf/python/google/protobuf/ |
text_format.py | 43 from google.protobuf import descriptor namespace 56 _FLOAT_TYPES = frozenset([descriptor.FieldDescriptor.CPPTYPE_FLOAT, 57 descriptor.FieldDescriptor.CPPTYPE_DOUBLE]) 111 if field.label == descriptor.FieldDescriptor.LABEL_REPEATED: 131 field.type == descriptor.FieldDescriptor.TYPE_MESSAGE and 133 field.label == descriptor.FieldDescriptor.LABEL_OPTIONAL): 138 elif field.type == descriptor.FieldDescriptor.TYPE_GROUP: 144 if field.cpp_type != descriptor.FieldDescriptor.CPPTYPE_MESSAGE: 171 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE: 184 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_ENUM [all...] |
/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/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
descriptor.py | 18 """Services descriptor definitions. 24 generate an appropriate descriptor object that describes that class. 32 http://code.google.com/p/protobuf/source/browse/trunk/src/google/protobuf/descriptor.proto 35 descriptors and the ones defined in descriptor.proto. This was done in order 38 FieldDescriptor.Variant as is done in descriptor.proto FieldDescriptorProto.Type. 49 # Describe Pixel class using message descriptor. 161 """Enum value descriptor. 168 # TODO(rafek): Why are these listed as optional in descriptor.proto. 177 """Enum class descriptor. 189 """Field definition descriptor [all...] |