Home
last modified time | relevance | path

Searched refs:nm (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
DLong.java625 public static Long decode(String nm) throws NumberFormatException { in decode() argument
631 if (nm.length() == 0) in decode()
633 char firstChar = nm.charAt(0); in decode()
642 if (nm.startsWith("0x", index) || nm.startsWith("0X", index)) { in decode()
646 else if (nm.startsWith("#", index)) { in decode()
650 else if (nm.startsWith("0", index) && nm.length() > 1 + index) { in decode()
655 if (nm.startsWith("-", index) || nm.startsWith("+", index)) in decode()
659 result = Long.valueOf(nm.substring(index), radix); in decode()
665 String constant = negative ? ("-" + nm.substring(index)) in decode()
666 : nm.substring(index); in decode()
[all …]
DInteger.java840 public static Integer getInteger(String nm) {
841 return getInteger(nm, null);
885 public static Integer getInteger(String nm, int val) {
886 Integer result = getInteger(nm, null);
926 public static Integer getInteger(String nm, Integer val) {
929 v = System.getProperty(nm);
984 public static Integer decode(String nm) throws NumberFormatException {
990 if (nm.length() == 0)
992 char firstChar = nm.charAt(0);
1001 if (nm.startsWith("0x", index) || nm.startsWith("0X", index)) {
[all …]
DByte.java276 public static Byte decode(String nm) throws NumberFormatException { in decode() argument
277 int i = Integer.decode(nm); in decode()
280 "Value " + i + " out of range from input " + nm); in decode()
DShort.java281 public static Short decode(String nm) throws NumberFormatException { in decode() argument
282 int i = Integer.decode(nm); in decode()
285 "Value " + i + " out of range from input " + nm); in decode()
/libcore/ojluni/src/main/java/java/nio/charset/
DCoderResult.java110 String nm = names[type]; in toString() local
111 return isError() ? nm + "[" + length + "]" : nm; in toString()
/libcore/luni/src/test/resources/
Dsimple_ns.dtd25 <!ELEMENT emp:employee (emp:employeeId,nm:name,emp:position,emp:salary,emp:gender,emp:address) >
27 <!ATTLIST emp:employee xmlns:nm CDATA #IMPLIED>
32 <!ELEMENT nm:name (#PCDATA) >
/libcore/dom/src/test/resources/
DstaffNS.dtd25 <!ELEMENT emp:employee (emp:employeeId,nm:name,emp:position,emp:salary,emp:gender,emp:address) >
27 <!ATTLIST emp:employee xmlns:nm CDATA #IMPLIED>
32 <!ELEMENT nm:name (#PCDATA) >
/libcore/ojluni/src/main/java/java/net/
DURLConnection.java1345 char nm[] = new char[len]; in typeToPackageName() local
1346 contentType.getChars(0, len, nm, 0); in typeToPackageName()
1348 char c = nm[i]; in typeToPackageName()
1350 nm[i] = '.'; in typeToPackageName()
1354 nm[i] = '_'; in typeToPackageName()
1357 return new String(nm); in typeToPackageName()