/external/clang/test/SemaCXX/ |
typeid.cpp | 5 (void)typeid(int); // expected-error {{you need to include <typeinfo> before using the 'typeid' operator}} 14 (void)typeid(int); 20 (void)typeid(X); // expected-error{{'typeid' of incomplete type 'X'}} 21 (void)typeid(X&); // expected-error{{'typeid' of incomplete type 'X'}} 22 (void)typeid(x); // expected-error{{'typeid' of incomplete type 'X'}}
|
no-rtti.cpp | 9 (void)typeid(int); // expected-error {{cannot use typeid with -fno-rtti}}
|
runtimediag-ppe.cpp | 12 void test1() { (void)typeid(NP(1 << 32)); } 16 void test2() { (void)typeid(P(1 << 32)); } // expected-warning {{shift count >= width of type}} 18 void test3() { 1 ? (void)0 : (void)typeid(P(1 << 32)); }
|
MicrosoftCompatibilityNoExceptions.cpp | 8 (void)typeid(int);
|
/external/clang/test/PCH/ |
cxx-typeid.h | 1 // Header for PCH test cxx-typeid.cpp
|
cxx-typeid.cpp | 2 // RUN: %clang -include %S/cxx-typeid.h -fsyntax-only -Xclang -verify %s 4 // RUN: %clang -ccc-pch-is-pch -x c++-header -o %t.gch %S/cxx-typeid.h 10 (void)typeid(int);
|
/external/clang/test/Parser/ |
cxx-typeid.cpp | 10 (void)typeid(int); 11 (void)typeid(0); 12 (void)typeid 1; // expected-error {{expected '(' after 'typeid'}}
|
/ndk/tests/device/test-gabi++/jni/ |
test_gabixx_rtti.cpp | 63 CHECK(typeid(int) == typeid(i)); 64 CHECK(typeid(int*) == typeid(pi)); 65 CHECK(typeid(int) == typeid(*pi)); 67 printf("int is: %s\n", typeid(int).name()); 68 printf(" i is: %s\n", typeid(i).name()); 69 printf(" pi is: %s\n", typeid(pi).name()); 70 printf("*pi is: %s\n", typeid(*pi).name()) [all...] |
/ndk/tests/device/test-stlport-rtti/jni/ |
test_stlport_rtti.cpp | 63 CHECK(typeid(int) == typeid(i)); 64 CHECK(typeid(int*) == typeid(pi)); 65 CHECK(typeid(int) == typeid(*pi)); 67 printf("int is: %s\n", typeid(int).name()); 68 printf(" i is: %s\n", typeid(i).name()); 69 printf(" pi is: %s\n", typeid(pi).name()); 70 printf("*pi is: %s\n", typeid(*pi).name()) [all...] |
/external/dexmaker/src/main/java/com/google/dexmaker/ |
TypeId.java | 29 * java.lang.Integer} have the same type parameter: {@code TypeId<Integer>}. 34 public final class TypeId<T> { 36 public static final TypeId<Boolean> BOOLEAN 37 = new TypeId<Boolean>(com.android.dx.rop.type.Type.BOOLEAN); 40 public static final TypeId<Byte> BYTE = new TypeId<Byte>(com.android.dx.rop.type.Type.BYTE); 43 public static final TypeId<Character> CHAR 44 = new TypeId<Character>(com.android.dx.rop.type.Type.CHAR); 47 public static final TypeId<Double> DOUBLE = new TypeId<Double>(com.android.dx.rop.type.Type.DOUBLE) [all...] |
FieldId.java | 30 final TypeId<D> declaringType; 31 final TypeId<V> type; 38 FieldId(TypeId<D> declaringType, TypeId<V> type, String name) { 49 public TypeId<D> getDeclaringType() { 53 public TypeId<V> getType() {
|
/external/dexmaker/src/test/java/com/google/dexmaker/examples/ |
HelloWorldMaker.java | 25 import com.google.dexmaker.TypeId; 35 TypeId<?> helloWorld = TypeId.get("LHelloWorld;"); 36 dexMaker.declare(helloWorld, "HelloWorld.generated", Modifier.PUBLIC, TypeId.OBJECT); 60 private static void generateHelloMethod(DexMaker dexMaker, TypeId<?> declaringType) { 62 TypeId<System> systemType = TypeId.get(System.class); 63 TypeId<PrintStream> printStreamType = TypeId.get(PrintStream.class); 66 MethodId hello = declaringType.getMethod(TypeId.VOID, "hello") [all...] |
FibonacciMaker.java | 26 import com.google.dexmaker.TypeId; 33 TypeId<?> fibonacci = TypeId.get("Lcom/google/dexmaker/examples/Fibonacci;"); 37 dexMaker.declare(fibonacci, fileName, Modifier.PUBLIC, TypeId.OBJECT); 39 MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT); 42 Local<Integer> i = code.getParameter(0, TypeId.INT); 43 Local<Integer> constant1 = code.newLocal(TypeId.INT); 44 Local<Integer> constant2 = code.newLocal(TypeId.INT); 45 Local<Integer> a = code.newLocal(TypeId.INT) [all...] |
/external/clang/test/CodeGenCXX/ |
rtti-layout.cpp | 92 #define CHECK_VTABLE(type, vtable) CHECK(&vtable##_type_info_vtable + 2 == (((void **)&(typeid(type)))[0])) 93 #define CHECK_BASE_INFO_TYPE(type, index, base) CHECK(to<__vmi_class_type_info>(typeid(type)).__base_info[(index)].__base_type == &typeid(base)) 94 #define CHECK_BASE_INFO_OFFSET_FLAGS(type, index, offset, flags) CHECK(to<__vmi_class_type_info>(typeid(type)).__base_info[(index)].__offset_flags == (((offset) << 8) | (flags))) 115 CHECK(to<__si_class_type_info>(typeid(SI1)).__base_type == &typeid(A)); 119 CHECK(to<__si_class_type_info>(typeid(SI2)).__base_type == &typeid(Empty)); 124 CHECK(to<__si_class_type_info>(typeid(SI3)).__base_type == &typeid(Empty)) [all...] |
rtti-linkage.cpp | 72 (void)typeid(C*); 73 (void)typeid(C**); 74 (void)typeid(int C::*); 75 (void)typeid(int C::**); 76 (void)typeid(C C::*); 77 (void)typeid(C *C::*); 78 (void)typeid(C A::*); 79 (void)typeid(C* A::*); 102 (void)typeid(const D); 103 (void)typeid(D *) [all...] |
typeid.cpp | 10 const std::type_info &int_ti = typeid(int); 13 const std::type_info &A_ti = typeid(const volatile A &); 18 const std::type_info &c_ti = typeid(c); 23 const std::type_info &d_ti = typeid(d); 28 const std::type_info &a_ti = typeid(a); 35 return typeid(*static_cast<A *>(0)).name();
|
/external/dexmaker/src/test/java/com/google/dexmaker/ |
TypeIdTest.java | 23 assertEquals("Ljava/lang/String;", TypeId.get(String.class).getName()); 24 assertEquals("[Ljava/lang/String;", TypeId.get(String[].class).getName()); 25 assertEquals("[[Ljava/lang/String;", TypeId.get(String[][].class).getName()); 26 assertEquals("I", TypeId.get(int.class).getName()); 27 assertEquals("[I", TypeId.get(int[].class).getName()); 28 assertEquals("[[I", TypeId.get(int[][].class).getName());
|
DexMakerTest.java | 47 private static TypeId<DexMakerTest> TEST_TYPE = TypeId.get(DexMakerTest.class); 48 private static TypeId<?> INT_ARRAY = TypeId.get(int[].class); 49 private static TypeId<boolean[]> BOOLEAN_ARRAY = TypeId.get(boolean[].class); 50 private static TypeId<long[]> LONG_ARRAY = TypeId.get(long[].class); 51 private static TypeId<Object[]> OBJECT_ARRAY = TypeId.get(Object[].class) [all...] |
/external/harfbuzz_ng/contrib/python/lib/ |
fontconfig.pyx | 13 FcResult FcPatternGetInteger(FcPattern *pattern, char *typeid, int index, int *res) 14 FcResult FcPatternGetString(FcPattern *pattern, char *typeid, int index, FcChar8 **res) 36 def getInteger(self, char *typeid, int index) : 38 if self._pattern == <FcPattern *>0 or FcPatternGetInteger(self._pattern, typeid, index, &res) != FcResultMatch : return None 41 def getString(self, char *typeid, int index) : 43 if self._pattern == <FcPattern *>0 or FcPatternGetString(self._pattern, typeid, index, &res) != FcResultMatch : return None
|
/external/clang/test/CodeGenObjCXX/ |
rtti.mm | 26 const std::type_info &t1 = typeid(B*); 27 const std::type_info &t2 = typeid(B); 32 const std::type_info &t3 = typeid(i); 33 const std::type_info &t4 = typeid(*i); 38 const std::type_info &t5 = typeid(c); 39 const std::type_info &t6 = typeid(*c); 44 const std::type_info &t7 = typeid(i2); 45 const std::type_info &t8 = typeid(*i2); 50 const std::type_info &t9 = typeid(c2); 51 const std::type_info &t10 = typeid(*c2) [all...] |
/external/llvm/test/Transforms/GVN/ |
2011-09-07-TypeIdFor.ll | 12 declare i32 @llvm.eh.typeid.for(i8*) nounwind readonly 33 %typeid.i = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo* @_ZTIi to i8*)) 34 ; CHECK: call i32 @llvm.eh.typeid.for 35 %1 = icmp eq i32 %filter3.i, %typeid.i 39 %typeid1.i = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo* @_ZTIb to i8*)) 40 ; CHECK: call i32 @llvm.eh.typeid.for 56 %typeid = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo* @_ZTIi to i8*)) 57 ; CHECK-NOT: call i32 @llvm.eh.typeid.fo [all...] |
/external/clang/test/SemaObjCXX/ |
arc-ppe.mm | 12 void test1() { (void)typeid(NP((void*)(id*)0)); } 16 void test2() { (void)typeid(P((void*)(id*)0)); } // expected-error {{pointer to non-const type 'id'}}
|
/external/llvm/test/CodeGen/Generic/ |
2007-05-03-EHTypeInfo.ll | 8 %eh_typeid = tail call i32 @llvm.eh.typeid.for.i32( i8* getelementptr (%struct.exception* @program_error, i32 0, i32 0) ) ; <i32> [#uses=0] 12 declare i32 @llvm.eh.typeid.for.i32(i8*)
|
/external/llvm/include/llvm/Object/ |
Binary.h | 32 unsigned int TypeID; 66 unsigned int getType() const { return TypeID; } 70 return TypeID > ID_StartObjects && TypeID < ID_EndObjects; 74 return TypeID == ID_Archive; 78 return TypeID >= ID_ELF32L && TypeID <= ID_ELF64B; 82 return TypeID == ID_MachO; 86 return TypeID == ID_COFF; 90 return !(TypeID == ID_ELF32B || TypeID == ID_ELF64B) [all...] |
/external/clang/test/CXX/expr/expr.prim/expr.prim.general/ |
p12-0x.cpp | 23 // Make sure the rule for unevaluated operands works correctly with typeid. 28 const std::type_info& k = typeid(S::m); 29 const std::type_info& m = typeid(*(Poly*)S::m); // expected-error {{invalid use of non-static data member}} 30 const std::type_info& n = typeid(*(Poly*)(0*sizeof S::m));
|