/prebuilts/go/linux-x86/test/fixedbugs/issue4252.dir/ |
a.go | 15 type int interface{} type 20 var array [append]int 35 func InlinedFakeNil() int { return nil }
|
/external/clang/test/CXX/drs/ |
dr9xx.cpp | 22 A(std::initializer_list<int>); // expected-note {{candidate}} 28 B b2 { 1 }; // expected-error {{no viable conversion from 'int' to 'dr990::A'}} 33 C(int); 34 C(std::initializer_list<int>) = delete; // expected-note {{here}} 41 D(std::initializer_list<int>); 52 constexpr A(int v) : v(v) { } 53 constexpr operator int() const { return v; } 55 int v; 58 constexpr int id(int x [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...] |
/external/clang/test/SemaCXX/ |
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}} 26 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...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
Flags.h | 24 explicit Flags(unsigned int pFlag = 0x0) : m_Data(pFlag) {} 26 operator unsigned int() const { return m_Data; } 30 Flags operator&(int pMask) const { return Flags(m_Data & pMask); } 32 Flags operator&(unsigned int pMask) const { return Flags(m_Data & pMask); } 36 Flags& operator&=(unsigned int pMask) { 77 unsigned int m_Data;
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/tic54x/ |
cons.s | 14 .global byte, word, xlong, long, int 19 int: .int 0DDDDh label
|
/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/Modules/Inputs/stress1/ |
common.h | 6 inline int function00(int x) { return x + x; } 14 int i; 18 S00(int x) : i(x) {} 22 int method00(int x) { return x + x; } 26 operator int() { return i; } 33 template <int I, template <typename> class U> struct S03<U<int>[I]> 34 : U<int>::S00 [all...] |
/external/swiftshader/src/Renderer/ |
Color.hpp | 32 Color(int c); 35 Color(unsigned int c); 39 operator unsigned int() const; 41 T &operator[](int i); 42 const T &operator[](int i) const; 193 inline Color<float>::Color(int c) 204 inline Color<short>::Color(int c) 214 inline Color<byte>::Color(int c) 223 inline Color<float>::Color(unsigned int c) 234 inline Color<short>::Color(unsigned int c [all...] |
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/ |
FragmentTabHostUtil.java | 51 for (int i = CN_FRAGMENT_MANAGER.length - 1; i >= 0; i--) { 69 fragmentManager, int.class), tabHost, context, null,
|
/prebuilts/go/darwin-x86/src/debug/dwarf/ |
buf.go | 29 version() int 35 addrsize() int 41 func (u unknownFormat) version() int { 49 func (u unknownFormat) addrsize() int { 68 func (b *buf) bytes(n int) []byte { 79 func (b *buf) skip(n int) { b.bytes(n) } 134 // Unsigned int is just a varint. 140 // Signed int is a sign-extended varint. 141 func (b *buf) int() int64 { func
|
/prebuilts/go/linux-x86/src/debug/dwarf/ |
buf.go | 29 version() int 35 addrsize() int 41 func (u unknownFormat) version() int { 49 func (u unknownFormat) addrsize() int { 68 func (b *buf) bytes(n int) []byte { 79 func (b *buf) skip(n int) { b.bytes(n) } 134 // Unsigned int is just a varint. 140 // Signed int is a sign-extended varint. 141 func (b *buf) int() int64 { func
|
/system/core/base/include/android-base/ |
unique_fd.h | 50 static void Close(int fd) { 64 explicit unique_fd_impl(int value) : value_(value) {} 73 void reset(int new_value = -1) { 80 int get() const { return value_; } 81 operator int() const { return get(); } 83 int release() __attribute__((warn_unused_result)) { 84 int ret = value_; 90 int value_; 102 int pipefd[2]; 125 inline bool Socketpair(int domain, int type, int protocol, unique_fd* left, unique_fd* right) [all...] |
/device/google/cuttlefish_common/common/libs/auto_resources/ |
auto_resources.h | 86 explicit AutoCloseFileDescriptor(int fd) : fd_(fd) { } 94 operator int() const { 118 int fd_;
|
/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/ |
distribute_parallel_for_reduction_messages.cpp | 8 bool foobool(int argc) { 15 mutable int a; 28 int a; 31 int b; 36 int operator+(const S3 &arg1, const S3 &arg2) { return 5; } 39 extern const int f; // expected-note 4 {{'f' declared here}} 41 int a; 47 S4(int v) : a(v) {} 51 int a; 57 S5(int v) : a(v) { [all...] |
distribute_parallel_for_simd_reduction_messages.cpp | 8 bool foobool(int argc) { 15 mutable int a; 28 int a; 31 int b; 36 int operator+(const S3 &arg1, const S3 &arg2) { return 5; } 39 extern const int f; // expected-note 4 {{'f' declared here}} 41 int a; 47 S4(int v) : a(v) {} 51 int a; 57 S5(int v) : a(v) { [all...] |
distribute_simd_reduction_messages.cpp | 8 bool foobool(int argc) { 15 mutable int a; 28 int a; 31 int b; 36 int operator+(const S3 &arg1, const S3 &arg2) { return 5; } 39 extern const int f; // expected-note 4 {{'f' declared here}} 41 int a; 47 S4(int v) : a(v) {} 51 int a; 57 S5(int v) : a(v) { [all...] |
for_reduction_messages.cpp | 8 bool foobool(int argc) { 15 mutable int a; 28 int a; 35 int operator+(const S3 &arg1, const S3 &arg2) { return 5; } 38 extern const int f; // expected-note 4 {{'f' declared here}} 40 int a; 46 S4(int v) : a(v) {} 50 int a; 56 S5(int v) : a(v) {} 58 class S6 { // expected-note 3 {{candidate function (the implicit copy assignment operator) not viable: no known conversion from 'int' to 'const S6' for 1st argument} [all...] |
for_simd_reduction_messages.cpp | 8 bool foobool(int argc) { 15 mutable int a; 28 int a; 31 int b; 36 int operator+(const S3 &arg1, const S3 &arg2) { return 5; } 39 extern const int f; // expected-note 4 {{'f' declared here}} 41 int a; 47 S4(int v) : a(v) {} 51 int a; 57 S5(int v) : a(v) { [all...] |
parallel_for_reduction_messages.cpp | 8 bool foobool(int argc) { 15 mutable int a; 28 int a; 31 int b; 36 int operator+(const S3 &arg1, const S3 &arg2) { return 5; } 39 extern const int f; // expected-note 4 {{'f' declared here}} 41 int a; 47 S4(int v) : a(v) {} 51 int a; 57 S5(int v) : a(v) { [all...] |