/external/bouncycastle/src/main/java/org/bouncycastle/crypto/util/ |
Pack.java | 5 public static int bigEndianToInt(byte[] bs, int off) 7 int n = bs[ off] << 24; 8 n |= (bs[++off] & 0xff) << 16; 9 n |= (bs[++off] & 0xff) << 8; 10 n |= (bs[++off] & 0xff); 14 public static void intToBigEndian(int n, byte[] bs, int off) 16 bs[ off] = (byte)(n >>> 24); 17 bs[++off] = (byte)(n >>> 16); 18 bs[++off] = (byte)(n >>> 8); 19 bs[++off] = (byte)(n ) [all...] |
/dalvik/dx/src/com/android/dx/util/ |
ByteArray.java | 122 * @param off {@code >= 0, < size();} offset to fetch 125 public int getByte(int off) { 126 checkOffsets(off, off + 1); 127 return getByte0(off); 133 * @param off {@code >= 0, < (size() - 1);} offset to fetch 136 public int getShort(int off) { 137 checkOffsets(off, off + 2); 138 return (getByte0(off) << 8) | getUnsignedByte0(off + 1) [all...] |
/libcore/luni/src/main/java/java/util/zip/ |
Adler32.java | 72 * @param off 80 public void update(byte[] buf, int off, int nbytes) { 82 if (off <= buf.length && nbytes >= 0 && off >= 0 83 && buf.length - off >= nbytes) { 84 adler = updateImpl(buf, off, nbytes, adler); 90 private native long updateImpl(byte[] buf, int off, int nbytes, long adler1);
|
CRC32.java | 69 * buf}, starting at offset {@code off}. 73 * @param off 78 public void update(byte[] buf, int off, int nbytes) { 80 if (off <= buf.length && nbytes >= 0 && off >= 0 81 && buf.length - off >= nbytes) { 83 crc = updateImpl(buf, off, nbytes, crc); 89 private native long updateImpl(byte[] buf, int off, int nbytes, long crc1);
|
Checksum.java | 44 * @param off 49 public void update(byte[] buf, int off, int nbytes);
|
Deflater.java | 193 * @param off 199 public synchronized int deflate(byte[] buf, int off, int nbytes) { 200 return deflateImpl(buf, off, nbytes, flushParm); 208 * @param off the offset within {@code buf} at which to start writing to. 220 public synchronized int deflate(byte[] buf, int off, int nbytes, int flush) { 224 return deflateImpl(buf, off, nbytes, flush); 228 byte[] buf, int off, int nbytes, int flush) { 232 if (off > buf.length || nbytes < 0 || off < 0 || buf.length - off < nbytes) [all...] |
Inflater.java | 217 * buf} starting at {@code off}. 221 * @param off 230 public synchronized int inflate(byte[] buf, int off, int nbytes) 233 if (off > buf.length || nbytes < 0 || off < 0 234 || buf.length - off < nbytes) { 252 int result = inflateImpl(buf, off, nbytes, streamHandle); 260 private native synchronized int inflateImpl(byte[] buf, int off, 328 * @param off 334 public synchronized void setDictionary(byte[] buf, int off, int nbytes) [all...] |
CheckedOutputStream.java | 73 * Writes n bytes of data from {@code buf} starting at offset {@code off} to 78 * @param off 87 public void write(byte[] buf, int off, int nbytes) throws IOException { 88 out.write(buf, off, nbytes); 89 check.update(buf, off, nbytes);
|
/bionic/libc/unistd/ |
lseek64.c | 32 loff_t lseek64(int fd, loff_t off, int whence) 36 if ( __llseek(fd, (unsigned long)(off >> 32),(unsigned long)(off), &result, whence ) < 0 )
|
/external/e2fsprogs/ext2ed/ |
ext2ed.conf.in | 37 # AllowChanges off will not allow ext2ed to do any changes to the 58 ForceExt2 off 77 ForceDefault off
|
/frameworks/base/opengl/tests/gl_jni/jni/ |
gl_code.cpp | 116 const unsigned int off = 0xffffffff; local 119 on, off, on, off, on, off, on, off, 120 off, on, off, on, off, on, off, on, 121 on, off, on, off, on, off, on, off [all...] |
/frameworks/base/opengl/tests/tritex/ |
tritex.cpp | 208 const unsigned int off = 0xffffffff; local 211 on, off, on, off, on, off, on, off, 212 off, on, off, on, off, on, off, on, 213 on, off, on, off, on, off, on, off [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/util/encoders/ |
Encoder.java | 12 int encode(byte[] data, int off, int length, OutputStream out) throws IOException; 14 int decode(byte[] data, int off, int length, OutputStream out) throws IOException;
|
/external/elfutils/libdw/ |
dwarf_nextcu.c | 23 dwarf_nextcu (dwarf, off, next_off, header_sizep, abbrev_offsetp, 26 Dwarf_Off off; 38 if (off == (Dwarf_Off) -1l 42 || unlikely (off + 4 >= dwarf->sectiondata[IDX_debug_info]->d_size)) 50 char *bytes = (char *) dwarf->sectiondata[IDX_debug_info]->d_buf + off; 86 if (unlikely (off + 2 * offset_size - 4 + sizeof (uint16_t) 125 + off)); 128 *next_off = off + 2 * offset_size - 4 + length;
|
dwarf_formstring.c | 46 uint64_t off; local 49 off = read_8ubyte_unaligned (dbg, attrp->valp); 51 off = read_4ubyte_unaligned (dbg, attrp->valp); 53 if (off >= dbg->sectiondata[IDX_debug_str]->d_size) 56 return (const char *) dbg->sectiondata[IDX_debug_str]->d_buf + off;
|
/external/apache-http/src/org/apache/http/util/ |
ByteArrayBuffer.java | 62 public void append(final byte[] b, int off, int len) { 66 if ((off < 0) || (off > b.length) || (len < 0) || 67 ((off + len) < 0) || ((off + len) > b.length)) { 77 System.arraycopy(b, off, this.buffer, this.len, len); 90 public void append(final char[] b, int off, int len) { 94 if ((off < 0) || (off > b.length) || (len < 0) || 95 ((off + len) < 0) || ((off + len) > b.length)) 116 append(b.buffer(), off, len); local [all...] |
CharArrayBuffer.java | 64 public void append(final char[] b, int off, int len) { 68 if ((off < 0) || (off > b.length) || (len < 0) || 69 ((off + len) < 0) || ((off + len) > b.length)) { 79 System.arraycopy(b, off, this.buffer, this.len, len); 96 public void append(final CharArrayBuffer b, int off, int len) { 100 append(b.buffer, off, len); 119 public void append(final byte[] b, int off, int len) { 123 if ((off < 0) || (off > b.length) || (len < 0) | 149 append(b.buffer(), off, len); local [all...] |
/external/bluetooth/bluez/src/ |
oui.c | 46 char *str, *map, *off, *end; local 79 off = strstr(map, oui); 80 if (off) { 81 off += 18; 82 end = strpbrk(off, "\r\n"); 83 strncpy(str, off, end - off);
|
/external/chromium/third_party/libevent/ |
buffer.c | 96 (x)->off = (y)->off; \ 105 if (outbuf->off == 0) { 107 size_t oldoff = inbuf->off; 119 if (inbuf->off != oldoff && inbuf->cb != NULL) 120 (*inbuf->cb)(inbuf, oldoff, inbuf->off, inbuf->cbarg); 127 res = evbuffer_add(outbuf, inbuf->buffer, inbuf->off); 130 evbuffer_drain(inbuf, inbuf->off); 141 size_t oldoff = buf->off; 148 size_t used = buf->misalign + buf->off; [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/io/ |
DigestOutputStream.java | 31 int off, 35 digest.update(b, off, len); 36 out.write(b, off, len);
|
MacOutputStream.java | 31 int off, 35 mac.update(b, off, len); 36 out.write(b, off, len);
|
/external/quake/quake/src/QW/dxsdk/sdk/inc/ |
fastfile.h | 21 extern BOOL FastFileSeek( HFASTFILE pfe, int off, int how );
23 extern LPVOID FastFileLock( HFASTFILE pfe, int off, int len );
24 extern BOOL FastFileUnlock( HFASTFILE pfe, int off, int len );
|
/external/quake/quake/src/WinQuake/dxsdk/SDK/INC/ |
FASTFILE.H | 21 extern BOOL FastFileSeek( HFASTFILE pfe, int off, int how );
23 extern LPVOID FastFileLock( HFASTFILE pfe, int off, int len );
24 extern BOOL FastFileUnlock( HFASTFILE pfe, int off, int len );
|
/frameworks/base/opengl/tests/gl_basic/ |
gl_basic.cpp | 315 const unsigned int off = 0xffffffff; 318 on, off, on, off, on, off, on, off, 319 off, on, off, on, off, on, off, on, 320 on, off, on, off, on, off, on, off [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/ |
Signer.java | 24 public void update(byte[] in, int off, int len);
|