Home
last modified time | relevance | path

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

/external/smali/smali/src/main/java/org/jf/smali/
DLiteralTools.java106 public static short parseShort(String shortLiteral) in parseShort() argument
108 if (shortLiteral == null) { in parseShort()
111 if (shortLiteral.length() == 0) { in parseShort()
116 if (shortLiteral.toUpperCase().endsWith("S")) { in parseShort()
117 shortChars = shortLiteral.substring(0, shortLiteral.length()-1).toCharArray(); in parseShort()
119 shortChars = shortLiteral.toCharArray(); in parseShort()
154 throw new NumberFormatException(shortLiteral + " cannot fit into a short"); in parseShort()
157 throw new NumberFormatException(shortLiteral + " cannot fit into a short"); in parseShort()
168 throw new NumberFormatException(shortLiteral + " cannot fit into a short"); in parseShort()