HomeSort by relevance Sort by last modified time
    Searched refs:off (Results 126 - 150 of 618) sorted by null

1 2 3 4 56 7 8 91011>>

  /libcore/luni/src/main/native/
zip.h 51 void setDictionary(JNIEnv* env, jbyteArray javaDictionary, int off, int len, bool inflate) {
57 env->GetByteArrayRegion(javaDictionary, off, len, &dictionaryBytes[0]);
72 void setInput(JNIEnv* env, jbyteArray buf, jint off, jint len) {
81 env->GetByteArrayRegion(buf, off, len, &input[0]);
  /development/tools/zoneinfo/
ZoneInfo.java 42 private static String nullName(byte[] data, int where, int off) {
43 if (off < 0)
46 int end = where + off;
50 return new String(data, where + off, end - (where + off));
82 private static int read4(byte[] data, int off) {
83 return ((data[off ] & 0xFF) << 24) |
84 ((data[off + 1] & 0xFF) << 16) |
85 ((data[off + 2] & 0xFF) << 8) |
86 ((data[off + 3] & 0xFF) << 0)
    [all...]
  /external/apache-http/src/org/apache/http/impl/conn/
LoggingSessionOutputBuffer.java 65 public void write(byte[] b, int off, int len) throws IOException {
66 this.out.write(b, off, len);
68 this.wire.output(b, off, len);
  /external/guava/src/com/google/common/io/
MultiInputStream.java 90 @Override public int read(byte[] b, int off, int len) throws IOException {
94 int result = in.read(b, off, len);
97 return read(b, off, len);
MultiReader.java 51 @Override public int read(char cbuf[], int off, int len) throws IOException {
55 int result = current.read(cbuf, off, len);
58 return read(cbuf, off, len);
  /frameworks/base/core/java/android/view/
Gravity.java 254 int off = 0; local
255 if (inoutObj.top < display.top) off = display.top-inoutObj.top;
256 else if (inoutObj.bottom > display.bottom) off = display.bottom-inoutObj.bottom;
257 if (off != 0) {
262 inoutObj.top += off;
263 inoutObj.bottom += off;
272 int off = 0; local
273 if (inoutObj.left < display.left) off = display.left-inoutObj.left;
274 else if (inoutObj.right > display.right) off = display.right-inoutObj.right;
275 if (off != 0)
    [all...]
  /libcore/luni/src/main/java/java/security/
SecureClassLoader.java 90 * @param off
98 * if {@code off} or {@code len} are not valid in respect to
107 protected final Class<?> defineClass(String name, byte[] b, int off, int len,
109 return cs == null ? defineClass(name, b, off, len) : defineClass(name,
110 b, off, len, getPD(cs));
  /libcore/luni/src/main/java/java/util/zip/
CheckedInputStream.java 71 * into {@code buf}, starting at offset {@code off}. The checksum is
76 * @param off
87 public int read(byte[] buf, int off, int nbytes) throws IOException {
88 int x = in.read(buf, off, nbytes);
90 check.update(buf, off, x);
GZIPOutputStream.java 84 * Write up to nbytes of data from the given buffer, starting at offset off,
88 public void write(byte[] buffer, int off, int nbytes) throws IOException {
89 super.write(buffer, off, nbytes);
90 crc.update(buffer, off, nbytes);
DeflaterOutputStream.java 192 * {@code off} and writes it to the underlying stream.
196 * @param off
204 public void write(byte[] buffer, int off, int nbytes) throws IOException {
209 if (off <= buffer.length && nbytes >= 0 && off >= 0
210 && buffer.length - off >= nbytes) {
214 def.setInput(buffer, off, nbytes);
  /external/apache-http/src/org/apache/http/impl/io/
AbstractSessionInputBuffer.java 101 int off = this.bufferlen; local
102 int len = this.buffer.length - off;
103 l = this.instream.read(this.buffer, off, len);
107 this.bufferlen = off + l;
128 public int read(final byte[] b, int off, int len) throws IOException {
143 System.arraycopy(this.buffer, this.bufferpos, b, off, chunk);
238 int off = this.bufferpos; local
244 if (pos > off && this.buffer[pos - 1] == HTTP.CR) {
249 len = pos - off;
251 charbuffer.append(this.buffer, off, len)
    [all...]
AbstractSessionOutputBuffer.java 98 public void write(final byte[] b, int off, int len) throws IOException {
109 this.outstream.write(b, off, len);
119 this.buffer.append(b, off, len);
152 int off = 0; local
158 this.buffer.append(s, off, chunk);
163 off += chunk;
  /external/ipsec-tools/src/libipsec/
ipsec_dump_policy.c 99 size_t off, buflen; local
231 off = sizeof(*xpl);
232 while (off < PFKEY_EXTLEN(xpl)) {
233 xisr = (void *)((caddr_t)(void *)xpl + off);
234 off += xisr->sadb_x_ipsecrequest_len;
238 if (off != PFKEY_EXTLEN(xpl)) {
244 off = sizeof(*xpl);
245 while (off < PFKEY_EXTLEN(xpl)) {
247 xisr = (void *)((caddr_t)(void *)xpl + off);
250 PFKEY_EXTLEN(xpl) - off, withports) == NULL)
    [all...]
  /frameworks/base/core/java/android/text/
AutoText.java 38 // int off;
142 int off = mTrie[here + TRIE_OFF]; local
143 int len = mText.charAt(off);
145 return mText.substring(off + 1, off + 1 + len);
185 char off; local
188 off = ooff;
190 off = (char) right.length();
195 add(src, off);
212 private void add(String src, char off) {
    [all...]
  /external/grub/stage2/
fsys_ffs.c 147 int logno, off, size, map, ret = 0; local
151 off = blkoff (SUPERBLOCK, filepos);
158 size -= off;
165 devread (fsbtodb (SUPERBLOCK, map), off, size, buf); local
186 int block, off, loc, map, ino = ROOTINO; local
251 if (!(off = blkoff (SUPERBLOCK, loc)))
266 dp = (struct direct *) (FSYS_BUF + off);
fsys_ufs2.c 171 int logno, off, size, ret = 0; local
176 off = blkoff (SUPERBLOCK, filepos);
183 size -= off;
190 devread (fsbtodb (SUPERBLOCK, map), off, size, buf); local
210 int block, off, loc, ino = ROOTINO; local
272 if (!(off = blkoff (SUPERBLOCK, loc)))
287 dp = (struct direct *) (FSYS_BUF + off);
  /frameworks/base/graphics/java/android/renderscript/
Allocation.java 79 private void data1DChecks(int off, int count, int len, int dataSize) {
81 if((off < 0) || (count < 1) || ((off + count) > mType.getElementCount())) {
89 public void subData1D(int off, int count, int[] d) {
91 data1DChecks(off, count, d.length * 4, dataSize);
92 mRS.nAllocationSubData1D(mID, off, count, d, dataSize);
94 public void subData1D(int off, int count, short[] d) {
96 data1DChecks(off, count, d.length * 2, dataSize);
97 mRS.nAllocationSubData1D(mID, off, count, d, dataSize);
99 public void subData1D(int off, int count, byte[] d)
    [all...]
  /external/iproute2/tc/
f_u32.c 120 int off, int offmask)
128 if (sel->keys[i].off == off && sel->keys[i].offmask == offmask) {
141 if (off % 4)
145 sel->keys[hwm].off = off;
152 int off, int offmask)
156 return pack_key(sel, key, mask, off, offmask);
160 int off, int offmask)
165 if ((off & 3) == 0)
717 int off; local
724 int off; local
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/util/encoders/
Base64Encoder.java 52 int off,
61 for (int i = off; i < off + dataLength; i += 3)
84 d1 = data[off + dataLength] & 0xff;
94 d1 = data[off + dataLength] & 0xff;
95 d2 = data[off + dataLength + 1] & 0xff;
125 int off,
133 int end = off + length;
135 while (end > off)
145 int i = off;
    [all...]
  /external/openssl/crypto/rsa/
rsa_ameth.c 183 static int do_rsa_print(BIO *bp, const RSA *x, int off, int priv)
214 if(!BIO_indent(bp,off,128))
231 if (!ASN1_bn_print(bp,str,x->n,m,off)) goto err;
232 if (!ASN1_bn_print(bp,s,x->e,m,off))
236 if (!ASN1_bn_print(bp,"privateExponent:",x->d,m,off))
238 if (!ASN1_bn_print(bp,"prime1:",x->p,m,off))
240 if (!ASN1_bn_print(bp,"prime2:",x->q,m,off))
242 if (!ASN1_bn_print(bp,"exponent1:",x->dmp1,m,off))
244 if (!ASN1_bn_print(bp,"exponent2:",x->dmq1,m,off))
246 if (!ASN1_bn_print(bp,"coefficient:",x->iqmp,m,off))
    [all...]
  /frameworks/base/core/java/android/net/
LocalSocketImpl.java 83 public int read(byte[] b, int off, int len) throws IOException {
88 if (off < 0 || len < 0 || (off + len) > b.length ) {
92 int ret = readba_native(b, off, len, myFd);
118 public void write (byte[] b, int off, int len) throws IOException {
123 if (off < 0 || len < 0 || (off + len) > b.length ) {
126 writeba_native(b, off, len, myFd);
144 private native int readba_native(byte[] b, int off, int len,
146 private native void writeba_native(byte[] b, int off, int len
    [all...]
  /libcore/luni/src/main/java/java/nio/
ByteBuffer.java 403 * @param off
408 * greater than {@code dst.length - off}
411 * if either {@code off} or {@code len} is invalid.
415 public ByteBuffer get(byte[] dst, int off, int len) {
417 if ((off < 0) || (len < 0) || ((long) off + (long) len > length)) {
424 for (int i = off; i < off + len; i++) {
734 * @param off
739 * greater than {@code src.length - off}
    [all...]
CharBuffer.java 327 * @param off
332 * greater than {@code dst.length - off}.
335 * if either {@code off} or {@code len} is invalid.
339 public CharBuffer get(char[] dst, int off, int len) {
341 if ((off < 0) || (len < 0) || (long) off + (long) len > length) {
348 for (int i = off; i < off + len; i++) {
479 * @param off
484 * greater than {@code src.length - off}
    [all...]
  /external/ppp/pppd/
tdb.c 366 static int tdb_write(TDB_CONTEXT *tdb, tdb_off off, void *buf, tdb_len len)
368 if (tdb_oob(tdb, off + len, 0) != 0)
372 memcpy(off + (char *)tdb->map_ptr, buf, len);
374 else if (pwrite(tdb->fd, buf, len, off) != (ssize_t)len) {
376 else if (lseek(tdb->fd, off, SEEK_SET) != off
382 off, len, strerror(errno)));
389 static int tdb_read(TDB_CONTEXT *tdb,tdb_off off,void *buf,tdb_len len,int cv)
391 if (tdb_oob(tdb, off + len, 0) != 0)
395 memcpy(buf, off + (char *)tdb->map_ptr, len)
439 tdb_off off = *d; local
    [all...]
  /packages/apps/Email/src/org/apache/commons/io/output/
ByteArrayOutputStream.java 136 * @param off The start offset
139 public void write(byte[] b, int off, int len) {
140 if ((off < 0)
141 || (off > b.length)
143 || ((off + len) > b.length)
144 || ((off + len) < 0)) {
155 System.arraycopy(b, off + len - remaining, currentBuffer, inBufferPos, part);

Completed in 333 milliseconds

1 2 3 4 56 7 8 91011>>