/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/eigen/blas/ |
double.cpp | 26 if(*incx==1 && *incy==1) return (vector(x,*n).cast<double>().cwiseProduct(vector(y,*n).cast<double>())).sum(); 27 else if(*incx>0 && *incy>0) return (vector(x,*n,*incx).cast<double>().cwiseProduct(vector(y,*n,*incy).cast<double>())).sum(); 28 else if(*incx<0 && *incy>0) return (vector(x,*n,-*incx).reverse().cast<double>().cwiseProduct(vector(y,*n,*incy).cast<double>())).sum(); 29 else if(*incx>0 && *incy<0) return (vector(x,*n,*incx).cast<double>().cwiseProduct(vector(y,*n,-*incy).reverse().cast<double>())).sum(); 30 else if(*incx<0 && *incy<0) return (vector(x,*n,-*incx).reverse().cast<double>().cwiseProduct(vector(y,*n,-*incy).reverse().cast<double>())).sum() [all...] |
/external/eigen/test/ |
mixingtypes.cpp | 40 Mat_d md = mf.template cast<double>(); 42 Mat_cd mcd = mcf.template cast<complex<double> >(); 44 Vec_d vd = vf.template cast<double>(); 46 Vec_cd vcd = vcf.template cast<complex<double> >(); 63 VERIFY_IS_APPROX(vf * scf , vf.template cast<complex<float> >() * scf); 64 VERIFY_IS_APPROX(scd * vd, scd * vd.template cast<complex<double> >()); 71 VERIFY_IS_APPROX(vcf.dot(vf), vcf.dot(vf.template cast<complex<float> >())); 74 VERIFY_IS_APPROX(vf.asDiagonal() * mcf, vf.template cast<complex<float> >().asDiagonal() * mcf); 75 VERIFY_IS_APPROX(vcd.asDiagonal() * md, vcd.asDiagonal() * md.template cast<complex<double> >()); 76 VERIFY_IS_APPROX(mcf * vf.asDiagonal(), mcf * vf.template cast<complex<float> >().asDiagonal()) [all...] |
/external/clang/lib/Analysis/ |
ThreadSafetyLogical.cpp | 50 return RNeg ? RightOrOperator(cast<And>(RHS)) 51 : RightAndOperator(cast<And>(RHS)); 57 return RNeg ? RightAndOperator(cast<Or>(RHS)) 58 : RightOrOperator(cast<Or>(RHS)); 62 return implies(LHS, LNeg, cast<Not>(RHS)->exp(), !RNeg); 75 return LNeg ? LeftAndOperator(cast<And>(LHS)) 76 : LeftOrOperator(cast<And>(LHS)); 82 return LNeg ? LeftOrOperator(cast<Or>(LHS)) 83 : LeftAndOperator(cast<Or>(LHS)); 87 return implies(cast<Not>(LHS)->exp(), !LNeg, RHS, RNeg) [all...] |
/external/deqp/scripts/opengl/ |
gen_es_direct_init.py | 28 cast = "(%s)" % getFunctionTypeName(command.name) 30 cast = "" 32 cast,
|
/external/eigen/doc/snippets/ |
MatrixBase_cast.cpp | 3 cout << md + mf.cast<double>() << endl;
|
/external/v8/test/cctest/ |
test-array-list.cc | 22 ArrayList::cast(isolate->heap()->empty_fixed_array())); 26 CHECK_EQ(100, Smi::cast(array->Get(0))->value()); 30 CHECK_EQ(100, Smi::cast(array->Get(0))->value()); 31 CHECK_EQ(200, Smi::cast(array->Get(1))->value()); 32 CHECK_EQ(300, Smi::cast(array->Get(2))->value()); 34 CHECK_EQ(400, Smi::cast(array->Get(2))->value()); 38 CHECK_EQ(100, Smi::cast(array->Get(0))->value()); 39 CHECK_EQ(200, Smi::cast(array->Get(1))->value());
|
/prebuilts/misc/common/swig/include/2.0.11/ |
swiginit.swg | 18 * cast linked list. The cast data is initially stored in something like a 23 * a variable number of columns. So to actually build the cast linked list, 28 * First off, we lookup the cast->type name to see if it is already loaded. 30 * 1) If the cast->type has already been loaded AND the type we are adding 32 * replace the cast->type pointer with the type pointer that has already 35 * cast->type) are loaded, THEN the cast info has already been loaded by 37 * 3) Finally, if cast->type has not already been loaded, then we add that 38 * swig_cast_info to the linked list (because the cast->type) pointer wil [all...] |
/external/llvm/lib/IR/ |
Instruction.cpp | 105 cast<FPMathOperator>(this)->setHasUnsafeAlgebra(B); 112 cast<FPMathOperator>(this)->setHasNoNaNs(B); 119 cast<FPMathOperator>(this)->setHasNoInfs(B); 127 cast<FPMathOperator>(this)->setHasNoSignedZeros(B); 135 cast<FPMathOperator>(this)->setHasAllowReciprocal(B); 143 cast<FPMathOperator>(this)->setFastMathFlags(FMF); 148 cast<FPMathOperator>(this)->copyFastMathFlags(FMF); 154 return cast<FPMathOperator>(this)->hasUnsafeAlgebra(); 160 return cast<FPMathOperator>(this)->hasNoNaNs(); 166 return cast<FPMathOperator>(this)->hasNoInfs() [all...] |
/external/llvm/include/llvm/IR/ |
IntrinsicInst.h | 35 /// functions. This allows the standard isa/dyncast/cast functionality to 48 // Methods for support type inquiry through isa, cast, and dyn_cast: 55 return isa<CallInst>(V) && classof(cast<CallInst>(V)); 64 // Methods for support type inquiry through isa, cast, and dyn_cast: 74 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); 86 return cast<DILocalVariable>(getRawVariable()); 89 return cast<DIExpression>(getRawExpression()); 93 return cast<MetadataAsValue>(getArgOperand(1))->getMetadata(); 96 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata(); 99 // Methods for support type inquiry through isa, cast, and dyn_cast [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);
|
/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);
|
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
CstByte.java | 49 byte cast = (byte) value; 51 if (cast != value) { 56 return make(cast);
|
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/ |
CstByte.java | 49 byte cast = (byte) value; 51 if (cast != value) { 56 return make(cast);
|
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/dexmaker/src/dx/java/com/android/dx/rop/cst/ |
CstByte.java | 49 byte cast = (byte) value; 51 if (cast != value) { 56 return make(cast);
|
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/jsilver/src/org/clearsilver/jni/ |
JniClearsilverFactory.java | 66 return new JniCs(JniHdf.cast(hdf)); 82 return new JniCs(JniHdf.cast(hdf), JniHdf.cast(globalHdf));
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfAttribute.h | 203 static TypedAttribute * cast (Attribute *attribute); 204 static const TypedAttribute * cast (const Attribute *attribute); 205 static TypedAttribute & cast (Attribute &attribute); 206 static const TypedAttribute & cast (const Attribute &attribute); 337 _value = cast(other)._value; 343 TypedAttribute<T>::cast (Attribute *attribute) function in class:Imf::TypedAttribute 357 TypedAttribute<T>::cast (const Attribute *attribute) function in class:Imf::TypedAttribute 371 TypedAttribute<T>::cast (Attribute &attribute) function in class:Imf::TypedAttribute 373 return *cast (&attribute); 379 TypedAttribute<T>::cast (const Attribute &attribute function in class:Imf::TypedAttribute [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
IdenticalExprChecker.cpp | 361 const CStyleCastExpr* CastExpr1 = cast<CStyleCastExpr>(Stmt1); 362 const CStyleCastExpr* CastExpr2 = cast<CStyleCastExpr>(Stmt2); 367 const ReturnStmt *ReturnStmt1 = cast<ReturnStmt>(Stmt1); 368 const ReturnStmt *ReturnStmt2 = cast<ReturnStmt>(Stmt2); 374 const ForStmt *ForStmt1 = cast<ForStmt>(Stmt1); 375 const ForStmt *ForStmt2 = cast<ForStmt>(Stmt2); 392 const DoStmt *DStmt1 = cast<DoStmt>(Stmt1); 393 const DoStmt *DStmt2 = cast<DoStmt>(Stmt2); 404 const WhileStmt *WStmt1 = cast<WhileStmt>(Stmt1); 405 const WhileStmt *WStmt2 = cast<WhileStmt>(Stmt2) [all...] |
/external/llvm/lib/CodeGen/ |
CoreCLRGC.cpp | 43 PointerType *PT = cast<PointerType>(V->getType());
|