/art/test/003-omnibus-opcodes/src/ |
InternedString.java | 20 public static final String CONST = "Class InternedString"; 43 WeakReference strRef = new WeakReference<String>(CONST.intern()); 47 Main.assertTrue(CONST == CONST.intern()); 51 String s = CONST; 57 Main.assertTrue(strRef.get() == CONST);
|
/external/compiler-rt/test/BlocksRuntime/ |
copyconstructor.C | 17 #define CONST const 22 TestObject(CONST TestObject& inObj); 26 TestObject& operator=(CONST TestObject& inObj); 28 int version() CONST { return _version; } 33 TestObject::TestObject(CONST TestObject& inObj) 38 //printf("%p (%d) -- TestObject(const TestObject&) called\n", this, _version); 56 TestObject& TestObject::operator=(CONST TestObject& inObj) 68 void (^b)(void) = ^{ printf("my const copy of one is %d\n", one.version()); };
|
reference.C | 20 #define CONST const 25 TestObject(CONST TestObject& inObj); 29 TestObject& operator=(CONST TestObject& inObj); 33 int version() CONST { return _version; } 38 TestObject::TestObject(CONST TestObject& inObj) 43 //printf("%p (%d) -- TestObject(const TestObject&) called", this, _version); 61 TestObject& TestObject::operator=(CONST TestObject& inObj)
|
/external/deqp/framework/randomshaders/ |
rsgVariable.cpp | 31 Variable::Variable (const VariableType& type, Storage storage, const char* name) 43 void Variable::tokenizeDeclaration (GeneratorState& state, TokenStream& str) const 50 case STORAGE_CONST: str << Token::CONST; break;
|
/external/chromium_org/v8/src/base/ |
win32-headers.h | 68 #undef CONST
|
/external/clang/test/SemaCXX/ |
implicit-member-functions.cpp | 7 B::B(const B&) { } // expected-error {{definition of implicitly declared copy constructor}} 10 C& C::operator=(const C&) { return *this; } // expected-error {{definition of implicitly declared copy assignment operator}} 25 B(const A& a) { 26 operator = (CONST); 30 B& operator = (const A& a) { 34 void f(const A &a) { 38 static const B CONST; 56 static const T &get(); 66 A(const T &) [all...] |
cxx1y-variable-templates_in_class.cpp | 5 #define CONST const 12 template<typename T> CONST T wrong; // expected-error {{member 'wrong' declared as a template}} 13 template<typename T> CONST T wrong_init = 5; // expected-error {{member 'wrong_init' declared as a template}} 14 template<typename T, typename T0> static CONST T right = T(100); 15 template<typename T> static CONST T right<T,int> = 5; 16 template<typename T> CONST int right<int,T>; // expected-error {{member 'right' declared as a template}} 17 template<typename T> CONST float right<float,T> = 5; // expected-error {{member 'right' declared as a template}} 18 template<> static CONST int right<int,int> = 7; // expected-error {{explicit specialization of 'right' in class scope}} 19 template<> static CONST float right<float,int>; // expected-error {{explicit specialization of 'right' in class scop (…) [all...] |
/frameworks/native/opengl/libagl/ |
fp.h | 34 extern "C" GLfixed gglFloatToFixed(float f) __attribute__((const)); 41 GLfloat fixedToFloat(GLfixed) CONST; 44 float sinef(GLfloat x) CONST; 45 float cosinef(GLfloat x) CONST; 47 inline bool cmpf(GLfloat a, GLfloat b) CONST; 48 inline bool isZerof(GLfloat) CONST; 49 inline bool isOnef(GLfloat) CONST; 51 inline int isZeroOrNegativef(GLfloat) CONST; 53 inline int exponent(GLfloat) CONST; 54 inline int32_t mantissa(GLfloat) CONST; [all...] |
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
gdtoa.h | 58 #ifndef CONST 60 #define CONST /* blank */ 62 #define CONST const 64 #endif /* CONST */ 112 extern float strtof ANSI((CONST char *, char **)); 113 extern double strtod ANSI((CONST char *, char **)); 114 extern int __strtodg ANSI((CONST char*, char**, FPI*, Long*, ULong*)); 123 extern int __strtoId ANSI((CONST char*, char**, double*, double*)); 124 extern int __strtoIdd ANSI((CONST char*, char**, double*, double*)) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
SDNodeDbgValue.h | 34 CONST = 1, // value is a constant 44 const Value *Const; // valid for constants 66 SDDbgValue(MDNode *mdP, const Value *C, uint64_t off, DebugLoc dl, 70 kind = CONST; 71 u.Const = C; 95 const Value *getConst() { assert (kind==CONST); return u.Const; }
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
common_defs.h | 29 enum AdaptationMode { CONST, INV_LINEAR, INV_QUADRATIC, INV_SQRT };
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
compiler.h | 100 # pragma warning( disable : 4244 ) /* '=' : conversion from 'const double ' to 'float ', possible loss of data */ 102 # pragma warning( disable : 4305 ) /* '=' : truncation from 'const double ' to 'float ' */ 164 * Some compilers don't like some of Mesa's const usage. In those places use 165 * CONST instead of const. Pass -DNO_CONST to compilers where this matters. 168 # define CONST 170 # define CONST const
|
/external/chromium_org/v8/src/ |
interface.h | 16 // interface ::= UNDETERMINED | VALUE | CONST | MODULE(exports) 19 // allow to turn non-const values into const, or adding additional exports to 28 // const fr.value fr.module 30 // fr.const 49 static Interface value_interface(VALUE + CONST + FROZEN); // Cached. 79 if (*ok) Chase()->flags_ |= VALUE + CONST; 110 bool IsConst() { return Chase()->flags_ & CONST; } 148 bool done() const { return entry_ == NULL; } 149 Handle<String> name() const { [all...] |
/external/mesa3d/src/mesa/main/ |
compiler.h | 100 # pragma warning( disable : 4244 ) /* '=' : conversion from 'const double ' to 'float ', possible loss of data */ 102 # pragma warning( disable : 4305 ) /* '=' : truncation from 'const double ' to 'float ' */ 164 * Some compilers don't like some of Mesa's const usage. In those places use 165 * CONST instead of const. Pass -DNO_CONST to compilers where this matters. 168 # define CONST 170 # define CONST const
|
/external/valgrind/main/coregrind/m_demangle/ |
ansidecl.h | 29 PTRCONST `void *const' `char *' 31 const not defined `' 59 int printf PARAMS ((const char *format, ...)); 62 printf VPARAMS ((const char *format, ...)) 82 printf VPARAMS ((const char *format, ...)) 87 VA_FIXEDARG (ap, const char *, format); 112 CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, 154 #define PTRCONST void *const 174 #undef const macro 193 #define CONST cons 222 #undef const macro 226 #define const macro [all...] |
/hardware/ti/omap3/dspbridge/inc/ |
dbtype.h | 68 #ifndef CONST 69 #define CONST const
|
/hardware/ti/omap3/dspbridge/libbridge/inc/ |
dbtype.h | 68 #ifndef CONST 69 #define CONST const
|
/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.8/include/ |
ansidecl.h | 29 PTRCONST `void *const' `char *' 31 const not defined `' 59 int printf PARAMS ((const char *format, ...)); 62 printf VPARAMS ((const char *format, ...)) 82 printf VPARAMS ((const char *format, ...)) 87 VA_FIXEDARG (ap, const char *, format); 112 CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, 154 #define PTRCONST void *const 174 #undef const macro 193 #define CONST cons 222 #undef const macro 226 #define const macro [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8/include/ |
ansidecl.h | 29 PTRCONST `void *const' `char *' 31 const not defined `' 59 int printf PARAMS ((const char *format, ...)); 62 printf VPARAMS ((const char *format, ...)) 82 printf VPARAMS ((const char *format, ...)) 87 VA_FIXEDARG (ap, const char *, format); 112 CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, 154 #define PTRCONST void *const 174 #undef const macro 193 #define CONST cons 222 #undef const macro 226 #define const macro [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.8/include/ |
ansidecl.h | 29 PTRCONST `void *const' `char *' 31 const not defined `' 59 int printf PARAMS ((const char *format, ...)); 62 printf VPARAMS ((const char *format, ...)) 82 printf VPARAMS ((const char *format, ...)) 87 VA_FIXEDARG (ap, const char *, format); 112 CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, 154 #define PTRCONST void *const 174 #undef const macro 193 #define CONST cons 222 #undef const macro 226 #define const macro [all...] |
/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.8/include/ |
ansidecl.h | 29 PTRCONST `void *const' `char *' 31 const not defined `' 59 int printf PARAMS ((const char *format, ...)); 62 printf VPARAMS ((const char *format, ...)) 82 printf VPARAMS ((const char *format, ...)) 87 VA_FIXEDARG (ap, const char *, format); 112 CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, 154 #define PTRCONST void *const 174 #undef const macro 193 #define CONST cons 222 #undef const macro 226 #define const macro [all...] |
/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.8/include/ |
ansidecl.h | 29 PTRCONST `void *const' `char *' 31 const not defined `' 59 int printf PARAMS ((const char *format, ...)); 62 printf VPARAMS ((const char *format, ...)) 82 printf VPARAMS ((const char *format, ...)) 87 VA_FIXEDARG (ap, const char *, format); 112 CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, 154 #define PTRCONST void *const 174 #undef const macro 193 #define CONST cons 222 #undef const macro 226 #define const macro [all...] |
/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/x86_64-linux-gnu/aarch64-linux-android/include/ |
ansidecl.h | 29 PTRCONST `void *const' `char *' 31 const not defined `' 59 int printf PARAMS ((const char *format, ...)); 62 printf VPARAMS ((const char *format, ...)) 82 printf VPARAMS ((const char *format, ...)) 87 VA_FIXEDARG (ap, const char *, format); 112 CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, 154 #define PTRCONST void *const 174 #undef const macro 193 #define CONST cons 222 #undef const macro 226 #define const macro [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/include/ |
ansidecl.h | 29 PTRCONST `void *const' `char *' 31 const not defined `' 59 int printf PARAMS ((const char *format, ...)); 62 printf VPARAMS ((const char *format, ...)) 82 printf VPARAMS ((const char *format, ...)) 87 VA_FIXEDARG (ap, const char *, format); 112 CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, 154 #define PTRCONST void *const 174 #undef const macro 193 #define CONST cons 222 #undef const macro 226 #define const macro [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/include/ |
ansidecl.h | 29 PTRCONST `void *const' `char *' 31 const not defined `' 59 int printf PARAMS ((const char *format, ...)); 62 printf VPARAMS ((const char *format, ...)) 82 printf VPARAMS ((const char *format, ...)) 87 VA_FIXEDARG (ap, const char *, format); 112 CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, 154 #define PTRCONST void *const 174 #undef const macro 193 #define CONST cons 222 #undef const macro 226 #define const macro [all...] |