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

1 2

  /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}} \
25 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/llvm/tools/llvm-readobj/
Error.h 35 explicit readobj_error(int v) : v_(_(v)) {}
36 operator int() const {return v_;}
40 return error_code(static_cast<int>(e), readobj_category());
  /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 '}'}} expected-note {{to match}
    [all...]
  /frameworks/compile/mclinker/include/mcld/ADT/
Flags.h 31 Flags(unsigned int pFlag = 0x0)
34 operator unsigned int () const
40 Flags operator& (int pMask ) const
43 Flags operator& (unsigned int pMask ) const
49 Flags& operator&= (unsigned int pMask ) {
95 unsigned int m_Data;
  /external/clang/test/Analysis/
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) {
temp-obj-dtors-cfg-output.cpp 14 operator int() { return 0; }
23 operator int() { return 1; }
27 void foo(int);
32 int a = int(A()) + int(B());
33 foo(int(A()) + int(B()));
34 int b;
40 int b
    [all...]
auto-obj-dtors-cfg-output.cpp 8 operator int() const { return 1; }
334 // CHECK: 9: [B4.8].operator int
336 // CHECK: 11: [B4.10] (ImplicitCastExpr, UserDefinedConversion, int)
406 // CHECK: 9: [B8.8].operator int
408 // CHECK: 11: [B8.10] (ImplicitCastExpr, UserDefinedConversion, int)
439 // CHECK: 7: [B4.6].operator int
441 // CHECK: 9: [B4.8] (ImplicitCastExpr, UserDefinedConversion, int)
519 // CHECK: 7: [B10.6].operator int
521 // CHECK: 9: [B10.8] (ImplicitCastExpr, UserDefinedConversion, int)
636 // CHECK: 9: [B2.8].operator int
    [all...]
  /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/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/llvm/test/MC/X86/
x86-32.s 111 int $4 label
112 // CHECK: int $4
114 int $255 label
115 // CHECK: int $255
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/
genopcode.asm 107 int 10 label

Completed in 1367 milliseconds

1 2