/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 …]
|
D | SkNx.h | 154 T fVal; 157 AI SkNx(T v) : fVal(v) {} 162 return fVal; 170 AI void store(void* ptr) const { memcpy(ptr, &fVal, sizeof(T)); } 204 AI bool anyTrue() const { return fVal != 0; } 205 AI bool allTrue() const { return fVal != 0; } 207 AI SkNx abs() const { return Abs(fVal); } 208 AI SkNx sqrt() const { return Sqrt(fVal); } 210 AI SkNx floor() const { return Floor(fVal); } 213 AI SkNx operator!() const { return !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 …]
|
D | SkNx.h | 154 T fVal; 157 AI SkNx(T v) : fVal(v) {} 162 return fVal; 170 AI void store(void* ptr) const { memcpy(ptr, &fVal, sizeof(T)); } 204 AI bool anyTrue() const { return fVal != 0; } 205 AI bool allTrue() const { return fVal != 0; } 207 AI SkNx abs() const { return Abs(fVal); } 208 AI SkNx sqrt() const { return Sqrt(fVal); } 210 AI SkNx floor() const { return Floor(fVal); } 213 AI SkNx operator!() const { return !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/include/private/ |
D | SkAtomics.h | 53 explicit SkAtomic(const T& val) : fVal(val) {} in SkAtomic() 57 return sk_atomic_load(&fVal, mo); 61 sk_atomic_store(&fVal, val, mo); 76 return sk_atomic_fetch_add(&fVal, val, mo); 80 return sk_atomic_fetch_sub(&fVal, val, mo); 86 return sk_atomic_compare_exchange(&fVal, expected, desired, success, failure); 89 T fVal;
|
/external/skqp/include/private/ |
D | SkAtomics.h | 53 explicit SkAtomic(const T& val) : fVal(val) {} in SkAtomic() 57 return sk_atomic_load(&fVal, mo); 61 sk_atomic_store(&fVal, val, mo); 76 return sk_atomic_fetch_add(&fVal, val, mo); 80 return sk_atomic_fetch_sub(&fVal, val, mo); 86 return sk_atomic_compare_exchange(&fVal, expected, desired, success, failure); 89 T fVal;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RBBITableBuilder.java | 125 bofLeaf.fVal = 2; // Reserved value for {bof}. in build() 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() 643 sd.fAccepting = endMarker.fVal; in flagAcceptingStates() 648 if (sd.fAccepting==-1 && endMarker.fVal != 0) { in flagAcceptingStates() 652 sd.fAccepting = endMarker.fVal; in flagAcceptingStates() 689 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 | 264 endNode.fVal = fRuleNum; in doParseActions() 393 n.fVal = fRuleNum; in doParseActions() 404 n.fVal = 0; in doParseActions() 414 n.fVal = n.fVal * 10 + v; in doParseActions()
|
D | RBBISetBuilder.java | 347 leafNode.fVal = val; in addValToSet()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RBBITableBuilder.java | 126 bofLeaf.fVal = 2; // Reserved value for {bof}. in build() 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 | 89 int fVal; // For leafChar nodes, the value. field in RBBINode 139 fVal = other.fVal; 292 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 | 348 leafNode.fVal = val; in addValToSet()
|
/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/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/icu/icu4c/source/common/ |
D | rbbitblb.cpp | 107 bofLeaf->fVal = 2; // Reserved value for {bof}. in build() 470 UChar32 c = this->fRB->fSetBuilder->getFirstChar(endNode->fVal); in calcChainedFollowPos() 490 if (endNode->fVal == startNode->fVal) { in calcChainedFollowPos() 533 U_ASSERT(bofNode->fVal == 2); in bofFixup() 550 if (startNode->fVal == bofNode->fVal) { in bofFixup() 649 if ((p->fType == RBBINode::leafChar) && (p->fVal == a)) { in buildStateTable() 749 sd->fAccepting = endMarker->fVal; in flagAcceptingStates() 754 if (sd->fAccepting==-1 && endMarker->fVal != 0) { in flagAcceptingStates() 758 sd->fAccepting = endMarker->fVal; in flagAcceptingStates() 801 sd->fLookAhead = lookAheadNode->fVal; in flagLookAheadStates() [all …]
|
D | rbbinode.cpp | 65 fVal = 0; in RBBINode() 94 fVal = other.fVal; in RBBINode() 320 node->fFirstPos, node->fVal); in printNode()
|
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 | 333 leafNode->fVal = (unsigned short)val; in addValToSet()
|
/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()
|