Lines Matching refs:count
269 String asString(int offset, int count, int maxChars) {
274 if (count == 0) {
278 if (0 <= maxChars && maxChars < count) {
279 count = maxChars;
282 int end = offset + count - 1;
284 return new String(mCharArray, offset, count);
293 String asAsciiString(int offset, int count, int maxChars) {
298 if (count == 0) {
302 if (0 <= maxChars && maxChars < count) {
303 count = maxChars;
306 int end = offset + count - 1;
308 return new String(mByteArray, offset, count, StandardCharsets.US_ASCII);
317 String asMaybeCompressedString(int offset, int count, int maxChars) {
318 String str = asString(offset, count, maxChars);
320 str = asAsciiString(offset, count, maxChars);