Home
last modified time | relevance | path

Searched refs:negativePrefix (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DScanner.java399 private String negativePrefix = "\\-"; field in Scanner
444 String negativeInteger = negativePrefix + numeral + negativeSuffix; in buildIntegerPatternString()
500 String negativeFloat = "(" + negativePrefix + decimalNumeral + in buildFloatAndDecimalPattern()
508 String negativeNonNumber = "(" + negativePrefix + nonNumber + in buildFloatAndDecimalPattern()
1218 negativePrefix = df.getNegativePrefix(); in useLocale()
1219 if (negativePrefix.length() > 0) in useLocale()
1220 negativePrefix = "\\Q" + negativePrefix + "\\E"; in useLocale()
1339 sb.append("[negative prefix=" + negativePrefix + "]"); in toString()
2067 int preLen = negativePrefix.length(); in processIntegerToken()
2068 if ((preLen > 0) && result.startsWith(negativePrefix)) { in processIntegerToken()
[all …]
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java4365 String negativePrefix = (String) fields.get("negativePrefix", "-"); in readObject() local
4366 if (!Objects.equals(negativePrefix, icuDecimalFormat.getNegativePrefix())) { in readObject()
4367 icuDecimalFormat.setNegativePrefix(negativePrefix); in readObject()