Home
last modified time | relevance | path

Searched refs:ppos (Results 1 – 23 of 23) sorted by relevance

/external/fonttools/Lib/fontTools/ttLib/tables/
DC_P_A_L_.py24 ppos = goffsetFirstColorRecord + startIndex * 4
26 palette.append( Color(*struct.unpack(">BBBB", data[ppos:ppos+4])) )
27 ppos += 4
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDateFormatAPIC.java50 ParsePosition ppos = new ParsePosition(0); in TestNameHiding() local
76 sdf.parse(str, ppos); in TestNameHiding()
106 Number obj = fmt.parse(str, ppos); in TestNameHiding()
DTimeUnitTest.java47 ParsePosition ppos = new ParsePosition(0); in Test10219FactionalPluralsParse() local
49 tuf.parseObject(parseString, ppos); in Test10219FactionalPluralsParse()
54 assertEquals("Test10219FractionalPluralParse", parseString.length(), ppos.getIndex()); in Test10219FactionalPluralsParse()
DDateFormatTest.java3621 ParsePosition ppos = new ParsePosition(0); in TestRoundtripWithCalendar() local
3657 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3658 ppos.setIndex(0); in TestRoundtripWithCalendar()
3662 formatters[i].parse(refStr, calendars[i], ppos); in TestRoundtripWithCalendar()
3670 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3671 ppos.setIndex(0); in TestRoundtripWithCalendar()
3675 formatters[i].parse(refStr, calendars[j], ppos); in TestRoundtripWithCalendar()
4170 ParsePosition ppos = new ParsePosition(0); in TestMonthPatterns() local
4177 dfmt.parse(result.toString(), rootChineseCalendar, ppos); in TestMonthPatterns() local
4183 …if ( ppos.getIndex() < result.length() || year != date.year || month != date.month || isLeapMonth … in TestMonthPatterns()
[all …]
DDateFormatRegressionTest.java551 ParsePosition ppos[] = {new ParsePosition(10), new ParsePosition(0), new ParsePosition(0)}; in Test4104136() local
558 ParsePosition finish = ppos[i]; in Test4104136()
DNumberFormatTest.java3567 ParsePosition ppos = new ParsePosition(0);
3568 Number num = numfmt.parse(item.numString, ppos);
3569 if (num != null && ppos.getIndex() == item.numString.length()) {
3575 …ient " + item.lenient + ", parse of \"" + item.numString + "\" gives position " + ppos.getIndex());
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliteratorIDParser.java283 ParsePosition ppos = new ParsePosition(pos[0]); in parseGlobalFilter() local
285 filter = new UnicodeSet(id, ppos, null); in parseGlobalFilter()
291 String pattern = id.substring(pos[0], ppos.getIndex()); in parseGlobalFilter()
292 pos[0] = ppos.getIndex(); in parseGlobalFilter()
614 ParsePosition ppos = new ParsePosition(pos[0]); in parseFilterID() local
616 new UnicodeSet(id, ppos, null); in parseFilterID()
617 filter = id.substring(pos[0], ppos.getIndex()); in parseFilterID()
618 pos[0] = ppos.getIndex(); in parseFilterID()
/external/icu/icu4c/source/i18n/
Dtridpars.cpp276 ParsePosition ppos(pos); in parseGlobalFilter() local
278 filter = new UnicodeSet(id, ppos, USET_IGNORE_SPACE, NULL, ec); in parseGlobalFilter()
291 id.extractBetween(pos, ppos.getIndex(), pattern); in parseGlobalFilter()
292 pos = ppos.getIndex(); in parseGlobalFilter()
726 ParsePosition ppos(pos); in parseFilterID() local
728 UnicodeSet set(id, ppos, USET_IGNORE_SPACE, NULL, ec); in parseFilterID()
733 id.extractBetween(pos, ppos.getIndex(), filter); in parseFilterID()
734 pos = ppos.getIndex(); in parseFilterID()
Ddecimfmt.cpp3451 ParsePosition ppos(pos);
3455 uprv_parseCurrency(loc, text, ppos, type, curr, ec);
3458 if (U_SUCCESS(ec) && ppos.getIndex() != pos) {
3472 pos = ppos.getIndex();
/external/jhead/
Djhead.c605 int ppos = -1;
608 ppos = a;
610 if (ppos >= 0 && a<ppos+4){
614 memcpy(pat, pattern+ppos, 4);
615 pat[a-ppos] = 'd'; // Replace 'i' with 'd' for '%d'
616 pat[a-ppos+1] = '\0';
620 if (ppos+nl+l+1 >= PATH_MAX) ErrFatal("str overflow");
621 memmove(pattern+ppos+nl, pattern+a+1, l+1);
622 memcpy(pattern+ppos, num, nl);
626 ppos = -1;
/external/icu/icu4c/source/test/intltest/
Ddtfmapts.cpp289 ParsePosition ppos; in TestNameHiding() local
317 sdf.parse(str, ppos); in TestNameHiding()
352 fmt.parse(str, obj, ppos); in TestNameHiding()
372 fmt.parse(str, obj, ppos); in TestNameHiding()
Ddtfmttst.cpp3437 ParsePosition ppos; in TestRoundtripWithCalendar() local
3473 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3474 ppos.setIndex(0); in TestRoundtripWithCalendar()
3478 formatters[i]->parse(refStr, *calendars[i], ppos); in TestRoundtripWithCalendar()
3486 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3487 ppos.setIndex(0); in TestRoundtripWithCalendar()
3491 formatters[i]->parse(refStr, *calendars[j], ppos); in TestRoundtripWithCalendar()
4098 ParsePosition ppos(0); in TestMonthPatterns() local
4105 dmft->parse(result, *rootChineseCalendar, ppos); in TestMonthPatterns()
4110 …if ( ppos.getIndex() < result.length() || year != datePtr->year || month != datePtr->month || isLe… in TestMonthPatterns()
[all …]
Dnumfmtst.cpp177 ParsePosition ppos; in TestAPI() local
178 LocalPointer<CurrencyAmount> currAmt(test->parseCurrency("",ppos)); in TestAPI()
180 if (ppos.getIndex()) { in TestAPI()
2698 ParsePosition ppos; in expectParseCurrency() local
2700 LocalPointer<CurrencyAmount> currencyAmount(fmt.parseCurrency(utext, ppos)); in expectParseCurrency()
2701 if (!ppos.getIndex()) { in expectParseCurrency()
7164 ParsePosition ppos; in TestParseNegativeWithFaLocale() local
7167 test->parse(value, af, ppos); in TestParseNegativeWithFaLocale()
7168 if (ppos.getIndex() == 0) { in TestParseNegativeWithFaLocale()
7180 ParsePosition ppos; in TestParseNegativeWithAlternateMinusSign() local
[all …]
Ddtfmrgts.cpp821 ParsePosition ppos [] = { in Test4104136() local
841 ParsePosition finish = ppos[i]; in Test4104136()
/external/icu/icu4c/source/test/cintltst/
Dcnmdptst.c191 int32_t ppos; in TestExponential() local
284 ppos=0; in TestExponential()
285 a=unum_parseDouble(fmt, str, u_strlen(str), &ppos, &status); in TestExponential()
286 if (ppos== u_strlen(str)) { in TestExponential()
291 log_err(" FAIL: Partial parse ( %d chars ) -> %e\n", ppos, a); in TestExponential()
314 ppos=0; in TestExponential()
315 a=unum_parseDouble(fmt, str, u_strlen(str), &ppos, &status); in TestExponential()
316 if (ppos== u_strlen(str)) { in TestExponential()
322 log_err(" FAIL: Partial parse ( %d chars ) -> %e\n", ppos, a); in TestExponential()
/external/wpa_supplicant_8/src/eap_peer/
Dikev2.c203 const u8 *pend, *ppos; in ikev2_parse_proposal() local
249 ppos = (const u8 *) (p + 1); in ikev2_parse_proposal()
251 if (ppos + p->spi_size > pend) { in ikev2_parse_proposal()
258 ppos, p->spi_size); in ikev2_parse_proposal()
259 ppos += p->spi_size; in ikev2_parse_proposal()
278 int tlen = ikev2_parse_transform(prop, ppos, pend); in ikev2_parse_proposal()
281 ppos += tlen; in ikev2_parse_proposal()
284 if (ppos != pend) { in ikev2_parse_proposal()
/external/wpa_supplicant_8/src/eap_server/
Dikev2.c213 const u8 *pend, *ppos; in ikev2_parse_proposal() local
257 ppos = (const u8 *) (p + 1); in ikev2_parse_proposal()
259 if (ppos + p->spi_size > pend) { in ikev2_parse_proposal()
266 ppos, p->spi_size); in ikev2_parse_proposal()
267 ppos += p->spi_size; in ikev2_parse_proposal()
286 int tlen = ikev2_parse_transform(data, prop, ppos, pend); in ikev2_parse_proposal()
289 ppos += tlen; in ikev2_parse_proposal()
292 if (ppos != pend) { in ikev2_parse_proposal()
/external/linux-tools-perf/src/include/linux/
Dperf_event.h714 loff_t *ppos);
717 loff_t *ppos);
/external/icu/icu4c/source/common/
Duniset_props.cpp1179 ParsePosition& ppos, in applyPropertyPattern() argument
1181 int32_t pos = ppos.getIndex(); in applyPropertyPattern()
1267 ppos.setIndex(close + (posix ? 2 : 1)); in applyPropertyPattern()
/external/wpa_supplicant_8/src/radius/
Dradius.c986 u8 *plain, *ppos, *res; in decrypt_ms_key() local
1011 ppos = plain = os_malloc(plen); in decrypt_ms_key()
1035 *ppos++ = *pos++ ^ hash[i]; in decrypt_ms_key()
/external/icu/icu4c/source/common/unicode/
Duniset.h1585 ParsePosition& ppos,
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSet.java3576 … private UnicodeSet applyPropertyPattern(String pattern, ParsePosition ppos, SymbolTable symbols) { in applyPropertyPattern() argument
3577 int pos = ppos.getIndex(); in applyPropertyPattern()
3655 ppos.setIndex(close + (posix ? 2 : 1)); in applyPropertyPattern()
DDecimalFormat.java3037 ParsePosition ppos = new ParsePosition(pos); in compareComplexAffix()
3039 String iso = Currency.parse(uloc, text, type, ppos); in compareComplexAffix()
3055 pos = ppos.getIndex(); in compareComplexAffix()