Home | History | Annotate | Download | only in format

Lines Matching defs:DATA

48 import android.icu.impl.data.ResourceReader;
49 import android.icu.impl.data.TokenIterator;
190 Object[][] data = new Object[][]{
201 for (Object[] item : data) {
432 // the data are:
434 String[][] DATA = {
448 for (int i = 0; i < DATA.length; ++i) {
450 String stringToBeParsed = DATA[i][0];
451 int parsedPosition = Integer.parseInt(DATA[i][1]);
452 int errorIndex = Integer.parseInt(DATA[i][2]);
500 String[][] DATA = {
521 for (int i=0; i<DATA.length; ++i) {
522 String locale = DATA[i][0];
523 String pat = DATA[i][1];
524 Double numberToBeFormat = new Double(DATA[i][2]);
535 // DATA[i][3] is the currency format result using a
537 // DATA[i][4] is the currency format result using
539 // DATA[i][5] is the currency format result using
541 // DATA[i][j+2] is the currency format result using
543 String currencyFormatResult = DATA[i][2+j];
550 // DATA[i][3] is the currency format result using a
552 // DATA[i][4] is the currency format result using
554 // DATA[i][5] is the currency format result using
557 String oneCurrencyFormat = DATA[i][k];
605 String[][] DATA = {
606 // the data are:
616 for (int i = 0; i < DATA.length; ++i) {
617 String stringToBeParsed = DATA[i][0];
618 double parsedResult = Double.parseDouble(DATA[i][1]);
634 String[] DATA = {
642 for (int i=0; i<DATA.length; i+=4) {
643 Locale locale = new Locale(DATA[i], DATA[i+1], DATA[i+2]);
646 if (s.equals(DATA[i+3])) {
650 ", expected " + DATA[i+3]);
655 for (int i=0; i<DATA.length; i+=4) {
656 Locale locale = new Locale(DATA[i], DATA[i+1], DATA[i+2]);
665 if (sCurr.equals(DATA[i+3])) {
669 ", expected " + DATA[i+3]);
713 String[][] DATA = {
714 // the data are:
739 for (int i=0; i<DATA.length; ++i) {
749 String localeString = DATA[i][0];
750 Double numberToBeFormat = new Double(DATA[i][1]);
751 String currencyISOCode = DATA[i][2];
760 // DATA[i][resultDataIndex] is the currency format result
762 String formatResult = DATA[i][resultDataIndex];
768 // DATA[i][3] is the currency format result using
770 // DATA[i][4] is the currency format result using
772 // DATA[i][5] is the currency format result using
774 String oneCurrencyFormatResult = DATA[i][j];
787 String[][] DATA = {
797 for (int i=0; i<DATA.length; ++i) {
798 String stringToBeParsed = DATA[i][0];
799 int parsedPosition = Integer.parseInt(DATA[i][1]);
800 int errorIndex = Integer.parseInt(DATA[i][2]);
801 int currParsedPosition = Integer.parseInt(DATA[i][3]);
802 int currErrorIndex = Integer.parseInt(DATA[i][4]);
1791 final TestNumberingSystemItem[] DATA = {
1811 for (TestNumberingSystemItem item : DATA) {
1959 String DATA[] = {
1964 for (int i=0; i<DATA.length; ++i) {
1965 String pat=DATA[i];
3560 // data and only uses the one in DecimalFormatSymbols.
3661 String[] DATA = {
3671 for (int i=0; i<DATA.length; i+=4) {
3672 Locale locale = new Locale(DATA[i], DATA[i+1], DATA[i+2]);
3675 if (s.equals(DATA[i+3])) {
3679 ", expected " + DATA[i+3]);
4152 for (String[] data : tests) {
4153 ULocale loc = new ULocale(data[0]);
4154 double num = Double.parseDouble(data[1]);
4155 String fmtPerLocExpected = data[2];
4156 String fmtStandardExpected = data[3];
4157 String fmtAccountExpected = data[4];
4158 boolean rt = Boolean.parseBoolean(data[5]);
5229 // If the symbols ever change in locale data, please call the setters so that this test