/external/skia/include/core/ |
H A D | SkUnPreMultiply.h | 20 typedef uint32_t Scale; typedef in class:SkUnPreMultiply 23 static const Scale* GetScaleTable() { 27 static Scale GetScale(U8CPU alpha) { 34 const Scale* table = SkUnPreMultiply::GetScaleTable(); 38 SkUnPreMultiply::Scale scale = table[a]; 45 static U8CPU ApplyScale(Scale scale, U8CPU component) {
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
H A D | X86InstrBuilder.h | 20 // (Operand), Base, Scale, Index, Displacement. 49 unsigned Scale; member in struct:llvm::X86AddressMode 56 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(0), GVOpFlags(0) { 62 assert(Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8); 72 MO.push_back(MachineOperand::CreateImm(Scale)); 125 assert(AM.Scale == 1 || AM.Scale [all...] |
/external/llvm/include/llvm/Support/ |
H A D | ScaledNumber.h | 47 /// Given \c Digits and \c Scale, round up iff \c ShouldRound is \c true. 48 /// Always returns \c Scale unless there's an overflow, in which case it 49 /// returns \c 1+Scale. 51 /// \pre adding 1 to \c Scale will not overflow INT16_MAX. 53 inline std::pair<DigitsT, int16_t> getRounded(DigitsT Digits, int16_t Scale, argument 60 return std::make_pair(DigitsT(1) << (getWidth<DigitsT>() - 1), Scale + 1); 61 return std::make_pair(Digits, Scale); 65 inline std::pair<uint32_t, int16_t> getRounded32(uint32_t Digits, int16_t Scale, argument 67 return getRounded(Digits, Scale, ShouldRound); 71 inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale, argument 189 getLgImpl(DigitsT Digits, int16_t Scale) argument 214 getLg(DigitsT Digits, int16_t Scale) argument 223 getLgFloor(DigitsT Digits, int16_t Scale) argument 233 getLgCeiling(DigitsT Digits, int16_t Scale) argument 508 int16_t Scale; member in class:llvm::ScaledNumber 513 ScaledNumber(DigitsType Digits, int16_t Scale) argument [all...] |
/external/compiler-rt/lib/esan/ |
H A D | esan_shadow.h | 118 uptr Scale; member in class:__esan::ShadowMapping 126 Scale = ShadowScale; 127 if (Scale <= 2) 128 Offset = OffsetArray[Scale]; 130 Offset = OffsetArray[0] << Scale; 159 return (((App & ShadowMapping::Mask) + Mapping.Offset) >> Mapping.Scale);
|
H A D | esan.cpp | 104 for (int Scale = 0; Scale < 8; ++Scale) { 105 Mapping.initialize(Scale); 107 VPrintf(3, "\nChecking scale %d\n", Scale); 151 VPrintf(1, "Shadow scale=%d offset=%p\n", Mapping.Scale, Mapping.Offset);
|
/external/llvm/lib/Target/X86/ |
H A D | X86InstrBuilder.h | 20 // (Operand), Base, Scale, Index, Displacement. 48 unsigned Scale; member in struct:llvm::X86AddressMode 55 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr), 62 assert(Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8); 72 MO.push_back(MachineOperand::CreateImm(Scale)); 101 AM.Scale = Op.getImm(); 153 assert(AM.Scale [all...] |
H A D | X86ShuffleDecodeConstantPool.cpp | 57 int Scale = BitWidth / 8; local 58 int NumBytes = NumElts * Scale; 67 ShuffleMask.append(Scale, SM_SentinelUndef); 72 for (int j = 0; j != Scale; ++j) { 75 int Base = ((i * Scale) + j) & ~0xf; 252 int Scale = BitWidth / 8; local 253 int NumBytes = NumElts * Scale; 262 ShuffleMask.append(Scale, SM_SentinelUndef); 280 for (int j = 0; j != Scale; ++j) {
|
/external/skia/src/core/ |
H A D | SkUnPreMultiplyPriv.h | 15 const SkUnPreMultiply::Scale* table = SkUnPreMultiply::GetScaleTable(); 33 SkUnPreMultiply::Scale scale = table[a];
|
/external/pdfium/core/fpdfapi/render/ |
H A D | cpdf_scaledrenderbuffer.cpp | 43 m_Matrix.Scale((FX_FLOAT)(max_dpi) / dpih, 1.0f); 45 m_Matrix.Scale(1.0f, (FX_FLOAT)(max_dpi) / (FX_FLOAT)dpiv); 68 m_Matrix.Scale(0.5f, 0.5f);
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
H A D | AddrModeMatcher.h | 46 (HasBaseReg == O.HasBaseReg) && (Scale == O.Scale); 97 bool MatchScaledValue(Value *ScaleReg, int64_t Scale, unsigned Depth);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
H A D | AddrModeMatcher.cpp | 48 if (Scale) { 50 << Scale << "*"; 64 /// MatchScaledValue - Try adding ScaleReg*Scale to the current addressing mode. 67 bool AddressingModeMatcher::MatchScaledValue(Value *ScaleReg, int64_t Scale, argument 69 // If Scale is 1, then this is the same as adding ScaleReg to the addressing 71 if (Scale == 1) 75 if (Scale == 0) 80 if (AddrMode.Scale != 0 && AddrMode.ScaledReg != ScaleReg) 87 TestAddrMode.Scale += Scale; [all...] |
/external/webrtc/webrtc/common_video/libyuv/include/ |
H A D | scaler.h | 46 // Scale frame 51 int Scale(const VideoFrame& src_frame, VideoFrame* dst_frame);
|
/external/webrtc/webrtc/modules/utility/include/ |
H A D | audio_frame_operations.h | 51 static int Scale(float left, float right, AudioFrame& frame);
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 164 int64_t Scale; member in struct:__anon19745::VariableGEPIndex 177 static Value *GetLinearExpression(Value *V, APInt &Scale, APInt &Offset, argument 184 Scale = 1; 200 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension, 205 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension, 208 Scale *= RHSC->getValue(); 211 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension, 214 Scale <<= RHSC->getValue().getLimitedValue(); 226 unsigned OldWidth = Scale.getBitWidth(); 228 Scale 337 uint64_t Scale = TD->getTypeAllocSize(*GTI); local 403 int64_t Scale = Src[i].Scale; local [all...] |
/external/ImageMagick/PerlMagick/demo/ |
H A D | single-pixels.pl | 43 $im->Scale('1000%');
|
/external/llvm/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 183 const Value *V, APInt &Scale, APInt &Offset, unsigned &ZExtBits, 190 Scale = 1; 202 assert(Scale == 0 && "Constant values don't have a scale"); 209 // If we've been called recursively, then Offset and Scale will be wider 218 Scale = 1; 226 Scale = 1; 232 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, 237 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, 242 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, 245 Scale * 182 GetLinearExpression( const Value *V, APInt &Scale, APInt &Offset, unsigned &ZExtBits, unsigned &SExtBits, const DataLayout &DL, unsigned Depth, AssumptionCache *AC, DominatorTree *DT, bool &NSW, bool &NUW) argument 436 uint64_t Scale = DL.getTypeAllocSize(*GTI); local 1199 int64_t Scale = DecompGEP1.VarIndices[i].Scale; local 1585 int64_t Scale = Src[i].Scale; local [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | pragma-loop.cpp | 134 const int Scale = 4; local 135 #pragma clang loop vectorize_width(Scale * V) interleave_count(Scale * I) unroll_count(Scale * U) 141 #pragma clang loop vectorize_width((Scale * V) + 2)
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
H A D | SpillPlacement.cpp | 70 /// Scale - Inverse block frequency feeding into[0] or out of[1] the bundle. 74 float Scale[2]; member in struct:SpillPlacement::Node 110 Scale[0] = Scale[1] = 0; 124 w *= Scale[out]; 140 w *= Scale[out]; 185 nodes[bundles->getBundle(Num, 1)].Scale[0] += Freq; 186 nodes[bundles->getBundle(Num, 0)].Scale[1] += Freq; 192 if (nodes[i].Scale[d] > 0) 193 nodes[i].Scale[ [all...] |
/external/llvm/lib/Support/ |
H A D | BranchProbability.cpp | 53 // Scale down Denominator to fit in a 32-bit integer. 54 int Scale = 0; local 57 Scale++; 59 return BranchProbability(Numerator >> Scale, Denominator);
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
H A D | Thumb1RegisterInfo.cpp | 143 unsigned NumBits, unsigned Scale) { 145 unsigned Chunk = ((1 << NumBits) - 1) * Scale; 152 Scale = 1; // Followed by a number of tADDi8. 153 Chunk = ((1 << NumBits) - 1) * Scale; 180 unsigned Scale = 1; 188 Scale = 4; 201 Scale = 4; 214 Scale = 4; 223 unsigned NumMIs = calcNumMI(Opc, ExtraOpc, Bytes, NumBits, Scale); 253 unsigned Chunk = ((1 << NumBits) - 1) * Scale; 142 calcNumMI(int Opc, int ExtraOpc, unsigned Bytes, unsigned NumBits, unsigned Scale) argument 487 unsigned Scale = 4; variable [all...] |
/external/python/cpython2/Demo/tkinter/matt/ |
H A D | slider-demo-1.py | 14 self.slider = Scale(self, from_=0, to=100,
|
/external/webrtc/webrtc/modules/utility/source/ |
H A D | audio_frame_operations_unittest.cc | 157 EXPECT_EQ(-1, AudioFrameOperations::Scale(1.0, 1.0, frame_)); 160 EXPECT_EQ(-1, AudioFrameOperations::Scale(1.0, 1.0, frame_)); 163 EXPECT_EQ(-1, AudioFrameOperations::Scale(-1.0, 1.0, frame_)); 164 EXPECT_EQ(-1, AudioFrameOperations::Scale(1.0, -1.0, frame_)); 170 EXPECT_EQ(0, AudioFrameOperations::Scale(10.0, 10.0, frame_)); 181 EXPECT_EQ(0, AudioFrameOperations::Scale(2.0, 3.0, frame_));
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsConstantIslandPass.cpp | 130 unsigned Bits, Scale; local 134 Scale = 2; 138 Scale = 2; 142 Scale = 2; 146 Scale = 2; 150 Scale = 2; 154 Scale = 2; 158 Scale = 2; 162 Scale = 2; 166 Scale 670 unsigned Scale = 1; local 752 unsigned Scale = 1; local [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 205 bool HasBaseReg, int64_t Scale, 209 return !BaseGV && BaseOffset == 0 && (Scale == 0 || Scale == 1); 221 bool HasBaseReg, int64_t Scale, unsigned AddrSpace) { 224 Scale, AddrSpace)) 448 int64_t Scale = 0; local 467 if (Scale != 0) 470 Scale = ElementSize; 483 BaseOffset, HasBaseReg, Scale, AS)) { 204 isLegalAddressingMode(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, bool HasBaseReg, int64_t Scale, unsigned AddrSpace) argument 220 getScalingFactorCost(Type *Ty, GlobalValue *BaseGV, int64_t BaseOffset, bool HasBaseReg, int64_t Scale, unsigned AddrSpace) argument
|
/external/llvm/lib/Target/AArch64/InstPrinter/ |
H A D | AArch64InstPrinter.h | 97 void printUImm12Offset(const MCInst *MI, unsigned OpNum, unsigned Scale, 99 void printAMIndexedWB(const MCInst *MI, unsigned OpNum, unsigned Scale, 102 template <int Scale> 105 printUImm12Offset(MI, OpNum, Scale, O); 117 template <int Scale>
|