Home
last modified time | relevance | path

Searched refs:parsePos (Results 1 – 20 of 20) sorted by relevance

/external/icu/icu4c/source/i18n/
Dunum.cpp325 int32_t *parsePos /* 0 = start */, in parseRes() argument
334 if(parsePos != 0) in parseRes()
335 pp.setIndex(*parsePos); in parseRes()
341 if(parsePos != 0) { in parseRes()
342 *parsePos = pp.getErrorIndex(); in parseRes()
344 } else if(parsePos != 0) { in parseRes()
345 *parsePos = pp.getIndex(); in parseRes()
353 int32_t *parsePos /* 0 = start */, in unum_parse() argument
357 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parse()
365 int32_t *parsePos /* 0 = start */, in unum_parseInt64() argument
[all …]
Dudat.cpp244 int32_t *parsePos, in udat_parse() argument
254 if(parsePos == NULL) { in udat_parse()
255 parsePos = &stackParsePos; in udat_parse()
258 pp.setIndex(*parsePos); in udat_parse()
263 *parsePos = pp.getIndex(); in udat_parse()
265 *parsePos = pp.getErrorIndex(); in udat_parse()
277 int32_t *parsePos, in udat_parseCalendar() argument
285 if(parsePos != 0) in udat_parseCalendar()
286 pp.setIndex(*parsePos); in udat_parseCalendar()
290 if(parsePos != 0) { in udat_parseCalendar()
[all …]
Dsmpdtfmt.cpp1720 SimpleDateFormat::parse(const UnicodeString& text, Calendar& cal, ParsePosition& parsePos) const in parse()
1723 int32_t pos = parsePos.getIndex(); in parse()
1894 parsePos.setIndex(pos); in parse()
2069 parsePos.setErrorIndex(pos); in parse()
2070 parsePos.setIndex(start); in parse()
/external/chromium_org/third_party/icu/source/io/
Duscanf_p.c424 int32_t parsePos = 0; in u_scanf_double_handler() local
453 num = unum_parseDouble(format, input->str.fPos, len, &parsePos, &status); in u_scanf_double_handler()
469 input->str.fPos += parsePos; in u_scanf_double_handler()
473 return parsePos + skipped; in u_scanf_double_handler()
489 int32_t parsePos = 0; in u_scanf_scientific_handler() local
552 num = unum_parseDouble(format, input->str.fPos, len, &parsePos, &status); in u_scanf_scientific_handler()
568 input->str.fPos += parsePos; in u_scanf_scientific_handler()
572 return parsePos + skipped; in u_scanf_scientific_handler()
588 int32_t scientificParsePos = 0, genericParsePos = 0, parsePos = 0; in u_scanf_scidbl_handler() local
637 parsePos += scientificParsePos; in u_scanf_scidbl_handler()
[all …]
/external/icu/icu4c/source/io/
Duscanf_p.c424 int32_t parsePos = 0; in u_scanf_double_handler() local
453 num = unum_parseDouble(format, input->str.fPos, len, &parsePos, &status); in u_scanf_double_handler()
469 input->str.fPos += parsePos; in u_scanf_double_handler()
473 return parsePos + skipped; in u_scanf_double_handler()
489 int32_t parsePos = 0; in u_scanf_scientific_handler() local
552 num = unum_parseDouble(format, input->str.fPos, len, &parsePos, &status); in u_scanf_scientific_handler()
568 input->str.fPos += parsePos; in u_scanf_scientific_handler()
572 return parsePos + skipped; in u_scanf_scientific_handler()
588 int32_t scientificParsePos = 0, genericParsePos = 0, parsePos = 0; in u_scanf_scidbl_handler() local
637 parsePos += scientificParsePos; in u_scanf_scidbl_handler()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Dunum.cpp353 int32_t *parsePos /* 0 = start */, in parseRes() argument
364 if(parsePos != 0) in parseRes()
365 pp.setIndex(*parsePos); in parseRes()
375 if(parsePos != 0) { in parseRes()
376 *parsePos = pp.getErrorIndex(); in parseRes()
378 } else if(parsePos != 0) { in parseRes()
379 *parsePos = pp.getIndex(); in parseRes()
387 int32_t *parsePos /* 0 = start */, in unum_parse() argument
391 parseRes(res, fmt, text, textLength, parsePos, FALSE, status); in unum_parse()
399 int32_t *parsePos /* 0 = start */, in unum_parseInt64() argument
[all …]
Dudat.cpp198 int32_t *parsePos, in udat_parse() argument
208 if(parsePos == NULL) { in udat_parse()
209 parsePos = &stackParsePos; in udat_parse()
212 pp.setIndex(*parsePos); in udat_parse()
217 *parsePos = pp.getIndex(); in udat_parse()
219 *parsePos = pp.getErrorIndex(); in udat_parse()
231 int32_t *parsePos, in udat_parseCalendar() argument
239 if(parsePos != 0) in udat_parseCalendar()
240 pp.setIndex(*parsePos); in udat_parseCalendar()
244 if(parsePos != 0) { in udat_parseCalendar()
[all …]
Dsmpdtfmt.cpp1778 SimpleDateFormat::parse(const UnicodeString& text, Calendar& cal, ParsePosition& parsePos) const in parse()
1781 int32_t pos = parsePos.getIndex(); in parse()
1993 parsePos.setIndex(pos); in parse()
2166 parsePos.setErrorIndex(pos); in parse()
2167 parsePos.setIndex(start); in parse()
/external/icu/icu4c/source/i18n/unicode/
Dunum.h625 int32_t *parsePos /* 0 = start */,
649 int32_t *parsePos /* 0 = start */,
673 int32_t *parsePos /* 0 = start */,
706 int32_t *parsePos /* 0 = start */,
734 int32_t* parsePos, /* 0 = start */
762 int32_t* parsePos, /* 0 = start */
Dudat.h993 int32_t *parsePos,
1022 int32_t *parsePos,
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dunum.h461 int32_t *parsePos /* 0 = start */,
485 int32_t *parsePos /* 0 = start */,
509 int32_t *parsePos /* 0 = start */,
542 int32_t *parsePos /* 0 = start */,
570 int32_t* parsePos, /* 0 = start */
Dudat.h627 int32_t *parsePos,
648 int32_t *parsePos,
/external/chromium_org/v8/tools/
Dtickprocessor.js679 this.parsePos = 0;
688 this.parsePos = 0;
706 var lineEndPos = this.symbols[0].indexOf('\n', this.parsePos);
709 this.parsePos = 0;
713 var line = this.symbols[0].substring(this.parsePos, lineEndPos);
714 this.parsePos = lineEndPos + 1;
736 this.parsePos = 0;
750 this.parsePos = 0;
786 var lineEndPos = this.symbols.indexOf('\r\n', this.parsePos);
791 var line = this.symbols.substring(this.parsePos, lineEndPos);
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcnumtst.c833 int32_t parsePos = 0; /* Output parameter for Parse operations. */ in TestNumberFormat() local
902 parsePos = 3; /* 12,345,678,900,987,654,321.12345679 */ in TestNumberFormat()
904 resultSize = unum_parseDecimal(fmt, dest, -1, &parsePos, desta, DESTCAPACITY, &status); in TestNumberFormat()
912 if (strlen(numFormatted) != parsePos) { in TestNumberFormat()
914 __FILE__, __LINE__, strlen(parseExpected), parsePos); in TestNumberFormat()
1048 int32_t parsePos; in TestParseCurrency() local
1056 parsePos = 0; in TestParseCurrency()
1057 parseVal = unum_parseDouble(unum, itemPtr->currStr, -1, &parsePos, &status); in TestParseCurrency()
1058 …if (status != itemPtr->parsDoubExpectErr || parsePos != itemPtr->parsDoubExpectPos || parseVal != … in TestParseCurrency()
1062 u_errorName(status), parsePos, parseVal ); in TestParseCurrency()
[all …]
Dcdattst.c501 int32_t parsePos = 0; in TestRelativeDateFormat() local
502 UDate dateResult = udat_parse(fmtRelDateTime, strDateTime, -1, &parsePos, &status); in TestRelativeDateFormat()
506 *stylePtr, myErrorName(status), dateToUse, dateResult, parsePos ); in TestRelativeDateFormat()
517 parsePos = 0; in TestRelativeDateFormat()
518 dateResult = udat_parse(fmtRelDate, strDate, -1, &parsePos, &status); in TestRelativeDateFormat()
522 *stylePtr, myErrorName(status), dateToUse, dateResult, parsePos ); in TestRelativeDateFormat()
896 int32_t parsePos = 0; in TestCalendarDateParse() local
933 udat_parseCalendar(simpleDateFormat, calendar, text, u_strlen(text), &parsePos, &ec); in TestCalendarDateParse()
947 parsePos = 0; in TestCalendarDateParse()
949 udat_parseCalendar(simpleDateFormat, calendar, text, u_strlen(text), &parsePos, &ec); in TestCalendarDateParse()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcnumtst.c837 int32_t parsePos = 0; /* Output parameter for Parse operations. */ in TestNumberFormat() local
907 parsePos = 3; /* 12,345,678,900,987,654,321.12345679 */ in TestNumberFormat()
909 resultSize = unum_parseDecimal(fmt, dest, -1, &parsePos, desta, DESTCAPACITY, &status); in TestNumberFormat()
917 if (strlen(numFormatted) != parsePos) { in TestNumberFormat()
919 __FILE__, __LINE__, strlen(parseExpected), parsePos); in TestNumberFormat()
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp6141 ParsePosition parsePos; in TestParseCurrencyInUCurr() local
6142 LocalPointer<CurrencyAmount> currAmt(numFmt->parseCurrency(formatted, parsePos)); in TestParseCurrencyInUCurr()
6143 if (parsePos.getIndex() > 0) { in TestParseCurrencyInUCurr()
6164 ParsePosition parsePos; in TestParseCurrencyInUCurr() local
6165 LocalPointer<CurrencyAmount> currAmt(numFmt->parseCurrency(formatted, parsePos)); in TestParseCurrencyInUCurr()
6166 if (parsePos.getIndex() > 0) { in TestParseCurrencyInUCurr()
6557 ParsePosition parsePos(0); in TestExponentParse() local
6575 fmt.parse("5.06e-27", result, parsePos); in TestExponentParse()
6578 parsePos.getIndex() != 8 in TestExponentParse()
6582 result.getDouble(), parsePos.getIndex()); in TestExponentParse()
Dtmsgfmt.cpp146 ParsePosition parsePos; in testBug3() local
147 form->parse(buffer, result, parsePos); in testBug3()
/external/chromium_org/third_party/icu/source/test/intltest/
Dtmsgfmt.cpp139 ParsePosition parsePos; in testBug3() local
140 form->parse(buffer, result, parsePos); in testBug3()
Dnumfmtst.cpp6196 ParsePosition parsePos(0); in TestExponentParse() local
6215 fmt.parse("123E4", result, parsePos); in TestExponentParse()
6218 parsePos.getIndex() != 3 in TestExponentParse()
6222 result.getDouble(), parsePos.getIndex()); in TestExponentParse()