/libcore/sqlite-jdbc/src/main/java/SQLite/ |
Blob.java | 123 * @param off offset into byte array 128 public int read(byte b[], int off, int len) throws IOException { 129 if (off + len > b.length) { 130 len = b.length - off; 138 int n = blob.read(b, off, pos, len); 217 * @param off offset within byte array 221 public void write(byte[] b, int off, int len) throws IOException { 223 if (off + len > b.length) { 224 len = b.length - off; 229 pos += blob.write(b, off, pos, len) [all...] |
/external/openssl/crypto/ec/ |
eck_prn.c | 71 int ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off) 82 ret = ECPKParameters_print(b, x, off); 87 int EC_KEY_print_fp(FILE *fp, const EC_KEY *x, int off) 98 ret = EC_KEY_print(b, x, off); 120 int EC_KEY_print(BIO *bp, const EC_KEY *x, int off) 127 ret = EVP_PKEY_print_private(bp, pk, off, NULL); 145 size_t len, int off); 147 int ECPKParameters_print(BIO *bp, const EC_GROUP *x, int off) 181 if (!BIO_indent(bp, off, 128)) 271 if (!BIO_indent(bp, off, 128) [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
GZIPInputStream.java | 134 private long getLong(byte[] buffer, int off) { 136 l |= (buffer[off] & 0xFF); 137 l |= (buffer[off + 1] & 0xFF) << 8; 138 l |= (buffer[off + 2] & 0xFF) << 16; 139 l |= ((long) (buffer[off + 3] & 0xFF)) << 24; 143 private int getShort(byte[] buffer, int off) { 144 return (buffer[off] & 0xFF) | ((buffer[off + 1] & 0xFF) << 8); 153 * @param off 159 public int read(byte[] buffer, int off, int nbytes) throws IOException [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
IndefiniteLengthInputStream.java | 50 public int read(byte[] b, int off, int len) 56 return super.read(b, off, len); 64 int numRead = _in.read(b, off + 2, len - 2); 72 b[off] = (byte)_b1; 73 b[off + 1] = (byte)_b2;
|
/external/guava/src/com/google/common/io/ |
AppendableWriter.java | 50 @Override public void write(char cbuf[], int off, int len) 55 target.append(new String(cbuf, off, len)); 87 @Override public void write(String str, int off, int len) throws IOException { 90 target.append(str, off, off + len);
|
CountingOutputStream.java | 47 @Override public void write(byte[] b, int off, int len) throws IOException { 48 out.write(b, off, len);
|
/external/openssl/crypto/des/ |
cbc3_enc.c | 66 int off=((int)length-1)/8; local 75 memcpy(niv1,output[off],sizeof(DES_cblock)); 81 memcpy(niv2,output[off],sizeof(DES_cblock)); 86 memcpy(niv2,input[off],sizeof(DES_cblock)); 92 memcpy(niv1,output[off],sizeof(DES_cblock));
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/io/ |
DigestInputStream.java | 36 int off, 40 int n = in.read(b, off, len); 43 digest.update(b, off, n);
|
MacInputStream.java | 36 int off, 40 int n = in.read(b, off, len); 43 mac.update(b, off, n);
|
/external/openssl/crypto/asn1/ |
a_d2i_fp.c | 152 long off=0; local 154 int off=0; local 168 if (want >= (len-off)) 170 want-=(len-off); 178 if ((i < 0) && ((len-off) == 0)) 188 p=(unsigned char *)&(b->data[off]); 191 len-off); 203 off+=i; /* end of data */ 224 if (want > (len-off)) 226 want-=(len-off); [all...] |
t_pkey.c | 66 unsigned char *buf, int off) 73 if(!BIO_indent(bp,off,128)) 105 || !BIO_indent(bp,off+4,128))
|
/frameworks/base/core/java/com/android/server/ |
ResettableTimeout.java | 43 public abstract void off(); method in class:ResettableTimeout 49 * <p>3. At the timeout, calls off()<p> 81 * Cancel the timeout and call off now. 93 off(); method 109 off(); method 125 // turn it off at this time.
|
/frameworks/base/libs/utils/ |
Debug.cpp | 35 ssize_t off = sizeof(indentStr)-1-(indentLevel*2); local 36 return indentStr + (off < 0 ? 0 : off);
|
/libcore/luni/src/main/java/java/security/ |
DigestInputStream.java | 35 // Indicates whether digest functionality is on or off 107 * @param off 118 public int read(byte[] b, int off, int len) throws IOException { 120 int bytesRead = in.read(b, off, len); 125 digest.update(b, off, bytesRead); 152 (isOn ? ", is on" : ", is off");
|
DigestOutputStream.java | 35 // Indicates whether digest functionality is on or off 96 * @param off 104 public void write(byte[] b, int off, int len) throws IOException { 107 digest.update(b, off, len); 110 out.write(b, off, len); 134 (isOn ? ", is on" : ", is off");
|
/packages/apps/Email/src/org/apache/commons/io/output/ |
TeeOutputStream.java | 24 * command. It allows a stream to be branched off so there
57 * @param off The start offset
61 public synchronized void write(byte[] b, int off, int len) throws IOException {
62 super.write(b, off, len);
63 this.branch.write(b, off, len);
|
/bionic/libc/stdio/ |
fgetln.c | 75 size_t off; local 103 * As a bonus, though, we can leave off the __SMOD. 111 for (len = fp->_r, off = 0;; len += fp->_r) { 121 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p, 122 len - off); 123 off = len; 135 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
|
/dalvik/dx/src/com/android/dx/util/ |
IndentingWriter.java | 139 public void write(char[] cbuf, int off, int len) throws IOException { 142 write(cbuf[off]); 143 off++; 151 public void write(String str, int off, int len) throws IOException { 154 write(str.charAt(off)); 155 off++;
|
/external/proguard/src/proguard/io/ |
ManifestRewriter.java | 122 public int read(char[] cbuf, int off, int len) throws IOException 134 cbuf[off + count++] = (char)c; 202 public void write(char[] cbuf, int off, int len) throws IOException 206 write(cbuf[off + count]); 211 public void write(String str, int off, int len) throws IOException 213 write(str.toCharArray(), off, len); local
|
/cts/tools/host/src/com/android/cts/ |
CUIOutputStream.java | 55 * @param off The offset to start writing. 58 static public void write(byte[] buf, int off, int len) { 59 sOutput.write(buf, off, len);
|
/external/apache-http/src/org/apache/http/impl/io/ |
IdentityInputStream.java | 82 public int read(final byte[] b, int off, int len) throws IOException { 86 return this.in.read(b, off, len);
|
/frameworks/base/core/java/android/text/ |
AlteredCharSequence.java | 89 public char charAt(int off) { 90 if (off >= mStart && off < mEnd) 91 return mChars[off - mStart]; 93 return mSource.charAt(off); 105 public void getChars(int start, int end, char[] dest, int off) { 106 TextUtils.getChars(mSource, start, end, dest, off); 112 System.arraycopy(mChars, start - mStart, dest, off, end - start);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
SSLSocketOutputStream.java | 51 public void write(byte[] b, int off, int len) throws IOException { 52 owner.writeAppData(b, off, len);
|
/system/extras/ext4_utils/ |
backed_block.h | 25 typedef void (*data_block_callback_t)(struct output_file *out, u64 off, 27 typedef void (*data_block_file_callback_t)(struct output_file *out, u64 off,
|
output_file.c | 58 static int file_seek(struct output_file *out, off64_t off) 62 ret = lseek64(out->fd, off, SEEK_SET); 97 static int gz_file_seek(struct output_file *out, off64_t off) 101 ret = gzseek(out->gz_fd, off, SEEK_SET); 184 static int write_chunk_raw(struct output_file *out, u64 off, u8 *data, int len) 197 //DBG printf("write chunk: offset 0x%llx, length 0x%x bytes\n", off, len); 199 if (off < out->cur_out_ptr) { 201 off, out->cur_out_ptr); 205 if (off > out->cur_out_ptr) { 206 emit_skip_chunk(out, off - out->cur_out_ptr) [all...] |