/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
H A D | BinaryHprofReader.java | 46 * our HprofWriter. For example, every end thread is preceded 348 HprofData.ThreadEvent event = HprofData.ThreadEvent.end(threadId);
|
H A D | HprofData.java | 37 * <li>the history of thread start and end events 65 public static ThreadEvent end(int threadId) { method in class:HprofData.ThreadEvent 324 * Return an unmodifiable history of start and end thread events. 367 // the matching start, not a duplicate end. 369 throw new IllegalArgumentException("Duplicate ThreadEvent.end for id "
|
H A D | SamplingProfiler.java | 105 * thread start and end events. 486 HprofData.ThreadEvent event = HprofData.ThreadEvent.end(threadId);
|
/libcore/dalvik/src/test/java/dalvik/system/profiler/ |
H A D | SamplingProfilerTest.java | 80 long end = System.currentTimeMillis(); 134 ThreadEvent end2 = ThreadEvent.end(threadId+1); 140 ThreadEvent end1 = ThreadEvent.end(threadId); 145 // remove thread 1 again, which should not exist (its not okay to have end followed by end) 147 hprofData.addThreadEvent(ThreadEvent.end(threadId));
|
/libcore/luni/src/main/java/java/io/ |
H A D | BufferedReader.java | 49 * mark pos end</pre> 51 * last readable character. When {@code pos == end}, the buffer is empty and 67 private int end; field in class:BufferedReader 120 * the buffer still contains data; ie. if {@code pos < end}. 122 * @return the number of bytes read into the buffer, or -1 if the end of the 126 // assert(pos == end); 134 end = result; 152 end -= mark; 159 end += count; 228 * @return the character read or -1 if the end o [all...] |
H A D | CharArrayWriter.java | 271 * specified by the parameters {@code start} and {@code end}. A call to 273 * CharArrayWriter.write(csq.subSequence(start, end).toString)}. If {@code 283 * @param end 288 * if {@code start < 0}, {@code end < 0}, {@code start > end}, 289 * or if {@code end} is greater than the length of {@code csq}. 292 public CharArrayWriter append(CharSequence csq, int start, int end) { argument 296 String output = csq.subSequence(start, end).toString();
|
H A D | ObjectInputStream.java | 520 * in the range from 0 to 255. Returns -1 if the end of the source stream 523 * @return the byte read or -1 if the end of the source stream has been 537 * until {@code count} bytes have been read, the end of the source stream is 547 * @return the number of bytes read or -1 if the end of the source input 605 * if the end of the input is reached before the read 619 * if the end of the input is reached before the read 633 * if the end of the input is reached before the read 841 * if the end of the input is reached before the read 953 int end = classSig.length(); 955 if (end < [all...] |
H A D | ObjectOutputStream.java | 398 // write primitive types we had and the marker of end-of-buffer 1040 for (int i = 0, end = hierarchy.size(); i < end; ++i) {
|
H A D | PrintStream.java | 642 * @param end 647 * if {@code start > end}, {@code start < 0}, {@code end < 0} or 648 * either {@code start} or {@code end} are greater or equal than 651 public PrintStream append(CharSequence charSequence, int start, int end) { argument 655 print(charSequence.subSequence(start, end).toString());
|
H A D | PrintWriter.java | 698 * PrintWriter.print(csq.subsequence(start, end).toString())}. If {@code 707 * @param end 712 * if {@code start > end}, {@code start < 0}, {@code end < 0} or 713 * either {@code start} or {@code end} are greater or equal than 717 public PrintWriter append(CharSequence csq, int start, int end) { argument 721 String output = csq.subSequence(start, end).toString();
|
H A D | StringReader.java | 114 * integer with the two higher-order bytes set to 0. Returns -1 if the end 117 * @return the character read or -1 if the end of the source string has been 136 * number of characters actually read or -1 if the end of the source string 146 * @return the number of characters read or -1 if the end of the reader has 165 int end = pos + len > this.count ? this.count : pos + len; 166 str.getChars(pos, end, buf, offset); 167 int read = end - pos; 168 pos = end; 214 * When the end of the source string has been reached, the input cannot be 239 charCount = maxSkip; // no rewinding if we're at the end [all...] |
H A D | StringWriter.java | 206 * StringWriter.writer(csq.subsequence(start, end).toString())}. If {@code 215 * @param end 220 * if {@code start > end}, {@code start < 0}, {@code end < 0} or 221 * either {@code start} or {@code end} are greater or equal than 225 public StringWriter append(CharSequence csq, int start, int end) { argument 229 String output = csq.subSequence(start, end).toString();
|
H A D | Writer.java | 209 * Writer.writer(csq.subsequence(start, end).toString())}. If {@code 218 * @param end 225 * if {@code start > end}, {@code start < 0}, {@code end < 0} or 226 * either {@code start} or {@code end} are greater or equal than 229 public Writer append(CharSequence csq, int start, int end) throws IOException { argument 233 write(csq.subSequence(start, end).toString());
|
/libcore/luni/src/main/java/java/lang/ |
H A D | AbstractStringBuilder.java | 151 final void append0(CharSequence s, int start, int end) { argument 155 if ((start | end) < 0 || start > end || end > s.length()) { 159 int length = end - start; 169 ((String) s)._getChars(start, end, value, count); 175 for (int i = start; i < end; i++) { 215 private StringIndexOutOfBoundsException startEndAndLength(int start, int end) { argument 216 throw new StringIndexOutOfBoundsException(count, start, end - start); 219 final void delete0(int start, int end) { argument 304 getChars(int start, int end, char[] dst, int dstStart) argument 365 insert0(int index, CharSequence s, int start, int end) argument 405 replace0(int start, int end, String string) argument 616 substring(int start, int end) argument 662 subSequence(int start, int end) argument 872 codePointCount(int start, int end) argument [all...] |
H A D | Appendable.java | 67 * to calling {@code append(csq.subSequence(start, end))}. 76 * @param end 81 * if {@code start < 0}, {@code end < 0}, {@code start > end} 82 * or {@code end} is greater than the length of {@code csq}. 86 Appendable append(CharSequence csq, int start, int end) throws IOException; argument
|
H A D | CaseMapper.java | 55 for (int i = offset, end = offset + count; i < end; ++i) { 150 for (int o = offset, end = offset + count; o < end; o++) {
|
H A D | CharSequence.java | 49 * to the {@code end} index (exclusive) of this sequence. 55 * @param end 56 * the end offset of the sub-sequence. It is exclusive, that is, 61 * if {@code start < 0}, {@code end < 0}, {@code start > end}, 62 * or if {@code start} or {@code end} are greater than the 65 public CharSequence subSequence(int start, int end); argument
|
H A D | Character.java | 1560 private UnicodeBlock(String blockName, int start, int end) { argument 2301 int end = start + count; 2302 if (index < start || index > end) { 2315 if (i >= end) { 2320 if (next < end && isLowSurrogate(seq[next])) {
|
H A D | String.java | 524 int end = offset + count; 526 for (int i = offset; i < end; i++) { 582 private StringIndexOutOfBoundsException startEndAndLength(int start, int end) { argument 583 throw new StringIndexOutOfBoundsException(this, start, end - start); 648 int end = offset + (count < string.count ? count : string.count); 651 while (o1 < end) { 765 int end = offset + count; 767 while (o1 < end) { 783 * @param end 792 * if {@code start < 0}, {@code end > lengt 797 getBytes(int start, int end, byte[] data, int index) argument 886 getChars(int start, int end, char[] buffer, int index) argument 901 _getChars(int start, int end, char[] buffer, int index) argument 1455 substring(int start, int end) argument 1850 subSequence(int start, int end) argument 1896 codePointCount(int start, int end) argument [all...] |
H A D | StringBuffer.java | 102 * Adds the string representation of the specified boolean to the end of 118 * Adds the specified character to the end of this buffer. 131 * Adds the string representation of the specified double to the end of this 145 * Adds the string representation of the specified float to the end of this 159 * Adds the string representation of the specified integer to the end of 173 * Adds the string representation of the specified long to the end of this 187 * Adds the string representation of the specified object to the end of this 209 * Adds the specified string to the end of this buffer. 224 * Adds the specified StringBuffer to the end of this buffer. 248 * Adds the character array to the end o 322 append(CharSequence s, int start, int end) argument 376 delete(int start, int end) argument 418 getChars(int start, int end, char[] buffer, int idx) argument 649 insert(int index, CharSequence s, int start, int end) argument 681 replace(int start, int end, String string) argument 707 subSequence(int start, int end) argument 717 substring(int start, int end) argument [all...] |
H A D | StringBuilder.java | 302 * @param end 306 * if {@code start} or {@code end} are negative, {@code start} 307 * is greater than {@code end} or {@code end} is greater than 310 public StringBuilder append(CharSequence csq, int start, int end) { argument 311 append0(csq, start, end); 331 * end}. Shifts any remaining characters to the left. 335 * @param end 336 * the exclusive end index. 340 * length or greater than {@code end} 342 delete(int start, int end) argument 614 insert(int offset, CharSequence s, int start, int end) argument 636 replace(int start, int end, String string) argument [all...] |
H A D | StringToReal.java | 90 int end = Math.max(s.indexOf('E'), s.indexOf('e')); 91 if (end != -1) { 93 if (end + 1 == length) { 98 int exponentOffset = end + 1; 134 end = length; 156 result.e -= end - decimal - 1; 157 s = s.substring(start, decimal) + s.substring(decimal + 1, end); 159 s = s.substring(start, end); 166 end = length; 167 while (end > [all...] |
/libcore/luni/src/main/java/java/math/ |
H A D | BigDecimal.java | 1323 // To append trailing zeros at end of dividend 2267 int end = intString.length(); 2268 long exponent = -(long)scale + end - begin; 2274 result.insert(end - scale, '.'); 2280 if (end - begin >= 1) { 2282 end++; 2284 result.insert(end, 'E'); 2286 result.insert(++end, '+'); 2288 result.insert(++end, Long.toString(exponent)); 2312 int end [all...] |
/libcore/luni/src/main/java/java/net/ |
H A D | URI.java | 412 private String validateScheme(String uri, int end) throws URISyntaxException { argument 413 if (end == 0) { 417 for (int i = 0; i < end; i++) { 423 return uri.substring(0, end);
|
H A D | URLStreamHandler.java | 80 * @param end 85 protected void parseURL(URL url, String spec, int start, int end) { argument 89 if (end < start) { 90 throw new StringIndexOutOfBoundsException(spec, start, end - start); 104 fileStart = UrlUtils.findFirstOf(spec, "/?#", authorityStart, end); 164 while (pos < end) { 168 nextPos = end; 172 nextPos = UrlUtils.findFirstOf(spec, "#", pos, end); 177 nextPos = UrlUtils.findFirstOf(spec, "?#", pos, end);
|