Home
last modified time | relevance | path

Searched refs:fIdx (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/common/
Dunistrappender.h44 UnicodeStringAppender(UnicodeString &dest) : fDest(&dest), fIdx(0) { } in UnicodeStringAppender()
47 if (fIdx == UPRV_LENGTHOF(fBuffer)) { in append()
48 fDest->append(fBuffer, 0, fIdx); in append()
49 fIdx = 0; in append()
51 fBuffer[fIdx++] = x; in append()
55 if (fIdx >= UPRV_LENGTHOF(fBuffer) - 1) { in append()
56 fDest->append(fBuffer, 0, fIdx); in append()
57 fIdx = 0; in append()
59 U16_APPEND_UNSAFE(fBuffer, fIdx, x); in append()
66 if (fIdx) { in flush()
[all …]
/external/skia/bench/
DVertBench.cpp33 uint16_t fIdx[IDX]; member in VertBench
47 uint16_t* idx = fIdx; in VertBench()
68 SkASSERT(IDX == idx - fIdx); in VertBench()
86 fPts, nullptr, fColors, nullptr, fIdx, IDX, paint); in onDraw()
/external/icu/icu4c/source/i18n/
Daffixpatternparser.cpp394 AffixPatternAppender(AffixPattern &dest) : fDest(&dest), fIdx(0) { } in AffixPatternAppender()
397 if (fIdx == UPRV_LENGTHOF(fBuffer)) { in append()
398 fDest->addLiteral(fBuffer, 0, fIdx); in append()
399 fIdx = 0; in append()
401 fBuffer[fIdx++] = x; in append()
405 if (fIdx >= UPRV_LENGTHOF(fBuffer) - 1) { in append()
406 fDest->addLiteral(fBuffer, 0, fIdx); in append()
407 fIdx = 0; in append()
409 U16_APPEND_UNSAFE(fBuffer, fIdx, x); in append()
413 if (fIdx) { in flush()
[all …]
Dnfrs.cpp377 for (uint32_t fIdx = 0; fIdx < fractionRules.size(); fIdx++) { in setDecimalFormatSymbols() local
378 NFRule *fractionRule = fractionRules[fIdx]; in setDecimalFormatSymbols()
791 for (uint32_t fIdx = 0; fIdx < fractionRules.size(); fIdx++) { in appendRules() local
792 NFRule *fractionRule = fractionRules[fIdx]; in appendRules()
/external/skia/tests/
DStreamTest.cpp380 : fData(data), fCount(n), fIdx(0) {} in DumbStream()
382 size_t copyCount = SkTMin(fCount - fIdx, size); in read()
384 memcpy(buffer, &fData[fIdx], copyCount); in read()
385 fIdx += copyCount; in read()
390 return fCount == fIdx; in isAtEnd()
394 size_t fCount, fIdx; member in __anonde33bb130111::DumbStream