Home
last modified time | relevance | path

Searched refs:ppos (Results 1 – 25 of 35) 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/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.java50 ParsePosition ppos = new ParsePosition(0); in Test10219FactionalPluralsParse() local
52 tuf.parseObject(parseString, ppos); in Test10219FactionalPluralsParse()
57 assertEquals("Test10219FractionalPluralParse", parseString.length(), ppos.getIndex()); in Test10219FactionalPluralsParse()
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 = new ParsePosition(0); in TestParseCurrPatternWithDecStyle() local
[all …]
DDateFormatTest.java3700 ParsePosition ppos = new ParsePosition(0); in TestRoundtripWithCalendar() local
3736 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3737 ppos.setIndex(0); in TestRoundtripWithCalendar()
3741 formatters[i].parse(refStr, calendars[i], ppos); in TestRoundtripWithCalendar()
3749 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3750 ppos.setIndex(0); in TestRoundtripWithCalendar()
3754 formatters[i].parse(refStr, calendars[j], ppos); in TestRoundtripWithCalendar()
4260 ParsePosition ppos = new ParsePosition(0); in TestMonthPatterns() local
4267 dfmt.parse(result.toString(), rootChineseCalendar, ppos); in TestMonthPatterns() local
4273 …if ( ppos.getIndex() < result.length() || year != date.year || month != date.month || isLeapMonth … in TestMonthPatterns()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDateFormatAPIC.java51 ParsePosition ppos = new ParsePosition(0); in TestNameHiding() local
77 sdf.parse(str, ppos); in TestNameHiding()
107 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()
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 = new ParsePosition(0); in TestParseCurrPatternWithDecStyle() local
[all …]
DDateFormatTest.java3701 ParsePosition ppos = new ParsePosition(0); in TestRoundtripWithCalendar() local
3737 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3738 ppos.setIndex(0); in TestRoundtripWithCalendar()
3742 formatters[i].parse(refStr, calendars[i], ppos); in TestRoundtripWithCalendar()
3750 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3751 ppos.setIndex(0); in TestRoundtripWithCalendar()
3755 formatters[i].parse(refStr, calendars[j], ppos); in TestRoundtripWithCalendar()
4261 ParsePosition ppos = new ParsePosition(0); in TestMonthPatterns() local
4268 dfmt.parse(result.toString(), rootChineseCalendar, ppos); in TestMonthPatterns() local
4274 …if ( ppos.getIndex() < result.length() || year != date.year || month != date.month || isLeapMonth … in TestMonthPatterns()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTransliteratorIDParser.java286 ParsePosition ppos = new ParsePosition(pos[0]); in parseGlobalFilter() local
288 filter = new UnicodeSet(id, ppos, null); in parseGlobalFilter()
294 String pattern = id.substring(pos[0], ppos.getIndex()); in parseGlobalFilter()
295 pos[0] = ppos.getIndex(); in parseGlobalFilter()
617 ParsePosition ppos = new ParsePosition(pos[0]); in parseFilterID() local
619 new UnicodeSet(id, ppos, null); in parseFilterID()
620 filter = id.substring(pos[0], ppos.getIndex()); in parseFilterID()
621 pos[0] = ppos.getIndex(); in parseFilterID()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliteratorIDParser.java285 ParsePosition ppos = new ParsePosition(pos[0]); in parseGlobalFilter() local
287 filter = new UnicodeSet(id, ppos, null); in parseGlobalFilter()
293 String pattern = id.substring(pos[0], ppos.getIndex()); in parseGlobalFilter()
294 pos[0] = ppos.getIndex(); in parseGlobalFilter()
616 ParsePosition ppos = new ParsePosition(pos[0]); in parseFilterID() local
618 new UnicodeSet(id, ppos, null); in parseFilterID()
619 filter = id.substring(pos[0], ppos.getIndex()); in parseFilterID()
620 pos[0] = ppos.getIndex(); in parseFilterID()
/external/icu/icu4c/source/i18n/
Dtridpars.cpp278 ParsePosition ppos(pos); in parseGlobalFilter() local
280 filter = new UnicodeSet(id, ppos, USET_IGNORE_SPACE, NULL, ec); in parseGlobalFilter()
293 id.extractBetween(pos, ppos.getIndex(), pattern); in parseGlobalFilter()
294 pos = ppos.getIndex(); in parseGlobalFilter()
728 ParsePosition ppos(pos); in parseFilterID() local
730 UnicodeSet set(id, ppos, USET_IGNORE_SPACE, NULL, ec); in parseFilterID()
735 id.extractBetween(pos, ppos.getIndex(), filter); in parseFilterID()
736 pos = ppos.getIndex(); in parseFilterID()
Ddecimfmt.cpp2170 ParsePosition ppos(pos); in compareComplexAffix() local
2174 uprv_parseCurrency(loc, text, ppos, type, curr, ec); in compareComplexAffix()
2177 if (U_SUCCESS(ec) && ppos.getIndex() != pos) { in compareComplexAffix()
2191 pos = ppos.getIndex(); in compareComplexAffix()
/external/icu/icu4c/source/test/intltest/
Ddtfmapts.cpp291 ParsePosition ppos; in TestNameHiding() local
319 sdf.parse(str, ppos); in TestNameHiding()
354 fmt.parse(str, obj, ppos); in TestNameHiding()
374 fmt.parse(str, obj, ppos); in TestNameHiding()
Dnumfmtst.cpp388 ParsePosition ppos; in isParsePass() local
389 fmtPtr->parse(tuple.parse, result, ppos); in isParsePass()
390 if (ppos.getIndex() == 0) { in isParsePass()
432 ParsePosition ppos; in isParseCurrencyPass() local
434 fmtPtr->parseCurrency(tuple.parse, ppos)); in isParseCurrencyPass()
435 if (ppos.getIndex() == 0) { in isParseCurrencyPass()
623 ParsePosition ppos; in TestAPI() local
624 LocalPointer<CurrencyAmount> currAmt(test->parseCurrency("",ppos)); in TestAPI()
626 if (ppos.getIndex()) { in TestAPI()
3147 ParsePosition ppos; in expectParseCurrency() local
[all …]
Ddtfmttst.cpp3479 ParsePosition ppos; in TestRoundtripWithCalendar() local
3515 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3516 ppos.setIndex(0); in TestRoundtripWithCalendar()
3520 formatters[i]->parse(refStr, *calendars[i], ppos); in TestRoundtripWithCalendar()
3528 ppos.setErrorIndex(-1); in TestRoundtripWithCalendar()
3529 ppos.setIndex(0); in TestRoundtripWithCalendar()
3533 formatters[i]->parse(refStr, *calendars[j], ppos); in TestRoundtripWithCalendar()
4140 ParsePosition ppos(0); in TestMonthPatterns() local
4147 dmft->parse(result, *rootChineseCalendar, ppos); in TestMonthPatterns()
4152 …if ( ppos.getIndex() < result.length() || year != datePtr->year || month != datePtr->month || isLe… in TestMonthPatterns()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcnmdptst.c194 int32_t ppos; in TestExponential() local
287 ppos=0; in TestExponential()
288 a=unum_parseDouble(fmt, str, u_strlen(str), &ppos, &status); in TestExponential()
289 if (ppos== u_strlen(str)) { in TestExponential()
294 log_err(" FAIL: Partial parse ( %d chars ) -> %e\n", ppos, a); in TestExponential()
317 ppos=0; in TestExponential()
318 a=unum_parseDouble(fmt, str, u_strlen(str), &ppos, &status); in TestExponential()
319 if (ppos== u_strlen(str)) { in TestExponential()
325 log_err(" FAIL: Partial parse ( %d chars ) -> %e\n", ppos, a); in TestExponential()
/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/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/python/cpython2/Doc/c-api/
Ddict.rst151 .. c:function:: int PyDict_Next(PyObject *p, Py_ssize_t *ppos, PyObject **pkey, PyObject **pvalue)
154 :c:type:`Py_ssize_t` referred to by *ppos* must be initialized to ``0``
160 them are borrowed. *ppos* should not be altered during iteration. Its
195 This function used an :c:type:`int *` type for *ppos*. This might require
/external/icu/icu4c/source/common/
Duniset_props.cpp1181 ParsePosition& ppos, in applyPropertyPattern() argument
1183 int32_t pos = ppos.getIndex(); in applyPropertyPattern()
1269 ppos.setIndex(close + (posix ? 2 : 1)); in applyPropertyPattern()
/external/python/cpython2/Objects/
Ddictobject.c974 PyDict_Next(PyObject *op, Py_ssize_t *ppos, PyObject **pkey, PyObject **pvalue) in PyDict_Next() argument
982 i = *ppos; in PyDict_Next()
989 *ppos = i+1; in PyDict_Next()
1001 _PyDict_Next(PyObject *op, Py_ssize_t *ppos, PyObject **pkey, PyObject **pvalue, long *phash) in _PyDict_Next() argument
1009 i = *ppos; in _PyDict_Next()
1016 *ppos = i+1; in _PyDict_Next()
/external/python/cpython2/Parser/
Dspark.py400 ppos = self.skip(prule)
401 new = (prule, ppos)
/external/wpa_supplicant_8/src/radius/
Dradius.c981 u8 *plain, *ppos, *res; in decrypt_ms_key() local
1006 ppos = plain = os_malloc(plen); in decrypt_ms_key()
1033 *ppos++ = *pos++ ^ hash[i]; in decrypt_ms_key()
/external/icu/icu4c/source/common/unicode/
Duniset.h1609 ParsePosition& ppos,

12