/external/clang/test/PCH/ |
H A D | 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/swiftshader/third_party/subzero/crosstest/ |
H A D | test_cast.cpp | 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); } 54 static ToType f(int32_t a) { return cast<int32_ [all...] |
/external/eigen/Eigen/src/plugins/ |
H A D | CommonCwiseUnaryOps.h | 55 EIGEN_DOC_UNARY_ADDONS(cast,conversion function) 62 cast() const function
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | 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);
|
H A D | 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; 130 return cast;
|
/external/junit/src/main/java/org/junit/rules/ |
H A D | ExpectedExceptionMatcherBuilder.java | 32 return cast(matchers.get(0)); 43 private Matcher<Throwable> cast(Matcher<?> singleMatcher) { method in class:ExpectedExceptionMatcherBuilder
|
/external/llvm/bindings/python/llvm/ |
H A D | bit_reader.py | 12 from ctypes import cast namespace
|
H A D | disassembler.py | 20 from ctypes import cast namespace 101 buf = cast(c_char_p(source), POINTER(c_ubyte)) 102 out_str = cast((c_byte * 255)(), c_char_p) 123 out_str = cast((c_byte * 255)(), c_char_p) 126 buf = cast(source_bytes, POINTER(c_ubyte * len(source))).contents 131 b = cast(addressof(buf) + offset, POINTER(c_ubyte))
|
/external/python/cpython2/Modules/_sqlite/ |
H A D | microprotocols.c | 55 pysqlite_microprotocols_add(PyTypeObject *type, PyObject *proto, PyObject *cast) argument 67 rc = PyDict_SetItem(psyco_adapters, key, cast);
|
/external/python/cpython3/Modules/_sqlite/ |
H A D | microprotocols.c | 55 pysqlite_microprotocols_add(PyTypeObject *type, PyObject *proto, PyObject *cast) argument 67 rc = PyDict_SetItem(psyco_adapters, key, cast);
|
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/ |
H A D | 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/ |
H A D | 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);
|
H A D | 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/clang/lib/CodeGen/ |
H A D | 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/eigen/Eigen/src/Geometry/ |
H A D | Scaling.h | 90 inline UniformScaling<NewScalarType> cast() const function in class:Eigen::UniformScaling
|
H A D | AngleAxis.h | 134 EIGEN_DEVICE_FUNC inline typename internal::cast_return_type<AngleAxis,AngleAxis<NewScalarType> >::type cast() const function in class:Eigen::AngleAxis 141 m_axis = other.axis().template cast<Scalar>();
|
H A D | 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>();
|
H A D | Rotation2D.h | 142 EIGEN_DEVICE_FUNC inline typename internal::cast_return_type<Rotation2D,Rotation2D<NewScalarType> >::type cast() const function in class:Eigen::Rotation2D
|
H A D | 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/icu/icu4c/source/common/unicode/ |
H A D | char16ptr.h | 93 template<typename T> static char16_t *cast(T *t) { function in class:U_FINAL 112 Char16Ptr::Char16Ptr(uint16_t *p) : p_(cast(p)) {} 115 Char16Ptr::Char16Ptr(wchar_t *p) : p_(cast(p)) {} 201 template<typename T> static const char16_t *cast(const T *t) { function in class:U_FINAL 220 ConstChar16Ptr::ConstChar16Ptr(const uint16_t *p) : p_(cast(p)) {} 223 ConstChar16Ptr::ConstChar16Ptr(const wchar_t *p) : p_(cast(p)) {}
|
/external/llvm/include/llvm/Support/ |
H A D | 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( function in namespace:llvm 236 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) { function in namespace:llvm [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
H A D | 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, excep [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | Casting.h | 10 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(), 137 // cast<x> Support Templates 143 // Calculate what type the 'cast' function should return, based on a requested 198 // This _is_ a simple type, just cast it. 211 // cast<X> - Return the argument parameter cast to the specified type. This 216 // cast<Instruction>(myVal)->getParent() 221 cast(const Y &Val) { function in namespace:llvm 222 assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!"); 228 inline typename cast_retty<X, Y>::ret_type cast( function in namespace:llvm 235 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) { function in namespace:llvm [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
H A D | self_adjoint_eig_v2_op_gpu.cc | 143 functor::CastFunctor<GPUDevice, Scalar, RealScalar> cast; variable 144 cast(device, eigenvalues->flat<Scalar>(),
|
/external/v8/src/base/ |
H A D | 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(lh [all...] |