HomeSort by relevance Sort by last modified time
    Searched full:typeid (Results 1 - 25 of 742) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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'}}
27 typeid(V); // expected-error{{'typeid' of variably modified type 'char [i]'}
    [all...]
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);
no-rtti.cpp 9 (void)typeid(int); // expected-error {{cannot use typeid with -fno-rtti}}
typeid-ref.cpp 11 (void)typeid(X&);
  /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/sources/cxx-stl/gabi++/tests/
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 91 (void)typeid(C*);
92 (void)typeid(C**);
93 (void)typeid(int C::*);
94 (void)typeid(int C::**);
95 (void)typeid(C C::*);
96 (void)typeid(C *C::*);
97 (void)typeid(C A::*);
98 (void)typeid(C* A::*);
121 (void)typeid(const D);
122 (void)typeid(D *)
    [all...]
typeid-should-throw.cpp 12 void f1(A *x) { typeid(false, *x); }
17 void f2(bool b, A *x, A *y) { typeid(b ? *x : *y); }
22 void f3(bool b, A *x, A &y) { typeid(b ? *x : y); }
27 void f4(bool b, A &x, A *y) { typeid(b ? x : *y); }
32 void f5(volatile A *x) { typeid(*x); }
37 void f6(A *x) { typeid((B &)*(B *)x); }
42 void f7(A *x) { typeid((*x)); }
47 void f8(A *x) { typeid(x[0]); }
52 void f9(A *x) { typeid(0[x]); }
57 void f10(A *x, A *y) { typeid(*y ?: *x);
    [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);
31 const std::type_info &A10_c_ti = typeid(char const[10]);
38 return typeid(*static_cast<A *>(0)).name();
  /external/clang/test/PCH/
cxx-typeid.cpp 2 // RUN: %clang_cc1 -include %S/cxx-typeid.h -fsyntax-only -stdlib=libstdc++ -verify %s
4 // RUN: %clang_cc1 -x c++-header -emit-pch -stdlib=libstdc++ -o %t.pch %S/cxx-typeid.h
10 (void)typeid(int);
  /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'}} expected-warning {{expression with side effects will be evaluated despite being used as an operand to 'typeid'}}
  /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 48 private static TypeId<DexMakerTest> TEST_TYPE = TypeId.get(DexMakerTest.class);
49 private static TypeId<?> INT_ARRAY = TypeId.get(int[].class);
50 private static TypeId<boolean[]> BOOLEAN_ARRAY = TypeId.get(boolean[].class);
51 private static TypeId<long[]> LONG_ARRAY = TypeId.get(long[].class);
52 private static TypeId<Object[]> OBJECT_ARRAY = TypeId.get(Object[].class)
    [all...]
  /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/llvm/test/CodeGen/Generic/
2007-05-03-EHTypeInfo.ll 8 %eh_typeid = tail call i32 @llvm.eh.typeid.for( i8* getelementptr (%struct.exception, %struct.exception* @program_error, i32 0, i32 0) ) ; <i32> [#uses=0]
12 declare i32 @llvm.eh.typeid.for(i8*)
  /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));
  /external/llvm/include/llvm/Object/
Binary.h 34 unsigned int TypeID;
85 unsigned int getType() const { return TypeID; }
89 return TypeID > ID_StartObjects && TypeID < ID_EndObjects;
97 return TypeID == ID_Archive;
101 return TypeID == ID_MachOUniversalBinary;
105 return TypeID >= ID_ELF32L && TypeID <= ID_ELF64B;
109 return TypeID >= ID_MachO32L && TypeID <= ID_MachO64B
    [all...]

Completed in 967 milliseconds

1 2 3 4 5 6 7 8 91011>>