/external/clang/test/PCH/ |
cxx-chain-function-template.cpp | 9 T cast(U u) { function 14 cast<float>(1); 22 cast<CXXRecordDecl>(1.0f); 28 cast<CXXRecordDecl>(1.0f);
|
/external/guava/guava-gwt/test/com/google/common/ |
GwtTestSuite.java | 42 Class<? extends GWTTestCase> cast = (Class<? extends GWTTestCase>) clazz; local 43 suite.addTestSuite(cast);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/ |
is-a.h | 52 returns NULL. This function is essentially a checked down cast. 119 must also specialize the template member function 'cast'. Failure to do so 125 is_a_helper <cgraph_node>::cast (symtab_node_def *p) 143 static inline T *cast (U *p); 158 is_a_helper <T>::cast (U *p) function in class:is_a_helper 185 return is_a_helper <T>::cast (p); 196 return is_a_helper <T>::cast (p);
|
/art/test/457-regs/ |
regs_jni.cc | 75 uint32_t cast = bit_cast<uint32_t, float>(4.0f); local 76 CHECK_EQ(value, cast); 144 int32_t cast = bit_cast<int32_t, float>(float_value); local 145 CHECK_EQ(cast, 0);
|
/art/test/454-get-vreg/ |
get_vreg_jni.cc | 65 uint32_t cast = bit_cast<uint32_t, float>(1.0f); local 66 CHECK_EQ(value, cast); 109 uint64_t cast = bit_cast<uint64_t, double>(2.0); local 110 CHECK_EQ(value, cast);
|
/cts/tests/tests/security/src/android/security/cts/ |
NetdTest.java | 63 mINMSMethod.invoke(mINMSClass.cast(INMSObj), "foo;reboot;", -1, -1);
|
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
CstChar.java | 49 char cast = (char) value; local 51 if (cast != value) { 56 return make(cast);
|
CstShort.java | 50 short cast = (short) value; local 52 if (cast != value) { 57 return make(cast);
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstChar.java | 49 char cast = (char) value; local 51 if (cast != value) { 56 return make(cast);
|
CstShort.java | 50 short cast = (short) value; local 52 if (cast != value) { 57 return make(cast);
|
/external/eigen/Eigen/src/Geometry/ |
Scaling.h | 90 inline UniformScaling<NewScalarType> cast() const function in class:Eigen::UniformScaling
|
ParametrizedLine.h | 114 ParametrizedLine<NewScalarType,AmbientDimAtCompileTime,Options> >::type cast() const function in class:Eigen::ParametrizedLine 124 m_origin = other.origin().template cast<Scalar>(); 125 m_direction = other.direction().template cast<Scalar>();
|
Translation.h | 155 EIGEN_DEVICE_FUNC inline typename internal::cast_return_type<Translation,Translation<NewScalarType,Dim> >::type cast() const function in class:Eigen::Translation 161 { m_coeffs = other.vector().template cast<Scalar>(); }
|
/external/eigen/Eigen/src/plugins/ |
CommonCwiseUnaryOps.h | 55 EIGEN_DOC_UNARY_ADDONS(cast,conversion function) 62 cast() const function
|
/external/guava/guava/src/com/google/common/collect/ |
MutableClassToInstanceMap.java | 67 cast(key, value); 73 return cast(type, put(type, value)); 78 return cast(type, get(type)); 81 private static <B, T extends B> T cast(Class<T> type, B value) { method in class:MutableClassToInstanceMap 82 return Primitives.wrap(type).cast(value);
|
ImmutableClassToInstanceMap.java | 91 mapBuilder.put(type, cast(type, value)); 96 private static <B, T extends B> T cast(Class<T> type, B value) { method in class:ImmutableClassToInstanceMap.Builder 97 return Primitives.wrap(type).cast(value); 128 // Eclipse won't compile if we cast to the parameterized type. 129 ImmutableClassToInstanceMap<B> cast = (ImmutableClassToInstanceMap) map; local 130 return cast;
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
JavaExpression.java | 33 * Simple type enumeration to allow us to compare the return types of expressions easily and cast 39 protected JavaExpression cast(JavaExpression expression) { method 41 expression = expression.cast(DATA); 48 protected JavaExpression cast(JavaExpression expression) { method 50 expression = expression.cast(DATA); 57 protected JavaExpression cast(JavaExpression expression) { method 59 expression = expression.cast(DATA); 66 protected JavaExpression cast(JavaExpression expression) { method 76 protected JavaExpression cast(JavaExpression expression) { method 80 throw new JSilverCompilationException("Cannot cast to 'Data' for expression:\n 88 protected JavaExpression cast(JavaExpression expression) { method 100 protected JavaExpression cast(JavaExpression expression) { method 108 protected JavaExpression cast(JavaExpression expression) { method 118 protected JavaExpression cast(final JavaExpression expression) { method [all...] |
/external/junit/src/main/java/org/junit/rules/ |
ExpectedExceptionMatcherBuilder.java | 32 return cast(matchers.get(0)); 43 private Matcher<Throwable> cast(Matcher<?> singleMatcher) { method in class:ExpectedExceptionMatcherBuilder
|
/external/v8/src/ |
field-type.cc | 37 FieldType* FieldType::Class(i::Map* map) { return FieldType::cast(map); } 45 FieldType* FieldType::cast(Object* object) { function in class:v8::internal::FieldType 54 i::Map* map = Map::cast(this);
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
Casting.h | 10 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(), 114 // cast<x> Support Templates 120 // Calculate what type the 'cast' function should return, based on a requested 175 // This _is_ a simple type, just cast it. 185 // cast<X> - Return the argument parameter cast to the specified type. This 190 // cast<Instruction>(myVal)->getParent() 193 inline typename cast_retty<X, Y>::ret_type cast(const Y &Val) { function in namespace:llvm 194 assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!"); 199 // cast_or_null<X> - Functionally identical to cast, except that a null value i [all...] |
/external/v8/src/base/ |
safe_math.h | 95 return CheckedNumeric<T>::cast(*this).ValueUnsafe(); 167 // These static methods behave like a convenience cast operator targeting 171 static CheckedNumeric<T> cast( function in class:v8::base::internal::CheckedNumeric 179 static CheckedNumeric<T> cast( function in class:v8::base::internal::CheckedNumeric 185 static const CheckedNumeric<T>& cast(const CheckedNumeric<T>& u) { return u; } function in class:v8::base::internal::CheckedNumeric 223 *this = CheckedNumeric<T>::cast(*this) OP CheckedNumeric<Src>::cast(rhs); \ 235 return CheckedNumeric<Promotion>::cast(lhs) \ 236 OP CheckedNumeric<Promotion>::cast(rhs); \ 246 return CheckedNumeric<Promotion>::cast(lhs) [all...] |
/external/clang/lib/CodeGen/ |
Address.h | 45 return llvm::cast<llvm::PointerType>(getPointer()->getType()); 85 return llvm::cast<llvm::Constant>(Address::getPointer()); 101 return ConstantAddress(llvm::cast<llvm::Constant>(addr.getPointer()), 109 template <class U> inline U cast(CodeGen::Address addr) { function in namespace:clang
|
/external/libchrome/base/numerics/ |
safe_math.h | 106 return CheckedNumeric<T>::cast(*this).ValueUnsafe(); 186 // These static methods behave like a convenience cast operator targeting 190 static CheckedNumeric<T> cast( function in class:base::internal::CheckedNumeric 198 static CheckedNumeric<T> cast( function in class:base::internal::CheckedNumeric 204 static const CheckedNumeric<T>& cast(const CheckedNumeric<T>& u) { return u; } function in class:base::internal::CheckedNumeric 252 *this = CheckedNumeric<T>::cast(*this) \ 253 OP CheckedNumeric<typename UnderlyingType<Src>::type>::cast(rhs); \ 265 return CheckedNumeric<Promotion>::cast(lhs) \ 266 OP CheckedNumeric<Promotion>::cast(rhs); \ 278 return CheckedNumeric<Promotion>::cast(lhs) [all...] |
/external/llvm/include/llvm/Support/ |
Casting.h | 10 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(), 138 // cast<x> Support Templates 144 // Calculate what type the 'cast' function should return, based on a requested 199 // This _is_ a simple type, just cast it. 212 // cast<X> - Return the argument parameter cast to the specified type. This 217 // cast<Instruction>(myVal)->getParent() 222 cast(const Y &Val) { function in namespace:llvm 223 assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!"); 229 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) function in namespace:llvm 236 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) { function in namespace:llvm [all...] |
/external/skia/src/jumper/ |
SkJumper_stages.cpp | 246 // (F)x means cast x to float in the portable path, but bit_cast x to float in the others. 249 SI F cast (U32 v) { return __builtin_convertvector((I32)v, F); } function 253 SI F cast (U32 v) { return (F)v; } function 352 *r = cast(wide & C(31<<11)) * C(1.0f / (31<<11)); 353 *g = cast(wide & C(63<< 5)) * C(1.0f / (63<< 5)); 354 *b = cast(wide & C(31<< 0)) * C(1.0f / (31<< 0)); 505 // It's important for speed to explicitly cast(x) and cast(y), 508 r = cast(x) + 0.5_f + unaligned_load<F>(k->iota); 509 g = cast(y) + 0.5_f [all...] |