Searched refs:fmtSize (Results 1 – 1 of 1) sorted by relevance
1369 public static long parseSize(@Nullable String fmtSize) { in parseSize() argument1370 if (fmtSize == null || fmtSize.isBlank()) { in parseSize()1375 fmtSize = fmtSize.trim(); in parseSize()1376 char first = fmtSize.charAt(0); in parseSize()1382 fmtSize = fmtSize.substring(1); in parseSize()1387 while (index < fmtSize.length() && Character.isDigit(fmtSize.charAt(index))) { in parseSize()1392 if (index == 0 || index == fmtSize.length()) { in parseSize()1396 long value = sign * Long.valueOf(fmtSize.substring(0, index)); in parseSize()1397 String unit = fmtSize.substring(index).trim(); in parseSize()