/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);
|
/external/swiftshader/third_party/subzero/crosstest/ |
test_cast.cpp | 1 //===- subzero/crosstest/test_cast.cpp - Cast operator tests --------------===// 10 // Implementation for crosstesting cast operations. 22 ToType __attribute__((noinline)) cast(FromType a) { function 32 ToType __attribute__((noinline)) cast(int i, FromType a, int j) { function 46 // cast<A,B>() to be instantiated in the resulting bitcode file for 49 static ToType f(bool a) { return cast<bool, ToType>(a); } 50 static ToType f(myint8_t a) { return cast<myint8_t, ToType>(a); } 51 static ToType f(uint8_t a) { return cast<uint8_t, ToType>(a); } 52 static ToType f(int16_t a) { return cast<int16_t, ToType>(a); } 53 static ToType f(uint16_t a) { return cast<uint16_t, ToType>(a); [all...] |
/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
|
/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);
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/ |
SingleNodeTypeValidator.java | 20 validator.accept(type.cast(node), problemReporter);
|
/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/tensorflow/tensorflow/examples/wav_to_spectrogram/ |
wav_to_spectrogram.cc | 68 Output cast = Cast(root.WithOpName("cast"), min, DT_UINT8); local 71 ExpandDims(root.WithOpName("expand_dims"), cast, expand_dims_const);
|
/external/v8/src/ |
field-type.cc | 38 FieldType* FieldType::Class(i::Map* map) { return FieldType::cast(map); } 46 FieldType* FieldType::cast(Object* object) { function in class:v8::internal::FieldType 55 i::Map* map = Map::cast(this);
|
managed.h | 30 static Managed<CppType>* cast(Object* obj) { function in class:v8::internal::Managed 39 Handle<Managed<CppType>> handle = Handle<Managed<CppType>>::cast(
|
/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...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/DebugInfo/PDB/ |
PDBSymbol.h | 94 template <typename T> T *cast() { return llvm::dyn_cast<T>(this); } function in class:llvm::pdb::PDBSymbol 96 template <typename T> const T *cast() const { function in class:llvm::pdb::PDBSymbol 134 ConcreteType *Result = Sym->cast<ConcreteType>();
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
Casting.h | 10 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(), 148 // cast<x> Support Templates 153 // Calculate what type the 'cast' function should return, based on a requested 217 // This _is_ a simple type, just cast it. 230 // cast<X> - Return the argument parameter cast to the specified type. This 235 // cast<Instruction>(myVal)->getParent() 240 cast(const Y &Val) { function in namespace:llvm 241 assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!"); 247 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) function in namespace:llvm 254 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) { function in namespace:llvm 262 cast(std::unique_ptr<Y> &&Val) { function in namespace:llvm 369 -> decltype(cast<X>(Val)) { function in namespace:llvm 377 -> decltype(cast<X>(Val)) { function in namespace:llvm 385 -> decltype(cast<X>(Val)) { function in namespace:llvm 393 -> decltype(cast<X>(Val)) { function in namespace:llvm [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/ |
Casting.h | 10 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(), 148 // cast<x> Support Templates 153 // Calculate what type the 'cast' function should return, based on a requested 217 // This _is_ a simple type, just cast it. 230 // cast<X> - Return the argument parameter cast to the specified type. This 235 // cast<Instruction>(myVal)->getParent() 240 cast(const Y &Val) { function in namespace:llvm 241 assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!"); 247 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) function in namespace:llvm 254 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) { function in namespace:llvm 262 cast(std::unique_ptr<Y> &&Val) { function in namespace:llvm 369 -> decltype(cast<X>(Val)) { function in namespace:llvm 377 -> decltype(cast<X>(Val)) { function in namespace:llvm 385 -> decltype(cast<X>(Val)) { function in namespace:llvm 393 -> decltype(cast<X>(Val)) { function in namespace:llvm [all...] |