Searched refs:maxbytes (Results 1 – 1 of 1) sorted by relevance
2906 public static String truncateStringForUtf8Storage(String str, int maxbytes) { in truncateStringForUtf8Storage() argument2907 if (maxbytes < 0) { in truncateStringForUtf8Storage()2922 if (bytesUsed + glyphBytes > maxbytes) { in truncateStringForUtf8Storage()