/external/icu/icu4c/source/i18n/ |
D | unum.cpp | 365 int32_t *parsePos /* 0 = start */, in parseRes() argument 374 if(parsePos != 0) in parseRes() 375 pp.setIndex(*parsePos); in parseRes() 381 if(parsePos != 0) { in parseRes() 382 *parsePos = pp.getErrorIndex(); in parseRes() 384 } else if(parsePos != 0) { in parseRes() 385 *parsePos = pp.getIndex(); in parseRes() 393 int32_t *parsePos /* 0 = start */, in unum_parse() argument 397 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parse() 405 int32_t *parsePos /* 0 = start */, in unum_parseInt64() argument [all …]
|
D | udat.cpp | 347 int32_t *parsePos, in udat_parse() argument 357 if(parsePos == NULL) { in udat_parse() 358 parsePos = &stackParsePos; in udat_parse() 361 pp.setIndex(*parsePos); in udat_parse() 366 *parsePos = pp.getIndex(); in udat_parse() 368 *parsePos = pp.getErrorIndex(); in udat_parse() 380 int32_t *parsePos, in udat_parseCalendar() argument 389 if(parsePos == NULL) { in udat_parseCalendar() 390 parsePos = &stackParsePos; in udat_parseCalendar() 393 pp.setIndex(*parsePos); in udat_parseCalendar() [all …]
|
D | smpdtfmt.cpp | 2149 SimpleDateFormat::parse(const UnicodeString& text, Calendar& cal, ParsePosition& parsePos) const in parse() 2152 int32_t pos = parsePos.getIndex(); in parse() 2153 if(parsePos.getIndex() < 0) { in parse() 2154 parsePos.setErrorIndex(0); in parse() 2401 parsePos.setIndex(pos); in parse() 2576 parsePos.setErrorIndex(pos); in parse() 2577 parsePos.setIndex(start); in parse()
|
/external/icu/icu4c/source/io/ |
D | uscanf_p.cpp | 438 int32_t parsePos = 0; in u_scanf_double_handler() local 467 num = unum_parseDouble(format, input->str.fPos, len, &parsePos, &status); in u_scanf_double_handler() 483 input->str.fPos += parsePos; in u_scanf_double_handler() 487 return parsePos + skipped; in u_scanf_double_handler() 506 int32_t parsePos = 0; in u_scanf_scientific_handler() local 569 num = unum_parseDouble(format, input->str.fPos, len, &parsePos, &status); in u_scanf_scientific_handler() 585 input->str.fPos += parsePos; in u_scanf_scientific_handler() 589 return parsePos + skipped; in u_scanf_scientific_handler() 608 int32_t scientificParsePos = 0, genericParsePos = 0, parsePos = 0; in u_scanf_scidbl_handler() local 657 parsePos += scientificParsePos; in u_scanf_scidbl_handler() [all …]
|
/external/icu/libandroidicu/include/unicode/ |
D | unum.h | 742 int32_t *parsePos /* 0 = start */, 768 int32_t *parsePos /* 0 = start */, 794 int32_t *parsePos /* 0 = start */, 829 int32_t *parsePos /* 0 = start */, 857 int32_t* parsePos, /* 0 = start */ 886 int32_t* parsePos, /* 0 = start */
|
D | udat.h | 1130 int32_t *parsePos, 1159 int32_t *parsePos,
|
/external/icu/icu4c/source/i18n/unicode/ |
D | unum.h | 742 int32_t *parsePos /* 0 = start */, 768 int32_t *parsePos /* 0 = start */, 794 int32_t *parsePos /* 0 = start */, 829 int32_t *parsePos /* 0 = start */, 857 int32_t* parsePos, /* 0 = start */ 886 int32_t* parsePos, /* 0 = start */
|
D | udat.h | 1130 int32_t *parsePos, 1159 int32_t *parsePos,
|
/external/v8/tools/ |
D | tickprocessor.js | 690 this.parsePos = 0; 699 this.parsePos = 0; 717 var lineEndPos = this.symbols[0].indexOf('\n', this.parsePos); 720 this.parsePos = 0; 724 var line = this.symbols[0].substring(this.parsePos, lineEndPos); 725 this.parsePos = lineEndPos + 1; 747 this.parsePos = 0; 764 this.parsePos = 0; 800 var lineEndPos = this.symbols.indexOf('\r\n', this.parsePos); 805 var line = this.symbols.substring(this.parsePos, lineEndPos); [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cnumtst.c | 849 int32_t parsePos = 0; /* Output parameter for Parse operations. */ in TestNumberFormat() local 921 parsePos = 3; /* 12,345,678,900,987,654,321.12345679 */ in TestNumberFormat() 923 resultSize = unum_parseDecimal(fmt, dest, -1, &parsePos, desta, DESTCAPACITY, &status); in TestNumberFormat() 934 if (strlen(numFormatted) != parsePos) { in TestNumberFormat() 936 __FILE__, __LINE__, strlen(parseExpected), parsePos); in TestNumberFormat() 1071 int32_t parsePos; in TestParseCurrency() local 1080 parsePos = 0; in TestParseCurrency() 1081 parseVal = unum_parseDouble(unum, currStr, -1, &parsePos, &status); in TestParseCurrency() 1082 …if (status != itemPtr->parsDoubExpectErr || parsePos != itemPtr->parsDoubExpectPos || parseVal != … in TestParseCurrency() 1086 u_errorName(status), parsePos, parseVal ); in TestParseCurrency() [all …]
|
D | cdattst.c | 518 int32_t parsePos = 0; in TestRelativeDateFormat() local 519 UDate dateResult = udat_parse(fmtRelDateTime, strDateTime, -1, &parsePos, &status); in TestRelativeDateFormat() 523 *stylePtr, myErrorName(status), dateToUse, dateResult, parsePos ); in TestRelativeDateFormat() 534 parsePos = 0; in TestRelativeDateFormat() 535 dateResult = udat_parse(fmtRelDate, strDate, -1, &parsePos, &status); in TestRelativeDateFormat() 539 *stylePtr, myErrorName(status), dateToUse, dateResult, parsePos ); in TestRelativeDateFormat() 964 int32_t parsePos = 0; in TestCalendarDateParse() local 1001 udat_parseCalendar(simpleDateFormat, calendar, text, u_strlen(text), &parsePos, &ec); in TestCalendarDateParse() 1015 parsePos = 0; in TestCalendarDateParse() 1017 udat_parseCalendar(simpleDateFormat, calendar, text, u_strlen(text), &parsePos, &ec); in TestCalendarDateParse()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 2353 public void parse(String text, Calendar cal, ParsePosition parsePos) in parse() argument 2368 int pos = parsePos.getIndex(); in parse() 2370 parsePos.setErrorIndex(0); in parse() 2439 parsePos.setIndex(start); in parse() 2440 parsePos.setErrorIndex(pos); in parse() 2471 parsePos.setIndex(start); in parse() 2472 parsePos.setErrorIndex(s); in parse() 2503 parsePos.setIndex(start); in parse() 2504 parsePos.setErrorIndex(s); in parse() 2520 parsePos.setIndex(start); in parse() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | SimpleDateFormat.java | 2340 public void parse(String text, Calendar cal, ParsePosition parsePos) in parse() argument 2355 int pos = parsePos.getIndex(); in parse() 2357 parsePos.setErrorIndex(0); in parse() 2426 parsePos.setIndex(start); in parse() 2427 parsePos.setErrorIndex(pos); in parse() 2458 parsePos.setIndex(start); in parse() 2459 parsePos.setErrorIndex(s); in parse() 2490 parsePos.setIndex(start); in parse() 2491 parsePos.setErrorIndex(s); in parse() 2507 parsePos.setIndex(start); in parse() [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 348 public void parse(String text, Calendar cal, ParsePosition parsePos) in parse() argument 351 cal.setTime(dateFormat.parse(text, parsePos)); in parse()
|
/external/icu/libandroidicu/static_shim/ |
D | shim.cpp | 1426 …UDateFormat * format, const UChar * text, int32_t textLength, int32_t * parsePos, UErrorCode * sta… in udat_parse_android() argument 1427 return udat_parse(format, text, textLength, parsePos, status); in udat_parse_android() 1429 …UCalendar * calendar, const UChar * text, int32_t textLength, int32_t * parsePos, UErrorCode * sta… in udat_parseCalendar_android() argument 1430 udat_parseCalendar(format, calendar, text, textLength, parsePos, status); in udat_parseCalendar_android() 2061 … UNumberFormat * fmt, const UChar * text, int32_t textLength, int32_t * parsePos, UErrorCode * sta… in unum_parse_android() argument 2062 return unum_parse(fmt, text, textLength, parsePos, status); in unum_parse_android() 2064 … UNumberFormat * fmt, const UChar * text, int32_t textLength, int32_t * parsePos, char * outBuf, i… in unum_parseDecimal_android() argument 2065 return unum_parseDecimal(fmt, text, textLength, parsePos, outBuf, outBufLength, status); in unum_parseDecimal_android() 2067 … UNumberFormat * fmt, const UChar * text, int32_t textLength, int32_t * parsePos, UErrorCode * sta… in unum_parseDouble_android() argument 2068 return unum_parseDouble(fmt, text, textLength, parsePos, status); in unum_parseDouble_android() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatTest.java | 925 ParsePosition parsePos = new ParsePosition(0); in TestParseCurrency() local 927 Number numVal = fmt.parse(currStr, parsePos); in TestParseCurrency() 928 …if ( parsePos.getIndex() != item.getDoubExpectPos() || (numVal != null && numVal.intValue() != ite… in TestParseCurrency() 932 ", get " + parsePos.getIndex() + "/" + numVal.intValue() ); in TestParseCurrency() 936 ", get " + parsePos.getIndex() + "/(NULL)" ); in TestParseCurrency() 940 parsePos.setIndex(0); in TestParseCurrency() 942 CurrencyAmount currAmt = fmt.parseCurrency(currStr, parsePos); in TestParseCurrency() 943 …if ( parsePos.getIndex() != curExpectPos || (currAmt != null && (currAmt.getNumber().intValue() !=… in TestParseCurrency() 948 …", get " + parsePos.getIndex() + "/" + currAmt.getNumber().intValue() + "/" + currAmt.getCurrency(… in TestParseCurrency() 952 ", get " + parsePos.getIndex() + "/(NULL)" ); in TestParseCurrency() [all …]
|
D | TestMessageFormat.java | 108 ParsePosition parsePos = new ParsePosition(0); in TestBug3() local 120 parsePos.setIndex(0); in TestBug3() 121 Object result = form.parse(buffer.toString(), parsePos); in TestBug3() 123 if (parsePos.getIndex() != buffer.length()) { in TestBug3()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatTest.java | 922 ParsePosition parsePos = new ParsePosition(0); in TestParseCurrency() local 924 Number numVal = fmt.parse(currStr, parsePos); in TestParseCurrency() 925 …if ( parsePos.getIndex() != item.getDoubExpectPos() || (numVal != null && numVal.intValue() != ite… in TestParseCurrency() 929 ", get " + parsePos.getIndex() + "/" + numVal.intValue() ); in TestParseCurrency() 933 ", get " + parsePos.getIndex() + "/(NULL)" ); in TestParseCurrency() 937 parsePos.setIndex(0); in TestParseCurrency() 939 CurrencyAmount currAmt = fmt.parseCurrency(currStr, parsePos); in TestParseCurrency() 940 …if ( parsePos.getIndex() != curExpectPos || (currAmt != null && (currAmt.getNumber().intValue() !=… in TestParseCurrency() 945 …", get " + parsePos.getIndex() + "/" + currAmt.getNumber().intValue() + "/" + currAmt.getCurrency(… in TestParseCurrency() 949 ", get " + parsePos.getIndex() + "/(NULL)" ); in TestParseCurrency() [all …]
|
D | TestMessageFormat.java | 105 ParsePosition parsePos = new ParsePosition(0); in TestBug3() local 117 parsePos.setIndex(0); in TestBug3() 118 Object result = form.parse(buffer.toString(), parsePos); in TestBug3() 120 if (parsePos.getIndex() != buffer.length()) { in TestBug3()
|
/external/icu/icu4c/source/test/intltest/ |
D | numfmtst.cpp | 6415 ParsePosition parsePos; in TestParseCurrencyInUCurr() local 6416 LocalPointer<CurrencyAmount> currAmt(numFmt->parseCurrency(formatted, parsePos)); in TestParseCurrencyInUCurr() 6417 if (parsePos.getIndex() > 0) { in TestParseCurrencyInUCurr() 6432 ParsePosition parsePos; in TestParseCurrencyInUCurr() local 6433 LocalPointer<CurrencyAmount> currAmt(numFmt->parseCurrency(formatted, parsePos)); in TestParseCurrencyInUCurr() 6434 if (parsePos.getIndex() > 0) { in TestParseCurrencyInUCurr() 6821 ParsePosition parsePos(0); in TestExponentParse() local 6839 fmt.parse("5.06e-27", result, parsePos); in TestExponentParse() 6842 parsePos.getIndex() != 8 in TestExponentParse() 6846 result.getDouble(), parsePos.getIndex()); in TestExponentParse()
|
D | tmsgfmt.cpp | 150 ParsePosition parsePos; in testBug3() local 151 form->parse(buffer, result, parsePos); in testBug3()
|