/frameworks/base/include/media/ |
Metadata.h | 49 typedef int32_t Type; 50 typedef SortedVector<Type> Filter; 52 static const Type kAny = 0; 55 static const Type kPauseAvailable = 1; // Boolean 56 static const Type kSeekBackwardAvailable = 2; // Boolean 57 static const Type kSeekForwardAvailable = 3; // Boolean 58 static const Type kSeekAvailable = 4; // Boolean 61 static const Type kTitle = 5; // String 62 static const Type kComment = 6; // String 63 static const Type kCopyright = 7; // Strin [all...] |
/libcore/luni/src/main/java/java/lang/reflect/ |
WildcardType.java | 21 * A pattern type, such as the upper bounded wildcard {@code 37 public interface WildcardType extends Type { 39 * Returns the array of types that represent the upper bounds of this type. 45 * if any of the bounds points to a missing type 47 * if any bound points to a type that cannot be instantiated for 50 Type[] getUpperBounds(); 53 * Returns the array of types that represent the lower bounds of this type. 61 * if any of the bounds points to a missing type 63 * if any of the bounds points to a type that cannot be 66 Type[] getLowerBounds() [all...] |
ParameterizedType.java | 21 * This interface represents a parameterized type such as {@code 26 public interface ParameterizedType extends Type { 29 * Returns an array of the actual type arguments for this type. 31 * If this type models a non parameterized type nested within a 32 * parameterized type, this method returns a zero length array. The generic 33 * type of the following {@code field} declaration is an example for a 34 * parameterized type without type arguments [all...] |
GenericArrayType.java | 21 * This interface represents an array type with a component type that is either 22 * a parameterized type or a type variable. 26 public interface GenericArrayType extends Type { 28 * Returns the component type of this array. 30 * @return the component type of this array 33 * if the component type points to a missing type 35 * if the component type points to a type that cannot b [all...] |
Type.java | 24 public interface Type {
|
TypeVariable.java | 20 * This interface represents a type variables such as {@code 'T'} in {@code 26 * the generic declaration that declares this type variable 29 public interface TypeVariable<D extends GenericDeclaration> extends Type { 32 * Returns the upper bounds of this type variable. {@code Object} is the 35 * @return the upper bounds of this type variable 38 * if any of the bounds points to a missing type 40 * if any of the bounds points to a type that cannot be 43 Type[] getBounds(); 46 * Returns the language construct that declares this type variable. 53 * Returns the name of this type variable as it is specified in sourc [all...] |
/external/chromium/base/memory/ |
singleton_objc.h | 7 // appropriate for Objective-C objects. A typical Objective-C object of type 41 template<typename Type> 42 struct DefaultSingletonObjCTraits : public DefaultSingletonTraits<Type> { 43 static Type* New() { 44 return [[Type alloc] init]; 47 static void Delete(Type* object) { 55 template<typename Type, 56 typename Traits = DefaultSingletonObjCTraits<Type>, 57 typename DifferentiatingType = Type> 58 class SingletonObjC : public Singleton<Type, Traits, DifferentiatingType> [all...] |
singleton.h | 15 // Default traits for Singleton<Type>. Calls operator new and operator delete on 18 template<typename Type> 21 static Type* New() { 22 // The parenthesis is very important here; it forces POD type 24 return new Type(); 28 static void Delete(Type* x) { 43 // Alternate traits for use with the Singleton<Type>. Identical to 46 template<typename Type> 47 struct LeakySingletonTraits : public DefaultSingletonTraits<Type> { 53 // Alternate traits for use with the Singleton<Type>. Allocates memor [all...] |
/dalvik/dx/junit-tests/com/android/dx/gen/ |
TypeTest.java | 26 assertEquals("Ljava/lang/String;", Type.get(String.class).getName()); 27 assertEquals("[Ljava/lang/String;", Type.get(String[].class).getName()); 28 assertEquals("[[Ljava/lang/String;", Type.get(String[][].class).getName()); 29 assertEquals("I", Type.get(int.class).getName()); 30 assertEquals("[I", Type.get(int[].class).getName()); 31 assertEquals("[[I", Type.get(int[][].class).getName());
|
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
Zeroes.java | 19 import com.android.dexgen.rop.type.Type; 33 * Gets the "zero" (or {@code null}) value for the given type. 35 * @param type {@code non-null;} the type in question 38 public static Constant zeroFor(Type type) { 39 switch (type.getBasicType()) { 40 case Type.BT_BOOLEAN: return CstBoolean.VALUE_FALSE; 41 case Type.BT_BYTE: return CstByte.VALUE_0 [all...] |
CstType.java | 19 import com.android.dexgen.rop.type.Type; 24 * Constants that represent an arbitrary type (reference or primitive). 28 private static final HashMap<Type, CstType> interns = 29 new HashMap<Type, CstType>(100); 32 public static final CstType OBJECT = intern(Type.OBJECT); 35 public static final CstType BOOLEAN = intern(Type.BOOLEAN_CLASS); 38 public static final CstType BYTE = intern(Type.BYTE_CLASS); 41 public static final CstType CHARACTER = intern(Type.CHARACTER_CLASS); 44 public static final CstType DOUBLE = intern(Type.DOUBLE_CLASS) 86 private final Type type; field in class:CstType [all...] |
/dalvik/dx/src/com/android/dx/rop/cst/ |
Zeroes.java | 19 import com.android.dx.rop.type.Type; 33 * Gets the "zero" (or {@code null}) value for the given type. 35 * @param type {@code non-null;} the type in question 38 public static Constant zeroFor(Type type) { 39 switch (type.getBasicType()) { 40 case Type.BT_BOOLEAN: return CstBoolean.VALUE_FALSE; 41 case Type.BT_BYTE: return CstByte.VALUE_0 [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
Exceptions.java | 19 import com.android.dexgen.rop.type.StdTypeList; 20 import com.android.dexgen.rop.type.Type; 26 /** {@code non-null;} the type {@code java.lang.ArithmeticException} */ 27 public static final Type TYPE_ArithmeticException = 28 Type.intern("Ljava/lang/ArithmeticException;"); 31 * {@code non-null;} the type 34 public static final Type TYPE_ArrayIndexOutOfBoundsException = 35 Type.intern("Ljava/lang/ArrayIndexOutOfBoundsException;"); 37 /** {@code non-null;} the type {@code java.lang.ArrayStoreException} * [all...] |
/dalvik/dx/src/com/android/dx/rop/code/ |
Exceptions.java | 19 import com.android.dx.rop.type.StdTypeList; 20 import com.android.dx.rop.type.Type; 26 /** {@code non-null;} the type {@code java.lang.ArithmeticException} */ 27 public static final Type TYPE_ArithmeticException = 28 Type.intern("Ljava/lang/ArithmeticException;"); 31 * {@code non-null;} the type 34 public static final Type TYPE_ArrayIndexOutOfBoundsException = 35 Type.intern("Ljava/lang/ArrayIndexOutOfBoundsException;"); 37 /** {@code non-null;} the type {@code java.lang.ArrayStoreException} * [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyRepTypeTest.java | 35 * java.security.KeyRep.Type#valueOf(String) 39 KeyRep.Type.valueOf("type"); 45 KeyRep.Type.valueOf(null); 50 assertEquals(KeyRep.Type.PRIVATE, KeyRep.Type 51 .valueOf(KeyRep.Type.PRIVATE.toString())); 52 assertEquals(KeyRep.Type.PUBLIC, KeyRep.Type.valueOf(KeyRep.Type.PUBLI [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/type/ |
StdTypeList.java | 17 package com.android.dexgen.rop.type; 30 public static final StdTypeList INT = StdTypeList.make(Type.INT); 33 public static final StdTypeList LONG = StdTypeList.make(Type.LONG); 36 public static final StdTypeList FLOAT = StdTypeList.make(Type.FLOAT); 39 public static final StdTypeList DOUBLE = StdTypeList.make(Type.DOUBLE); 42 public static final StdTypeList OBJECT = StdTypeList.make(Type.OBJECT); 46 = StdTypeList.make(Type.RETURN_ADDRESS); 50 StdTypeList.make(Type.THROWABLE); 54 StdTypeList.make(Type.INT, Type.INT) [all...] |
Type.java | 17 package com.android.dexgen.rop.type; 24 * Representation of a value type, such as may appear in a field, in a 29 public final class Type implements TypeBearer, Comparable<Type> { 31 private static final HashMap<String, Type> internTable = 32 new HashMap<String, Type>(500); 35 private static final HashMap<Class, Type> CLASS_TYPE_MAP = 36 new HashMap<Class, Type>(); 38 /** basic type constant for {@code void} */ 41 /** basic type constant for {@code boolean} * [all...] |
/dalvik/dx/src/com/android/dx/rop/type/ |
StdTypeList.java | 17 package com.android.dx.rop.type; 30 public static final StdTypeList INT = StdTypeList.make(Type.INT); 33 public static final StdTypeList LONG = StdTypeList.make(Type.LONG); 36 public static final StdTypeList FLOAT = StdTypeList.make(Type.FLOAT); 39 public static final StdTypeList DOUBLE = StdTypeList.make(Type.DOUBLE); 42 public static final StdTypeList OBJECT = StdTypeList.make(Type.OBJECT); 46 = StdTypeList.make(Type.RETURN_ADDRESS); 50 StdTypeList.make(Type.THROWABLE); 54 StdTypeList.make(Type.INT, Type.INT) [all...] |
Type.java | 17 package com.android.dx.rop.type; 24 * Representation of a value type, such as may appear in a field, in a 29 public final class Type implements TypeBearer, Comparable<Type> { 34 private static final HashMap<String, Type> internTable = 35 new HashMap<String, Type>(500); 37 /** basic type constant for {@code void} */ 40 /** basic type constant for {@code boolean} */ 43 /** basic type constant for {@code byte} */ 46 /** basic type constant for {@code char} * [all...] |
/external/webkit/Source/WebCore/platform/ |
CrossThreadCopier.h | 52 typedef T Type; 53 static Type copy(const T& parameter) 74 typedef typename WTF::RemoveTemplate<T, RefPtr>::Type TypeWithoutRefPtr; 75 typedef typename WTF::RemoveTemplate<TypeWithoutRefPtr, PassRefPtr>::Type RefCountedType; 76 typedef PassRefPtr<RefCountedType> Type; 77 static Type copy(const T& refPtr) 84 typedef PassOwnPtr<T> Type; 85 static Type copy(Type ownPtr) 92 typedef KURL Type; [all...] |
/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/ |
Types.java | 19 import java.lang.reflect.Type; 23 public static Type[] getClonedTypeArray(ListOfTypes types) { 27 public static Type getType(Type type) { 28 if (type instanceof ImplForType) { 29 return ((ImplForType)type).getResolvedType(); 31 return type;
|
ListOfTypes.java | 19 import java.lang.reflect.Type; 26 private final ArrayList<Type> types; 27 private Type[] resolvedTypes; 30 types = new ArrayList<Type>(capacity); 33 ListOfTypes(Type[] types) { 34 this.types = new ArrayList<Type>(types.length); 35 for (Type type : types) { 36 this.types.add(type); 40 void add(Type type) 59 Type type = unresolved.get(i); local [all...] |
/external/clang/test/Parser/ |
cxx-decl.cpp | 5 struct Type { 6 int Type; 11 typedef char bool; // expected-error {{redeclaration of C++ built-in type 'bool'}} 50 int Type : fooenum; 53 void test(struct Type *P) { 54 int Type; 55 Type = 1 ? P->Type : Type; 57 Type = (y:b) 4; // expected-error {{unexpected ':' in nested name specifier} [all...] |
/external/javassist/src/main/javassist/bytecode/analysis/ |
Executor.java | 35 private final Type STRING_TYPE; 36 private final Type CLASS_TYPE; 37 private final Type THROWABLE_TYPE; 76 frame.push(Type.UNINIT); 85 frame.push(Type.INTEGER); 89 frame.push(Type.LONG); 90 frame.push(Type.TOP); 95 frame.push(Type.FLOAT); 99 frame.push(Type.DOUBLE); 100 frame.push(Type.TOP) 252 Type type = frame.peek(); local 261 Type type = frame.peek(); local 705 Type type = zeroExtend(typeFromDesc(desc)); local 753 Type type; local 781 Type type = frame.getLocal(index); local 791 Type type = null; local 828 Type type = resolveClassInfo(constPool.getClassInfo(iter.u16bitAt(pos + 1))); local 849 Type type = zeroExtend(typeFromDesc(desc)); local 869 Type type = simplePop(frame); local 965 Type type = frame.peek(); local 970 Type type = frame.pop(); local [all...] |
/external/chromium/base/ |
lazy_instance.h | 5 // The LazyInstance<Type, Traits> class manages a single instance of Type, 8 // need to have guaranteed thread-safety. The Type constructor will only ever 20 // property. You can have multiple LazyInstance's of the same type, and each 21 // will manage a unique instance. It also preallocates the space for Type, as 22 // to avoid allocating the Type instance on the heap. This may help with the 24 // requires that Type be a complete type so we can determine the size. 49 template <typename Type> 53 static Type* New(void* instance) [all...] |