HomeSort by relevance Sort by last modified time
    Searched refs:off (Results 476 - 500 of 3492) sorted by null

<<11121314151617181920>>

  /external/lzma/Java/Tukaani/src/org/tukaani/xz/
UncompressedLZMA2OutputStream.java 47 public void write(byte[] buf, int off, int len) throws IOException {
48 if (off < 0 || len < 0 || off + len < 0 || off + len > buf.length)
60 System.arraycopy(buf, off, uncompBuf, uncompPos, copySize);
  /libcore/ojluni/src/main/java/java/nio/
Buffer.java 556 static void checkBounds(int off, int len, int size) { // package-private
557 if ((off | len | (off + len) | (size - (off + len))) < 0)
560 "off=" + off + ", len=" + len + " out of bounds (size=" + size + ")");
  /libcore/ojluni/src/main/java/java/util/zip/
DeflaterInputStream.java 163 * @param off starting offset of the data within {@code b}
168 * off}
172 public int read(byte[] b, int off, int len) throws IOException {
177 } else if (off < 0 || len < 0 || len > b.length - off) {
200 n = def.deflate(b, off, len);
202 off += n;
DeflaterOutputStream.java 196 * @param off the start offset of the data
200 public void write(byte[] b, int off, int len) throws IOException {
204 if ((off | len | (off + len) | (b.length - (off + len))) < 0) {
210 def.setInput(b, off, len);
InflaterOutputStream.java 212 * @param off starting offset of the compressed data within {@code b}
214 * @throws IndexOutOfBoundsException if {@code off} < 0, or if
215 * {@code len} < 0, or if {@code len} > {@code b.length - off}
221 public void write(byte[] b, int off, int len) throws IOException {
226 } else if (off < 0 || len < 0 || len > b.length - off) {
246 inf.setInput(b, off, part);
247 off += part;
  /prebuilts/go/darwin-x86/src/runtime/debug/
garbage_test.go 46 off := (int(mstats.NumGC) + len(mstats.PauseNs) - 1) % len(mstats.PauseNs)
49 if dt != time.Duration(mstats.PauseNs[off]) {
50 t.Errorf("stats.Pause[%d] = %d, want %d", i, dt, mstats.PauseNs[off])
58 off = (off + len(mstats.PauseNs) - 1) % len(mstats.PauseNs)
78 off := (int(mstats.NumGC) + len(mstats.PauseEnd) - 1) % len(mstats.PauseEnd)
81 if dt.UnixNano() != int64(mstats.PauseEnd[off]) {
82 t.Errorf("stats.PauseEnd[%d] = %d, want %d", i, dt, mstats.PauseEnd[off])
84 off = (off + len(mstats.PauseEnd) - 1) % len(mstats.PauseEnd
    [all...]
  /prebuilts/go/linux-x86/src/runtime/debug/
garbage_test.go 46 off := (int(mstats.NumGC) + len(mstats.PauseNs) - 1) % len(mstats.PauseNs)
49 if dt != time.Duration(mstats.PauseNs[off]) {
50 t.Errorf("stats.Pause[%d] = %d, want %d", i, dt, mstats.PauseNs[off])
58 off = (off + len(mstats.PauseNs) - 1) % len(mstats.PauseNs)
78 off := (int(mstats.NumGC) + len(mstats.PauseEnd) - 1) % len(mstats.PauseEnd)
81 if dt.UnixNano() != int64(mstats.PauseEnd[off]) {
82 t.Errorf("stats.PauseEnd[%d] = %d, want %d", i, dt, mstats.PauseEnd[off])
84 off = (off + len(mstats.PauseEnd) - 1) % len(mstats.PauseEnd
    [all...]
  /external/apache-http/src/org/apache/http/impl/io/
AbstractSessionInputBuffer.java 106 int off = this.bufferlen; local
107 int len = this.buffer.length - off;
108 l = this.instream.read(this.buffer, off, len);
112 this.bufferlen = off + l;
133 public int read(final byte[] b, int off, int len) throws IOException {
148 System.arraycopy(this.buffer, this.bufferpos, b, off, chunk);
243 int off = this.bufferpos; local
249 if (pos > off && this.buffer[pos - 1] == HTTP.CR) {
254 len = pos - off;
256 charbuffer.append(this.buffer, off, len)
    [all...]
  /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...]
  /libcore/ojluni/src/main/java/sun/nio/cs/
StreamEncoder.java 116 public void write(char cbuf[], int off, int len) throws IOException {
119 if ((off < 0) || (off > cbuf.length) || (len < 0) ||
120 ((off + len) > cbuf.length) || ((off + len) < 0)) {
125 implWrite(cbuf, off, len);
129 public void write(String str, int off, int len) throws IOException {
134 str.getChars(off, off + len, cbuf, 0);
262 void implWrite(char cbuf[], int off, int len
    [all...]
  /bionic/libc/include/netinet/
ip6.h 272 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
285 if ((m)->m_len >= (off) + (len)) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
288 _t = m_pulldown((m), (off), (len), &_tmp); \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
303 if ((off) == 0 && (m)->m_len >= len) \
306 _t = m_pulldown((m), (off), (len), NULL); \
  /development/ndk/platforms/android-21/include/netinet/
ip6.h 272 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
285 if ((m)->m_len >= (off) + (len)) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
288 _t = m_pulldown((m), (off), (len), &_tmp); \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
303 if ((off) == 0 && (m)->m_len >= len) \
306 _t = m_pulldown((m), (off), (len), NULL); \
  /development/ndk/platforms/android-3/include/netinet/
ip6.h 272 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
285 if ((m)->m_len >= (off) + (len)) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
288 _t = m_pulldown((m), (off), (len), &_tmp); \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
303 if ((off) == 0 && (m)->m_len >= len) \
306 _t = m_pulldown((m), (off), (len), NULL); \
  /prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/netinet/
ip6.h 272 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
285 if ((m)->m_len >= (off) + (len)) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
288 _t = m_pulldown((m), (off), (len), &_tmp); \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
303 if ((off) == 0 && (m)->m_len >= len) \
306 _t = m_pulldown((m), (off), (len), NULL); \
  /prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/netinet/
ip6.h 272 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
285 if ((m)->m_len >= (off) + (len)) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
288 _t = m_pulldown((m), (off), (len), &_tmp); \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
303 if ((off) == 0 && (m)->m_len >= len) \
306 _t = m_pulldown((m), (off), (len), NULL); \
  /prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/netinet/
ip6.h 272 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
285 if ((m)->m_len >= (off) + (len)) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
288 _t = m_pulldown((m), (off), (len), &_tmp); \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
303 if ((off) == 0 && (m)->m_len >= len) \
306 _t = m_pulldown((m), (off), (len), NULL); \
  /prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/netinet/
ip6.h 272 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
285 if ((m)->m_len >= (off) + (len)) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
288 _t = m_pulldown((m), (off), (len), &_tmp); \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
303 if ((off) == 0 && (m)->m_len >= len) \
306 _t = m_pulldown((m), (off), (len), NULL); \
  /prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/netinet/
ip6.h 272 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
285 if ((m)->m_len >= (off) + (len)) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
288 _t = m_pulldown((m), (off), (len), &_tmp); \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
303 if ((off) == 0 && (m)->m_len >= len) \
306 _t = m_pulldown((m), (off), (len), NULL); \
  /prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/netinet/
ip6.h 272 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
285 if ((m)->m_len >= (off) + (len)) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
288 _t = m_pulldown((m), (off), (len), &_tmp); \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
303 if ((off) == 0 && (m)->m_len >= len) \
306 _t = m_pulldown((m), (off), (len), NULL); \
  /prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/netinet/
ip6.h 272 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
285 if ((m)->m_len >= (off) + (len)) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
288 _t = m_pulldown((m), (off), (len), &_tmp); \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
303 if ((off) == 0 && (m)->m_len >= len) \
306 _t = m_pulldown((m), (off), (len), NULL); \
  /prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/netinet/
ip6.h 272 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
285 if ((m)->m_len >= (off) + (len)) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
288 _t = m_pulldown((m), (off), (len), &_tmp); \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
303 if ((off) == 0 && (m)->m_len >= len) \
306 _t = m_pulldown((m), (off), (len), NULL); \
  /prebuilts/ndk/current/platforms/android-14/arch-x86/usr/include/netinet/
ip6.h 272 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
285 if ((m)->m_len >= (off) + (len)) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
288 _t = m_pulldown((m), (off), (len), &_tmp); \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
303 if ((off) == 0 && (m)->m_len >= len) \
306 _t = m_pulldown((m), (off), (len), NULL); \
  /prebuilts/ndk/current/platforms/android-15/arch-arm/usr/include/netinet/
ip6.h 272 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
285 if ((m)->m_len >= (off) + (len)) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
288 _t = m_pulldown((m), (off), (len), &_tmp); \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
303 if ((off) == 0 && (m)->m_len >= len) \
306 _t = m_pulldown((m), (off), (len), NULL); \
  /prebuilts/ndk/current/platforms/android-15/arch-mips/usr/include/netinet/
ip6.h 272 * IP6_EXTHDR_GET ensures that intermediate protocol header (from "off" to
281 #define IP6_EXTHDR_GET(val, typ, m, off, len) \
285 if ((m)->m_len >= (off) + (len)) \
286 (val) = (typ)(mtod((m), char *) + (off)); \
288 _t = m_pulldown((m), (off), (len), &_tmp); \
300 #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
303 if ((off) == 0 && (m)->m_len >= len) \
306 _t = m_pulldown((m), (off), (len), NULL); \

Completed in 2130 milliseconds

<<11121314151617181920>>