Searched defs:count (Results 1 - 25 of 207) sorted by relevance

123456789

/dalvik/libcore/sql/src/main/java/SQLite/
H A DBusyHandler.java16 * @param count number of times the table was locked
19 public boolean busy(String table, int count); argument
H A DFunctionContext.java71 public native int count(); method in class:FunctionContext
H A DStringEncoder.java48 // determine count
155 * Copies count elements from source, starting at element with
159 * @param count the number of elements to be copied.
165 int count, byte[] target) {
166 for (int i = offset, j = 0; i < offset + count; i++, j++) {
164 byteCopy(byte[] source, int offset, int count, byte[] target) argument
/dalvik/libdex/
H A Dsha1.h9 unsigned long count[2]; member in struct:__anon27
H A DDexDataMap.h27 u4 count; /* number of items currently in the map */ member in struct:DexDataMap
/dalvik/tests/023-many-interfaces/
H A Diface-gen.c11 static int createFiles(int count) argument
16 for (i = 0; i < count; i++) {
35 for (i = 0; i < count; i++) {
36 fprintf(fp, " Interface%03d%s\n", i, (i == count-1) ? "" : ",");
39 for (i = 1; i < count; i += 2) {
/dalvik/libcore/sql/src/main/java/java/sql/
H A DArray.java39 * starting at a particular {@code index} and comprising up to {@code count}
45 * @param count
51 public Object getArray(long index, int count) throws SQLException; argument
55 * starting at a particular {@code index} and comprising up to {@code count}
61 * @param count
70 public Object getArray(long index, int count, Map<String, Class<?>> map) argument
117 * beginning at a particular index and comprising up to {@code count}
123 * @param count
129 public ResultSet getResultSet(long index, int count) throws SQLException; argument
133 * beginning at a particular index and comprising up to {@code count}
149 getResultSet(long index, int count, Map<String, Class<?>> map) argument
[all...]
/dalvik/libcore/luni/src/main/java/java/io/
H A DBufferedOutputStream.java51 protected int count; field in class:BufferedOutputStream
118 * Writes {@code count} bytes from the byte array {@code buffer} starting at
140 * If offset or count is outside of bounds.
172 if (length >= (internalBuffer.length - count)) {
176 // the length is always less than (internalBuffer.length - count) here so arraycopy is safe
177 System.arraycopy(buffer, offset, internalBuffer, count, length);
178 count += length;
196 * copied into the buffer and the count incremented. Otherwise, the buffer
212 if (count == internalBuffer.length) {
213 out.write(internalBuffer, 0, count);
[all...]
H A DFilterInputStream.java134 * Reads at most {@code count} bytes from this stream and stores them in the
145 * @param count
153 public int read(byte[] buffer, int offset, int count) throws IOException { argument
154 return in.read(buffer, offset, count);
174 * Skips {@code count} number of bytes in this stream. Subsequent
176 * used. This implementation skips {@code count} number of bytes in the
179 * @param count
188 public long skip(long count) throws IOException { argument
189 return in.skip(count);
H A DFilterReader.java119 * Reads at most {@code count} characters from the filtered reader and stores them
129 * @param count
137 public int read(char[] buffer, int offset, int count) throws IOException { argument
139 return in.read(buffer, offset, count);
182 * Skips {@code count} characters in this reader. Subsequent {@code read()}'s
186 * @param count
197 public long skip(long count) throws IOException { argument
199 return in.skip(count);
H A DFilterWriter.java77 * Writes {@code count} characters from the char array {@code buffer}
84 * @param count
90 public void write(char[] buffer, int offset, int count) throws IOException { argument
95 out.write(buffer, offset, count);
116 * Writes {@code count} characters from the string {@code str} starting at
124 * @param count
130 public void write(String str, int offset, int count) throws IOException { argument
132 out.write(str, offset, count);
H A DObjectInput.java71 * Reads at most {@code count} bytes from this stream and stores them in
72 * byte array {@code buffer} starting at offset {@code count}. Blocks while
80 * @param count
87 public int read(byte[] buffer, int offset, int count) throws IOException; argument
H A DObjectOutput.java57 * Writes {@code count} bytes from the byte array {@code buffer} starting at
65 * @param count
71 public void write(byte[] buffer, int offset, int count) throws IOException; argument
H A DOutputStream.java86 * Writes {@code count} bytes from the byte array {@code buffer} starting at
93 * @param count
99 * if {@code offset < 0} or {@code count < 0}, or if
100 * {@code offset + count} is bigger than the length of
103 public void write(byte[] buffer, int offset, int count) throws IOException { argument
112 // used (offset | count) < 0 instead of (offset < 0) || (count < 0)
117 if ((offset | count) < 0 || count > buffer.length - offset) {
121 for (int i = offset; i < offset + count;
[all...]
H A DPipedOutputStream.java128 * Writes {@code count} bytes from the byte array {@code buffer} starting at
140 * @param count
144 * if {@code offset < 0} or {@code count < 0}, or if {@code
145 * offset + count} is bigger than the length of {@code buffer}.
156 public void write(byte[] buffer, int offset, int count) throws IOException { argument
157 super.write(buffer, offset, count);
H A DPipedWriter.java133 * Writes {@code count} characters from the character array {@code buffer}
145 * @param count
149 * if {@code offset < 0} or {@code count < 0}, or if {@code
150 * offset + count} is bigger than the length of {@code buffer}.
164 public void write(char[] buffer, int offset, int count) throws IOException { argument
170 reader.receive(buffer, offset, count);
H A DReader.java153 * Reads at most {@code count} characters from this reader and stores them
163 * @param count
170 public abstract int read(char[] buf, int offset, int count) argument
213 * count} characters.
215 * @param count
226 public long skip(long count) throws IOException { argument
227 if (count < 0) {
232 int toRead = count < 512 ? (int) count : 512;
234 while (skipped < count) {
[all...]
H A DSequenceInputStream.java152 * Reads at most {@code count} bytes from this sequence of input streams and
160 * requested by {@code count}, it will not retry to read more on its own
173 * @param count
179 * if {@code offset < 0} or {@code count < 0}, or if {@code
180 * offset + count} is greater than the size of {@code buffer}.
187 public int read(byte[] buffer, int offset, int count) throws IOException { argument
198 // used (offset | count) < 0 instead of (offset < 0) || (count < 0)
200 if ((offset | count) < 0 || offset > buffer.length - count) {
[all...]
H A DStringBufferInputStream.java38 protected int count; field in class:StringBufferInputStream
60 count = str.length();
65 return count - pos;
78 return pos < count ? buffer.charAt(pos++) & 0xFF : -1;
108 if (pos >= count) {
129 int copylen = count - pos < length ? count - pos : length;
162 if (this.count - pos < n) {
163 numskipped = this.count - pos;
164 pos = this.count;
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/
H A DSocketInputStream.java71 public int read(byte[] buffer, int offset, int count) throws IOException { argument
76 if (0 == count) {
84 if (0 > count || offset + count > buffer.length) {
88 return socket.read(buffer, offset, count);
H A DSocketOutputStream.java54 public void write(byte[] buffer, int offset, int count) throws IOException { argument
57 if (0 <= offset && offset <= buffer.length && 0 <= count
58 && count <= buffer.length - offset) {
59 socket.write(buffer, offset, count);
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_ASimpleReader.java56 public int read(char[] dest, int offset, int count) throws IOException { argument
62 int readable = (available < count ? available : count);
H A DSupport_StringWriter.java99 * 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 DThrowingReader.java45 @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);
/dalvik/libcore/xml/src/main/java/org/apache/xml/serializer/
H A DWriterChain.java35 * write(char[] chars, int start, int count)
37 * write(String chars, int start, int count)
58 public void write(char[] chars, int start, int count) throws IOException; argument
62 public void write(String chars, int start, int count) throws IOException; argument

Completed in 812 milliseconds

123456789