Home
last modified time | relevance | path

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

12

/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/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDateFormatAPIC.java54 ParsePosition ppos = new ParsePosition(0); in TestNameHiding() local
80 sdf.parse(str, ppos); in TestNameHiding()
110 Number obj = fmt.parse(str, ppos); in TestNameHiding()
DTimeUnitTest.java51 ParsePosition ppos = new ParsePosition(0); in Test10219FactionalPluralsParse() local
53 tuf.parseObject(parseString, ppos); in Test10219FactionalPluralsParse()
58 assertEquals("Test10219FractionalPluralParse", parseString.length(), ppos.getIndex()); in Test10219FactionalPluralsParse()
DDateFormatTest.java3654 ParsePosition ppos = new ParsePosition(0); in TestRoundtripWithCalendar() local
3690 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3691 ppos.setIndex(0); in TestRoundtripWithCalendar()
3695 formatters[i].parse(refStr, calendars[i], ppos); in TestRoundtripWithCalendar()
3703 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3704 ppos.setIndex(0); in TestRoundtripWithCalendar()
3708 formatters[i].parse(refStr, calendars[j], ppos); in TestRoundtripWithCalendar()
4203 ParsePosition ppos = new ParsePosition(0); in TestMonthPatterns() local
4210 dfmt.parse(result.toString(), rootChineseCalendar, ppos); in TestMonthPatterns() local
4216 …if ( ppos.getIndex() < result.length() || year != date.year || month != date.month || isLeapMonth … in TestMonthPatterns()
[all …]
DNumberFormatTest.java108 ParsePosition ppos = new ParsePosition(0);
109 Number actual = fmt.parse(tuple.parse, ppos);
110 if (ppos.getIndex() == 0) {
130 ParsePosition ppos = new ParsePosition(0);
131 CurrencyAmount currAmt = fmt.parseCurrency(tuple.parse, ppos);
132 if (ppos.getIndex() == 0) {
313 ParsePosition ppos = new ParsePosition(0);
314 Number actual = fmt.parse(tuple.parse, ppos);
315 if (ppos.getIndex() == 0) {
4153 ParsePosition ppos = new ParsePosition(0);
[all …]
/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.java3650 ParsePosition ppos = new ParsePosition(0); in TestRoundtripWithCalendar() local
3686 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3687 ppos.setIndex(0); in TestRoundtripWithCalendar()
3691 formatters[i].parse(refStr, calendars[i], ppos); in TestRoundtripWithCalendar()
3699 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3700 ppos.setIndex(0); in TestRoundtripWithCalendar()
3704 formatters[i].parse(refStr, calendars[j], ppos); in TestRoundtripWithCalendar()
4199 ParsePosition ppos = new ParsePosition(0); in TestMonthPatterns() local
4206 dfmt.parse(result.toString(), rootChineseCalendar, ppos); in TestMonthPatterns() local
4212 …if ( ppos.getIndex() < result.length() || year != date.year || month != date.month || isLeapMonth … in TestMonthPatterns()
[all …]
DNumberFormatTest.java104 ParsePosition ppos = new ParsePosition(0);
105 Number actual = fmt.parse(tuple.parse, ppos);
106 if (ppos.getIndex() == 0) {
126 ParsePosition ppos = new ParsePosition(0);
127 CurrencyAmount currAmt = fmt.parseCurrency(tuple.parse, ppos);
128 if (ppos.getIndex() == 0) {
309 ParsePosition ppos = new ParsePosition(0);
310 Number actual = fmt.parse(tuple.parse, ppos);
311 if (ppos.getIndex() == 0) {
4149 ParsePosition ppos = new ParsePosition(0);
[all …]
/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/android_icu4j/src/main/java/android/icu/text/
DTransliteratorIDParser.java284 ParsePosition ppos = new ParsePosition(pos[0]); in parseGlobalFilter() local
286 filter = new UnicodeSet(id, ppos, null); in parseGlobalFilter()
292 String pattern = id.substring(pos[0], ppos.getIndex()); in parseGlobalFilter()
293 pos[0] = ppos.getIndex(); in parseGlobalFilter()
615 ParsePosition ppos = new ParsePosition(pos[0]); in parseFilterID() local
617 new UnicodeSet(id, ppos, null); in parseFilterID()
618 filter = id.substring(pos[0], ppos.getIndex()); in parseFilterID()
619 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.cpp2156 ParsePosition ppos(pos); in compareComplexAffix() local
2160 uprv_parseCurrency(loc, text, ppos, type, curr, ec); in compareComplexAffix()
2163 if (U_SUCCESS(ec) && ppos.getIndex() != pos) { in compareComplexAffix()
2177 pos = ppos.getIndex(); in compareComplexAffix()
/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.cpp3466 ParsePosition ppos; in TestRoundtripWithCalendar() local
3502 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3503 ppos.setIndex(0); in TestRoundtripWithCalendar()
3507 formatters[i]->parse(refStr, *calendars[i], ppos); in TestRoundtripWithCalendar()
3515 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3516 ppos.setIndex(0); in TestRoundtripWithCalendar()
3520 formatters[i]->parse(refStr, *calendars[j], ppos); in TestRoundtripWithCalendar()
4127 ParsePosition ppos(0); in TestMonthPatterns() local
4134 dmft->parse(result, *rootChineseCalendar, ppos); in TestMonthPatterns()
4139 …if ( ppos.getIndex() < result.length() || year != datePtr->year || month != datePtr->month || isLe… in TestMonthPatterns()
[all …]
Dnumfmtst.cpp385 ParsePosition ppos; in isParsePass() local
386 fmtPtr->parse(tuple.parse, result, ppos); in isParsePass()
387 if (ppos.getIndex() == 0) { in isParsePass()
429 ParsePosition ppos; in isParseCurrencyPass() local
431 fmtPtr->parseCurrency(tuple.parse, ppos)); in isParseCurrencyPass()
432 if (ppos.getIndex() == 0) { in isParseCurrencyPass()
620 ParsePosition ppos; in TestAPI() local
621 LocalPointer<CurrencyAmount> currAmt(test->parseCurrency("",ppos)); in TestAPI()
623 if (ppos.getIndex()) { in TestAPI()
3145 ParsePosition ppos; in expectParseCurrency() 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 (p->spi_size > pend - ppos) { 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 (p->spi_size > pend - ppos) { 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/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.c975 u8 *plain, *ppos, *res; in decrypt_ms_key() local
1000 ppos = plain = os_malloc(plen); in decrypt_ms_key()
1024 *ppos++ = *pos++ ^ hash[i]; in decrypt_ms_key()
/external/icu/icu4c/source/common/unicode/
Duniset.h1607 ParsePosition& ppos,
/external/opencv3/modules/videoio/src/
Dcap_mjpeg_encoder.cpp563 size_t ppos = frameNumIndexes.back(); in finishWriteAVI() local
565 strm.patchInt(nframes, ppos); in finishWriteAVI()

12