/external/clang/test/CXX/temp/temp.decls/temp.fct/temp.over.link/ |
p4-neg.cpp | 6 template<int I> void f0() { } // expected-note{{previous}} 7 template<int> void f0() { } // expected-error{{redefinition}} 9 typedef int INT; 11 template<template<class T, T Value1, INT> class X> 13 template<template<typename T, T Value1, int> class> 25 // template<int> struct A { }; 26 // template<int I> void f0(A<I>) { } // Xpected-note{{previous}} 27 // template<int J> void f0(A<J>) { } // Xpected-error{{redefinition}}
|
/external/clang/test/CXX/temp/temp.param/ |
p4.cpp | 5 typedef int INT; 7 template<int N> struct A1; 8 template<INT N, INT M> struct A2; 10 template<int &X> struct A4; 11 template<int *Ptr> struct A5; 12 template<int (&f)(int, int)> struct A6 [all...] |
/external/clang/test/SemaCXX/ |
overload-decl.cpp | 3 void f(int); 4 void f(int, float); 5 void f(int, int); 6 void f(int, ...); 9 void f(int, Float); // expected-note {{previous declaration is here}} 11 int f(int, Float); // expected-error {{functions that differ only in their return type cannot be overloaded}} 14 int g(); // expected-error {{functions that differ only in their return type cannot be overloaded}} 16 typedef int INT [all...] |
qualified-names-print.cpp | 1 // RUN: %clang_cc1 -ast-print %s 2>&1 | grep "N::M::X<INT>::value" 11 typedef int INT; 13 int test() { 14 return N::M::X<INT>::value;
|
overloaded-operator-decl.cpp | 4 X(int); 12 void operator()(int x = 17) const; 13 int operator[](int); 15 static int operator+(Y, Y); // expected-error{{overloaded 'operator+' cannot be a static member function}} 23 X operator+(int, float); // expected-error{{overloaded 'operator+' must have at least one parameter of class or enumeration type}} 31 void operator()(Y&, int, int); // expected-error{{overloaded 'operator()' must be a non-static member function}} 33 typedef int INT; [all...] |
constructor.cpp | 2 typedef int INT; 7 explicit Foo(int); // expected-note {{previous declaration is here}} 10 ((Foo))(INT); // expected-error{{cannot be redeclared}} 12 Foo(Foo foo, int i = 17, int j = 42); // expected-error{{copy constructor must pass its first argument by reference}} 18 int Foo(int, int); // expected-error{{constructor cannot have a return type}} \ 25 int version [all...] |
typedef-redecl.cpp | 2 typedef int INT; 3 typedef INT REALLY_INT; // expected-note {{previous definition is here}} 6 typedef float REALLY_INT; // expected-error{{typedef redefinition with different types ('float' vs 'INT' (aka 'int'))}} 9 typedef int result_type; // expected-note {{previous definition is here}} 10 typedef INT result_type; // expected-error {{redefinition of 'result_type'}} 14 typedef int Y; // expected-error{{typedef redefinition with different types ('int' vs 'Y')}} 16 typedef int Y2; // expected-note{{declared here} [all...] |
constructor-initializer.cpp | 3 int m; 6 A(int); 14 int m; 35 typedef int INT; 39 int B; 43 INT(17) // expected-error{{constructor initializer 'INT' (aka 'int') does not name a class}} 73 union { int a; char* p; } [all...] |
/external/clang/test/CXX/except/except.spec/ |
p3.cpp | 7 extern void (*r1)() throw(int); 8 extern void (*r1)() throw(int); 11 typedef int INT; 12 extern void (*r2)() throw(int); 13 extern void (*r2)() throw(INT); 16 extern void (*r3)() throw(int, float); 17 extern void (*r3)() throw(float, int); 24 extern void (*r5)() throw(int); // expected-note {{previous declaration}} 28 extern void f5() throw(int); // expected-note {{previous declaration} [all...] |
/external/clang/test/SemaTemplate/ |
qualified-names-diag.cpp | 7 typedef int INT; 13 std::vector<INT> v1;
|
class-template-decl.cpp | 19 template<int N> class A; // expected-error{{template parameter has a different kind in template redeclaration}} 21 template<int N> class NonTypeTemplateParm; 23 typedef int INT; 25 template<INT M> class NonTypeTemplateParm; // expected-note{{previous non-type template parameter with type 'INT' (aka 'int') is here}} 36 template<template<typename T, int> class X> class TemplateTemplateParm; // expected-error{{too many template parameters in template template parameter redeclaration}} 73 Foo<int>::Baz x; 74 Foo<int>::Bar<int> y(x) [all...] |
instantiate-declref.cpp | 37 typedef int INT; 38 template struct N::Outer::Inner::InnerTemplate<INT>::VeryInner; 39 template struct N::Outer::Inner::InnerTemplate<INT>::UeberInner; // expected-error{{no struct named 'UeberInner' in 'N::Outer::Inner::InnerTemplate<int>'}} 71 template struct N2::Outer2::Inner<int*, float*>; // expected-note{{instantiation}} 77 int member; 80 operator int safe_bool::*() const { 87 void test_smart_ptr(smart_ptr<int> p) { 93 template <int K> struct X [all...] |
/libcore/luni/src/main/java/libcore/io/ |
SizeOf.java | 20 public static final int CHAR = 2; 21 public static final int DOUBLE = 8; 22 public static final int FLOAT = 4; 23 public static final int INT = 4; 24 public static final int LONG = 8; 25 public static final int SHORT = 2;
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
JavaExpression.java | 46 INT("int") { 52 return call(Type.INT, "asInt", expression); 132 * The Java literal representing the type (e.g. "int", "boolean", "Value") 330 return literal(Type.INT, value); 336 public static JavaExpression integer(int value) { 337 return literal(Type.INT, String.valueOf(value));
|
/libcore/luni/src/main/java/libcore/util/ |
EmptyArray.java | 26 public static final int[] INT = new int[0];
|
/dalvik/hit/src/com/android/hit/ |
Types.java | 20 private static int mIdSize = 4; 22 public static final int OBJECT = 2; 23 public static final int BOOLEAN = 4; 24 public static final int CHAR = 5; 25 public static final int FLOAT = 6; 26 public static final int DOUBLE = 7; 27 public static final int BYTE = 8; 28 public static final int SHORT = 9; 29 public static final int INT = 10 [all...] |
/external/clang/test/PCH/ |
types.c | 8 typedef int INT; 9 INT int_value; 11 __attribute__((address_space(1))) int int_as_one; 22 _Atomic(int) AtomicInt_val; 30 *bl = ^(int x, float f) { return x; }; 50 int np1(x, y) 51 int x; 69 struct S { int x, y; }; 70 typeof_17 t17_2 = (struct S){1, 2}; // expected-error{{initializing 'typeof_17' (aka 'int') with an expression of incompatible type 'struct S'} [all...] |
/dalvik/dx/src/com/android/dx/gen/ |
Type.java | 44 /** The {@code int} primitive type. */ 45 public static final Type<Integer> INT = new Type<Integer>(com.android.dx.rop.type.Type.INT); 70 PRIMITIVE_TO_TYPE.put(int.class, INT); 133 @Override public int hashCode() {
|
/device/google/accessory/arduino/USB_Host_Shield/ |
Max3421e.cpp | 39 #define INT PE6
65 return INT_PIN & _BV(INT) ? HIGH : LOW;
77 INT_DDR &= ~_BV(INT);
|
/external/clang/test/Sema/ |
function-redecl.c | 4 void g0(int, int); 11 void g0(int); // expected-error{{conflicting types for 'g0'}} 13 int g1(int, int); 15 typedef int INT; 17 INT g1(x, y) 18 int x [all...] |
/external/bison/lib/ |
strtol.c | 34 extern int errno; 53 # define INT LONG int 55 # define INT unsigned LONG int 120 operating on `long long int's. */ 160 # define LONG_LONG_MAX TYPE_MAXIMUM (long long int) 163 # define LONG_LONG_MIN TYPE_MINIMUM (long long int) 168 static const unsigned long long int maxquad = ULONG_LONG_MAX; 244 /* Convert NPTR to an `unsigned long int' or `long int' in base BASE [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
flags.h | 49 // and int argument to New_BOOL as this appears to be safer - sigh. 52 static FlagValue New_BOOL(int b) { 58 static FlagValue New_INT(int i) { 77 int i; 86 enum Type { BOOL, INT, FLOAT, STRING }; 106 int* int_variable() const { 107 assert(type_ == INT); 127 int int_default() const { 128 assert(type_ == INT); 187 DEFINE_FLAG(INT, int, name, default, comment [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
WireFormat.java | 48 static final int WIRETYPE_VARINT = 0; 49 static final int WIRETYPE_FIXED64 = 1; 50 static final int WIRETYPE_LENGTH_DELIMITED = 2; 51 static final int WIRETYPE_START_GROUP = 3; 52 static final int WIRETYPE_END_GROUP = 4; 53 static final int WIRETYPE_FIXED32 = 5; 55 static final int TAG_TYPE_BITS = 3; 56 static final int TAG_TYPE_MASK = (1 << TAG_TYPE_BITS) - 1; 59 static int getTagWireType(final int tag) [all...] |
/external/v8/src/ |
string-stream.h | 75 FmtElm(int value) : type_(INT) { // NOLINT 98 enum Type { INT, DOUBLE, C_STR, LC_STR, OBJ, HANDLE, POINTER }; 101 int u_int_; 127 bool Put(String* str, int start, int end); 146 int length() const { return length_; } 150 void PrintFixedArray(FixedArray* array, unsigned int limit); 172 static const int kInitialCapacity = 16; 183 int space() const { return capacity_ - length_; [all...] |
/external/wpa_supplicant/ |
config_file.c | 43 static char * wpa_config_get_line(char *s, int size, FILE *stream, int *line, 96 static int wpa_config_validate_network(struct wpa_ssid *ssid, int line) 98 int errors = 0; 129 static struct wpa_ssid * wpa_config_read_network(FILE *f, int *line, int id) 132 int errors = 0, end = 0; 189 static struct wpa_config_blob * wpa_config_read_blob(FILE *f, int *line, 195 int end = 0 [all...] |