HomeSort by relevance Sort by last modified time
    Searched refs:dfs (Results 1 - 25 of 44) sorted by null

1 2

  /libcore/luni/src/test/java/libcore/java/text/
OldDecimalFormatSymbolsTest.java 27 DecimalFormatSymbols dfs; field in class:OldDecimalFormatSymbolsTest
30 dfs = new DecimalFormatSymbols();
79 dfs.setMonetaryDecimalSeparator(',');
81 ',', dfs.getMonetaryDecimalSeparator());
115 dfs.setCurrencySymbol("$");
116 assertEquals("Returned incorrect CurrencySymbol symbol", "$", dfs.getCurrencySymbol());
120 dfs.setMonetaryDecimalSeparator('#');
122 '#', dfs.getMonetaryDecimalSeparator());
142 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.FRANCE); local
143 assertEquals("EUR", dfs.getCurrency().getCurrencyCode())
    [all...]
DecimalFormatSymbolsTest.java 28 DecimalFormatSymbols dfs = DecimalFormatSymbols.getInstance(locale); local
29 assertEquals(DecimalFormatSymbols.getInstance(Locale.ROOT), dfs); local
32 // TODO: we fail these tests because ROOT has "INF" for infinity but 'dfs' has "\u221e".
DateFormatSymbolsTest.java 33 DateFormatSymbols dfs = DateFormatSymbols.getInstance(locale); local
34 assertEquals(DateFormatSymbols.getInstance(Locale.ROOT), dfs); local
76 private String formatDate(Locale l, String fmt, DateFormatSymbols dfs) {
78 sdf.setDateFormatSymbols(dfs);
OldDecimalFormatTest.java 444 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.CANADA); local
445 DecimalFormat format1 = new DecimalFormat("'$'1000.0000", dfs);
448 format2.setDecimalFormatSymbols(dfs);
621 final DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); local
623 DecimalFormat df = new DecimalFormat("00.0#E0", dfs);
650 df = new DecimalFormat("##0.0E0", dfs);
664 df = new DecimalFormat("#00.0##E0", dfs);
701 df = new DecimalFormat("#.0E0", dfs);
710 df = new DecimalFormat("0.#E0", dfs);
719 df = new DecimalFormat(".0E0", dfs);
    [all...]
DecimalFormatTest.java 33 DecimalFormatSymbols dfs = df.getDecimalFormatSymbols(); local
34 dfs.setExponentSeparator("-useless-api-");
35 df.setDecimalFormatSymbols(dfs);
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DecimalFormatSymbolsTest.java 40 DecimalFormatSymbols dfs; field in class:DecimalFormatSymbolsTest
56 DecimalFormatSymbols dfs = new DecimalFormatSymbols(new Locale("en", local
58 assertEquals("Returned incorrect symbols", '%', dfs.getPercent());
237 assertTrue("Equal objects returned false", dfs.equals(dfs.clone()));
238 dfs.setDigit('B');
239 assertTrue("Un-Equal objects returned true", !dfs
312 dfs.setDecimalSeparator('*');
313 assertEquals("Returned incorrect DecimalSeparator symbol", '*', dfs
321 dfs.setDigit('*')
416 DecimalFormatSymbols dfs = ((DecimalFormat) NumberFormat local
499 DecimalFormatSymbols dfs = ((DecimalFormat) NumberFormat local
613 DecimalFormatSymbols dfs; local
    [all...]
DateFormatSymbolsTest.java 34 private DateFormatSymbols dfs; field in class:DateFormatSymbolsTest
237 assertTrue("Equal object returned true", dfs.equals(dfs.clone()));
238 dfs.setLocalPatternChars("KKKKKKKKK");
239 assertTrue("Un-Equal objects returned false", !dfs
249 String[] retVal = dfs.getAmPmStrings();
263 String[] retVal = dfs.getEras();
277 String retVal = dfs.getLocalPatternChars();
290 String[] retVal = dfs.getMonths();
305 String[] retVal = dfs.getShortMonths()
    [all...]
DecimalFormatTest.java 813 final DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); local
815 DecimalFormat df = new DecimalFormat("00.0#E0", dfs);
1042 final DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); local
1181 DecimalFormatSymbols dfs = df.getDecimalFormatSymbols(); local
1368 DecimalFormatSymbols dfs = new DecimalFormatSymbols(); local
1651 final DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); local
    [all...]
  /external/srec/tools/thirdparty/OpenFst/fst/lib/
dfs-visit.h 0 // dfs-visit.h
29 // Visitor Interface - class determines actions taken during a Dfs.
30 // If any of the boolean member functions return false, the DFS is
40 // // Invoked before DFS visit
42 // // Invoked when state discovered (2nd arg is DFS tree root)
53 // // Invoked after DFS visit
57 // An Fst state's DFS status
62 // An Fst state's DFS stack state
88 vector<char> state_color; // Fst state DFS status
89 stack<DfsState<Arc> *> state_stack; // DFS execution stac
97 bool dfs = true; local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
FuncFormatNumb.java 61 java.text.DecimalFormatSymbols dfs = null; local
80 dfs = ss.getDecimalFormatComposed(qname);
82 if (null == dfs)
92 //formatter = new java.text.DecimalFormat(patternStr, dfs);
95 formatter.setDecimalFormatSymbols(dfs);
105 dfs = ss.getDecimalFormatComposed(new QName(""));
107 if (dfs != null)
111 formatter.setDecimalFormatSymbols(dfs);
116 dfs = new java.text.DecimalFormatSymbols(java.util.Locale.US);
118 dfs.setInfinity(Constants.ATTRVAL_INFINITY)
    [all...]
  /external/openfst/src/include/fst/
dfs-visit.h 0 // dfs-visit.h
35 // Visitor Interface - class determines actions taken during a Dfs.
36 // If any of the boolean member functions return false, the DFS is
42 // a DFS and some methods names here are better suited to a DFS.
50 // // Invoked before DFS visit
52 // // Invoked when state discovered (2nd arg is DFS tree root)
63 // // Invoked after DFS visit
67 // An Fst state's DFS status
72 // An Fst state's DFS stack stat
117 bool dfs = true; local
    [all...]
topsort.h 29 #include <fst/dfs-visit.h>
36 // DFS visitor class to return topological ordering.
fstlib.h 136 #include <fst/dfs-visit.h>
state-reachable.h 28 #include <fst/dfs-visit.h>
test-properties.h 28 #include <fst/dfs-visit.h>
99 // Compute these trinary properties with a DFS. We compute only those
100 // that need a DFS here, since we otherwise would like to avoid a DFS
connect.h 27 #include <fst/dfs-visit.h>
118 // DFS SCC algorithm (see Aho, et al, "Design and Analysis of Computer
  /external/openfst/src/include/fst/script/
connect.h 22 #include <fst/dfs-visit.h>
info-impl.h 29 #include <fst/dfs-visit.h>
  /libcore/luni/src/main/java/libcore/icu/
NativeDecimalFormat.java 121 public NativeDecimalFormat(String pattern, DecimalFormatSymbols dfs) {
123 this.address = open(pattern, dfs.getCurrencySymbol(),
124 dfs.getDecimalSeparator(), dfs.getDigit(), dfs.getExponentSeparator(),
125 dfs.getGroupingSeparator(), dfs.getInfinity(),
126 dfs.getInternationalCurrencySymbol(), dfs.getMinusSign(),
127 dfs.getMonetaryDecimalSeparator(), dfs.getNaN(), dfs.getPatternSeparator()
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
ExpensiveObjectsBenchmark.java 73 DateFormatSymbols dfs = new DateFormatSymbols(Locale.US); local
75 dfs.clone();
86 DecimalFormatSymbols dfs = new DecimalFormatSymbols(Locale.US); local
88 dfs.clone();
  /libcore/luni/src/main/java/java/util/
Calendar.java 1292 DateFormatSymbols dfs = DateFormatSymbols.getInstance(locale); local
    [all...]
  /libcore/luni/src/main/native/
libcore_icu_ICU.cpp 364 DecimalFormatSymbols dfs(locale, status);
366 setCharField(env, obj, "decimalSeparator", dfs.getSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol));
367 setCharField(env, obj, "groupingSeparator", dfs.getSymbol(DecimalFormatSymbols::kGroupingSeparatorSymbol));
368 setCharField(env, obj, "patternSeparator", dfs.getSymbol(DecimalFormatSymbols::kPatternSeparatorSymbol));
369 setCharField(env, obj, "percent", dfs.getSymbol(DecimalFormatSymbols::kPercentSymbol));
370 setCharField(env, obj, "perMill", dfs.getSymbol(DecimalFormatSymbols::kPerMillSymbol));
371 setCharField(env, obj, "monetarySeparator", dfs.getSymbol(DecimalFormatSymbols::kMonetarySeparatorSymbol));
372 setCharField(env, obj, "minusSign", dfs.getSymbol(DecimalFormatSymbols:: kMinusSignSymbol));
373 setStringField(env, obj, "exponentSeparator", dfs.getSymbol(DecimalFormatSymbols::kExponentialSymbol));
374 setStringField(env, obj, "infinity", dfs.getSymbol(DecimalFormatSymbols::kInfinitySymbol))
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DatePicker.java 115 DateFormatSymbols dfs = new DateFormatSymbols(); local
116 String[] months = dfs.getShortMonths();
  /packages/apps/Contacts/src/com/android/contacts/datepicker/
DatePicker.java 124 DateFormatSymbols dfs = new DateFormatSymbols(); local
125 String[] months = dfs.getShortMonths();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
IncludeFinder.java 750 // Perform DFS on the include graph and look for a cycle; if we find one, produce
754 String chain = dfs(from, visiting);
767 private String dfs(String from, Set<String> visiting) { method in class:IncludeFinder
776 String chain = dfs(include, visiting);
    [all...]

Completed in 1512 milliseconds

1 2