Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/icu/source/i18n/
Dunum.cpp370 int32_t *parsePos /* 0 = start */, in parseRes() argument
379 if(parsePos != 0) in parseRes()
380 pp.setIndex(*parsePos); in parseRes()
386 if(parsePos != 0) { in parseRes()
387 *parsePos = pp.getErrorIndex(); in parseRes()
389 } else if(parsePos != 0) { in parseRes()
390 *parsePos = pp.getIndex(); in parseRes()
398 int32_t *parsePos /* 0 = start */, in unum_parse() argument
402 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parse()
410 int32_t *parsePos /* 0 = start */, in unum_parseInt64() argument
[all …]
Dudat.cpp356 int32_t *parsePos, in udat_parse() argument
366 if(parsePos == NULL) { in udat_parse()
367 parsePos = &stackParsePos; in udat_parse()
370 pp.setIndex(*parsePos); in udat_parse()
375 *parsePos = pp.getIndex(); in udat_parse()
377 *parsePos = pp.getErrorIndex(); in udat_parse()
389 int32_t *parsePos, in udat_parseCalendar() argument
398 if(parsePos == NULL) { in udat_parseCalendar()
399 parsePos = &stackParsePos; in udat_parseCalendar()
402 pp.setIndex(*parsePos); in udat_parseCalendar()
[all …]
/third_party/icu/icu4c/source/i18n/
Dunum.cpp370 int32_t *parsePos /* 0 = start */, in parseRes() argument
379 if(parsePos != 0) in parseRes()
380 pp.setIndex(*parsePos); in parseRes()
386 if(parsePos != 0) { in parseRes()
387 *parsePos = pp.getErrorIndex(); in parseRes()
389 } else if(parsePos != 0) { in parseRes()
390 *parsePos = pp.getIndex(); in parseRes()
398 int32_t *parsePos /* 0 = start */, in unum_parse() argument
402 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parse()
410 int32_t *parsePos /* 0 = start */, in unum_parseInt64() argument
[all …]
Dudat.cpp356 int32_t *parsePos, in udat_parse() argument
366 if(parsePos == NULL) { in udat_parse()
367 parsePos = &stackParsePos; in udat_parse()
370 pp.setIndex(*parsePos); in udat_parse()
375 *parsePos = pp.getIndex(); in udat_parse()
377 *parsePos = pp.getErrorIndex(); in udat_parse()
389 int32_t *parsePos, in udat_parseCalendar() argument
398 if(parsePos == NULL) { in udat_parseCalendar()
399 parsePos = &stackParsePos; in udat_parseCalendar()
402 pp.setIndex(*parsePos); in udat_parseCalendar()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dunum.cpp365 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 …]
Dudat.cpp347 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 …]
/third_party/node/deps/icu-small/source/i18n/
Dunum.cpp370 int32_t *parsePos /* 0 = start */, in parseRes() argument
379 if(parsePos != 0) in parseRes()
380 pp.setIndex(*parsePos); in parseRes()
386 if(parsePos != 0) { in parseRes()
387 *parsePos = pp.getErrorIndex(); in parseRes()
389 } else if(parsePos != 0) { in parseRes()
390 *parsePos = pp.getIndex(); in parseRes()
398 int32_t *parsePos /* 0 = start */, in unum_parse() argument
402 parseRes(res, fmt, text, textLength, parsePos, status); in unum_parse()
410 int32_t *parsePos /* 0 = start */, in unum_parseInt64() argument
[all …]
Dudat.cpp356 int32_t *parsePos, in udat_parse() argument
366 if(parsePos == NULL) { in udat_parse()
367 parsePos = &stackParsePos; in udat_parse()
370 pp.setIndex(*parsePos); in udat_parse()
375 *parsePos = pp.getIndex(); in udat_parse()
377 *parsePos = pp.getErrorIndex(); in udat_parse()
389 int32_t *parsePos, in udat_parseCalendar() argument
398 if(parsePos == NULL) { in udat_parseCalendar()
399 parsePos = &stackParsePos; in udat_parseCalendar()
402 pp.setIndex(*parsePos); in udat_parseCalendar()
[all …]
/third_party/icu/icu4c/source/io/
Duscanf_p.cpp438 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 …]
/third_party/skia/third_party/externals/icu/source/io/
Duscanf_p.cpp438 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 …]
/third_party/flutter/skia/third_party/externals/icu/source/io/
Duscanf_p.cpp438 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 …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dunum.h742 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 */
Dudat.h1130 int32_t *parsePos,
1159 int32_t *parsePos,
/third_party/node/deps/icu-small/source/i18n/unicode/
Dunum.h797 int32_t *parsePos /* 0 = start */,
823 int32_t *parsePos /* 0 = start */,
849 int32_t *parsePos /* 0 = start */,
884 int32_t *parsePos /* 0 = start */,
912 int32_t* parsePos, /* 0 = start */
941 int32_t* parsePos, /* 0 = start */
Dudat.h1199 int32_t *parsePos,
1228 int32_t *parsePos,
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dunum.h799 int32_t *parsePos /* 0 = start */,
825 int32_t *parsePos /* 0 = start */,
851 int32_t *parsePos /* 0 = start */,
886 int32_t *parsePos /* 0 = start */,
914 int32_t* parsePos, /* 0 = start */
943 int32_t* parsePos, /* 0 = start */
Dudat.h1199 int32_t *parsePos,
1228 int32_t *parsePos,
/third_party/icu/icu4c/source/i18n/unicode/
Dunum.h799 int32_t *parsePos /* 0 = start */,
825 int32_t *parsePos /* 0 = start */,
851 int32_t *parsePos /* 0 = start */,
886 int32_t *parsePos /* 0 = start */,
914 int32_t* parsePos, /* 0 = start */
943 int32_t* parsePos, /* 0 = start */
Dudat.h1199 int32_t *parsePos,
1228 int32_t *parsePos,
/third_party/icu/icu4c/source/test/cintltst/
Dcnumtst.c868 int32_t parsePos = 0; /* Output parameter for Parse operations. */ in TestNumberFormat() local
940 parsePos = 3; /* 12,345,678,900,987,654,321.12345679 */ in TestNumberFormat()
942 resultSize = unum_parseDecimal(fmt, dest, -1, &parsePos, desta, DESTCAPACITY, &status); in TestNumberFormat()
953 if ((int32_t)strlen(numFormatted) != parsePos) { in TestNumberFormat()
955 __FILE__, __LINE__, (int32_t)strlen(parseExpected), parsePos); in TestNumberFormat()
1090 int32_t parsePos; in TestParseCurrency() local
1099 parsePos = 0; in TestParseCurrency()
1100 parseVal = unum_parseDouble(unum, currStr, -1, &parsePos, &status); in TestParseCurrency()
1101 …if (status != itemPtr->parsDoubExpectErr || parsePos != itemPtr->parsDoubExpectPos || parseVal != … in TestParseCurrency()
1105 u_errorName(status), parsePos, parseVal ); in TestParseCurrency()
[all …]
Dcdattst.c527 int32_t parsePos = 0; in TestRelativeDateFormat() local
528 UDate dateResult = udat_parse(fmtRelDateTime, strDateTime, -1, &parsePos, &status); in TestRelativeDateFormat()
532 *stylePtr, myErrorName(status), dateToUse, dateResult, parsePos ); in TestRelativeDateFormat()
543 parsePos = 0; in TestRelativeDateFormat()
544 dateResult = udat_parse(fmtRelDate, strDate, -1, &parsePos, &status); in TestRelativeDateFormat()
548 *stylePtr, myErrorName(status), dateToUse, dateResult, parsePos ); in TestRelativeDateFormat()
973 int32_t parsePos = 0; in TestCalendarDateParse() local
1010 udat_parseCalendar(simpleDateFormat, calendar, text, u_strlen(text), &parsePos, &ec); in TestCalendarDateParse()
1024 parsePos = 0; in TestCalendarDateParse()
1026 udat_parseCalendar(simpleDateFormat, calendar, text, u_strlen(text), &parsePos, &ec); in TestCalendarDateParse()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DSimpleDateFormat.java2374 public void parse(String text, Calendar cal, ParsePosition parsePos) in parse() argument
2389 int pos = parsePos.getIndex(); in parse()
2391 parsePos.setErrorIndex(0); in parse()
2460 parsePos.setIndex(start); in parse()
2461 parsePos.setErrorIndex(pos); in parse()
2492 parsePos.setIndex(start); in parse()
2493 parsePos.setErrorIndex(s); in parse()
2524 parsePos.setIndex(start); in parse()
2525 parsePos.setErrorIndex(s); in parse()
2541 parsePos.setIndex(start); in parse()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java2397 public void parse(String text, Calendar cal, ParsePosition parsePos) in parse() argument
2412 int pos = parsePos.getIndex(); in parse()
2414 parsePos.setErrorIndex(0); in parse()
2483 parsePos.setIndex(start); in parse()
2484 parsePos.setErrorIndex(pos); in parse()
2515 parsePos.setIndex(start); in parse()
2516 parsePos.setErrorIndex(s); in parse()
2547 parsePos.setIndex(start); in parse()
2548 parsePos.setErrorIndex(s); in parse()
2564 parsePos.setIndex(start); in parse()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java943 ParsePosition parsePos = new ParsePosition(0); in TestParseCurrency() local
945 Number numVal = fmt.parse(currStr, parsePos); in TestParseCurrency()
946 …if ( parsePos.getIndex() != item.getDoubExpectPos() || (numVal != null && numVal.intValue() != ite… in TestParseCurrency()
950 ", get " + parsePos.getIndex() + "/" + numVal.intValue() ); in TestParseCurrency()
954 ", get " + parsePos.getIndex() + "/(NULL)" ); in TestParseCurrency()
958 parsePos.setIndex(0); in TestParseCurrency()
960 CurrencyAmount currAmt = fmt.parseCurrency(currStr, parsePos); in TestParseCurrency()
961 …if ( parsePos.getIndex() != curExpectPos || (currAmt != null && (currAmt.getNumber().intValue() !=… in TestParseCurrency()
966 …", get " + parsePos.getIndex() + "/" + currAmt.getNumber().intValue() + "/" + currAmt.getCurrency(… in TestParseCurrency()
970 ", get " + parsePos.getIndex() + "/(NULL)" ); in TestParseCurrency()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DNumberFormatTest.java946 ParsePosition parsePos = new ParsePosition(0); in TestParseCurrency() local
948 Number numVal = fmt.parse(currStr, parsePos); in TestParseCurrency()
949 …if ( parsePos.getIndex() != item.getDoubExpectPos() || (numVal != null && numVal.intValue() != ite… in TestParseCurrency()
953 ", get " + parsePos.getIndex() + "/" + numVal.intValue() ); in TestParseCurrency()
957 ", get " + parsePos.getIndex() + "/(NULL)" ); in TestParseCurrency()
961 parsePos.setIndex(0); in TestParseCurrency()
963 CurrencyAmount currAmt = fmt.parseCurrency(currStr, parsePos); in TestParseCurrency()
964 …if ( parsePos.getIndex() != curExpectPos || (currAmt != null && (currAmt.getNumber().intValue() !=… in TestParseCurrency()
969 …", get " + parsePos.getIndex() + "/" + currAmt.getNumber().intValue() + "/" + currAmt.getCurrency(… in TestParseCurrency()
973 ", get " + parsePos.getIndex() + "/(NULL)" ); in TestParseCurrency()
[all …]

12