/libcore/ojluni/src/main/java/java/lang/ |
H A D | ArrayIndexOutOfBoundsException.java | 82 int count) { 84 + "; regionLength=" + count); 81 ArrayIndexOutOfBoundsException(int sourceLength, int offset, int count) argument
|
H A D | StringIndexOutOfBoundsException.java | 94 StringIndexOutOfBoundsException(String s, int offset, int count) { argument 95 this(s.length(), offset, count); 103 int count) { 105 + "; regionLength=" + count); 102 StringIndexOutOfBoundsException(int sourceLength, int offset, int count) argument
|
/libcore/benchmarks/src/benchmarks/ |
H A D | ReferenceBenchmark.java | 93 AtomicInteger count; field in class:ReferenceBenchmark.FinalizableObject 95 public FinalizableObject(AtomicInteger count) { argument 96 this.count = count; 101 count.incrementAndGet(); 109 AtomicInteger count = new AtomicInteger(0); 111 new FinalizableObject(count); 121 int got = count.get();
|
/libcore/luni/src/main/java/org/w3c/dom/ |
H A D | CharacterData.java | 69 * @param count The number of 16-bit units to extract. 71 * <code>count</code> exceeds the <code>length</code>, then all 16-bit 76 * <code>data</code>, or if the specified <code>count</code> is 82 int count) 114 * @param count The number of 16-bit units to delete. If the sum of 115 * <code>offset</code> and <code>count</code> exceeds 121 * <code>data</code>, or if the specified <code>count</code> is 126 int count) 133 * @param count The number of 16-bit units to replace. If the sum of 134 * <code>offset</code> and <code>count</cod 81 substringData(int offset, int count) argument 125 deleteData(int offset, int count) argument 148 replaceData(int offset, int count, String arg) argument [all...] |
/libcore/luni/src/main/native/ |
H A D | IcuUtilities.cpp | 37 int32_t count = se->count(status); local 38 if (maybeThrowIcuException(env, "StringEnumeration::count", status)) { 42 jobjectArray result = env->NewObjectArray(count, JniConstants::stringClass, NULL); 43 for (int32_t i = 0; i < count; ++i) {
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | BufferedOutputStream.java | 47 * <tt>buf[0]</tt> through <tt>buf[count-1]</tt> contain valid 50 protected int count; field in class:BufferedOutputStream 81 if (count > 0) { 82 out.write(buf, 0, count); 83 count = 0; 94 if (count >= buf.length) { 97 buf[count++] = (byte)b; 125 if (len > buf.length - count) { 128 System.arraycopy(b, off, buf, count, len); 129 count [all...] |
H A D | StringBufferInputStream.java | 65 protected int count; field in class:StringBufferInputStream 74 count = s.length(); 92 return (pos < count) ? (buffer.charAt(pos++) & 0xFF) : -1; 118 if (pos >= count) { 122 int avail = count - pos; 150 if (n > count - pos) { 151 n = count - pos; 161 * @return the value of <code>count - pos</code>, which is the 165 return count - pos;
|
H A D | ByteArrayInputStream.java | 49 * through <code>buf[count-1]</code> are the 59 * and not larger than the value of <code>count</code>. 89 protected int count; field in class:ByteArrayInputStream 98 * of <code>count</code> is the length of 106 this.count = buf.length; 114 * of <code>count</code> is the minimum of <code>offset+length</code> 126 this.count = Math.min(offset + length, buf.length); 144 return (pos < count) ? (buf[pos++] & 0xff) : -1; 150 * If <code>pos</code> equals <code>count</code>, 154 * <code>len</code> and <code>count [all...] |
/libcore/ojluni/src/main/java/java/nio/file/ |
H A D | WatchEvent.java | 33 * #count() count} to indicate the number of times that the event has been 98 * Returns the event count. If the event count is greater than {@code 1} 101 * @return the event count 103 int count(); method in interface:WatchEvent
|
/libcore/ojluni/src/main/java/java/sql/ |
H A D | Array.java | 161 * specified <code>index</code> and containing up to <code>count</code> 172 * @param count the number of successive SQL array elements to retrieve 173 * @return an array containing up to <code>count</code> consecutive elements 181 Object getArray(long index, int count) throws SQLException; argument 186 * <code>index</code> and containing up to <code>count</code> 204 * @param count the number of successive SQL array elements to 209 * @return an array containing up to <code>count</code> 219 Object getArray(long index, int count, java.util.Map<String,Class<?>> map) argument 281 * <code>count</code> successive elements. This method uses 289 * up to <code>count</cod 307 getResultSet(long index, int count) argument 344 getResultSet(long index, int count, java.util.Map<String,Class<?>> map) argument [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_ASimpleReader.java | 56 public int read(char[] dest, int offset, int count) throws IOException { argument 62 int readable = (available < count ? available : count);
|
H A D | Support_StringWriter.java | 99 * Writes <code>count</code> characters starting at <code>offset</code> 106 * @param count 110 * If offset or count are outside of bounds. 113 public void write(char[] buf, int offset, int count) { argument 115 if (0 <= offset && offset <= buf.length && 0 <= count 116 && count <= buf.length - offset) { 118 this.buf.append(buf, offset, count); 157 * Writes <code>count</code> number of characters starting at 165 * @param count 169 * If offset or count ar 172 write(String str, int offset, int count) argument [all...] |
H A D | ThrowingReader.java | 45 @Override public int read(char[] buf, int offset, int count) argument 50 count = Math.min(count, (throwAt - total)); 53 int returned = super.read(buf, offset, count);
|
H A D | Support_ASimpleWriter.java | 55 public void write(char[] src, int offset, int count) throws IOException { argument 59 if (offset < 0 || count < 0 || (offset + count) > buf.length) { 63 System.arraycopy(src, offset, buf, pos, count); 64 pos += count;
|
H A D | Support_OutputStream.java | 68 public void write(byte buffer[], int offset, int count) throws IOException { argument 72 if (offset < 0 || count < 0 || (offset + count) > buffer.length) { 75 for (int i = offset; i < offset + count; i++) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | ScannerParseLargeFileBenchmarkTest.java | 46 private int count = 0; field in class:ScannerParseLargeFileBenchmarkTest.FakeLargeFile 54 if (count >= FILE_LENGTH) { 58 final int charsToRead = Math.min(FILE_LENGTH - count, length); 60 int contentIndex = count % CONTENT.length; 69 count += charsRead;
|
/libcore/libart/src/main/java/java/lang/ |
H A D | CaseMapper.java | 37 * and count fields. 146 public static String toUpperCase(Locale locale, String s, int count) { argument 157 for (int o = 0; o < count; o++) { 165 char[] newoutput = new char[output.length + (count / 6) + 2]; 173 output = new char[count]; 182 output = new char[count + (count / 6) + 2]; 186 char[] newoutput = new char[output.length + (count / 6) + 3];
|
/libcore/luni/src/main/java/java/math/ |
H A D | BitLevel.java | 136 static BigInteger shiftRight(BigInteger source, int count) { argument 138 int intCount = count >> 5; // count of integers 139 count &= 31; // count of remaining bits 147 shiftRight(resDigits, resLength, source.digits, intCount, count); 156 || ((count > 0) && ((source.digits[i] << (32 - count)) != 0))) { 171 * intCount * 32 + count. 181 * @param count 185 shiftRight(int[] result, int resultLen, int[] source, int intCount, int count) argument [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldReaderTest.java | 116 @Override public int read(char[] buf, int offset, int count) { argument
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | DoubleSummaryStatistics.java | 30 * A state object for collecting statistics such as count, min, max, sum, and 51 * This computes, in a single pass, the count of people, as well as the minimum, 63 private long count; field in class:DoubleSummaryStatistics 71 * Construct an empty instance with zero count, zero sum, 84 ++count; 99 count += other.count; 119 * Return the count of values recorded. 121 * @return the count of values 124 return count; [all...] |
H A D | IntSummaryStatistics.java | 30 * A state object for collecting statistics such as count, min, max, sum, and 51 * This computes, in a single pass, the count of people, as well as the minimum, 65 private long count; field in class:IntSummaryStatistics 71 * Construct an empty instance with zero count, zero sum, 84 ++count; 97 count += other.count; 104 * Returns the count of values recorded. 106 * @return the count of values 109 return count; [all...] |
H A D | LongSummaryStatistics.java | 31 * A state object for collecting statistics such as count, min, max, sum, and 52 * This computes, in a single pass, the count of people, as well as the minimum, 66 private long count; field in class:LongSummaryStatistics 72 * Construct an empty instance with zero count, zero sum, 95 ++count; 109 count += other.count; 116 * Returns the count of values recorded. 118 * @return the count of values 121 return count; [all...] |
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | CountDownLatch.java | 44 * <p>A {@code CountDownLatch} is initialized with a given <em>count</em>. 45 * The {@link #await await} methods block until the current count reaches 49 * -- the count cannot be reset. If you need a version that resets the 50 * count, consider using a {@link CyclicBarrier}. 54 * {@code CountDownLatch} initialized with a count of one serves as a 63 * the count to reach zero before proceeding, it simply prevents any 115 * count down in this way, instead use a {@link CyclicBarrier}.) 147 * <p>Memory consistency effects: Until the count reaches 160 * Uses AQS state to represent count. 165 Sync(int count) { argument 199 CountDownLatch(int count) argument [all...] |
/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | AbstractSpinedBuffer.java | 107 public long count() { method in class:AbstractSpinedBuffer
|
/libcore/ojluni/src/main/native/ |
H A D | ProcessEnvironment_md.c | 53 jsize count = 0; local 61 count++; 64 result = (*env)->NewObjectArray(env, 2*count, byteArrCls, 0);
|