/external/skia/src/core/ |
D | SkFixed15.h | 21 SkFixed15(float val) : fVal(val * 32768) { SkASSERT(0.0f <= val && val <= 1.0f); } in SkFixed15() 22 explicit operator float() const { return fVal * (1/32768.0f); } 28 uint16_t store() const { return fVal; } in store() 38 return (fVal - (fVal>>8))>>7; in to_u8() 41 SkFixed15 operator +(SkFixed15 o) const { return fVal + o.fVal; } 42 SkFixed15 operator -(SkFixed15 o) const { return fVal - o.fVal; } 43 SkFixed15 operator *(SkFixed15 o) const { return (fVal * o.fVal + (1<<14)) >> 15; } 44 SkFixed15 operator<<(int bits) const { return fVal << bits; } 45 SkFixed15 operator>>(int bits) const { return fVal >> bits; } 53 bool operator==(SkFixed15 o) const { return fVal == o.fVal; } [all …]
|
/external/skqp/src/core/ |
D | SkFixed15.h | 21 SkFixed15(float val) : fVal(val * 32768) { SkASSERT(0.0f <= val && val <= 1.0f); } in SkFixed15() 22 explicit operator float() const { return fVal * (1/32768.0f); } 28 uint16_t store() const { return fVal; } in store() 38 return (fVal - (fVal>>8))>>7; in to_u8() 41 SkFixed15 operator +(SkFixed15 o) const { return fVal + o.fVal; } 42 SkFixed15 operator -(SkFixed15 o) const { return fVal - o.fVal; } 43 SkFixed15 operator *(SkFixed15 o) const { return (fVal * o.fVal + (1<<14)) >> 15; } 44 SkFixed15 operator<<(int bits) const { return fVal << bits; } 45 SkFixed15 operator>>(int bits) const { return fVal >> bits; } 53 bool operator==(SkFixed15 o) const { return fVal == o.fVal; } [all …]
|
/external/skia/include/private/ |
D | SkNx.h | 163 T fVal; 166 AI SkNx(T v) : fVal(v) {} 171 return fVal; 179 AI void store(void* ptr) const { memcpy(ptr, &fVal, sizeof(T)); } 218 AI T min() const { return fVal; } 219 AI T max() const { return fVal; } 220 AI bool anyTrue() const { return fVal != 0; } 221 AI bool allTrue() const { return fVal != 0; } 223 AI SkNx abs() const { return Abs(fVal); } 224 AI SkNx sqrt() const { return Sqrt(fVal); } [all …]
|
/external/skqp/include/private/ |
D | SkNx.h | 163 T fVal; 166 AI SkNx(T v) : fVal(v) {} 171 return fVal; 179 AI void store(void* ptr) const { memcpy(ptr, &fVal, sizeof(T)); } 218 AI T min() const { return fVal; } 219 AI T max() const { return fVal; } 220 AI bool anyTrue() const { return fVal != 0; } 221 AI bool allTrue() const { return fVal != 0; } 223 AI SkNx abs() const { return Abs(fVal); } 224 AI SkNx sqrt() const { return Sqrt(fVal); } [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/ |
D | PowellOptimizer.java | 102 double fVal = computeObjectiveValue(x); in doOptimize() local 107 double fX = fVal; in doOptimize() 116 fX2 = fVal; in doOptimize() 119 fVal = line.getValueAtOptimum(); in doOptimize() 124 if ((fX2 - fVal) > delta) { in doOptimize() 125 delta = fX2 - fVal; in doOptimize() 131 final RealPointValuePair current = new RealPointValuePair(x, fVal); in doOptimize() 134 return (fVal < fX) ? current : previous; in doOptimize() 136 return (fVal > fX) ? current : previous; in doOptimize() 151 double t = 2 * (fX + fX2 - 2 * fVal); in doOptimize() [all …]
|
/external/skia/tests/ |
D | VptrTest.cpp | 20 SubclassA(size_t val) : fVal(val) {} in SubclassA() 22 size_t val() const override { return fVal; } in val() 24 size_t fVal; member
|
/external/skqp/tests/ |
D | VptrTest.cpp | 20 SubclassA(size_t val) : fVal(val) {} in SubclassA() 22 size_t val() const override { return fVal; } in val() 24 size_t fVal; member
|
/external/icu/icu4c/source/common/ |
D | rbbinode.cpp | 65 fVal = 0; in RBBINode() 94 fVal = other.fVal; in RBBINode() 320 node->fFirstPos, node->fVal); in printNode()
|
D | rbbitblb.cpp | 107 bofLeaf->fVal = 2; // Reserved value for {bof}. in buildForwardTable() 468 UChar32 c = this->fRB->fSetBuilder->getFirstChar(endNode->fVal); in calcChainedFollowPos() 488 if (endNode->fVal == startNode->fVal) { in calcChainedFollowPos() 531 U_ASSERT(bofNode->fVal == 2); in bofFixup() 548 if (startNode->fVal == bofNode->fVal) { in bofFixup() 647 if ((p->fType == RBBINode::leafChar) && (p->fVal == a)) { in buildStateTable() 747 sd->fAccepting = endMarker->fVal; in flagAcceptingStates() 752 if (sd->fAccepting==-1 && endMarker->fVal != 0) { in flagAcceptingStates() 756 sd->fAccepting = endMarker->fVal; in flagAcceptingStates() 799 sd->fLookAhead = lookAheadNode->fVal; in flagLookAheadStates() [all …]
|
D | rbbiscan.cpp | 347 endNode->fVal = fRuleNum; in doParseActions() 500 n->fVal = fRuleNum; in doParseActions() 514 n->fVal = 0; in doParseActions() 525 n->fVal = n->fVal*10 + v; in doParseActions()
|
D | rbbinode.h | 77 int32_t fVal; // For leafChar nodes, the value. variable
|
D | rbbisetb.cpp | 354 leafNode->fVal = (unsigned short)val; in addValToSet()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RBBITableBuilder.java | 128 bofLeaf.fVal = 2; // Reserved value for {bof}. in buildForwardTable() 443 int c = this.fRB.fSetBuilder.getFirstChar(endNode.fVal); in calcChainedFollowPos() 461 if (endNode.fVal == startNode.fVal) { in calcChainedFollowPos() 500 Assert.assrt(bofNode.fVal == 2); in bofFixup() 513 if (startNode.fVal == bofNode.fVal) { in bofFixup() 572 if ((p.fType == RBBINode.leafChar) && (p.fVal == a)) { in buildStateTable() 644 sd.fAccepting = endMarker.fVal; in flagAcceptingStates() 649 if (sd.fAccepting==-1 && endMarker.fVal != 0) { in flagAcceptingStates() 653 sd.fAccepting = endMarker.fVal; in flagAcceptingStates() 690 sd.fLookAhead = lookAheadNode.fVal; in flagLookAheadStates() [all …]
|
D | RBBINode.java | 88 int fVal; // For leafChar nodes, the value. field in RBBINode 138 fVal = other.fVal; 291 RBBINode.printInt(n.fVal, 7);
|
D | RBBIRuleScanner.java | 265 endNode.fVal = fRuleNum; in doParseActions() 394 n.fVal = fRuleNum; in doParseActions() 405 n.fVal = 0; in doParseActions() 415 n.fVal = n.fVal * 10 + v; in doParseActions()
|
D | RBBISetBuilder.java | 378 leafNode.fVal = val; in addValToSet()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RBBITableBuilder.java | 129 bofLeaf.fVal = 2; // Reserved value for {bof}. in buildForwardTable() 444 int c = this.fRB.fSetBuilder.getFirstChar(endNode.fVal); in calcChainedFollowPos() 462 if (endNode.fVal == startNode.fVal) { in calcChainedFollowPos() 501 Assert.assrt(bofNode.fVal == 2); in bofFixup() 514 if (startNode.fVal == bofNode.fVal) { in bofFixup() 573 if ((p.fType == RBBINode.leafChar) && (p.fVal == a)) { in buildStateTable() 645 sd.fAccepting = endMarker.fVal; in flagAcceptingStates() 650 if (sd.fAccepting==-1 && endMarker.fVal != 0) { in flagAcceptingStates() 654 sd.fAccepting = endMarker.fVal; in flagAcceptingStates() 691 sd.fLookAhead = lookAheadNode.fVal; in flagLookAheadStates() [all …]
|
D | RBBINode.java | 89 int fVal; // For leafChar nodes, the value. field in RBBINode 139 fVal = other.fVal; 292 RBBINode.printInt(n.fVal, 7);
|
D | RBBIRuleScanner.java | 266 endNode.fVal = fRuleNum; in doParseActions() 395 n.fVal = fRuleNum; in doParseActions() 406 n.fVal = 0; in doParseActions() 416 n.fVal = n.fVal * 10 + v; in doParseActions()
|
D | RBBISetBuilder.java | 379 leafNode.fVal = val; in addValToSet()
|
/external/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | parse_number.cpp | 163 HexFloat<FloatProxy<float>> fVal(0.0f); in ParseAndEncodeFloatingPointNumber() local 164 if (!ParseNumber(text, &fVal)) { in ParseAndEncodeFloatingPointNumber() 168 emit(BitwiseCast<uint32_t>(fVal)); in ParseAndEncodeFloatingPointNumber()
|
/external/deqp-deps/SPIRV-Tools/source/util/ |
D | parse_number.cpp | 163 HexFloat<FloatProxy<float>> fVal(0.0f); in ParseAndEncodeFloatingPointNumber() local 164 if (!ParseNumber(text, &fVal)) { in ParseAndEncodeFloatingPointNumber() 168 emit(BitwiseCast<uint32_t>(fVal)); in ParseAndEncodeFloatingPointNumber()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_devicecs.cpp | 24 float NormalizeChannel(float fVal) { in NormalizeChannel() argument 25 return pdfium::clamp(fVal, 0.0f, 1.0f); in NormalizeChannel()
|
/external/deqp-deps/glslang/SPIRV/ |
D | SpvBuilder.cpp | 942 spvutils::HexFloat<spvutils::FloatProxy<float>> fVal(f16); in makeFloat16Constant() local 944 fVal.castTo(f16Val, spvutils::kRoundToZero); in makeFloat16Constant()
|