/external/clang/test/SemaCXX/ |
unknown-type-name.cpp | 14 foo::bar x; // expected-error{{no type named 'bar' in 'N::Wibble'}} 20 int f(foo::bar); // expected-error{{no type named 'bar' in 'N::Wibble'}} 24 int fun(zapotron); // expected-error{{unknown type name 'zapotron'}} 29 typedef T type; typedef in struct:A 31 type f(); 33 type g(); 36 static type m; 37 static int h(T::type, int); // expected-error{{missing 'typename'}} 38 static int h(T::type x, char); // expected-error{{missing 'typename'}} 42 A<T>::type g(T t) { return t; } // expected-error{{missing 'typename'} [all...] |
/external/clang/test/SemaTemplate/ |
anonymous-union.cpp | 32 typedef T type; typedef in struct:rdar8635664::X::inner
|
injected-class-name.cpp | 21 typedef T type; typedef in struct:X0 31 void f1(const X0<type, U_type2>&); // expected-error{{redecl}} 35 void f2(const ::X0<type, U_type2>&); // expected-error{{redecl}}
|
instantiate-attr.cpp | 22 typedef A<unsigned long> type; typedef in namespace:test1 24 int test0[sizeof(type) == 4 ? 1 : -1]; 25 int test1[__builtin_offsetof(type, a) == 0 ? 1 : -1]; 26 int test2[__builtin_offsetof(type, b) == 4 ? 1 : -1]; 30 template <class type> 32 type Member __attribute__ ((packed));
|
instantiate-function-2.cpp | 17 typedef T type; typedef 18 void g(int array[sizeof(type)]); 27 T *x = 1; // expected-error{{cannot initialize a variable of type 'int *' with an rvalue of type 'int'}}
|
instantiate-overload-candidates.cpp | 8 template <typename T> struct S_ : S<T> { typedef int type; }; // expected-note{{in instantiation}} typedef in struct:S_ 10 // Force T to have a complete type here so we can observe instantiations with 12 T t; // expected-error{{field has incomplete type}} 17 template <typename T> S_<NoDefinition>::type f(T*, NoDefinition*); // expected-note{{in instantiation}}
|
instantiate-self.cpp | 8 B b; // expected-error {{has incomplete type 'test1::A<int>::B'}} 40 template<typename T> struct M { typedef int type; }; typedef in struct:test4::M 43 int k[typename A<typename M<T>::type>::B().k[0] + 1]; // expected-error {{incomplete type}}
|
metafun-apply.cpp | 6 typedef T* type; typedef in struct:add_pointer::apply 13 typedef T& type; // expected-error{{cannot form a reference to 'void'}} typedef in struct:add_reference::apply 19 typedef int type; typedef in struct:bogus::apply 25 typedef typename MetaFun::template apply<T>::type type; // expected-note{{in instantiation of template class 'add_reference::apply<void>' requested here}} \ typedef in struct:apply1 30 apply1<add_pointer, int>::type ip = &i; 31 apply1<add_reference, int>::type ir = i; 32 apply1<add_reference, float>::type fr = i; // expected-error{{non-const lvalue reference to type 'float' cannot bind to a value of unrelated type 'int'} [all...] |
temp_arg_nontype_cxx11.cpp | 5 U f() { return &F; } // expected-error{{cannot take the address of an rvalue of type 'int (*)(int)'}} expected-error{{cannot take the address of an rvalue of type 'int *'}} 13 template<typename T> struct get { typedef T type; }; typedef in struct:CanonicalNullptr::get 15 template<typename T, typename get<T *>::type P = nullptr> struct A {}; 16 template<typename T, typename get<decltype((T(), nullptr))>::type P = nullptr> struct B {}; 17 template<typename T, typename get<T X::*>::type P = nullptr> struct C {};
|
typename-specifier-2.cpp | 5 typedef typename MetaFun::template apply<T> type; typedef in struct:bind_metafun 11 typedef T* type; typedef in struct:add_pointer::apply 20 bind_metafun<add_pointer, int>::type::type ip = &i; 21 bind_metafun<add_pointer, float>::type::type fp = &i; // expected-error{{cannot initialize a variable of type 'bind_metafun<add_pointer, float>::type::type' (aka 'float *') with an rvalue of type 'int *'} [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_suppressions.h | 22 const char *type; member in struct:__sanitizer::Suppression 37 bool Match(const char *str, const char *type, Suppression **s); 39 bool HasSuppressionType(const char *type) const;
|
/external/compiler-rt/test/asan/TestCases/ |
debug_locate.cc | 1 // Checks the ASan memory address type debugging API, makes sure it returns 2 // the correct memory type for heap, stack, global and shadow addresses and 22 const char *type; local 24 type = __asan_locate_address(&global_var, name, 100, 27 assert(0 == strcmp(type, "global")); 31 type = __asan_locate_address((char *)(&global_var)+1, name, 100, 34 assert(0 == strcmp(type, "global")); 38 type = __asan_locate_address(&local_var, name, 100, 41 assert(0 == strcmp(type, "stack")); 45 type = __asan_locate_address((char *)(&local_var)+1, name, 100 [all...] |
/external/deqp/modules/gles2/functional/ |
es2fAttribLocationTests.cpp | 71 const AttribType& type = types[typeNdx]; local 72 bindAttributeGroup->addChild(new gls::BindAttributeTest(context.getTestContext(), context.getRenderContext(), type)); 84 const AttribType& type = types[typeNdx]; local 85 bindMaxAttributeGroup->addChild(new gls::BindMaxAttributesTest(context.getTestContext(), context.getRenderContext(), type)); 97 const AttribType& type = types[typeNdx]; local 100 aliasingGroup->addChild(new gls::BindAliasingAttributeTest(context.getTestContext(), context.getRenderContext(), type)); 103 if (type.getLocationSize() > 1) 104 aliasingGroup->addChild(new gls::BindAliasingAttributeTest(context.getTestContext(), context.getRenderContext(), type, 1)); 107 aliasingGroup->addChild(new gls::BindMaxAliasingAttributeTest(context.getTestContext(), context.getRenderContext(), type)); 110 aliasingGroup->addChild(new gls::BindInactiveAliasingAttributeTest(context.getTestContext(), context.getRenderContext(), type)); 122 const AttribType& type = types[typeNdx]; local 150 const AttribType& type = types[typeNdx]; local [all...] |
es2fScissorTests.cpp | 62 PrimitiveType type; member in struct:deqp::gles2::Functional::__anon7524 90 cases[caseNdx].type,
|
/external/deqp/modules/gles3/functional/ |
es3fScissorTests.cpp | 72 const PrimitiveType type; member in struct:deqp::gles3::Functional::__anon7678 100 cases[caseNdx].type,
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
TypeIdItem.java | 26 * Representation of a type reference inside a Dalvik file. 32 * @param type {@code non-null;} the constant for the type 34 public TypeIdItem(CstType type) { 35 super(type); 59 CstType type = getDefiningClass(); local 60 CstString descriptor = type.getDescriptor();
|
/external/dexmaker/src/dx/java/com/android/dx/rop/type/ |
TypeBearer.java | 17 package com.android.dx.rop.type; 22 * Object which has an associated type, possibly itself. 27 * Gets the type associated with this instance. 29 * @return {@code non-null;} the type 31 public Type getType(); 34 * Gets the frame type corresponding to this type. This method returns 35 * {@code this}, except if {@link Type#isIntlike} on the underlying 36 * type returns {@code true} but the underlying type is not i [all...] |
TypeList.java | 17 package com.android.dx.rop.type; 20 * List of {@link Type} instances (or of things that contain types). 49 public Type getType(int n); 65 * @param type {@code non-null;} item to append 68 public TypeList withAddedType(Type type);
|
/external/dexmaker/src/main/java/com/google/dexmaker/ |
FieldId.java | 26 * @param <D> the type declaring this field 27 * @param <V> the type of value this field holds 31 final TypeId<V> type; field in class:FieldId 38 FieldId(TypeId<D> declaringType, TypeId<V> type, String name) { 39 if (declaringType == null || type == null || name == null) { 43 this.type = type; 45 this.nat = new CstNat(new CstString(name), new CstString(type.name)); 54 return type;
|
Local.java | 22 * A temporary variable that holds a single value of a known type. 26 final TypeId<T> type; field in class:Local 30 private Local(Code code, TypeId<T> type) { 32 this.type = type; 35 static <T> Local<T> get(Code code, TypeId<T> type) { 36 return new Local<T>(code, type); 46 this.spec = RegisterSpec.make(nextAvailableRegister, type.ropType); 54 return type.ropType.getCategory(); 68 return type; [all...] |
/external/dhcpcd/ |
duid.c | 45 uint16_t type = 0; local 76 type = htons(1); /* DUI-D-LLT */ 77 memcpy(p, &type, 2);
|
/external/e2fsprogs/lib/uuid/ |
uuid_time.c | 125 int type, variant; local 136 type = uuid_type(buf); 145 printf("UUID type is %d", type); 146 switch (type) { 162 if (type != 1) {
|
/external/easymock/src/org/easymock/ |
Capture.java | 27 * Type of the captured element
33 private CaptureType type;
field in class:Capture 45 * Constructor allowing to select the capture type
47 * @param type
48 * capture type
50 public Capture(CaptureType type) {
51 this.type = type;
104 switch (type) {
123 throw new IllegalArgumentException("Unknown capture type: " + type); [all...] |
/external/eigen/Eigen/src/Core/util/ |
ForwardDeclarations.h | 281 typedef ComplexScalar type(ComplexScalar, int); typedef in struct:Eigen::internal::stem_function
|
/external/eigen/Eigen/src/Eigen2Support/ |
Meta.h | 31 template<typename T> struct ei_unref { typedef T type; }; typedef in struct:Eigen::ei_unref 32 template<typename T> struct ei_unref<T&> { typedef T type; }; typedef in struct:Eigen::ei_unref 34 template<typename T> struct ei_unpointer { typedef T type; }; typedef in struct:Eigen::ei_unpointer 35 template<typename T> struct ei_unpointer<T*> { typedef T type; }; typedef in struct:Eigen::ei_unpointer 36 template<typename T> struct ei_unpointer<T*const> { typedef T type; }; typedef in struct:Eigen::ei_unpointer 38 template<typename T> struct ei_unconst { typedef T type; }; typedef in struct:Eigen::ei_unconst 39 template<typename T> struct ei_unconst<const T> { typedef T type; }; typedef in struct:Eigen::ei_unconst 40 template<typename T> struct ei_unconst<T const &> { typedef T & type; }; typedef in struct:Eigen::ei_unconst 41 template<typename T> struct ei_unconst<T const *> { typedef T * type; }; typedef in struct:Eigen::ei_unconst 43 template<typename T> struct ei_cleantype { typedef T type; }; typedef in struct:Eigen::ei_cleantype 44 template<typename T> struct ei_cleantype<const T> { typedef typename ei_cleantype<T>::type type; }; typedef in struct:Eigen::ei_cleantype 45 template<typename T> struct ei_cleantype<const T&> { typedef typename ei_cleantype<T>::type type; }; typedef in struct:Eigen::ei_cleantype 46 template<typename T> struct ei_cleantype<T&> { typedef typename ei_cleantype<T>::type type; }; typedef in struct:Eigen::ei_cleantype 47 template<typename T> struct ei_cleantype<const T*> { typedef typename ei_cleantype<T>::type type; }; typedef in struct:Eigen::ei_cleantype 48 template<typename T> struct ei_cleantype<T*> { typedef typename ei_cleantype<T>::type type; }; typedef in struct:Eigen::ei_cleantype [all...] |