Searched refs:Src (Results 1 - 25 of 293) sorted by relevance

1234567891011>>

/external/libvpx/libvpx/vp8/common/
H A Dcommon.h27 #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 Dcommon.h30 #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/webrtc/base/
H A Dsafe_conversions_impl.h39 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 Dsafe_conversions.h34 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 Dsafe_math.h52 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 Dsafe_conversions_impl.h32 // 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 Dsafe_conversions.h17 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 Dsafe_math.h55 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 Dsafe_conversions_impl.h36 // 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> {
66 MaxExponent<Dst>::value >= MaxExponent<Src>::value
73 template <typename Dst, typename Src>
[all...]
H A Dsafe_conversions.h20 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 DMachineBranchProbabilityInfo.cpp64 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 DMachineBranchProbabilityInfo.h49 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 Dradeon_program_pair.c53 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 Dradeon_pair_dead_sources.c9 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 Dradeon_program_pair.c53 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 Dradeon_pair_dead_sources.c9 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 DLinker.h41 /// \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 DLinker.h35 LLVMBool LLVMLinkModules(LLVMModuleRef Dest, LLVMModuleRef Src,
/external/llvm/include/llvm/Analysis/
H A DBranchProbabilityInfo.h37 /// 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 DCostTable.h52 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 Ddraw_pipe_aapoint.c247 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 Ddraw_pipe_aapoint.c247 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 DGrTemplates.h16 template <typename Dst, typename Src> Dst GrTCast(Src src) {
18 Src src;
/external/skia/src/gpu/
H A DGrTemplates.h16 template <typename Dst, typename Src> Dst GrTCast(Src src) {
18 Src src;
/external/llvm/lib/Target/Hexagon/
H A DHexagonPeephole.cpp104 void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src);
141 MachineOperand &Src = MI->getOperand(1); local
143 unsigned SrcReg = Src.getReg();
192 MachineOperand &Src = MI->getOperand(1); local
194 unsigned SrcReg = Src.getReg();
210 MachineOperand &Src = MI->getOperand(1); local
213 if (Src.getSubReg() != Hexagon::subreg_loreg)
217 unsigned SrcReg = Src.getReg();
314 void HexagonPeephole::ChangeOpInto(MachineOperand &Dst, MachineOperand &Src) { argument
315 assert (&Dst != &Src
[all...]

Completed in 473 milliseconds

1234567891011>>