/external/chromium_org/tools/gyp/test/rules/src/ |
H A D | an_asm.S | 6 int main() {} label
|
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/ |
H A D | p3.cpp | 2 void f(int) { } // expected-note {{previous definition is here}} 3 void f(const int) { } // expected-error {{redefinition of 'f'}} argument
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/tasm/tests/exe/ |
H A D | exe.asm | 3 int 22 label
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
H A D | error.h | 12 Error(int error) : error(error) {} 13 operator int() const { return error; } 15 int error;
|
/external/clang/test/CXX/special/class.inhctor/ |
H A D | p8.cpp | 4 constexpr A(const int&) : rval(false) {} argument 5 constexpr A(const int&&) : rval(true) {} argument 12 constexpr int k = 0; 16 // This performs static_cast<(const int&)&&>(k), so calls the A(const int&) 24 int v;
|
/external/netcat/ |
H A D | atomicio.c | 41 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) argument
|
/external/clang/test/CXX/dcl.dcl/ |
H A D | p4-0x.cpp | 9 constexpr operator int() const { return 1; } 12 constexpr operator int() const { return 1; } // expected-note {{candidate}}
|
/external/clang/test/Index/ |
H A D | code-completion.cpp | 4 int member; 11 void memfunc(int i = 17); 16 operator int() const; 27 float& overloaded(int i, long second); 28 double& overloaded(float f, int second); 29 int& overloaded(Z z, int second); 36 Z::operator int() const { 41 // CHECK-MEMBER: FieldDecl:{ResultType int}{Text X::}{TypedText member} 43 // CHECK-MEMBER: CXXMethod:{ResultType void}{Informative Y::}{TypedText memfunc}{LeftParen (}{Optional {Placeholder int [all...] |
/external/clang/test/SemaCXX/ |
H A D | new-array-size-conv.cpp | 5 ValueInt(int v = 0) : ValueLength(v) {} 6 operator int () const { return ValueLength; } // expected-note 3{{conversion to integral type 'int' declared here}} 8 int ValueLength; 22 (void)new int[ValueInt(10)]; // expected-warning{{implicit conversion from array size expression of type 'ValueInt' to integral type 'int' is a C++11 extension}} 23 (void)new int[ValueEnum()]; // expected-warning{{implicit conversion from array size expression of type 'ValueEnum' to enumeration type 'E' is a C++11 extension}} 24 (void)new int[ValueBoth()]; // expected-error{{ambiguous conversion of array size expression of type 'ValueBoth' to an integral or enumeration type}} 26 (void)new int[TwoValueInts()]; // expected-error{{ambiguous conversion of array size expression of type 'TwoValueInts' to an integral or enumeration type}}
|
H A D | 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; 37 X operator++(X&, FLOAT); // expected-error{{parameter of overloaded post-increment operator must have type 'int' (no [all...] |
H A D | constructor.cpp | 2 typedef int INT; 7 explicit Foo(int); // expected-note {{previous declaration is here}} 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}} \ 27 int version; 39 y(int); 57 int [all...] |
/external/stlport/test/unit/ |
H A D | rawriter_test.cpp | 14 X(int i_ = 0) : i(i_) {} 16 operator int() const { return i; } 19 int i; 49 int i;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
H A D | r3xx_fragprog.c | 41 void (*callback)(void *, unsigned int, unsigned int)) 83 int is_r500 = c->Base.is_r500; 84 int opt = !c->Base.disable_optimizations; 40 dataflow_outputs_mark_use(void * userdata, void * data, void (*callback)(void *, unsigned int, unsigned int)) argument
|
/external/clang/test/Parser/ |
H A D | cxx0x-ambig.cpp | 7 struct S { int n; }; 8 struct T { int n; }; 10 int n; 22 int(n) // expected-error {{expected ';'}} 39 constexpr T(int) {} 42 constexpr operator int() const { return 4; } 54 enum E : int { a = 1, b = 2, c = 3, d }; // ok, defines an enum 58 enum E : int { a = 1 }; // ok, defines an enum 63 enum E : int { a = 1 } { b = 2 }; // expected-error {{expected ';' after enum}} expected-error {{expected member name}} 67 enum E : int { [all...] |
/external/clang/test/Sema/ |
H A D | parentheses.cpp | 6 void conditional_op(int x, int y, bool b) { 34 operator int(); 35 Stream &operator<<(int); 37 Stream &operator>>(int); 68 operator int() { return 42; } 87 void test(int a, int b, int c) { 107 void* operator++(int); [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | r3xx_fragprog.c | 41 void (*callback)(void *, unsigned int, unsigned int)) 83 int is_r500 = c->Base.is_r500; 84 int opt = !c->Base.disable_optimizations; 40 dataflow_outputs_mark_use(void * userdata, void * data, void (*callback)(void *, unsigned int, unsigned int)) argument
|
/external/clang/test/CXX/expr/expr.const/ |
H A D | p3-0x.cpp | 4 int nonconst = 8; // expected-note 3 {{here}} 6 template<int = nonconst> struct NonConstT {}; // expected-error {{non-type template argument is not a constant expression}} expected-note {{read of non-const}} 18 bool a(int n) { 35 struct S { constexpr operator int() const { return 5; } }; 47 int b(unsigned n) { 51 case (int)EE::EE32: 53 case (long long)1e10: // expected-error {{case value evaluates to 10000000000, which cannot be narrowed to type 'unsigned int'}} 54 case -3: // expected-error {{case value evaluates to -3, which cannot be narrowed to type 'unsigned int'}} 62 c = (int)EE::EE32, 67 template<unsigned char> using A = int; [all...] |
/external/clang/test/CXX/expr/expr.unary/expr.new/ |
H A D | p20.cpp | 5 template<int I> 10 int *ip = I; // expected-error{{cannot initialize}} 19 template<int I> 25 int *ip = I; // expected-error{{cannot initialize}} 34 template<int I> 39 static void* operator new(size_t, int, int); 41 static void operator delete(void*, const int, int) { argument 42 int *i [all...] |
/external/clang/test/SemaTemplate/ |
H A D | instantiation-default-1.cpp | 4 template<> struct Def1<int> { 8 template<> struct Def1<const int> { // expected-note{{previous definition is here}} 12 template<> struct Def1<int&> { 16 void test_Def1(Def1<int, const int> *d1, Def1<const int, const int> *d2, argument 17 Def1<int&, int&> *d3) { 27 template<> struct Def2<int> { [all...] |
/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
H A D | thread_posix.cc | 68 int ConvertToSystemPriority(ThreadPriority priority, int min_prio, 69 int max_prio) { 71 const int top_prio = max_prio - 1; 72 const int low_prio = min_prio + 1; 107 const int error = ptr->Construct(); 148 int ThreadPosix::Construct() { 149 int result = 0; 176 bool ThreadPosix::Start(unsigned int& thread_id) 178 int resul 274 SetAffinity(const int* , const unsigned int) argument [all...] |
/external/clang/test/Analysis/ |
H A D | auto-obj-dtors-cfg-output.cpp | 27 operator int() const { return 1; } 230 // CHECK-NEXT: 9: [B4.8].operator int 232 // CHECK: 11: [B4.10] (ImplicitCastExpr, UserDefinedConversion, int) 309 // CHECK-NEXT: 9: [B8.8].operator int 311 // CHECK: 11: [B8.10] (ImplicitCastExpr, UserDefinedConversion, int) 356 // CHECK-NEXT: 7: [B4.6].operator int 358 // CHECK-NEXT: 9: [B4.8] (ImplicitCastExpr, UserDefinedConversion, int) 442 // CHECK-NEXT: 7: [B10.6].operator int 444 // CHECK-NEXT: 9: [B10.8] (ImplicitCastExpr, UserDefinedConversion, int) 588 // CHECK-NEXT: 9: [B2.8].operator int [all...] |
H A D | operator-calls.cpp | 8 struct test { int a[2]; }; 25 bool operator==(int x) const { 39 operator int() const { 48 clang_analyzer_eval((int)obj == 42); // expected-warning{{TRUE}} 57 int operator +() const { 58 return (int)x; 64 int operator +() const { 65 return (int)x[0]; 81 void test(int coin) { 91 int [all...] |
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
H A D | p6.cpp | 13 NonLiteral(int) {} // expected-note 2{{here}} 14 operator int() const { return 0; } 18 operator int() const { return 0; } 22 virtual int ImplicitlyVirtual() const; 27 constexpr int ImplicitlyVirtual() const { return 0; } 30 constexpr int a = ImplicitVirtualFromDependentBase<S>().ImplicitlyVirtual(); // expected-error {{constant expression}} expected-note {{cannot evaluate virtual function call}} 31 constexpr int b = ImplicitVirtualFromDependentBase<T>().ImplicitlyVirtual(); // ok 32 constexpr int c = ImplicitVirtualFromDependentBase<S>().ImplicitVirtualFromDependentBase<S>::ImplicitlyVirtual(); 37 constexpr int d = ConstexprMember<int>() [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | conversion-function.cpp | 6 extern "C" int printf(...); 8 operator int(); 11 S::operator int() { 15 int f(S s) { 20 public: operator int() { printf("operator int()\n"); return iX; } 23 int iX; 31 int iZ; 44 int count=0; 47 operator int(){ retur [all...] |
/external/libcxx/test/algorithms/alg.modifying.operations/alg.fill/ |
H A D | fill_n.pass.cpp | 40 int ia[n] = {0}; 52 int ia[n] = {0}; 63 operator int() const { return i++; } 64 mutable int i; 71 int ia[n] = {0}; 135 int main() 142 test_int<forward_iterator<int*> >(); 143 test_int<bidirectional_iterator<int*> >(); 144 test_int<random_access_iterator<int*> >(); 145 test_int<int*>(); [all...] |