Home | History | Annotate | Download | only in os

Lines Matching refs:last

167             } else if (max < 0) {  // "tail" mode: keep the last N
170 byte[] last = null;
173 if (last != null) rolled = true;
174 byte[] tmp = last; last = data; data = tmp;
179 if (last == null && len <= 0) return "";
180 if (last == null) return new String(data, 0, len);
183 System.arraycopy(last, len, last, 0, last.length - len);
184 System.arraycopy(data, 0, last, last.length - len, len);
186 if (ellipsis == null || !rolled) return new String(last);
187 return ellipsis + new String(last);