Searched refs:ppos (Results 1 - 25 of 37) sorted by relevance

12

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DIntlTestDateFormatAPIC.java51 ParsePosition ppos = new ParsePosition(0);
77 sdf.parse(str, ppos);
107 Number obj = fmt.parse(str, ppos);
132 Number obj = fmt.parse(str, ppos);
H A DTimeUnitTest.java51 ParsePosition ppos = new ParsePosition(0);
53 tuf.parseObject(parseString, ppos);
58 assertEquals("Test10219FractionalPluralParse", parseString.length(), ppos.getIndex());
H A DDateFormatTest.java3701 ParsePosition ppos = new ParsePosition(0);
3737 ppos.setErrorIndex(-1);
3738 ppos.setIndex(0);
3742 formatters[i].parse(refStr, calendars[i], ppos);
3750 ppos.setErrorIndex(-1);
3751 ppos.setIndex(0);
3755 formatters[i].parse(refStr, calendars[j], ppos);
4261 ParsePosition ppos = new ParsePosition(0);
4268 dfmt.parse(result.toString(), rootChineseCalendar, ppos);
4274 if ( ppos
[all...]
H A DNumberFormatTest.java112 ParsePosition ppos = new ParsePosition(0);
113 Number actual = fmt.parse(tuple.parse, ppos);
114 if (ppos.getIndex() == 0) {
134 ParsePosition ppos = new ParsePosition(0);
135 CurrencyAmount currAmt = fmt.parseCurrency(tuple.parse, ppos);
136 if (ppos.getIndex() == 0) {
317 ParsePosition ppos = new ParsePosition(0);
318 Number actual = fmt.parse(tuple.parse, ppos);
319 if (ppos.getIndex() == 0) {
1254 ParsePosition ppos
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DIntlTestDateFormatAPIC.java50 ParsePosition ppos = new ParsePosition(0);
76 sdf.parse(str, ppos);
106 Number obj = fmt.parse(str, ppos);
131 Number obj = fmt.parse(str, ppos);
H A DTimeUnitTest.java50 ParsePosition ppos = new ParsePosition(0);
52 tuf.parseObject(parseString, ppos);
57 assertEquals("Test10219FractionalPluralParse", parseString.length(), ppos.getIndex());
H A DDateFormatTest.java3700 ParsePosition ppos = new ParsePosition(0);
3736 ppos.setErrorIndex(-1);
3737 ppos.setIndex(0);
3741 formatters[i].parse(refStr, calendars[i], ppos);
3749 ppos.setErrorIndex(-1);
3750 ppos.setIndex(0);
3754 formatters[i].parse(refStr, calendars[j], ppos);
4260 ParsePosition ppos = new ParsePosition(0);
4267 dfmt.parse(result.toString(), rootChineseCalendar, ppos);
4273 if ( ppos
[all...]
H A DNumberFormatTest.java111 ParsePosition ppos = new ParsePosition(0);
112 Number actual = fmt.parse(tuple.parse, ppos);
113 if (ppos.getIndex() == 0) {
133 ParsePosition ppos = new ParsePosition(0);
134 CurrencyAmount currAmt = fmt.parseCurrency(tuple.parse, ppos);
135 if (ppos.getIndex() == 0) {
316 ParsePosition ppos = new ParsePosition(0);
317 Number actual = fmt.parse(tuple.parse, ppos);
318 if (ppos.getIndex() == 0) {
1253 ParsePosition ppos
[all...]
/external/fonttools/Lib/fontTools/ttLib/tables/
H A DC_P_A_L_.py24 ppos = goffsetFirstColorRecord + startIndex * 4
26 palette.append( Color(*struct.unpack(">BBBB", data[ppos:ppos+4])) )
27 ppos += 4
/external/fonttools/Tools/fontTools/ttLib/tables/
H A 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/java/android/icu/text/
H A DTransliteratorIDParser.java286 ParsePosition ppos = new ParsePosition(pos[0]);
288 filter = new UnicodeSet(id, ppos, null);
294 String pattern = id.substring(pos[0], ppos.getIndex());
295 pos[0] = ppos.getIndex();
617 ParsePosition ppos = new ParsePosition(pos[0]);
619 new UnicodeSet(id, ppos, null);
620 filter = id.substring(pos[0], ppos.getIndex());
621 pos[0] = ppos.getIndex();
/external/icu/icu4c/source/i18n/
H A Dtridpars.cpp278 ParsePosition ppos(pos);
280 filter = new UnicodeSet(id, ppos, USET_IGNORE_SPACE, NULL, ec);
293 id.extractBetween(pos, ppos.getIndex(), pattern);
294 pos = ppos.getIndex();
728 ParsePosition ppos(pos);
730 UnicodeSet set(id, ppos, USET_IGNORE_SPACE, NULL, ec);
735 id.extractBetween(pos, ppos.getIndex(), filter);
736 pos = ppos.getIndex();
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DTransliteratorIDParser.java285 ParsePosition ppos = new ParsePosition(pos[0]);
287 filter = new UnicodeSet(id, ppos, null);
293 String pattern = id.substring(pos[0], ppos.getIndex());
294 pos[0] = ppos.getIndex();
616 ParsePosition ppos = new ParsePosition(pos[0]);
618 new UnicodeSet(id, ppos, null);
619 filter = id.substring(pos[0], ppos.getIndex());
620 pos[0] = ppos.getIndex();
/external/icu/icu4c/source/test/intltest/
H A Ddtfmapts.cpp291 ParsePosition ppos; local
319 sdf.parse(str, ppos);
354 fmt.parse(str, obj, ppos);
374 fmt.parse(str, obj, ppos);
H A Ddtfmttst.cpp3479 ParsePosition ppos; local
3515 ppos.setErrorIndex(-1);
3516 ppos.setIndex(0);
3520 formatters[i]->parse(refStr, *calendars[i], ppos);
3528 ppos.setErrorIndex(-1);
3529 ppos.setIndex(0);
3533 formatters[i]->parse(refStr, *calendars[j], ppos);
4140 ParsePosition ppos(0);
4147 dmft->parse(result, *rootChineseCalendar, ppos);
4152 if ( ppos
[all...]
H A Dnumfmtst.cpp388 ParsePosition ppos; local
389 fmtPtr->parse(tuple.parse, result, ppos);
390 if (ppos.getIndex() == 0) {
432 ParsePosition ppos; local
434 fmtPtr->parseCurrency(tuple.parse, ppos));
435 if (ppos.getIndex() == 0) {
623 ParsePosition ppos; local
624 LocalPointer<CurrencyAmount> currAmt(test->parseCurrency("",ppos));
626 if (ppos.getIndex()) {
3147 ParsePosition ppos; local
7630 ParsePosition ppos; local
7646 ParsePosition ppos; local
7771 ParsePosition ppos; local
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dcnmdptst.c194 int32_t ppos; local
287 ppos=0;
288 a=unum_parseDouble(fmt, str, u_strlen(str), &ppos, &status);
289 if (ppos== u_strlen(str)) {
294 log_err(" FAIL: Partial parse ( %d chars ) -> %e\n", ppos, a);
317 ppos=0;
318 a=unum_parseDouble(fmt, str, u_strlen(str), &ppos, &status);
319 if (ppos== u_strlen(str)) {
325 log_err(" FAIL: Partial parse ( %d chars ) -> %e\n", ppos, a);
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Dikev2.c203 const u8 *pend, *ppos; local
249 ppos = (const u8 *) (p + 1);
251 if (p->spi_size > pend - ppos) {
258 ppos, p->spi_size);
259 ppos += p->spi_size;
278 int tlen = ikev2_parse_transform(prop, ppos, pend);
281 ppos += tlen;
284 if (ppos != pend) {
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Dikev2.c213 const u8 *pend, *ppos; local
257 ppos = (const u8 *) (p + 1);
259 if (p->spi_size > pend - ppos) {
266 ppos, p->spi_size);
267 ppos += p->spi_size;
286 int tlen = ikev2_parse_transform(data, prop, ppos, pend);
289 ppos += tlen;
292 if (ppos != pend) {
/external/wpa_supplicant_8/src/eap_peer/
H A Dikev2.c203 const u8 *pend, *ppos; local
249 ppos = (const u8 *) (p + 1);
251 if (p->spi_size > pend - ppos) {
258 ppos, p->spi_size);
259 ppos += p->spi_size;
278 int tlen = ikev2_parse_transform(prop, ppos, pend);
281 ppos += tlen;
284 if (ppos != pend) {
/external/wpa_supplicant_8/src/eap_server/
H A Dikev2.c213 const u8 *pend, *ppos; local
257 ppos = (const u8 *) (p + 1);
259 if (p->spi_size > pend - ppos) {
266 ppos, p->spi_size);
267 ppos += p->spi_size;
286 int tlen = ikev2_parse_transform(data, prop, ppos, pend);
289 ppos += tlen;
292 if (ppos != pend) {
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Dikev2.c203 const u8 *pend, *ppos; local
249 ppos = (const u8 *) (p + 1);
251 if (p->spi_size > pend - ppos) {
258 ppos, p->spi_size);
259 ppos += p->spi_size;
278 int tlen = ikev2_parse_transform(prop, ppos, pend);
281 ppos += tlen;
284 if (ppos != pend) {
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Dikev2.c213 const u8 *pend, *ppos; local
257 ppos = (const u8 *) (p + 1);
259 if (p->spi_size > pend - ppos) {
266 ppos, p->spi_size);
267 ppos += p->spi_size;
286 int tlen = ikev2_parse_transform(data, prop, ppos, pend);
289 ppos += tlen;
292 if (ppos != pend) {
/external/icu/icu4c/source/common/
H A Duniset_props.cpp1181 ParsePosition& ppos,
1183 int32_t pos = ppos.getIndex();
1196 // On entry, ppos should point to one of the following locations:
1269 ppos.setIndex(close + (posix ? 2 : 1));
1180 applyPropertyPattern(const UnicodeString& pattern, ParsePosition& ppos, UErrorCode &ec) argument
/external/icu/icu4c/source/common/unicode/
H A Duniset.h1596 * @param ppos on entry, the position at which to begin parsing.
1603 * the locations marked '%'. If the parse fails, ppos is returned
1609 ParsePosition& ppos,

Completed in 477 milliseconds

12