/external/libvpx/libvpx/vp8/common/ |
H A D | common.h | 27 #define vp8_copy( Dest, Src) { \ 28 assert( sizeof( Dest) == sizeof( Src)); \ 29 vpx_memcpy( Dest, Src, sizeof( Src)); \ 34 #define vp8_copy_array( Dest, Src, N) { \ 35 assert( sizeof( *Dest) == sizeof( *Src)); \ 36 vpx_memcpy( Dest, Src, N * sizeof( *Src)); \
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
H A D | common.h | 30 #define vp8_copy( Dest, Src) { \ 31 assert( sizeof( Dest) == sizeof( Src)); \ 32 vpx_memcpy( Dest, Src, sizeof( Src)); \ 37 #define vp8_copy_array( Dest, Src, N) { \ 38 assert( sizeof( *Dest) == sizeof( *Src)); \ 39 vpx_memcpy( Dest, Src, N * sizeof( *Src)); \
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | safe_conversions_impl.h | 56 template <typename Dst, typename Src, 59 SrcSign IsSrcSigned = std::numeric_limits<Src>::is_signed ? 63 template <typename Dst, typename Src> 64 struct StaticRangeCheck<Dst, Src, DST_SIGNED, SRC_SIGNED> { 66 typedef std::numeric_limits<Src> SrcLimits; 73 (sizeof(Src) * 8 - 1); 78 template <typename Dst, typename Src> 79 struct StaticRangeCheck<Dst, Src, DST_UNSIGNED, SRC_UNSIGNED> { 80 static const DstRange value = sizeof(Dst) >= sizeof(Src) ? 84 template <typename Dst, typename Src> [all...] |
H A D | safe_conversions.h | 51 template <typename Dst, typename Src> 52 inline bool IsValueInRangeForNumericType(Src value) { 59 template <typename Dst, typename Src> 60 inline Dst checked_cast(Src value) { 68 template <typename Dst, typename Src> 69 inline Dst saturated_cast(Src value) {
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | safe_conversions_impl.h | 39 template <typename Dst, typename Src, 42 SrcSign IsSrcSigned = std::numeric_limits<Src>::is_signed ? 46 template <typename Dst, typename Src> 47 struct StaticRangeCheck<Dst, Src, DST_SIGNED, SRC_SIGNED> { 49 typedef std::numeric_limits<Src> SrcLimits; 56 (sizeof(Src) * 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...] |
H A D | safe_conversions.h | 34 template <typename Dst, typename Src> 35 inline bool IsValueInRangeForNumericType(Src value) { 42 template <typename Dst, typename Src> 43 inline Dst checked_cast(Src value) { 51 template <typename Dst, typename Src> 52 inline Dst saturated_cast(Src value) {
|
/external/chromium_org/base/numerics/ |
H A D | safe_math.h | 52 template <typename Src> 53 CheckedNumeric(const CheckedNumeric<Src>& rhs) 56 template <typename Src> 57 CheckedNumeric(Src value, RangeConstraint validity) 62 template <typename Src> 63 CheckedNumeric(Src value) 65 COMPILE_ASSERT(std::numeric_limits<Src>::is_specialized, 113 template <typename Src> CheckedNumeric& operator+=(Src rhs); 114 template <typename Src> CheckedNumeri [all...] |
H A D | 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. 47 typename Src, 52 std::numeric_limits<Src>::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 69 template <typename Dst, typename Src> [all...] |
H A D | safe_conversions.h | 17 template <typename Dst, typename Src> 18 inline bool IsValueInRangeForNumericType(Src value) { 26 template <typename Dst, typename Src> 27 inline Dst checked_cast(Src value) { 35 template <typename Dst, typename Src> 36 inline Dst saturated_cast(Src value) {
|
/external/chromium_org/v8/src/base/ |
H A D | safe_math.h | 55 template <typename Src> 56 CheckedNumeric(const CheckedNumeric<Src>& rhs) 59 template <typename Src> 60 CheckedNumeric(Src value, RangeConstraint validity) 65 template <typename Src> 66 CheckedNumeric(Src value) // NOLINT 69 STATIC_ASSERT(std::numeric_limits<Src>::is_specialized); 117 template <typename Src> CheckedNumeric& operator+=(Src rhs); 118 template <typename Src> CheckedNumeri [all...] |
H A D | safe_conversions_impl.h | 35 // A range for a given nunmeric Src type is contained for a given numeric Dst 36 // type if both numeric_limits<Src>::max() <= numeric_limits<Dst>::max() and 37 // numeric_limits<Src>::min() >= numeric_limits<Dst>::min() are true. 50 typename Src, 55 std::numeric_limits<Src>::is_signed 60 // Same sign: Dst is guaranteed to contain Src only if its range is equal or 62 template <typename Dst, typename Src, IntegerRepresentation Sign> 63 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> { 65 MaxExponent<Dst>::value >= MaxExponent<Src>::value 72 template <typename Dst, typename Src> [all...] |
H A D | safe_conversions.h | 20 template <typename Dst, typename Src> 21 inline bool IsValueInRangeForNumericType(Src value) { 29 template <typename Dst, typename Src> 30 inline Dst checked_cast(Src value) { 38 template <typename Dst, typename Src> 39 inline Dst saturated_cast(Src value) {
|
/external/llvm/lib/CodeGen/ |
H A D | MachineBranchProbabilityInfo.cpp | 64 getEdgeWeight(const MachineBasicBlock *Src, argument 66 uint32_t Weight = Src->getSuccWeight(Dst); 73 getEdgeWeight(const MachineBasicBlock *Src, argument 77 return getEdgeWeight(Src, std::find(Src->succ_begin(), Src->succ_end(), Dst)); 81 MachineBranchProbabilityInfo::isEdgeHot(const MachineBasicBlock *Src, argument 85 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); 108 const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const { 110 uint32_t D = getSumForBlock(Src, Scal 107 getEdgeProbability( const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const argument 116 printEdgeProbability( raw_ostream &OS, const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const argument [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineBranchProbabilityInfo.h | 49 uint32_t getEdgeWeight(const MachineBasicBlock *Src, 52 // Same thing, but using a const_succ_iterator from Src. This is faster when 54 uint32_t getEdgeWeight(const MachineBasicBlock *Src, 63 bool isEdgeHot(const MachineBasicBlock *Src, 74 // Src. Querying sequentially for each successor's probability is a quadratic 76 BranchProbability getEdgeProbability(const MachineBasicBlock *Src, 83 const MachineBasicBlock *Src,
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
H A D | radeon_program_pair.c | 53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used 54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { 58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used 59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { 67 if (pair->RGB.Src[i].Used) { 68 if (pair->RGB.Src[i].File != file || 69 pair->RGB.Src[i].Index != index) { 77 if (pair->Alpha.Src[i].Used) { 78 if (pair->Alpha.Src[i].File != file || 79 pair->Alpha.Src[ [all...] |
H A D | radeon_pair_dead_sources.c | 9 if (sub->Src[RC_PAIR_PRESUB_SRC].Used) { 11 sub->Src[RC_PAIR_PRESUB_SRC].Index); 14 sub->Src[i].Used = 1; 28 inst->U.P.RGB.Src[sub->Arg[i].Source].Used = 1; 32 inst->U.P.Alpha.Src[sub->Arg[i].Source].Used = 1; 53 inst->U.P.RGB.Src[i].Used = 0; 54 inst->U.P.Alpha.Src[i].Used = 0;
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_program_pair.c | 53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used 54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) { 58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used 59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) { 67 if (pair->RGB.Src[i].Used) { 68 if (pair->RGB.Src[i].File != file || 69 pair->RGB.Src[i].Index != index) { 77 if (pair->Alpha.Src[i].Used) { 78 if (pair->Alpha.Src[i].File != file || 79 pair->Alpha.Src[ [all...] |
H A D | radeon_pair_dead_sources.c | 9 if (sub->Src[RC_PAIR_PRESUB_SRC].Used) { 11 sub->Src[RC_PAIR_PRESUB_SRC].Index); 14 sub->Src[i].Used = 1; 28 inst->U.P.RGB.Src[sub->Arg[i].Source].Used = 1; 32 inst->U.P.Alpha.Src[sub->Arg[i].Source].Used = 1; 53 inst->U.P.RGB.Src[i].Used = 0; 54 inst->U.P.Alpha.Src[i].Used = 0;
|
/external/llvm/include/llvm/Linker/ |
H A D | Linker.h | 41 /// \brief Link \p Src into the composite. The source is destroyed if 46 bool linkInModule(Module *Src, unsigned Mode, std::string *ErrorMsg); 47 bool linkInModule(Module *Src, std::string *ErrorMsg) { argument 48 return linkInModule(Src, Linker::DestroySource, ErrorMsg); 51 static bool LinkModules(Module *Dest, Module *Src, unsigned Mode,
|
/external/llvm/include/llvm-c/ |
H A D | Linker.h | 35 LLVMBool LLVMLinkModules(LLVMModuleRef Dest, LLVMModuleRef Src,
|
/external/llvm/include/llvm/Analysis/ |
H A D | BranchProbabilityInfo.h | 37 /// identify an edge, since we can have multiple edges from Src to Dst. 52 /// \brief Get an edge's probability, relative to other out-edges of the Src. 56 /// leaving the 'Src' block. The returned probability is never zero, and can 58 BranchProbability getEdgeProbability(const BasicBlock *Src, 61 /// \brief Get the probability of going from Src to Dst. 63 /// It returns the sum of all probabilities for edges from Src to Dst. 64 BranchProbability getEdgeProbability(const BasicBlock *Src, 67 /// \brief Test if an edge is hot relative to other out-edges of the Src. 71 bool isEdgeHot(const BasicBlock *Src, const BasicBlock *Dst) const; 84 raw_ostream &printEdgeProbability(raw_ostream &OS, const BasicBlock *Src, [all...] |
/external/llvm/include/llvm/Target/ |
H A D | CostTable.h | 52 TypeTy Src; member in struct:llvm::TypeConversionCostTblEntry 61 CompareTy Src) { 63 if (ISD == Tbl[i].ISD && Src == Tbl[i].Src && Dst == Tbl[i].Dst) 74 int ISD, CompareTy Dst, CompareTy Src) { 75 return ConvertCostTableLookup(Tbl, N, ISD, Dst, Src); 59 ConvertCostTableLookup(const TypeConversionCostTblEntry<TypeTy> *Tbl, unsigned len, int ISD, CompareTy Dst, CompareTy Src) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_aapoint.c | 247 newInst.Src[0].Register.File = TGSI_FILE_INPUT; 248 newInst.Src[0].Register.Index = texInput; 249 newInst.Src[1].Register.File = TGSI_FILE_INPUT; 250 newInst.Src[1].Register.Index = texInput; 261 newInst.Src[0].Register.File = TGSI_FILE_TEMPORARY; 262 newInst.Src[0].Register.Index = tmp0; 263 newInst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; 264 newInst.Src[1].Register.File = TGSI_FILE_TEMPORARY; 265 newInst.Src[1].Register.Index = tmp0; 266 newInst.Src[ [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_aapoint.c | 247 newInst.Src[0].Register.File = TGSI_FILE_INPUT; 248 newInst.Src[0].Register.Index = texInput; 249 newInst.Src[1].Register.File = TGSI_FILE_INPUT; 250 newInst.Src[1].Register.Index = texInput; 261 newInst.Src[0].Register.File = TGSI_FILE_TEMPORARY; 262 newInst.Src[0].Register.Index = tmp0; 263 newInst.Src[0].Register.SwizzleX = TGSI_SWIZZLE_X; 264 newInst.Src[1].Register.File = TGSI_FILE_TEMPORARY; 265 newInst.Src[1].Register.Index = tmp0; 266 newInst.Src[ [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrTemplates.h | 16 template <typename Dst, typename Src> Dst GrTCast(Src src) { 18 Src src;
|