/external/libvpx/libvpx/vp8/common/ |
common.h | 27 #define vp8_copy( Dest, Src) { \ 28 assert( sizeof( Dest) == sizeof( Src)); \ 29 memcpy( Dest, Src, sizeof( Src)); \ 34 #define vp8_copy_array( Dest, Src, N) { \ 35 assert( sizeof( *Dest) == sizeof( *Src)); \ 36 memcpy( Dest, Src, N * sizeof( *Src)); \
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
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/pdfium/third_party/base/numerics/ |
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. 48 typename Src, 53 std::numeric_limits<Src>::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 70 template <typename Dst, typename Src> [all...] |
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> CheckedNumeric& operator-=(Src rhs) [all...] |
safe_conversions.h | 18 template <typename Dst, typename Src> 19 inline bool IsValueInRangeForNumericType(Src value) { 27 template <typename Dst, typename Src> 28 inline Dst checked_cast(Src value) { 36 template <typename Dst, typename Src> 37 inline Dst saturated_cast(Src value) {
|
/external/v8/src/base/ |
safe_conversions_impl.h | 13 #include "src/base/logging.h" 14 #include "src/base/macros.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. 51 typename Src, 56 std::numeric_limits<Src>::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> [all...] |
safe_math.h | 11 #include "src/base/safe_math_impl.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) [all...] |
safe_conversions.h | 13 #include "src/base/safe_conversions_impl.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/bindings/ocaml/linker/ |
linker_ocaml.c | 27 CAMLprim value llvm_link_modules(LLVMModuleRef Dst, LLVMModuleRef Src) { 28 if (LLVMLinkModules2(Dst, Src))
|
/external/webrtc/webrtc/base/ |
safe_conversions_impl.h | 11 // Borrowed from Chromium's src/base/numerics/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) [all...] |
safe_conversions.h | 11 // Borrowed from Chromium's src/base/numerics/safe_conversions.h. 25 template <typename Dst, typename Src> 26 inline bool IsValueInRangeForNumericType(Src value) { 33 template <typename Dst, typename Src> 34 inline Dst checked_cast(Src value) { 42 template <typename Dst, typename Src> 43 inline Dst saturated_cast(Src value) {
|
/external/llvm/lib/CodeGen/ |
MachineBranchProbabilityInfo.cpp | 32 const MachineBasicBlock *Src, 34 return Src->getSuccProbability(Dst); 38 const MachineBasicBlock *Src, const MachineBasicBlock *Dst) const { 41 return getEdgeProbability(Src, 42 std::find(Src->succ_begin(), Src->succ_end(), Dst)); 46 MachineBranchProbabilityInfo::isEdgeHot(const MachineBasicBlock *Src, 50 return getEdgeProbability(Src, Dst) > HotProb; 74 raw_ostream &OS, const MachineBasicBlock *Src, 77 const BranchProbability Prob = getEdgeProbability(Src, Dst) [all...] |
/external/libchrome/base/numerics/ |
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. 49 typename Src, 54 std::numeric_limits<Src>::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 71 template <typename Dst, typename Src> [all...] |
safe_math.h | 53 template <typename Src> 54 CheckedNumeric(const CheckedNumeric<Src>& rhs) 57 template <typename Src> 58 CheckedNumeric(Src value, RangeConstraint validity) 63 template <typename Src> 64 CheckedNumeric(Src value) 66 static_assert(std::numeric_limits<Src>::is_specialized, 72 template <typename Src> 73 CheckedNumeric(StrictNumeric<Src> value) 74 : state_(static_cast<Src>(value)) [all...] |
safe_conversions.h | 20 template <typename Dst, typename Src> 21 inline bool IsValueInRangeForNumericType(Src value) { 47 template <typename Dst, typename Src> 48 inline Dst checked_cast(Src value) { 76 typename Src> 77 inline Dst saturated_cast(Src value) { 104 template <typename Dst, typename Src> 105 inline Dst strict_cast(Src value) { 106 static_assert(std::numeric_limits<Src>::is_specialized, 110 static_assert((internal::StaticDstRangeRelationToSrcRange<Dst, Src>::value = [all...] |
/external/libweave/third_party/chromium/base/numerics/ |
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...] |
safe_math.h | 53 template <typename Src> 54 CheckedNumeric(const CheckedNumeric<Src>& rhs) 57 template <typename Src> 58 CheckedNumeric(Src value, RangeConstraint validity) 63 template <typename Src> 64 CheckedNumeric(Src value) 66 static_assert(std::numeric_limits<Src>::is_specialized, 72 template <typename Src> 73 CheckedNumeric(StrictNumeric<Src> value) 74 : state_(static_cast<Src>(value)) [all...] |
safe_conversions.h | 20 template <typename Dst, typename Src> 21 inline bool IsValueInRangeForNumericType(Src value) { 47 template <typename Dst, typename Src> 48 inline Dst checked_cast(Src value) { 76 typename Src> 77 inline Dst saturated_cast(Src value) { 104 template <typename Dst, typename Src> 105 inline Dst strict_cast(Src value) { 106 static_assert(std::numeric_limits<Src>::is_specialized, 110 static_assert((internal::StaticDstRangeRelationToSrcRange<Dst, Src>::value = [all...] |
/external/llvm/include/llvm/CodeGen/ |
MachineBranchProbabilityInfo.h | 49 BranchProbability getEdgeProbability(const MachineBasicBlock *Src, 52 // Same as above, but using a const_succ_iterator from Src. This is faster 55 getEdgeProbability(const MachineBasicBlock *Src, 59 bool isEdgeHot(const MachineBasicBlock *Src, 67 // however the value is never equal to 0, and can be 1 only iff SRC block 70 const MachineBasicBlock *Src,
|
/external/llvm/include/llvm-c/ |
Linker.h | 41 LLVMBool LLVMLinkModules(LLVMModuleRef Dest, LLVMModuleRef Src, 49 LLVMBool LLVMLinkModules2(LLVMModuleRef Dest, LLVMModuleRef Src);
|
/external/llvm/lib/CodeGen/MIRParser/ |
MIParser.h | 52 bool parseMachineBasicBlockDefinitions(MachineFunction &MF, StringRef Src, 67 bool parseMachineInstructions(MachineFunction &MF, StringRef Src, 72 MachineFunction &MF, StringRef Src, 77 MachineFunction &MF, StringRef Src, 83 MachineFunction &MF, StringRef Src, 89 StringRef Src, 94 StringRef Src, const PerFunctionMIParsingState &PFS,
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
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[i].Index != index) [all...] |
/external/llvm/include/llvm/Linker/ |
Linker.h | 38 /// \brief Link \p Src into the composite. 40 /// Passing OverrideSymbols as true will have symbols from Src 49 bool linkInModule(std::unique_ptr<Module> Src, unsigned Flags = Flags::None, 56 bool linkInModuleForCAPI(Module &Src); 58 static bool linkModules(Module &Dest, std::unique_ptr<Module> Src, 61 /// \brief Link metadata from \p Src into the composite. The source is 65 /// importing from \p Src. 66 bool linkInMetadata(Module &Src,
|
/external/llvm/include/llvm/Target/ |
CostTable.h | 47 MVT::SimpleValueType Src; 55 int ISD, MVT Dst, MVT Src) { 58 return ISD == Entry.ISD && Src == Entry.Src &&
|
/external/llvm/lib/Target/Hexagon/ |
HexagonPeephole.cpp | 105 void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src); 140 MachineOperand &Src = MI->getOperand(1); 142 unsigned SrcReg = Src.getReg(); 191 MachineOperand &Src = MI->getOperand(1); 193 unsigned SrcReg = Src.getReg(); 209 MachineOperand &Src = MI->getOperand(1); 212 if (Src.getSubReg() != Hexagon::subreg_loreg) 216 unsigned SrcReg = Src.getReg(); 305 void HexagonPeephole::ChangeOpInto(MachineOperand &Dst, MachineOperand &Src) { 306 assert (&Dst != &Src && "Cannot duplicate into itself") [all...] |