/external/icu4c/io/ |
D | uscanf_p.c | 424 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/icu4c/i18n/ |
D | unum.cpp | 320 int32_t *parsePos /* 0 = start */, in parseRes() argument 331 if(parsePos != 0) in parseRes() 332 pp.setIndex(*parsePos); in parseRes() 342 if(parsePos != 0) { in parseRes() 343 *parsePos = pp.getErrorIndex(); in parseRes() 345 } else if(parsePos != 0) { in parseRes() 346 *parsePos = pp.getIndex(); in parseRes() 354 int32_t *parsePos /* 0 = start */, in unum_parse() argument 358 parseRes(res, fmt, text, textLength, parsePos, FALSE, status); in unum_parse() 366 int32_t *parsePos /* 0 = start */, in unum_parseInt64() argument [all …]
|
D | udat.cpp | 198 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 …]
|
D | smpdtfmt.cpp | 1850 SimpleDateFormat::parse(const UnicodeString& text, Calendar& cal, ParsePosition& parsePos) const in parse() 1853 int32_t pos = parsePos.getIndex(); in parse() 2025 parsePos.setIndex(pos); in parse() 2198 parsePos.setErrorIndex(pos); in parse() 2199 parsePos.setIndex(start); in parse()
|
/external/icu4c/i18n/unicode/ |
D | unum.h | 515 int32_t *parsePos /* 0 = start */, 539 int32_t *parsePos /* 0 = start */, 563 int32_t *parsePos /* 0 = start */, 596 int32_t *parsePos /* 0 = start */, 624 int32_t* parsePos, /* 0 = start */
|
D | udat.h | 627 int32_t *parsePos, 648 int32_t *parsePos,
|
/external/v8/tools/ |
D | tickprocessor.js | 613 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/test/cintltst/ |
D | cnumtst.c | 840 int32_t parsePos = 0; /* Output parameter for Parse operations. */ in TestNumberFormat() local 910 parsePos = 3; /* 12,345,678,900,987,654,321.12345679 */ in TestNumberFormat() 912 resultSize = unum_parseDecimal(fmt, dest, -1, &parsePos, desta, DESTCAPACITY, &status); in TestNumberFormat() 920 if (strlen(numFormatted) != parsePos) { in TestNumberFormat() 922 __FILE__, __LINE__, strlen(parseExpected), parsePos); in TestNumberFormat() 1056 int32_t parsePos; in TestParseCurrency() local 1064 parsePos = 0; in TestParseCurrency() 1065 parseVal = unum_parseDouble(unum, itemPtr->currStr, -1, &parsePos, &status); in TestParseCurrency() 1066 …if (status != itemPtr->parsDoubExpectErr || parsePos != itemPtr->parsDoubExpectPos || parseVal != … in TestParseCurrency() 1070 u_errorName(status), parsePos, parseVal ); in TestParseCurrency() [all …]
|
/external/icu4c/test/intltest/ |
D | numfmtst.cpp | 5969 ParsePosition parsePos; in TestParseCurrencyInUCurr() local 5970 numFmt->parseCurrency(formatted, parseResult, parsePos); in TestParseCurrencyInUCurr() 5971 if (parsePos.getIndex() == 0 || in TestParseCurrencyInUCurr() 5991 ParsePosition parsePos; in TestParseCurrencyInUCurr() local 5992 numFmt->parseCurrency(formatted, parseResult, parsePos); in TestParseCurrencyInUCurr() 5993 if (parsePos.getIndex() > 0 || in TestParseCurrencyInUCurr() 6380 ParsePosition parsePos(0); in TestExponentParse() local 6398 fmt.parse("5.06e-27", result, parsePos); in TestExponentParse() 6401 parsePos.getIndex() != 8 in TestExponentParse() 6405 result.getDouble(), parsePos.getIndex()); in TestExponentParse()
|
D | tmsgfmt.cpp | 142 ParsePosition parsePos; in testBug3() local 143 form->parse(buffer, result, parsePos); in testBug3()
|