/external/lzma/Java/Tukaani/src/org/tukaani/xz/simple/ |
IA64.java | 28 public int code(byte[] buf, int off, int len) { 29 int end = off + len - 16; 32 for (i = off; i <= end; i += 16) { 59 dest = src + (pos + i - off); 61 dest = src - (pos + i - off); 77 i -= off;
|
PowerPC.java | 22 public int code(byte[] buf, int off, int len) { 23 int end = off + len - 4; 26 for (i = off; i <= end; i += 4) { 35 dest = src + (pos + i - off); 37 dest = src - (pos + i - off); 46 i -= off;
|
SPARC.java | 22 public int code(byte[] buf, int off, int len) { 23 int end = off + len - 4; 26 for (i = off; i <= end; i += 4) { 37 dest = src + (pos + i - off); 39 dest = src - (pos + i - off); 52 i -= off;
|
X86.java | 33 public int code(byte[] buf, int off, int len) { 34 int prevPos = off - 1; 35 int end = off + len - 5; 38 for (i = off; i <= end; ++i) { 67 dest = src + (pos + i - off); 69 dest = src - (pos + i - off); 94 i -= off;
|
/libcore/ojluni/src/main/java/java/io/ |
PipedOutputStream.java | 127 * starting at offset <code>off</code> to this piped output stream. 132 * @param off the start offset in the data. 138 public void write(byte b[], int off, int len) throws IOException { 143 } else if ((off < 0) || (off > b.length) || (len < 0) || 144 ((off + len) > b.length) || ((off + len) < 0)) { 149 sink.receive(b, off, len);
|
StringReader.java | 80 * @param off Offset at which to start writing characters 88 public int read(char cbuf[], int off, int len) throws IOException { 91 if ((off < 0) || (off > cbuf.length) || (len < 0) || 92 ((off + len) > cbuf.length) || ((off + len) < 0)) { 100 str.getChars(next, next + n, cbuf, off);
|
CharArrayWriter.java | 92 * @param off the start offset in the data 95 public void write(char c[], int off, int len) { 96 if ((off < 0) || (off > c.length) || (len < 0) || 97 ((off + len) > c.length) || ((off + len) < 0)) { 107 System.arraycopy(c, off, buf, count, len); 115 * @param off Offset from which to start reading characters 118 public void write(String str, int off, int len) { 124 str.getChars(off, off + len, buf, count) [all...] |
PipedReader.java | 215 synchronized void receive(char c[], int off, int len) throws IOException { 217 receive(c[off++]); 296 * @param off the start offset of the data. 306 public synchronized int read(char cbuf[], int off, int len) throws IOException { 316 if ((off < 0) || (off > cbuf.length) || (len < 0) || 317 ((off + len) > cbuf.length) || ((off + len) < 0)) { 328 cbuf[off] = (char)c; 331 cbuf[off + rlen] = buffer[out++] [all...] |
/libcore/ojluni/src/main/java/java/util/jar/ |
JarOutputStream.java | 137 private static int get16(byte[] b, int off) { 138 return (b[off] & 0xff) | ((b[off+1] & 0xff) << 8); 145 private static void set16(byte[] b, int off, int value) { 146 b[off+0] = (byte)value; 147 b[off+1] = (byte)(value >> 8);
|
/libcore/ojluni/src/main/java/java/util/zip/ |
Adler32.java | 62 public void update(byte[] b, int off, int len) { 66 if (off < 0 || len < 0 || off > b.length - len) { 69 adler = updateBytes(adler, b, off, len); 137 private native static int updateBytes(int adler, byte[] b, int off, 140 int off, int len);
|
ZipInputStream.java | 175 * @param off the start offset in the destination array <code>b</code> 180 * @exception IndexOutOfBoundsException if <code>off</code> is negative, 182 * <code>b.length - off</code> 186 public int read(byte[] b, int off, int len) throws IOException { 188 if (off < 0 || len < 0 || off > b.length - len) { 199 len = super.read(b, off, len); 205 crc.update(b, off, len); 220 len = in.read(b, off, len); 224 crc.update(b, off, len) 333 int off = 0; local [all...] |
/external/libunwind/src/x86/ |
Gos-linux.c | 143 unw_word_t addr = c->sigcontext_addr, fpstate_addr, off; local 164 case UNW_X86_GS: off = LINUX_SC_GS_OFF; break; 165 case UNW_X86_FS: off = LINUX_SC_FS_OFF; break; 166 case UNW_X86_ES: off = LINUX_SC_ES_OFF; break; 167 case UNW_X86_DS: off = LINUX_SC_DS_OFF; break; 168 case UNW_X86_EDI: off = LINUX_SC_EDI_OFF; break; 169 case UNW_X86_ESI: off = LINUX_SC_ESI_OFF; break; 170 case UNW_X86_EBP: off = LINUX_SC_EBP_OFF; break; 171 case UNW_X86_ESP: off = LINUX_SC_ESP_OFF; break; 172 case UNW_X86_EBX: off = LINUX_SC_EBX_OFF; break [all...] |
Gos-freebsd.c | 144 unw_word_t addr = c->sigcontext_addr, off, xmm_off; local 177 off = 0; /* shut gcc warning */ 180 case UNW_X86_GS: off = FREEBSD_UC_MCONTEXT_GS_OFF; break; 181 case UNW_X86_FS: off = FREEBSD_UC_MCONTEXT_FS_OFF; break; 182 case UNW_X86_ES: off = FREEBSD_UC_MCONTEXT_ES_OFF; break; 183 case UNW_X86_DS: off = FREEBSD_UC_MCONTEXT_SS_OFF; break; 184 case UNW_X86_EDI: off = FREEBSD_UC_MCONTEXT_EDI_OFF; break; 185 case UNW_X86_ESI: off = FREEBSD_UC_MCONTEXT_ESI_OFF; break; 186 case UNW_X86_EBP: off = FREEBSD_UC_MCONTEXT_EBP_OFF; break; 187 case UNW_X86_ESP: off = FREEBSD_UC_MCONTEXT_ESP_OFF; break [all...] |
/external/iproute2/tc/ |
p_ip.c | 38 tkey->off = 12; 44 tkey->off = 16; 54 tkey->off = 1; 60 tkey->off = 0; 66 tkey->off = 9; 73 tkey->off = 1; 80 tkey->off = 6; 87 tkey->off = 6; 93 tkey->off = 6; 99 tkey->off = 6 [all...] |
/external/elfutils/libdw/ |
dwarf_nextcu.c | 39 dwarf_next_unit (Dwarf *dwarf, Dwarf_Off off, Dwarf_Off *next_off, 53 if (off == (Dwarf_Off) -1l 58 || unlikely (off + 4 >= dwarf->sectiondata[sec_idx]->d_size)) 67 const unsigned char *bytes = data + off; 110 if (unlikely (DIE_OFFSET_FROM_CU_OFFSET (off, offset_size, debug_types) 144 if (unlikely (type_offset < (size_t) (bytes - (data + off)))) 154 *header_sizep = bytes - (data + off); 171 *next_off = off + 2 * offset_size - 4 + length; 178 dwarf_nextcu (Dwarf *dwarf, Dwarf_Off off, Dwarf_Off *next_off, 182 return INTUSE(dwarf_next_unit) (dwarf, off, next_off, header_sizep, NULL [all...] |
/external/javasqlite/src/main/java/SQLite/ |
Blob.java | 127 * @param off offset into byte array 132 public int read(byte b[], int off, int len) throws IOException { 133 if (off + len > b.length) { 134 len = b.length - off; 142 int n = blob.read(b, off, pos, len); 221 * @param off offset within byte array 225 public void write(byte[] b, int off, int len) throws IOException { 227 if (off + len > b.length) { 228 len = b.length - off; 233 pos += blob.write(b, off, pos, len) [all...] |
/external/elfutils/tests/ |
low_high_pc.c | 44 fail(Dwarf_Off off, const char *name, const char *msg) 46 printf("%s: [%" PRIx64 "] '%s' %s\n", args->file, off, name, msg); 54 Dwarf_Off off = dwarf_dieoffset (die); local 58 fail (off, "<no name>", "die without a name"); 63 fail (off, name, "has DW_AT_low_pc but dwarf_lowpc fails"); 65 fail (off, name, "has DW_AT_high_pc but dwarf_highpc fails"); 75 fail (off, name, "highpc <= lowpc");
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractByteHasher.java | 53 * Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. 55 protected void update(byte[] b, int off, int len) { 56 for (int i = off; i < off + len; i++) { 75 public Hasher putBytes(byte[] bytes, int off, int len) { 76 checkPositionIndexes(off, off + len, bytes.length); 77 update(bytes, off, len);
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
DeltaOutputStream.java | 41 public void write(byte[] buf, int off, int len) throws IOException { 42 if (off < 0 || len < 0 || off + len < 0 || off + len > buf.length) 53 delta.encode(buf, off, FILTER_BUF_SIZE, filterBuf); 55 off += FILTER_BUF_SIZE; 59 delta.encode(buf, off, len, filterBuf);
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
Type.java | 163 private final int off;
field in class:Type 189 * @param off the offset of this descriptor in the previous buffer.
192 private Type(final int sort, final char[] buf, final int off, final int len)
196 this.off = off;
263 int off = 1;
local 266 char car = buf[off++];
270 while (buf[off++] != ';') {
278 off = 1;
280 while (buf[off] != ')') { [all...] |
/libcore/ojluni/src/main/java/java/net/ |
SocketOutputStream.java | 83 * @param off the start offset in the data 87 private native void socketWrite0(FileDescriptor fd, byte[] b, int off, 94 * @param off the start offset in the data 98 private void socketWrite(byte b[], int off, int len) throws IOException { 100 if (len <= 0 || off < 0 || off + len > b.length) { 112 socketWrite0(fd, b, off, len); 152 * @param off the start offset in the data 156 public void write(byte b[], int off, int len) throws IOException { 157 socketWrite(b, off, len) [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
ChannelInputStream.java | 95 public synchronized int read(byte[] bs, int off, int len) 98 if ((off < 0) || (off > bs.length) || (len < 0) || 99 ((off + len) > bs.length) || ((off + len) < 0)) { 107 bb.limit(Math.min(off + len, bb.capacity())); 108 bb.position(off);
|
/libcore/ojluni/src/main/native/ |
io_util.c | 68 outOfBounds(JNIEnv *env, jint off, jint len, jbyteArray array) { 69 return ((off < 0) || 73 ((*env)->GetArrayLength(env, array) - off < len)); 78 jint off, jint len, jfieldID fid) 90 if (outOfBounds(env, off, len, bytes)) { 114 (*env)->SetByteArrayRegion(env, bytes, off, nread, (jbyte *)buf); 154 jint off, jint len, jboolean append, jfieldID fid) 166 if (outOfBounds(env, off, len, bytes)) { 183 (*env)->GetByteArrayRegion(env, bytes, off, len, (jbyte *)buf); 186 off = 0 [all...] |
/external/sfntly/cpp/src/sfntly/data/ |
font_output_stream.cc | 46 void FontOutputStream::Write(ByteVector* b, int32_t off, int32_t len) { 49 if (off < 0 || len < 0 || off + len < 0 || 50 static_cast<size_t>(off + len) > b->size()) { 58 stream_->Write(b, off, len); 62 void FontOutputStream::Write(byte_t* b, int32_t off, int32_t len) { 65 if (off < 0 || len < 0 || off + len < 0) { 73 stream_->Write(b, off, len);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
IndefiniteLengthInputStream.java | 51 public int read(byte[] b, int off, int len) 57 return super.read(b, off, len); 65 int numRead = _in.read(b, off + 2, len - 2); 73 b[off] = (byte)_b1; 74 b[off + 1] = (byte)_b2;
|