/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/ |
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/tensorflow/tensorflow/contrib/opt/python/training/ |
lazy_adam_gs_optimizer.py | 52 beta1_power = math_ops.cast(beta1_power, var.dtype.base_dtype) 53 beta2_power = math_ops.cast(beta2_power, var.dtype.base_dtype) 54 lr_t = math_ops.cast(self._lr_t, var.dtype.base_dtype) 55 beta1_t = math_ops.cast(self._beta1_t, var.dtype.base_dtype) 56 beta2_t = math_ops.cast(self._beta2_t, var.dtype.base_dtype) 57 epsilon_t = math_ops.cast(self._epsilon_t, var.dtype.base_dtype) 85 beta1_power = math_ops.cast(beta1_power, var.dtype.base_dtype) 86 beta2_power = math_ops.cast(beta2_power, var.dtype.base_dtype) 87 lr_t = math_ops.cast(self._lr_t, var.dtype.base_dtype) 88 beta1_t = math_ops.cast(self._beta1_t, var.dtype.base_dtype [all...] |
lazy_adam_optimizer.py | 52 beta1_power = math_ops.cast(beta1_power, var.dtype.base_dtype) 53 beta2_power = math_ops.cast(beta2_power, var.dtype.base_dtype) 54 lr_t = math_ops.cast(self._lr_t, var.dtype.base_dtype) 55 beta1_t = math_ops.cast(self._beta1_t, var.dtype.base_dtype) 56 beta2_t = math_ops.cast(self._beta2_t, var.dtype.base_dtype) 57 epsilon_t = math_ops.cast(self._epsilon_t, var.dtype.base_dtype) 85 beta1_power = math_ops.cast(beta1_power, var.dtype.base_dtype) 86 beta2_power = math_ops.cast(beta2_power, var.dtype.base_dtype) 87 lr_t = math_ops.cast(self._lr_t, var.dtype.base_dtype) 88 beta1_t = math_ops.cast(self._beta1_t, var.dtype.base_dtype [all...] |
nadam_optimizer.py | 43 math_ops.cast(beta1_power, var.dtype.base_dtype), 44 math_ops.cast(beta2_power, var.dtype.base_dtype), 45 math_ops.cast(self._lr_t, var.dtype.base_dtype), 46 math_ops.cast(self._beta1_t, var.dtype.base_dtype), 47 math_ops.cast(self._beta2_t, var.dtype.base_dtype), 48 math_ops.cast(self._epsilon_t, var.dtype.base_dtype), 61 math_ops.cast(beta1_power, grad.dtype.base_dtype), 62 math_ops.cast(beta2_power, grad.dtype.base_dtype), 63 math_ops.cast(self._lr_t, grad.dtype.base_dtype), 64 math_ops.cast(self._beta1_t, grad.dtype.base_dtype) [all...] |
/external/tensorflow/tensorflow/python/training/ |
adadelta.py | 88 math_ops.cast(self._lr_t, var.dtype.base_dtype), 89 math_ops.cast(self._rho_t, var.dtype.base_dtype), 90 math_ops.cast(self._epsilon_t, var.dtype.base_dtype), 101 math_ops.cast(self._lr_t, grad.dtype.base_dtype), 102 math_ops.cast(self._rho_t, grad.dtype.base_dtype), 103 math_ops.cast(self._epsilon_t, grad.dtype.base_dtype), 114 math_ops.cast(self._lr_t, var.dtype.base_dtype), 115 math_ops.cast(self._rho_t, var.dtype.base_dtype), 116 math_ops.cast(self._epsilon_t, var.dtype.base_dtype), 128 math_ops.cast(self._lr_t, grad.dtype) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
lmem.h | 22 ** cast to 'void' avoids warnings of "value unused". 25 (cast(void, \ 26 (cast(size_t, (n)+1) > MAX_SIZET/(e)) ? (luaM_toobig(L), 0) : 0), \ 34 #define luaM_new(L,t) cast(t *, luaM_malloc(L, sizeof(t))) 36 cast(t *, luaM_reallocv(L, NULL, 0, n, sizeof(t))) 42 ((v)=cast(t *, luaM_growaux_(L,v,&(size),sizeof(t),limit,e))) 45 ((v)=cast(t *, luaM_reallocv(L, v, oldn, n, sizeof(t))))
|
lopcodes.h | 89 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0))) 91 ((cast(Instruction, o)<<POS_OP)&MASK1(SIZE_OP,POS_OP)))) 93 #define getarg(i,pos,size) (cast(int, ((i)>>pos) & MASK1(size,0))) 95 ((cast(Instruction, v)<<pos)&MASK1(size,pos)))) 113 #define SETARG_sBx(i,b) SETARG_Bx((i),cast(unsigned int, (b)+MAXARG_sBx)) 116 #define CREATE_ABC(o,a,b,c) ((cast(Instruction, o)<<POS_OP) \ 117 | (cast(Instruction, a)<<POS_A) \ 118 | (cast(Instruction, b)<<POS_B) \ 119 | (cast(Instruction, c)<<POS_C)) 121 #define CREATE_ABx(o,a,bc) ((cast(Instruction, o)<<POS_OP) [all...] |
/external/lua/src/ |
lmem.h | 31 (((sizeof(n) >= sizeof(size_t) && cast(size_t, (n)) + 1 > MAX_SIZET/(e)) \ 39 cast(char *, luaM_realloc_(L, (b), (on)*sizeof(char), (n)*sizeof(char))) 46 #define luaM_new(L,t) cast(t *, luaM_malloc(L, sizeof(t))) 48 cast(t *, luaM_reallocv(L, NULL, 0, n, sizeof(t))) 54 ((v)=cast(t *, luaM_growaux_(L,v,&(size),sizeof(t),limit,e))) 57 ((v)=cast(t *, luaM_reallocv(L, v, oldn, n, sizeof(t))))
|
lopcodes.h | 89 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0))) 91 ((cast(Instruction, o)<<POS_OP)&MASK1(SIZE_OP,POS_OP)))) 93 #define getarg(i,pos,size) (cast(int, ((i)>>pos) & MASK1(size,0))) 95 ((cast(Instruction, v)<<pos)&MASK1(size,pos)))) 113 #define SETARG_sBx(i,b) SETARG_Bx((i),cast(unsigned int, (b)+MAXARG_sBx)) 116 #define CREATE_ABC(o,a,b,c) ((cast(Instruction, o)<<POS_OP) \ 117 | (cast(Instruction, a)<<POS_A) \ 118 | (cast(Instruction, b)<<POS_B) \ 119 | (cast(Instruction, c)<<POS_C)) 121 #define CREATE_ABx(o,a,bc) ((cast(Instruction, o)<<POS_OP) [all...] |
lfunc.h | 14 #define sizeCclosure(n) (cast(int, sizeof(CClosure)) + \ 15 cast(int, sizeof(TValue)*((n)-1))) 17 #define sizeLclosure(n) (cast(int, sizeof(LClosure)) + \ 18 cast(int, sizeof(TValue *)*((n)-1)))
|
/external/v8/src/builtins/ |
builtins-dataview.cc | 31 Handle<JSReceiver> new_target = Handle<JSReceiver>::cast(args.new_target()); 43 Handle<JSArrayBuffer> array_buffer = Handle<JSArrayBuffer>::cast(buffer); 92 Handle<JSDataView>::cast(result)->SetEmbedderField(i, Smi::kZero); 96 Handle<JSDataView>::cast(result)->set_buffer(*array_buffer); 99 Handle<JSDataView>::cast(result)->set_byte_length(*view_byte_length); 102 Handle<JSDataView>::cast(result)->set_byte_offset(*offset);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
IntrinsicInst.h | 42 /// This allows the standard isa/dyncast/cast functionality to work with calls 55 // Methods for support type inquiry through isa, cast, and dyn_cast: 62 return isa<CallInst>(V) && classof(cast<CallInst>(V)); 81 return cast<DILocalVariable>(getRawVariable()); 85 return cast<DIExpression>(getRawExpression()); 89 return cast<MetadataAsValue>(getArgOperand(1))->getMetadata(); 93 return cast<MetadataAsValue>(getArgOperand(2))->getMetadata(); 113 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); 129 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); 145 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
Instruction.cpp | 102 cast<OverflowingBinaryOperator>(this)->setHasNoUnsignedWrap(b); 106 cast<OverflowingBinaryOperator>(this)->setHasNoSignedWrap(b); 110 cast<PossiblyExactOperator>(this)->setIsExact(b); 114 return cast<OverflowingBinaryOperator>(this)->hasNoUnsignedWrap(); 118 return cast<OverflowingBinaryOperator>(this)->hasNoSignedWrap(); 127 cast<OverflowingBinaryOperator>(this)->setHasNoUnsignedWrap(false); 128 cast<OverflowingBinaryOperator>(this)->setHasNoSignedWrap(false); 135 cast<PossiblyExactOperator>(this)->setIsExact(false); 139 cast<GetElementPtrInst>(this)->setIsInBounds(false); 145 return cast<PossiblyExactOperator>(this)->isExact() [all...] |
/external/eigen/unsupported/test/ |
cxx11_tensor_casts.cpp | 26 chartensor = ftensor.cast<char>(); 27 cplextensor = ftensor.cast<std::complex<float> >(); 47 ftensor = itensor.cast<float>(); 48 dtensor = itensor.cast<double>(); 66 Tensor<int, 2> i1tensor = ftensor.cast<int>(); 67 Tensor<int, 2> i2tensor = dtensor.cast<int>(); 83 ftensor = dtensor.cast<float>(); 98 dtensor = ftensor.cast<double>();
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
IntrinsicInst.h | 34 /// functions. This allows the standard isa/dyncast/cast functionality to 47 // 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: 75 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); 86 MDNode *getVariable() const { return cast<MDNode>(getArgOperand(1)); } 88 // Methods for support type inquiry through isa, cast, and dyn_cast: 94 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V)); 105 return cast<ConstantInt>( 108 MDNode *getVariable() const { return cast<MDNode>(getArgOperand(2)); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
FunctionComparator.cpp | 265 const auto *SeqR = cast<ConstantDataSequential>(R); 279 const APInt &LInt = cast<ConstantInt>(L)->getValue(); 280 const APInt &RInt = cast<ConstantInt>(R)->getValue(); 284 const APFloat &LAPF = cast<ConstantFP>(L)->getValueAPF(); 285 const APFloat &RAPF = cast<ConstantFP>(R)->getValueAPF(); 289 const ConstantArray *LA = cast<ConstantArray>(L); 290 const ConstantArray *RA = cast<ConstantArray>(R); 291 uint64_t NumElementsL = cast<ArrayType>(TyL)->getNumElements(); 292 uint64_t NumElementsR = cast<ArrayType>(TyR)->getNumElements(); 296 if (int Res = cmpConstants(cast<Constant>(LA->getOperand(i)) [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
IdenticalExprChecker.cpp | 359 const CStyleCastExpr* CastExpr1 = cast<CStyleCastExpr>(Stmt1); 360 const CStyleCastExpr* CastExpr2 = cast<CStyleCastExpr>(Stmt2); 365 const ReturnStmt *ReturnStmt1 = cast<ReturnStmt>(Stmt1); 366 const ReturnStmt *ReturnStmt2 = cast<ReturnStmt>(Stmt2); 372 const ForStmt *ForStmt1 = cast<ForStmt>(Stmt1); 373 const ForStmt *ForStmt2 = cast<ForStmt>(Stmt2); 390 const DoStmt *DStmt1 = cast<DoStmt>(Stmt1); 391 const DoStmt *DStmt2 = cast<DoStmt>(Stmt2); 402 const WhileStmt *WStmt1 = cast<WhileStmt>(Stmt1); 403 const WhileStmt *WStmt2 = cast<WhileStmt>(Stmt2) [all...] |
/external/python/cpython3/Modules/_sqlite/ |
microprotocols.h | 42 PyTypeObject *type, PyObject *proto, PyObject *cast);
|
/external/v8/src/ |
arguments-inl.h | 18 return Handle<S>::cast(at<Object>(index));
|
/external/v8/src/objects/ |
arguments-inl.h | 28 return Context::cast(get(kContextIndex)); 32 return FixedArray::cast(get(kArgumentsIndex)); 70 FixedArray* parameters = FixedArray::cast(object->elements()); 72 FixedArray* arguments = FixedArray::cast(parameters->get(1));
|