HomeSort by relevance Sort by last modified time
    Searched defs:int (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/chromium_org/tools/gyp/test/rules/src/
an_asm.S 6 int main() {} label
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/tasm/tests/exe/
exe.asm 3 int 22 label
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/
error.h 12 Error(int error) : error(error) {}
13 operator int() const { return error; }
15 int error;
  /external/clang/test/CXX/dcl.dcl/
p4-0x.cpp 9 constexpr operator int() const { return 1; }
12 constexpr operator int() const { return 1; } // expected-note {{candidate}}
  /external/clang/test/Index/
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 i}}{RightParen )
    [all...]
  /external/clang/test/Sema/
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/clang/test/SemaCXX/
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}}
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}} \
27 int version
    [all...]
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...]
  /external/stlport/test/unit/
rawriter_test.cpp 14 X(int i_ = 0) : i(i_) {}
16 operator int() const { return i; }
19 int i;
49 int i;
  /ndk/tests/device/test-gnustl-full/unit/
rawriter_test.cpp 14 X(int i_ = 0) : i(i_) {}
16 operator int() const { return i; }
19 int i;
49 int i;
  /ndk/tests/device/test-stlport/unit/
rawriter_test.cpp 14 X(int i_ = 0) : i(i_) {}
16 operator int() const { return i; }
19 int i;
49 int i;
  /ndk/tests/device/test-stlport_shared-exception/jni/
eh990323-1.cpp 4 extern "C" void exit (int);
6 int ctor = 0;
7 int dtor = 0;
11 A(int) {ctor++;}
14 operator int() {return 0;}
23 void g(int)
29 int x;
31 A<int> a1;
42 x = 47, A<double*>(), A<int>(39), A<void>(23), -17;
56 int
    [all...]
  /ndk/tests/device/test-stlport_static-exception/jni/
eh990323-1.cpp 4 extern "C" void exit (int);
6 int ctor = 0;
7 int dtor = 0;
11 A(int) {ctor++;}
14 operator int() {return 0;}
23 void g(int)
29 int x;
31 A<int> a1;
42 x = 47, A<double*>(), A<int>(39), A<void>(23), -17;
56 int
    [all...]
  /external/clang/test/Parser/
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 { 1 }; // expected-error {{expected identifier}
    [all...]
  /frameworks/compile/mclinker/include/mcld/ADT/
Flags.h 28 Flags(unsigned int pFlag = 0x0)
31 operator unsigned int () const
37 Flags operator& (int pMask ) const
40 Flags operator& (unsigned int pMask ) const
46 Flags& operator&= (unsigned int pMask ) {
92 unsigned int m_Data;
  /external/clang/test/CXX/expr/expr.const/
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/libcxx/test/algorithms/alg.modifying.operations/alg.fill/
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...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.fill/
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...]
  /external/clang/test/Analysis/
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...]
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 a
    [all...]
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
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>().F(); // o
    [all...]
  /external/clang/test/CodeGenCXX/
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(){ return ++iO;
    [all...]
  /external/clang/test/OpenMP/
for_reduction_messages.cpp 6 bool foobool(int argc) {
13 mutable int a;
26 int a;
33 int operator+=(const S3 &arg1, const S3 &arg2) { return 5; }
36 extern const int f; // expected-note 4 {{'f' declared here}}
38 int a;
44 S4(int v) : a(v) {}
48 int a;
54 S5(int v) : a(v) {}
57 int a
    [all...]
parallel_for_reduction_messages.cpp 6 bool foobool(int argc) {
13 mutable int a;
26 int a;
33 int operator+=(const S3 &arg1, const S3 &arg2) { return 5; }
36 extern const int f; // expected-note 4 {{'f' declared here}}
38 int a;
44 S4(int v) : a(v) {}
48 int a;
54 S5(int v) : a(v) {}
57 int a
    [all...]

Completed in 450 milliseconds

1 2 3