Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Dunum.cpp321 int32_t *parsePos /* 0 = start */, in parseRes() argument
330 if(parsePos != 0) in parseRes()
331 pp.setIndex(*parsePos); in parseRes()
337 if(parsePos != 0) { in parseRes()
338 *parsePos = pp.getErrorIndex(); in parseRes()
340 } else if(parsePos != 0) { in parseRes()
341 *parsePos = pp.getIndex(); in parseRes()
349 int32_t *parsePos /* 0 = start */, in unum_parse() argument
353 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parse()
361 int32_t *parsePos /* 0 = start */, in unum_parseInt64() argument
[all …]
Dudat.cpp241 int32_t *parsePos, in udat_parse() argument
251 if(parsePos == NULL) { in udat_parse()
252 parsePos = &stackParsePos; in udat_parse()
255 pp.setIndex(*parsePos); in udat_parse()
260 *parsePos = pp.getIndex(); in udat_parse()
262 *parsePos = pp.getErrorIndex(); in udat_parse()
274 int32_t *parsePos, in udat_parseCalendar() argument
282 if(parsePos != 0) in udat_parseCalendar()
283 pp.setIndex(*parsePos); in udat_parseCalendar()
287 if(parsePos != 0) { in udat_parseCalendar()
[all …]
Dsmpdtfmt.cpp1611 SimpleDateFormat::parse(const UnicodeString& text, Calendar& cal, ParsePosition& parsePos) const in parse()
1614 int32_t pos = parsePos.getIndex(); in parse()
1789 parsePos.setIndex(pos); in parse()
1964 parsePos.setErrorIndex(pos); in parse()
1965 parsePos.setIndex(start); in parse()
/external/icu4c/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/v8/tools/
Dtickprocessor.js613 this.parsePos = 0;
621 this.parsePos = 0;
638 var lineEndPos = this.symbols[0].indexOf('\n', this.parsePos);
641 this.parsePos = 0;
645 var line = this.symbols[0].substring(this.parsePos, lineEndPos);
646 this.parsePos = lineEndPos + 1;
668 this.parsePos = 0;
680 this.parsePos = 0;
715 var lineEndPos = this.symbols.indexOf('\r\n', this.parsePos);
720 var line = this.symbols.substring(this.parsePos, lineEndPos);
[all …]
/external/icu4c/i18n/unicode/
Dunum.h555 int32_t *parsePos /* 0 = start */,
579 int32_t *parsePos /* 0 = start */,
603 int32_t *parsePos /* 0 = start */,
636 int32_t *parsePos /* 0 = start */,
664 int32_t* parsePos, /* 0 = start */
Dudat.h875 int32_t *parsePos,
904 int32_t *parsePos,
/external/icu4c/test/cintltst/
Dcnumtst.c817 int32_t parsePos = 0; /* Output parameter for Parse operations. */ in TestNumberFormat() local
886 parsePos = 3; /* 12,345,678,900,987,654,321.12345679 */ in TestNumberFormat()
888 resultSize = unum_parseDecimal(fmt, dest, -1, &parsePos, desta, DESTCAPACITY, &status); in TestNumberFormat()
896 if (strlen(numFormatted) != parsePos) { in TestNumberFormat()
898 __FILE__, __LINE__, strlen(parseExpected), parsePos); in TestNumberFormat()
1032 int32_t parsePos; in TestParseCurrency() local
1040 parsePos = 0; in TestParseCurrency()
1041 parseVal = unum_parseDouble(unum, itemPtr->currStr, -1, &parsePos, &status); in TestParseCurrency()
1042 …if (status != itemPtr->parsDoubExpectErr || parsePos != itemPtr->parsDoubExpectPos || parseVal != … in TestParseCurrency()
1046 u_errorName(status), parsePos, parseVal ); in TestParseCurrency()
[all …]
Dcdattst.c499 int32_t parsePos = 0; in TestRelativeDateFormat() local
500 UDate dateResult = udat_parse(fmtRelDateTime, strDateTime, -1, &parsePos, &status); in TestRelativeDateFormat()
504 *stylePtr, myErrorName(status), dateToUse, dateResult, parsePos ); in TestRelativeDateFormat()
515 parsePos = 0; in TestRelativeDateFormat()
516 dateResult = udat_parse(fmtRelDate, strDate, -1, &parsePos, &status); in TestRelativeDateFormat()
520 *stylePtr, myErrorName(status), dateToUse, dateResult, parsePos ); in TestRelativeDateFormat()
/external/icu4c/test/intltest/
Dnumfmtst.cpp6023 ParsePosition parsePos; in TestParseCurrencyInUCurr() local
6024 LocalPointer<CurrencyAmount> currAmt(numFmt->parseCurrency(formatted, parsePos)); in TestParseCurrencyInUCurr()
6025 if (parsePos.getIndex() > 0) { in TestParseCurrencyInUCurr()
6046 ParsePosition parsePos; in TestParseCurrencyInUCurr() local
6047 LocalPointer<CurrencyAmount> currAmt(numFmt->parseCurrency(formatted, parsePos)); in TestParseCurrencyInUCurr()
6048 if (parsePos.getIndex() > 0) { in TestParseCurrencyInUCurr()
6439 ParsePosition parsePos(0); in TestExponentParse() local
6457 fmt.parse("5.06e-27", result, parsePos); in TestExponentParse()
6460 parsePos.getIndex() != 8 in TestExponentParse()
6464 result.getDouble(), parsePos.getIndex()); in TestExponentParse()
Dtmsgfmt.cpp145 ParsePosition parsePos; in testBug3() local
146 form->parse(buffer, result, parsePos); in testBug3()