Searched defs:cast (Results 1 - 25 of 113) sorted by relevance

12345

/external/strace/
H A Dprintstat.h94 const bool cast = sizeof(statbuf->st_atime) == sizeof(int); local
97 tprints(sprinttime(cast ? (time_t) (int) statbuf->st_atime:
104 tprints(sprinttime(cast ? (time_t) (int) statbuf->st_mtime:
111 tprints(sprinttime(cast ? (time_t) (int) statbuf->st_ctime:
/external/clang/test/PCH/
H A Dcxx-chain-function-template.cpp9 T cast(U u) { function
14 cast<float>(1);
22 cast<CXXRecordDecl>(1.0f);
28 cast<CXXRecordDecl>(1.0f);
/external/guava/guava/src/com/google/common/collect/
H A DMutableClassToInstanceMap.java67 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 DImmutableClassToInstanceMap.java91 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/llvm/bindings/python/llvm/
H A Dbit_reader.py12 from ctypes import cast namespace
H A Ddisassembler.py20 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/mockito/src/org/mockito/internal/creation/
H A DCglibMockMaker.java22 InternalMockHandler mockitoHandler = cast(handler);
28 private InternalMockHandler cast(MockHandler handler) { method in class:CglibMockMaker
37 ((Factory) mock).setCallback(0, new MethodInterceptorFilter(cast(newHandler), settings));
/external/eigen/Eigen/src/plugins/
H A DCommonCwiseUnaryOps.h92 cast() const function
/external/v8/src/
H A Dfield-type.cc35 FieldType* FieldType::Class(i::Map* map) { return FieldType::cast(map); }
43 FieldType* FieldType::cast(Object* object) { function in class:v8::internal::FieldType
52 i::Map* map = Map::cast(this);
/external/clang/lib/CodeGen/
H A DAddress.h45 return llvm::cast<llvm::PointerType>(getPointer()->getType());
85 return llvm::cast<llvm::Constant>(Address::getPointer());
101 return ConstantAddress(llvm::cast<llvm::Constant>(addr.getPointer()),
111 template <class U> inline U cast(clang::CodeGen::Address addr) { function in namespace:llvm
120 // Make our custom isa and cast available in namespace clang, to mirror
123 using llvm::cast;
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DParametrizedLine.h94 ParametrizedLine<NewScalarType,AmbientDimAtCompileTime> >::type cast() const function in class:Eigen::ParametrizedLine
104 m_origin = other.origin().template cast<Scalar>();
105 m_direction = other.direction().template cast<Scalar>();
H A DRotation2D.h96 inline typename internal::cast_return_type<Rotation2D,Rotation2D<NewScalarType> >::type cast() const function in class:Eigen::Rotation2D
H A DScaling.h121 inline typename internal::cast_return_type<Scaling,Scaling<NewScalarType,Dim> >::type cast() const function in class:Eigen::Scaling
127 { m_coeffs = other.coeffs().template cast<Scalar>(); }
H A DTranslation.h124 inline typename internal::cast_return_type<Translation,Translation<NewScalarType,Dim> >::type cast() const function in class:Eigen::Translation
130 { m_coeffs = other.vector().template cast<Scalar>(); }
H A DAlignedBox.h118 AlignedBox<NewScalarType,AmbientDimAtCompileTime> >::type cast() const function in class:Eigen::AlignedBox
128 m_min = (other.min)().template cast<Scalar>();
129 m_max = (other.max)().template cast<Scalar>();
H A DAngleAxis.h128 inline typename internal::cast_return_type<AngleAxis,AngleAxis<NewScalarType> >::type cast() const function in class:Eigen::AngleAxis
135 m_axis = other.axis().template cast<Scalar>();
/external/eigen/Eigen/src/Geometry/
H A DScaling.h90 inline UniformScaling<NewScalarType> cast() const function in class:Eigen::UniformScaling
H A DAngleAxis.h123 inline typename internal::cast_return_type<AngleAxis,AngleAxis<NewScalarType> >::type cast() const function in class:Eigen::AngleAxis
130 m_axis = other.axis().template cast<Scalar>();
H A DParametrizedLine.h114 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 DRotation2D.h104 inline typename internal::cast_return_type<Rotation2D,Rotation2D<NewScalarType> >::type cast() const function in class:Eigen::Rotation2D
/external/libchrome/base/numerics/
H A Dsafe_math.h99 return CheckedNumeric<T>::cast(*this).ValueUnsafe();
179 // These static methods behave like a convenience cast operator targeting
183 static CheckedNumeric<T> cast( function in class:base::internal::CheckedNumeric
191 static CheckedNumeric<T> cast( function in class:base::internal::CheckedNumeric
197 static const CheckedNumeric<T>& cast(const CheckedNumeric<T>& u) { return u; } function in class:base::internal::CheckedNumeric
246 *this = CheckedNumeric<T>::cast(*this) \
247 OP CheckedNumeric<typename UnderlyingType<Src>::type>::cast(rhs); \
259 return CheckedNumeric<Promotion>::cast(lhs) \
260 OP CheckedNumeric<Promotion>::cast(rhs); \
270 return CheckedNumeric<Promotion>::cast(lh
[all...]
/external/libweave/third_party/chromium/base/numerics/
H A Dsafe_math.h99 return CheckedNumeric<T>::cast(*this).ValueUnsafe();
179 // These static methods behave like a convenience cast operator targeting
183 static CheckedNumeric<T> cast( function in class:base::internal::CheckedNumeric
191 static CheckedNumeric<T> cast( function in class:base::internal::CheckedNumeric
197 static const CheckedNumeric<T>& cast(const CheckedNumeric<T>& u) { return u; } function in class:base::internal::CheckedNumeric
246 *this = CheckedNumeric<T>::cast(*this) \
247 OP CheckedNumeric<typename UnderlyingType<Src>::type>::cast(rhs); \
259 return CheckedNumeric<Promotion>::cast(lhs) \
260 OP CheckedNumeric<Promotion>::cast(rhs); \
270 return CheckedNumeric<Promotion>::cast(lh
[all...]
/external/llvm/include/llvm/Support/
H A DCasting.h10 // 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/pdfium/third_party/base/numerics/
H A Dsafe_math.h91 return CheckedNumeric<T>::cast(*this).ValueUnsafe();
163 // These static methods behave like a convenience cast operator targeting
167 static CheckedNumeric<T> cast( function in class:pdfium::base::internal::CheckedNumeric
175 static CheckedNumeric<T> cast( function in class:pdfium::base::internal::CheckedNumeric
181 static const CheckedNumeric<T>& cast(const CheckedNumeric<T>& u) { return u; } function in class:pdfium::base::internal::CheckedNumeric
219 *this = CheckedNumeric<T>::cast(*this) OP CheckedNumeric<Src>::cast(rhs); \
231 return CheckedNumeric<Promotion>::cast(lhs) \
232 OP CheckedNumeric<Promotion>::cast(rhs); \
242 return CheckedNumeric<Promotion>::cast(lh
[all...]
/external/v8/src/base/
H A Dsafe_math.h95 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...]

Completed in 2283 milliseconds

12345