Home
last modified time | relevance | path

Searched refs:fVal (Results 1 – 25 of 42) sorted by relevance

12

/third_party/skia/src/core/
DSkFixed15.h21 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 …]
/third_party/flutter/skia/src/core/
DSkFixed15.h21 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 …]
/third_party/skia/include/private/
DSkNx.h161 T fVal;
164 AI SkNx(T v) : fVal(v) {}
169 return fVal;
177 AI void store(void* ptr) const { memcpy(ptr, &fVal, sizeof(T)); }
216 AI T min() const { return fVal; }
217 AI T max() const { return fVal; }
218 AI bool anyTrue() const { return fVal != 0; }
219 AI bool allTrue() const { return fVal != 0; }
221 AI SkNx abs() const { return Abs(fVal); }
222 AI SkNx sqrt() const { return Sqrt(fVal); }
[all …]
/third_party/flutter/skia/include/private/
DSkNx.h163 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 …]
/third_party/skia/tests/
DVptrTest.cpp19 SubclassA(size_t val) : fVal(val) {} in SubclassA()
21 size_t val() const override { return fVal; } in val()
23 size_t fVal; member
/third_party/flutter/skia/tests/
DVptrTest.cpp20 SubclassA(size_t val) : fVal(val) {} in SubclassA()
22 size_t val() const override { return fVal; } in val()
24 size_t fVal; member
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DRBBITableBuilder.java132 bofLeaf.fVal = 2; // Reserved value for {bof}. in buildForwardTable()
442 int c = this.fRB.fSetBuilder.getFirstChar(endNode.fVal); in calcChainedFollowPos()
460 if (endNode.fVal == startNode.fVal) { in calcChainedFollowPos()
499 Assert.assrt(bofNode.fVal == 2); in bofFixup()
512 if (startNode.fVal == bofNode.fVal) { in bofFixup()
571 if ((p.fType == RBBINode.leafChar) && (p.fVal == a)) { in buildStateTable()
635 int ruleNum = node.fVal; // Set when rule was originally parsed. in mapLookAheadRules()
664 int ruleNum = node.fVal; // Set when rule was originally parsed. in mapLookAheadRules()
702 sd.fAccepting = fLookAheadRuleMap[endMarker.fVal]; in flagAcceptingStates()
707 if (sd.fAccepting==-1 && endMarker.fVal != 0) { in flagAcceptingStates()
[all …]
DRBBINode.java89 int fVal; // For leafChar nodes, the value. field in RBBINode
139 fVal = other.fVal;
292 RBBINode.printInt(n.fVal, 7);
DRBBIRuleScanner.java266 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()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Drbbinode.cpp65 fVal = 0; in RBBINode()
94 fVal = other.fVal; in RBBINode()
320 node->fFirstPos, node->fVal); in printNode()
Drbbitblb.cpp107 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 …]
Drbbiscan.cpp347 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()
/third_party/skia/third_party/externals/icu/source/common/
Drbbinode.cpp65 fVal = 0; in RBBINode()
94 fVal = other.fVal; in RBBINode()
320 node->fFirstPos, node->fVal); in printNode()
Drbbitblb.cpp111 bofLeaf->fVal = 2; // Reserved value for {bof}. in buildForwardTable()
465 UChar32 c = this->fRB->fSetBuilder->getFirstChar(endNode->fVal); in calcChainedFollowPos()
484 if (endNode->fVal == startNode->fVal) { in calcChainedFollowPos()
527 U_ASSERT(bofNode->fVal == 2); in bofFixup()
544 if (startNode->fVal == bofNode->fVal) { in bofFixup()
643 if ((p->fType == RBBINode::leafChar) && (p->fVal == a)) { in buildStateTable()
735 int32_t ruleNum = node->fVal; // Set when rule was originally parsed. in mapLookAheadRules()
765 int32_t ruleNum = node->fVal; // Set when rule was originally parsed. in mapLookAheadRules()
813 sd->fAccepting = fLookAheadRuleMap->elementAti(endMarker->fVal); in flagAcceptingStates()
818 if (sd->fAccepting==ACCEPTING_UNCONDITIONAL && endMarker->fVal != 0) { in flagAcceptingStates()
[all …]
/third_party/icu/icu4c/source/common/
Drbbinode.cpp65 fVal = 0; in RBBINode()
94 fVal = other.fVal; in RBBINode()
320 node->fFirstPos, node->fVal); in printNode()
Drbbitblb.cpp111 bofLeaf->fVal = 2; // Reserved value for {bof}. in buildForwardTable()
465 UChar32 c = this->fRB->fSetBuilder->getFirstChar(endNode->fVal); in calcChainedFollowPos()
484 if (endNode->fVal == startNode->fVal) { in calcChainedFollowPos()
527 U_ASSERT(bofNode->fVal == 2); in bofFixup()
544 if (startNode->fVal == bofNode->fVal) { in bofFixup()
643 if ((p->fType == RBBINode::leafChar) && (p->fVal == a)) { in buildStateTable()
735 int32_t ruleNum = node->fVal; // Set when rule was originally parsed. in mapLookAheadRules()
765 int32_t ruleNum = node->fVal; // Set when rule was originally parsed. in mapLookAheadRules()
813 sd->fAccepting = fLookAheadRuleMap->elementAti(endMarker->fVal); in flagAcceptingStates()
818 if (sd->fAccepting==ACCEPTING_UNCONDITIONAL && endMarker->fVal != 0) { in flagAcceptingStates()
[all …]
/third_party/node/deps/icu-small/source/common/
Drbbinode.cpp65 fVal = 0; in RBBINode()
94 fVal = other.fVal; in RBBINode()
321 node->fFirstPos, node->fVal); in printNode()
Drbbitblb.cpp111 bofLeaf->fVal = 2; // Reserved value for {bof}. in buildForwardTable()
466 UChar32 c = this->fRB->fSetBuilder->getFirstChar(endNode->fVal); in calcChainedFollowPos()
485 if (endNode->fVal == startNode->fVal) { in calcChainedFollowPos()
528 U_ASSERT(bofNode->fVal == 2); in bofFixup()
545 if (startNode->fVal == bofNode->fVal) { in bofFixup()
644 if ((p->fType == RBBINode::leafChar) && (p->fVal == a)) { in buildStateTable()
736 int32_t ruleNum = node->fVal; // Set when rule was originally parsed. in mapLookAheadRules()
766 int32_t ruleNum = node->fVal; // Set when rule was originally parsed. in mapLookAheadRules()
814 sd->fAccepting = fLookAheadRuleMap->elementAti(endMarker->fVal); in flagAcceptingStates()
819 if (sd->fAccepting==ACCEPTING_UNCONDITIONAL && endMarker->fVal != 0) { in flagAcceptingStates()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBITableBuilder.java139 bofLeaf.fVal = 2; // Reserved value for {bof}. in buildForwardTable()
449 int c = this.fRB.fSetBuilder.getFirstChar(endNode.fVal); in calcChainedFollowPos()
467 if (endNode.fVal == startNode.fVal) { in calcChainedFollowPos()
506 Assert.assrt(bofNode.fVal == 2); in bofFixup()
519 if (startNode.fVal == bofNode.fVal) { in bofFixup()
578 if ((p.fType == RBBINode.leafChar) && (p.fVal == a)) { in buildStateTable()
641 int ruleNum = node.fVal; // Set when rule was originally parsed. in mapLookAheadRules()
670 int ruleNum = node.fVal; // Set when rule was originally parsed. in mapLookAheadRules()
707 sd.fAccepting = fLookAheadRuleMap[endMarker.fVal]; in flagAcceptingStates()
712 … if (sd.fAccepting==RBBIDataWrapper.ACCEPTING_UNCONDITIONAL && endMarker.fVal != 0) { in flagAcceptingStates()
[all …]
DRBBINode.java88 int fVal; // For leafChar nodes, the value. field in RBBINode
138 fVal = other.fVal;
291 RBBINode.printInt(n.fVal, 7);
DRBBIRuleScanner.java265 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()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dparse_number.cpp163 HexFloat<FloatProxy<float>> fVal(0.0f); in ParseAndEncodeFloatingPointNumber() local
164 if (!ParseNumber(text, &fVal)) { in ParseAndEncodeFloatingPointNumber()
168 emit(BitwiseCast<uint32_t>(fVal)); in ParseAndEncodeFloatingPointNumber()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/
Dparse_number.cpp161 HexFloat<FloatProxy<float>> fVal(0.0f); in ParseAndEncodeFloatingPointNumber() local
162 if (!ParseNumber(text, &fVal)) { in ParseAndEncodeFloatingPointNumber()
166 emit(BitwiseCast<uint32_t>(fVal)); in ParseAndEncodeFloatingPointNumber()
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dparse_number.cpp163 HexFloat<FloatProxy<float>> fVal(0.0f); in ParseAndEncodeFloatingPointNumber() local
164 if (!ParseNumber(text, &fVal)) { in ParseAndEncodeFloatingPointNumber()
168 emit(BitwiseCast<uint32_t>(fVal)); in ParseAndEncodeFloatingPointNumber()
/third_party/spirv-tools/source/util/
Dparse_number.cpp163 HexFloat<FloatProxy<float>> fVal(0.0f); in ParseAndEncodeFloatingPointNumber() local
164 if (!ParseNumber(text, &fVal)) { in ParseAndEncodeFloatingPointNumber()
168 emit(BitwiseCast<uint32_t>(fVal)); in ParseAndEncodeFloatingPointNumber()

12