/external/pdfium/third_party/base/numerics/ |
safe_conversions.h | 18 template <typename Dst, typename Src> 20 return internal::DstRangeRelationToSrcRange<Dst>(value) == 27 template <typename Dst, typename Src> 28 inline Dst checked_cast(Src value) { 29 CHECK(IsValueInRangeForNumericType<Dst>(value)); 30 return static_cast<Dst>(value); 36 template <typename Dst, typename Src> 37 inline Dst saturated_cast(Src value) { 39 if (std::numeric_limits<Dst>::is_iec559) 40 return static_cast<Dst>(value) [all...] |
safe_conversions_impl.h | 33 // A range for a given nunmeric Src type is contained for a given numeric Dst 34 // type if both numeric_limits<Src>::max() <= numeric_limits<Dst>::max() and 35 // numeric_limits<Src>::min() >= numeric_limits<Dst>::min() are true. 47 typename Dst, 49 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed 58 // Same sign: Dst is guaranteed to contain Src only if its range is equal or 60 template <typename Dst, typename Src, IntegerRepresentation Sign> 61 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> { 63 MaxExponent<Dst>::value >= MaxExponent<Src>::value 68 // Unsigned to signed: Dst is guaranteed to contain source only if its range i [all...] |
/external/v8/src/base/ |
safe_conversions.h | 20 template <typename Dst, typename Src> 22 return internal::DstRangeRelationToSrcRange<Dst>(value) == 29 template <typename Dst, typename Src> 30 inline Dst checked_cast(Src value) { 31 CHECK(IsValueInRangeForNumericType<Dst>(value)); 32 return static_cast<Dst>(value); 38 template <typename Dst, typename Src> 39 inline Dst saturated_cast(Src value) { 41 if (std::numeric_limits<Dst>::is_iec559) 42 return static_cast<Dst>(value) [all...] |
safe_conversions_impl.h | 36 // A range for a given nunmeric Src type is contained for a given numeric Dst 37 // type if both numeric_limits<Src>::max() <= numeric_limits<Dst>::max() and 38 // numeric_limits<Src>::min() >= numeric_limits<Dst>::min() are true. 50 typename Dst, 52 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed 61 // Same sign: Dst is guaranteed to contain Src only if its range is equal or 63 template <typename Dst, typename Src, IntegerRepresentation Sign> 64 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> { 66 MaxExponent<Dst>::value >= MaxExponent<Src>::value 71 // Unsigned to signed: Dst is guaranteed to contain source only if its range i [all...] |
/external/webrtc/webrtc/base/ |
safe_conversions.h | 25 template <typename Dst, typename Src> 27 return internal::RangeCheck<Dst>(value) == internal::TYPE_VALID; 33 template <typename Dst, typename Src> 34 inline Dst checked_cast(Src value) { 35 RTC_CHECK(IsValueInRangeForNumericType<Dst>(value)); 36 return static_cast<Dst>(value); 42 template <typename Dst, typename Src> 43 inline Dst saturated_cast(Src value) { 45 if (std::numeric_limits<Dst>::is_iec559) 46 return static_cast<Dst>(value) [all...] |
safe_conversions_impl.h | 39 template <typename Dst, typename Src, 40 DstSign IsDstSigned = std::numeric_limits<Dst>::is_signed ? 46 template <typename Dst, typename Src> 47 struct StaticRangeCheck<Dst, Src, DST_SIGNED, SRC_SIGNED> { 48 typedef std::numeric_limits<Dst> DstLimits; 53 (sizeof(Dst) * 8 - 1); 61 template <typename Dst, typename Src> 62 struct StaticRangeCheck<Dst, Src, DST_UNSIGNED, SRC_UNSIGNED> { 63 static const DstRange value = sizeof(Dst) >= sizeof(Src) ? 67 template <typename Dst, typename Src [all...] |
/external/libchrome/base/numerics/ |
safe_conversions.h | 20 template <typename Dst, typename Src> 22 return internal::DstRangeRelationToSrcRange<Dst>(value) == 47 template <typename Dst, typename Src> 48 inline Dst checked_cast(Src value) { 49 CHECK(IsValueInRangeForNumericType<Dst>(value)); 50 return static_cast<Dst>(value); 74 template <typename Dst, 77 inline Dst saturated_cast(Src value) { 79 if (std::numeric_limits<Dst>::is_iec559) 80 return static_cast<Dst>(value) [all...] |
safe_numerics_unittest.cc | 47 template <typename Dst, typename Src> 48 Dst GetMaxConvertibleToFloat() { 49 typedef numeric_limits<Dst> DstLimits; 56 MaxExponent<Src>::value <= MaxExponent<Dst>::value) 59 while (max != static_cast<Src>(static_cast<Dst>(max))) { 62 return static_cast<Dst>(max); 67 EXPECT_EQ(expected, CheckedNumeric<Dst>(actual).validity()) \ 68 << "Result test: Value " << +(actual).ValueUnsafe() << " as " << dst \ 72 EXPECT_EQ(static_cast<Dst>(expected), \ 73 CheckedNumeric<Dst>(actual).ValueUnsafe()) [all...] |
safe_conversions_impl.h | 34 // A range for a given nunmeric Src type is contained for a given numeric Dst 35 // type if both numeric_limits<Src>::max() <= numeric_limits<Dst>::max() and 36 // numeric_limits<Src>::min() >= numeric_limits<Dst>::min() are true. 48 typename Dst, 50 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed 59 // Same sign: Dst is guaranteed to contain Src only if its range is equal or 61 template <typename Dst, typename Src, IntegerRepresentation Sign> 62 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> { 64 MaxExponent<Dst>::value >= MaxExponent<Src>::value 69 // Unsigned to signed: Dst is guaranteed to contain source only if its range i [all...] |
/external/libweave/third_party/chromium/base/numerics/ |
safe_conversions.h | 20 template <typename Dst, typename Src> 22 return internal::DstRangeRelationToSrcRange<Dst>(value) == 47 template <typename Dst, typename Src> 48 inline Dst checked_cast(Src value) { 49 CHECK(IsValueInRangeForNumericType<Dst>(value)); 50 return static_cast<Dst>(value); 74 template <typename Dst, 77 inline Dst saturated_cast(Src value) { 79 if (std::numeric_limits<Dst>::is_iec559) 80 return static_cast<Dst>(value) [all...] |
safe_numerics_unittest.cc | 43 template <typename Dst, typename Src> 44 Dst GetMaxConvertibleToFloat() { 45 typedef numeric_limits<Dst> DstLimits; 52 MaxExponent<Src>::value <= MaxExponent<Dst>::value) 55 while (max != static_cast<Src>(static_cast<Dst>(max))) { 58 return static_cast<Dst>(max); 63 EXPECT_EQ(expected, CheckedNumeric<Dst>(actual).validity()) \ 64 << "Result test: Value " << +(actual).ValueUnsafe() << " as " << dst \ 68 EXPECT_EQ(static_cast<Dst>(expected), \ 69 CheckedNumeric<Dst>(actual).ValueUnsafe()) [all...] |
safe_conversions_impl.h | 32 // A range for a given nunmeric Src type is contained for a given numeric Dst 33 // type if both numeric_limits<Src>::max() <= numeric_limits<Dst>::max() and 34 // numeric_limits<Src>::min() >= numeric_limits<Dst>::min() are true. 46 typename Dst, 48 IntegerRepresentation DstSign = std::numeric_limits<Dst>::is_signed 57 // Same sign: Dst is guaranteed to contain Src only if its range is equal or 59 template <typename Dst, typename Src, IntegerRepresentation Sign> 60 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> { 62 MaxExponent<Dst>::value >= MaxExponent<Src>::value 67 // Unsigned to signed: Dst is guaranteed to contain source only if its range i [all...] |
/external/llvm/bindings/ocaml/linker/ |
linker_ocaml.c | 27 CAMLprim value llvm_link_modules(LLVMModuleRef Dst, LLVMModuleRef Src) { 28 if (LLVMLinkModules2(Dst, Src))
|
/external/llvm/lib/CodeGen/ |
MachineBranchProbabilityInfo.cpp | 33 MachineBasicBlock::const_succ_iterator Dst) const { 34 return Src->getSuccProbability(Dst); 38 const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const { 42 std::find(Src->succ_begin(), Src->succ_end(), Dst)); 47 const MachineBasicBlock *Dst) const { 50 return getEdgeProbability(Src, Dst) > HotProb; 75 const MachineBasicBlock *Dst) const { 77 const BranchProbability Prob = getEdgeProbability(Src, Dst); 78 OS << "edge MBB#" << Src->getNumber() << " -> MBB#" << Dst->getNumber() 80 << (isEdgeHot(Src, Dst) ? " [HOT edge]\n" : "\n") [all...] |
/external/llvm/include/llvm/CodeGen/ |
MachineBranchProbabilityInfo.h | 50 const MachineBasicBlock *Dst) const; 56 MachineBasicBlock::const_succ_iterator Dst) const; 60 const MachineBasicBlock *Dst) const; 71 const MachineBasicBlock *Dst) const;
|
/external/clang/include/clang/Analysis/Analyses/ |
CFGReachabilityAnalysis.h | 40 /// Returns true if the block 'Dst' can be reached from block 'Src'. 41 bool isReachable(const CFGBlock *Src, const CFGBlock *Dst); 44 void mapReachability(const CFGBlock *Dst);
|
/external/llvm/include/llvm/Target/ |
CostTable.h | 46 MVT::SimpleValueType Dst; 55 int ISD, MVT Dst, MVT Src) { 59 Dst == Entry.Dst;
|
/external/clang/lib/Analysis/ |
CFGReachabilityAnalysis.cpp | 26 const CFGBlock *Dst) { 28 const unsigned DstBlockID = Dst->getBlockID(); 32 mapReachability(Dst); 42 void CFGReverseBlockReachabilityAnalysis::mapReachability(const CFGBlock *Dst) { 46 ReachableSet &DstReachability = reachable[Dst->getBlockID()]; 51 worklist.push_back(Dst); 61 // Update reachability information for this node -> Dst 63 // Don't insert Dst -> Dst unless it was a predecessor of itself
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
ExprEngine.h | 113 /// of the function are added into the Dst set, which represent the exit 118 ExplodedNodeSet &Dst) { 119 return Engine.ExecuteWorkListWithInitialState(L, Steps, InitState, Dst); 206 ExplodedNode *Pred, ExplodedNodeSet &Dst); 208 ExplodedNode *Pred, ExplodedNodeSet &Dst); 210 ExplodedNode *Pred, ExplodedNodeSet &Dst); 212 ExplodedNode *Pred, ExplodedNodeSet &Dst); 214 ExplodedNode *Pred, ExplodedNodeSet &Dst); 226 ExplodedNodeSet &Dst, 235 ExplodedNode *Pred, ExplodedNodeSet &Dst, [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonPeephole.cpp | 105 void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src); 139 MachineOperand &Dst = MI->getOperand(0); 141 unsigned DstReg = Dst.getReg(); 158 MachineOperand &Dst = MI->getOperand(0); 163 unsigned DstReg = Dst.getReg(); 175 MachineOperand &Dst = MI->getOperand(0); 180 unsigned DstReg = Dst.getReg(); 190 MachineOperand &Dst = MI->getOperand(0); 192 unsigned DstReg = Dst.getReg(); 208 MachineOperand &Dst = MI->getOperand(0) [all...] |
HexagonSelectionDAGInfo.h | 26 SDValue Dst, SDValue Src,
|
/external/llvm/lib/Target/X86/ |
X86SelectionDAGInfo.h | 36 SDValue Dst, SDValue Src, 43 SDValue Dst, SDValue Src,
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_fpc_optimize.c | 176 copy_dst_reg(&o->Dst[0].Register, &i->Dst[0].Register); 207 same_dst_reg(&next->FullInstruction.Dst[0], ¤t->FullInstruction.Dst[0]) && 209 !same_src_dst_reg(&next->FullInstruction.Src[0], ¤t->FullInstruction.Dst[0]) && 210 is_unswizzled(¤t->FullInstruction.Src[0], current->FullInstruction.Dst[0].Register.WriteMask) && 211 is_unswizzled(¤t->FullInstruction.Src[1], current->FullInstruction.Dst[0].Register.WriteMask) && 212 is_unswizzled(&next->FullInstruction.Src[0], next->FullInstruction.Dst[0].Register.WriteMask) ) 218 next->FullInstruction.Dst[0].Register.WriteMask, 221 current->FullInstruction.Dst[0].Register.WriteMask = current->FullInstruction.Dst[0].Register.WriteMask [all...] |
/external/eigen/Eigen/src/Core/ |
Assign_MKL.h | 43 template<typename Dst, typename Src, typename UnaryOp> 48 DstHasDirectAccess = Dst::Flags & DirectAccessBit, 51 StorageOrdersAgree = (int(Dst::IsRowMajor) == int(Src::IsRowMajor)), 52 InnerSize = int(Dst::IsVectorAtCompileTime) ? int(Dst::SizeAtCompileTime) 53 : int(Dst::Flags)&RowMajorBit ? int(Dst::ColsAtCompileTime) 54 : int(Dst::RowsAtCompileTime), 55 InnerMaxSize = int(Dst::IsVectorAtCompileTime) ? int(Dst::MaxSizeAtCompileTime [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64SelectionDAGInfo.h | 25 SDValue Dst, SDValue Src, SDValue Size,
|