/external/icu/icu4c/source/i18n/ |
D | number_multiplier.cpp | 25 Scale::Scale(int32_t magnitude, DecNum* arbitraryToAdopt) in Scale() function in Scale 40 Scale::Scale(const Scale& other) in Scale() function in Scale 48 Scale& Scale::operator=(const Scale& other) { in operator =() 60 Scale::Scale(Scale&& src) U_NOEXCEPT in Scale() function in Scale 66 Scale& Scale::operator=(Scale&& src) U_NOEXCEPT { in operator =() 75 Scale::~Scale() { in ~Scale() 80 Scale Scale::none() { in none() 84 Scale Scale::powerOfTen(int32_t power) { in powerOfTen() 88 Scale Scale::byDecimal(StringPiece multiplicand) { in byDecimal() 101 Scale Scale::byDouble(double multiplicand) { in byDouble() [all …]
|
D | number_multiplier.h | 25 void setAndChain(const Scale& multiplier, const MicroPropsGenerator* parent); 31 Scale fMultiplier; 37 static inline Scale scaleFromProperties(const DecimalFormatProperties& properties) { in scaleFromProperties() 41 return Scale::byDoubleAndPowerOfTen(arbitraryMultiplier, magnitudeMultiplier); in scaleFromProperties() 43 return Scale::powerOfTen(magnitudeMultiplier); in scaleFromProperties() 45 return Scale::byDouble(arbitraryMultiplier); in scaleFromProperties() 47 return Scale::none(); in scaleFromProperties()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | Scale.java | 22 public class Scale { class 24 private static final Scale DEFAULT = new Scale(0, null); 25 private static final Scale HUNDRED = new Scale(2, null); 26 private static final Scale THOUSAND = new Scale(3, null); 36 private Scale(int magnitude, BigDecimal arbitrary) { in Scale() method in Scale 40 private Scale(int magnitude, BigDecimal arbitrary, MathContext mc) { in Scale() method in Scale 75 public static Scale none() { in none() 91 public static Scale powerOfTen(int power) { in powerOfTen() 99 return new Scale(power, null); in powerOfTen() 113 public static Scale byBigDecimal(BigDecimal multiplicand) { in byBigDecimal() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | Scale.java | 23 public class Scale { class 25 private static final Scale DEFAULT = new Scale(0, null); 26 private static final Scale HUNDRED = new Scale(2, null); 27 private static final Scale THOUSAND = new Scale(3, null); 37 private Scale(int magnitude, BigDecimal arbitrary) { in Scale() method in Scale 41 private Scale(int magnitude, BigDecimal arbitrary, MathContext mc) { in Scale() method in Scale 75 public static Scale none() { in none() 90 public static Scale powerOfTen(int power) { in powerOfTen() 98 return new Scale(power, null); in powerOfTen() 111 public static Scale byBigDecimal(BigDecimal multiplicand) { in byBigDecimal() [all …]
|
/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86InstrBuilder.h | 49 unsigned Scale; member 56 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(0), GVOpFlags(0) { 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()
|
/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() 101 AM.Scale = Op.getImm(); in getAddressFromInstr() 153 assert(AM.Scale == 1 || AM.Scale == 2 || AM.Scale == 4 || AM.Scale == 8); in addFullAddress() 162 MIB.addImm(AM.Scale).addReg(AM.IndexReg); in addFullAddress()
|
D | X86ShuffleDecodeConstantPool.cpp | 57 int Scale = BitWidth / 8; in DecodePSHUFBMask() local 58 int NumBytes = NumElts * Scale; in DecodePSHUFBMask() 67 ShuffleMask.append(Scale, SM_SentinelUndef); in DecodePSHUFBMask() 72 for (int j = 0; j != Scale; ++j) { in DecodePSHUFBMask() 75 int Base = ((i * Scale) + j) & ~0xf; in DecodePSHUFBMask() 252 int Scale = BitWidth / 8; in DecodeVPPERMMask() local 253 int NumBytes = NumElts * Scale; in DecodeVPPERMMask() 262 ShuffleMask.append(Scale, SM_SentinelUndef); in DecodeVPPERMMask() 280 for (int j = 0; j != Scale; ++j) { in DecodeVPPERMMask()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86InstrBuilder.h | 54 unsigned Scale; member 61 : BaseType(RegBase), Scale(1), IndexReg(0), Disp(0), GV(nullptr), in X86AddressMode() 67 assert(Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8); in getFullAddress() 77 MO.push_back(MachineOperand::CreateImm(Scale)); in getFullAddress() 106 AM.Scale = Op1.getImm(); in getAddressFromInstr() 175 assert(AM.Scale == 1 || AM.Scale == 2 || AM.Scale == 4 || AM.Scale == 8); in addFullAddress() 184 MIB.addImm(AM.Scale).addReg(AM.IndexReg); in addFullAddress()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | Thumb1RegisterInfo.cpp | 143 unsigned NumBits, unsigned Scale) { in calcNumMI() argument 145 unsigned Chunk = ((1 << NumBits) - 1) * Scale; in calcNumMI() 152 Scale = 1; // Followed by a number of tADDi8. in calcNumMI() 153 Chunk = ((1 << NumBits) - 1) * Scale; in calcNumMI() 180 unsigned Scale = 1; in emitThumbRegPlusImmediate() local 188 Scale = 4; in emitThumbRegPlusImmediate() 201 Scale = 4; in emitThumbRegPlusImmediate() 214 Scale = 4; in emitThumbRegPlusImmediate() 223 unsigned NumMIs = calcNumMI(Opc, ExtraOpc, Bytes, NumBits, Scale); in emitThumbRegPlusImmediate() 253 unsigned Chunk = ((1 << NumBits) - 1) * Scale; in emitThumbRegPlusImmediate() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | AddrModeMatcher.cpp | 48 if (Scale) { in print() 50 << Scale << "*"; in print() 67 bool AddressingModeMatcher::MatchScaledValue(Value *ScaleReg, int64_t Scale, in MatchScaledValue() argument 71 if (Scale == 1) in MatchScaledValue() 75 if (Scale == 0) in MatchScaledValue() 80 if (AddrMode.Scale != 0 && AddrMode.ScaledReg != ScaleReg) in MatchScaledValue() 87 TestAddrMode.Scale += Scale; in MatchScaledValue() 104 TestAddrMode.BaseOffs += CI->getSExtValue()*TestAddrMode.Scale; in MatchScaledValue() 209 int64_t Scale = RHS->getSExtValue(); in MatchOperationAddr() local 211 Scale = 1LL << Scale; in MatchOperationAddr() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 164 int64_t Scale; member 177 static Value *GetLinearExpression(Value *V, APInt &Scale, APInt &Offset, in GetLinearExpression() argument 184 Scale = 1; in GetLinearExpression() 200 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension, in GetLinearExpression() 205 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension, in GetLinearExpression() 208 Scale *= RHSC->getValue(); in GetLinearExpression() 211 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension, in GetLinearExpression() 214 Scale <<= RHSC->getValue().getLimitedValue(); in GetLinearExpression() 226 unsigned OldWidth = Scale.getBitWidth(); in GetLinearExpression() 228 Scale = Scale.trunc(SmallWidth); in GetLinearExpression() [all …]
|
/external/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 183 const Value *V, APInt &Scale, APInt &Offset, unsigned &ZExtBits, in GetLinearExpression() argument 190 Scale = 1; in GetLinearExpression() 202 assert(Scale == 0 && "Constant values don't have a scale"); in GetLinearExpression() 218 Scale = 1; in GetLinearExpression() 226 Scale = 1; in GetLinearExpression() 232 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() 237 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() 242 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() 245 Scale *= RHS; in GetLinearExpression() 248 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 231 const Value *V, APInt &Scale, APInt &Offset, unsigned &ZExtBits, in GetLinearExpression() argument 238 Scale = 1; in GetLinearExpression() 250 assert(Scale == 0 && "Constant values don't have a scale"); in GetLinearExpression() 265 Scale = 1; in GetLinearExpression() 273 Scale = 1; in GetLinearExpression() 279 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() 284 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() 289 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() 292 Scale *= RHS; in GetLinearExpression() 295 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression() [all …]
|
/external/compiler-rt/lib/esan/ |
D | esan_shadow.h | 118 uptr Scale; variable 126 Scale = ShadowScale; in initialize() 127 if (Scale <= 2) in initialize() 128 Offset = OffsetArray[Scale]; in initialize() 130 Offset = OffsetArray[0] << Scale; in initialize() 159 return (((App & ShadowMapping::Mask) + Mapping.Offset) >> Mapping.Scale); in appToShadow()
|
D | esan.cpp | 104 for (int Scale = 0; Scale < 8; ++Scale) { in verifyShadowScheme() local 105 Mapping.initialize(Scale); in verifyShadowScheme() 107 VPrintf(3, "\nChecking scale %d\n", Scale); in verifyShadowScheme() 151 VPrintf(1, "Shadow scale=%d offset=%p\n", Mapping.Scale, Mapping.Offset); in initializeShadow()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | SpillPlacement.cpp | 74 float Scale[2]; member 110 Scale[0] = Scale[1] = 0; in Node() 124 w *= Scale[out]; in addLink() 140 w *= Scale[out]; in addBias() 185 nodes[bundles->getBundle(Num, 1)].Scale[0] += Freq; in runOnMachineFunction() 186 nodes[bundles->getBundle(Num, 0)].Scale[1] += Freq; in runOnMachineFunction() 192 if (nodes[i].Scale[d] > 0) in runOnMachineFunction() 193 nodes[i].Scale[d] = 1 / nodes[i].Scale[d]; in runOnMachineFunction()
|
/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/skqp/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/pdfium/core/fxcrt/ |
D | fx_coordinates_unittest.cpp | 81 rect.Scale(-1.0f); in TEST() 89 TEST(CFX_FloatRect, Scale) { in TEST() argument 91 rect.Scale(1.0f); in TEST() 96 rect.Scale(0.5f); in TEST() 101 rect.Scale(2.0f); in TEST() 106 rect.Scale(-1.0f); in TEST() 111 rect.Scale(0.0f); in TEST() 120 rect.Scale(1.0f); in TEST() 125 rect.Scale(0.5f); in TEST() 130 rect.Scale(2.0f); in TEST() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | numberformatter.h | 1047 class U_I18N_API Scale : public UMemory { 1055 static Scale none(); 1067 static Scale powerOfTen(int32_t power); 1081 static Scale byDecimal(StringPiece multiplicand); 1091 static Scale byDouble(double multiplicand); 1099 static Scale byDoubleAndPowerOfTen(double multiplicand, int32_t power); 1105 Scale(const Scale& other); 1108 Scale& operator=(const Scale& other); 1111 Scale(Scale&& src) U_NOEXCEPT; 1114 Scale& operator=(Scale&& src) U_NOEXCEPT; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsConstantIslandPass.cpp | 136 unsigned Bits, Scale; in branchMaxOffsets() local 140 Scale = 2; in branchMaxOffsets() 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() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsConstantIslandPass.cpp | 130 unsigned Bits, Scale; in branchMaxOffsets() local 134 Scale = 2; in branchMaxOffsets() 138 Scale = 2; in branchMaxOffsets() 142 Scale = 2; in branchMaxOffsets() 146 Scale = 2; in branchMaxOffsets() 150 Scale = 2; in branchMaxOffsets() 154 Scale = 2; in branchMaxOffsets() 158 Scale = 2; in branchMaxOffsets() 162 Scale = 2; in branchMaxOffsets() 166 Scale = 2; in branchMaxOffsets() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | MultiplierParseHandler.java | 6 import android.icu.number.Scale; 14 private final Scale multiplier; 16 public MultiplierParseHandler(Scale multiplier) { in MultiplierParseHandler()
|