/external/vulkan-validation-layers/libs/glm/gtx/ |
D | inertia.inl | 17 detail::tvec3<T, P> const & Scale 21 Result[0][0] = (Scale.y * Scale.y + Scale.z * Scale.z) * Mass / T(12); 22 Result[1][1] = (Scale.x * Scale.x + Scale.z * Scale.z) * Mass / T(12); 23 Result[2][2] = (Scale.x * Scale.x + Scale.y * Scale.y) * Mass / T(12); 31 detail::tvec3<T, P> const & Scale 35 Result[0][0] = (Scale.y * Scale.y + Scale.z * Scale.z) * Mass / T(12); 36 Result[1][1] = (Scale.x * Scale.x + Scale.z * Scale.z) * Mass / T(12); 37 Result[2][2] = (Scale.x * Scale.x + Scale.y * Scale.y) * Mass / T(12);
|
/external/llvm/include/llvm/Support/ |
D | ScaledNumber.h | 53 inline std::pair<DigitsT, int16_t> getRounded(DigitsT Digits, int16_t Scale, in getRounded() argument 60 return std::make_pair(DigitsT(1) << (getWidth<DigitsT>() - 1), Scale + 1); in getRounded() 61 return std::make_pair(Digits, Scale); in getRounded() 65 inline std::pair<uint32_t, int16_t> getRounded32(uint32_t Digits, int16_t Scale, in getRounded32() argument 67 return getRounded(Digits, Scale, ShouldRound); in getRounded32() 71 inline std::pair<uint64_t, int16_t> getRounded64(uint64_t Digits, int16_t Scale, in getRounded64() argument 73 return getRounded(Digits, Scale, ShouldRound); in getRounded64() 81 int16_t Scale = 0) { 86 return std::make_pair(Digits, Scale); 90 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86InstrBuilder.h | 48 unsigned Scale; member 55 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr), in X86AddressMode() 62 assert(Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8); in getFullAddress() 72 MO.push_back(MachineOperand::CreateImm(Scale)); in getFullAddress() 125 assert(AM.Scale == 1 || AM.Scale == 2 || AM.Scale == 4 || AM.Scale == 8); in addFullAddress() 134 MIB.addImm(AM.Scale).addReg(AM.IndexReg); in addFullAddress()
|
D | X86ISelDAGToDAG.cpp | 61 unsigned Scale; member 75 : BaseType(RegBase), Base_FrameIndex(0), Scale(1), IndexReg(), Disp(0), in X86ISelAddressMode() 112 << " Scale" << Scale << '\n' in dump() 212 SDValue &Scale, SDValue &Index, SDValue &Disp, 215 SDValue &Scale, SDValue &Index, SDValue &Disp, 219 SDValue &Scale, SDValue &Index, SDValue &Disp, 222 SDValue &Scale, SDValue &Index, SDValue &Disp, 225 SDValue &Scale, SDValue &Index, SDValue &Disp, 228 SDValue &Base, SDValue &Scale, 234 SDValue &Base, SDValue &Scale, [all …]
|
/external/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 182 const Value *V, APInt &Scale, APInt &Offset, unsigned &ZExtBits, in GetLinearExpression() argument 189 Scale = 1; in GetLinearExpression() 201 assert(Scale == 0 && "Constant values don't have a scale"); in GetLinearExpression() 217 Scale = 1; in GetLinearExpression() 225 Scale = 1; in GetLinearExpression() 231 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() 236 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() 241 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() 244 Scale *= RHS; in GetLinearExpression() 247 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() [all …]
|
/external/skia/include/core/ |
D | SkUnPreMultiply.h | 20 typedef uint32_t Scale; typedef 23 static const Scale* GetScaleTable() { in GetScaleTable() 27 static Scale GetScale(U8CPU alpha) { in GetScale() 45 static U8CPU ApplyScale(Scale scale, U8CPU component) { in ApplyScale()
|
/external/llvm/lib/Target/Mips/ |
D | MipsConstantIslandPass.cpp | 140 unsigned Bits, Scale; in branchMaxOffsets() local 144 Scale = 2; in branchMaxOffsets() 148 Scale = 2; in branchMaxOffsets() 152 Scale = 2; in branchMaxOffsets() 156 Scale = 2; in branchMaxOffsets() 160 Scale = 2; in branchMaxOffsets() 164 Scale = 2; in branchMaxOffsets() 168 Scale = 2; in branchMaxOffsets() 172 Scale = 2; in branchMaxOffsets() 176 Scale = 2; in branchMaxOffsets() [all …]
|
/external/webrtc/webrtc/modules/utility/source/ |
D | audio_frame_operations_unittest.cc | 157 EXPECT_EQ(-1, AudioFrameOperations::Scale(1.0, 1.0, frame_)); in TEST_F() 160 EXPECT_EQ(-1, AudioFrameOperations::Scale(1.0, 1.0, frame_)); in TEST_F() 163 EXPECT_EQ(-1, AudioFrameOperations::Scale(-1.0, 1.0, frame_)); in TEST_F() 164 EXPECT_EQ(-1, AudioFrameOperations::Scale(1.0, -1.0, frame_)); in TEST_F() 170 EXPECT_EQ(0, AudioFrameOperations::Scale(10.0, 10.0, frame_)); in TEST_F() 181 EXPECT_EQ(0, AudioFrameOperations::Scale(2.0, 3.0, frame_)); in TEST_F()
|
/external/clang/test/CodeGenCXX/ |
D | pragma-loop.cpp | 133 const int Scale = 4; in for_template_constant_expression_test() local 134 #pragma clang loop vectorize_width(Scale * V) interleave_count(Scale * I) unroll_count(Scale * U) in for_template_constant_expression_test() 140 #pragma clang loop vectorize_width((Scale * V) + 2) in for_template_constant_expression_test()
|
/external/skia/src/images/ |
D | transform_scanline.h | 89 const SkUnPreMultiply::Scale* SK_RESTRICT table = in transform_scanline_8888() 100 SkUnPreMultiply::Scale scale = table[a]; in transform_scanline_8888() 119 const SkUnPreMultiply::Scale* SK_RESTRICT table = in transform_scanline_4444() 130 SkUnPreMultiply::Scale scale = table[a]; in transform_scanline_4444()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfoImpl.h | 206 bool HasBaseReg, int64_t Scale, in isLegalAddressingMode() argument 210 return !BaseGV && BaseOffset == 0 && (Scale == 0 || Scale == 1); in isLegalAddressingMode() 222 bool HasBaseReg, int64_t Scale, unsigned AddrSpace) { in getScalingFactorCost() argument 225 Scale, AddrSpace)) in getScalingFactorCost() 412 int64_t Scale = 0; in getGEPCost() local 431 if (Scale != 0) in getGEPCost() 434 Scale = ElementSize; in getGEPCost() 447 BaseOffset, HasBaseReg, Scale, AS)) { in getGEPCost()
|
D | BasicAliasAnalysis.h | 98 int64_t Scale; member 102 SExtBits == Other.SExtBits && Scale == Other.Scale; 135 GetLinearExpression(const Value *V, APInt &Scale, APInt &Offset,
|
D | TargetTransformInfo.h | 312 bool HasBaseReg, int64_t Scale, 334 bool HasBaseReg, int64_t Scale, 571 int64_t Scale, 579 int64_t Scale, unsigned AddrSpace) = 0; 694 bool HasBaseReg, int64_t Scale, in isLegalAddressingMode() argument 697 Scale, AddrSpace); in isLegalAddressingMode() 712 bool HasBaseReg, int64_t Scale, in getScalingFactorCost() argument 715 Scale, AddrSpace); in getScalingFactorCost()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64InstrInfo.cpp | 1353 int Scale = 0; in getMemOpBaseRegImmOfsWidth() local 1360 Scale = 1; in getMemOpBaseRegImmOfsWidth() 1367 Scale = 1; in getMemOpBaseRegImmOfsWidth() 1375 Scale = 1; in getMemOpBaseRegImmOfsWidth() 1384 Scale = 1; in getMemOpBaseRegImmOfsWidth() 1393 Scale = 1; in getMemOpBaseRegImmOfsWidth() 1397 Scale = Width = 16; in getMemOpBaseRegImmOfsWidth() 1403 Scale = Width = 8; in getMemOpBaseRegImmOfsWidth() 1409 Scale = Width = 4; in getMemOpBaseRegImmOfsWidth() 1415 Scale = Width = 2; in getMemOpBaseRegImmOfsWidth() [all …]
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86Operand.h | 57 unsigned Scale; member 125 return Mem.Scale; in getMemScale() 504 Res->Mem.Scale = 1; 516 unsigned BaseReg, unsigned IndexReg, unsigned Scale, SMLoc StartLoc, 524 assert(((Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8)) && 531 Res->Mem.Scale = Scale;
|
/external/llvm/lib/Support/ |
D | BranchProbability.cpp | 54 int Scale = 0; in getBranchProbability() local 57 Scale++; in getBranchProbability() 59 return BranchProbability(Numerator >> Scale, Denominator); in getBranchProbability()
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.cpp | 426 int Scale = 1; in getFrameIndexInstrOffset() local 433 Scale = 1; in getFrameIndexInstrOffset() 441 Scale = 4; in getFrameIndexInstrOffset() 461 Scale = 4; in getFrameIndexInstrOffset() 468 return InstrOffs * Scale; in getFrameIndexInstrOffset() 626 unsigned Scale = 1; in isFrameOffsetLegal() local 633 Scale = 1; in isFrameOffsetLegal() 644 Scale = 4; in isFrameOffsetLegal() 655 Scale = 4; in isFrameOffsetLegal() 665 if ((Offset & (Scale-1)) != 0) in isFrameOffsetLegal() [all …]
|
D | ARMConstantIslandPass.cpp | 764 unsigned Scale = 1; in initializeFunctionInfo() local 778 Scale = 4; in initializeFunctionInfo() 784 Scale = 2; in initializeFunctionInfo() 788 Scale = 2; in initializeFunctionInfo() 794 Scale = 2; in initializeFunctionInfo() 798 Scale = 2; in initializeFunctionInfo() 803 unsigned MaxOffs = ((1 << (Bits-1))-1) * Scale; in initializeFunctionInfo() 823 unsigned Scale = 1; in initializeFunctionInfo() local 839 Scale = 4; in initializeFunctionInfo() 851 Scale = 4; in initializeFunctionInfo() [all …]
|
/external/llvm/lib/Target/AArch64/InstPrinter/ |
D | AArch64InstPrinter.h | 99 void printUImm12Offset(const MCInst *MI, unsigned OpNum, unsigned Scale, 101 void printAMIndexedWB(const MCInst *MI, unsigned OpNum, unsigned Scale, 104 template <int Scale> 107 printUImm12Offset(MI, OpNum, Scale, O); in printUImm12Offset() 119 template <int Scale>
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 256 int64_t Scale; member 280 : BaseGV(nullptr), BaseOffset(0), HasBaseReg(false), Scale(0), in Formula() 385 return Scale != 1 || !BaseRegs.empty(); in isCanonical() 404 Scale = 1; in canonicalize() 417 if (Scale != 1) in unscale() 419 Scale = 0; in unscale() 487 if (Scale != 0) { in print() 489 OS << Scale << "*reg("; in print() 1025 NumBaseParts - (1 + (F.Scale && isAMCompletelyFolded(TTI, LU, F))); in RateFormula() 1375 bool HasBaseReg, int64_t Scale) { in isAMCompletelyFolded() argument [all …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 230 Constant *Scale = ConstantInt::get(IntPtrTy, Size); 232 Scale = ConstantExpr::getMul(OC, Scale, isInBounds/*NUW*/); 234 Result = Builder->CreateAdd(Result, Scale, GEP->getName()+".offs");
|
/external/ImageMagick/Magick++/demo/ |
D | zoom.cpp | 45 Scale, in main() enumerator 110 resize_algorithm=Scale; in main() 173 case Scale: in main()
|
/external/skia/src/core/ |
D | SkUnPreMultiply.cpp | 13 const Scale scale = GetScale(a); in PMColorToColor() 22 const Scale scale = GetScale(a); in UnPreMultiplyPreservingByteOrder()
|
/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
D | nonlinear_beamformer.cc | 308 delay_sum_masks_[f_ix].Scale(1.f / norm_factor); in InitDelaySumMasks() 310 normalized_delay_sum_masks_[f_ix].Scale(1.f / SumAbs( in InitDelaySumMasks() 328 uniform_cov_mat_[i].Scale(1.f / normalization_factor); in InitDiffuseCovMats() 329 uniform_cov_mat_[i].Scale(1 - kBalance); in InitDiffuseCovMats() 351 angled_cov_mat.Scale(1.f / normalization_factor); in InitInterfCovMats() 353 angled_cov_mat.Scale(kBalance); in InitInterfCovMats() 426 eig_m_.Scale(1.f / eig_m_norm_factor); in ProcessAudioBlock()
|
/external/libyuv/files/unit_test/ |
D | scale_test.cc | 363 TEST_SCALETO(Scale, 1, 1) 364 TEST_SCALETO(Scale, 320, 240) 365 TEST_SCALETO(Scale, 352, 288) 366 TEST_SCALETO(Scale, 569, 480) 367 TEST_SCALETO(Scale, 640, 360) 368 TEST_SCALETO(Scale, 1280, 720)
|