/tools/tradefederation/core/src/com/android/tradefed/util/ |
FixedByteArrayOutputStream.java | 79 public void write(byte[] b, int off, int len) throws IOException { 85 System.arraycopy(b, off + len - mBuffer.length, mBuffer, 0, mBuffer.length); 93 System.arraycopy(b, off, mBuffer, mWritePos, len); 96 System.arraycopy(b, off, mBuffer, mWritePos, freeSpace); 98 System.arraycopy(b, off + freeSpace, mBuffer, 0, len - freeSpace);
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_lowering_nvc0.h | 128 Value *loadResInfo32(Value *ptr, uint32_t off, uint16_t base); 129 Value *loadResInfo64(Value *ptr, uint32_t off, uint16_t base); 130 Value *loadResLength32(Value *ptr, uint32_t off, uint16_t base); 131 Value *loadSuInfo32(Value *ptr, int slot, uint32_t off); 132 Value *loadBufInfo64(Value *ptr, uint32_t off); 133 Value *loadBufLength32(Value *ptr, uint32_t off); 134 Value *loadUboInfo64(Value *ptr, uint32_t off); 135 Value *loadUboLength32(Value *ptr, uint32_t off); 136 Value *loadMsInfo32(Value *ptr, uint32_t off);
|
/libcore/ojluni/src/main/java/java/nio/ |
HeapCharBuffer.java | 53 HeapCharBuffer(char[] buf, int off, int len) { // package-private 54 this(buf, off, len, false); 57 HeapCharBuffer(char[] buf, int off, int len, boolean isReadOnly) { // package-private 58 super(-1, off, off + len, buf.length, buf, 0); 64 int off) { 65 this(buf, mark, pos, lim, cap, off, false); 70 int off, boolean isReadOnly) { 71 super(mark, pos, lim, cap, buf, off);
|
HeapDoubleBuffer.java | 48 HeapDoubleBuffer(double[] buf, int off, int len) { // package-private 49 this(buf, off, len, false); 54 int off) { 55 this(buf, mark, pos, lim, cap, off, false); 63 HeapDoubleBuffer(double[] buf, int off, int len, boolean isReadOnly) { // package-private 64 super(-1, off, off + len, buf.length, buf, 0); 70 int off, boolean isReadOnly) { 71 super(mark, pos, lim, cap, buf, off);
|
HeapFloatBuffer.java | 53 HeapFloatBuffer(float[] buf, int off, int len) { // package-private 54 this(buf, off, len, false); 57 HeapFloatBuffer(float[] buf, int off, int len, boolean isReadOnly) { // package-private 58 super(-1, off, off + len, buf.length, buf, 0); 64 int off) { 65 this(buf, mark, pos, lim, cap, off, false); 70 int off, boolean isReadOnly) { 71 super(mark, pos, lim, cap, buf, off);
|
HeapIntBuffer.java | 53 HeapIntBuffer(int[] buf, int off, int len) { // package-private 54 this(buf, off, len, false); 57 HeapIntBuffer(int[] buf, int off, int len, boolean isReadOnly) { // package-private 58 super(-1, off, off + len, buf.length, buf, 0); 64 int off) { 65 this(buf, mark, pos, lim, cap, off, false); 70 int off, boolean isReadOnly) { 71 super(mark, pos, lim, cap, buf, off);
|
HeapLongBuffer.java | 54 HeapLongBuffer(long[] buf, int off, int len) { // package-private 55 this(buf, off, len, false); 58 HeapLongBuffer(long[] buf, int off, int len, boolean isReadOnly) { // package-private 59 super(-1, off, off + len, buf.length, buf, 0); 65 int off) { 66 this(buf, mark, pos, lim, cap, off, false); 71 int off, boolean isReadOnly) { 72 super(mark, pos, lim, cap, buf, off);
|
HeapShortBuffer.java | 53 HeapShortBuffer(short[] buf, int off, int len) { // package-private 54 this(buf, off, len, false); 57 HeapShortBuffer(short[] buf, int off, int len, boolean isReadOnly) { // package-private 58 super(-1, off, off + len, buf.length, buf, 0); 64 int off) { 65 this(buf, mark, pos, lim, cap, off, false); 70 int off, boolean isReadOnly) { 71 super(mark, pos, lim, cap, buf, off);
|
ByteBufferAsDoubleBuffer.java | 39 int off, ByteOrder order) { 48 // the position of parent buffer. Therefore, value of "off" will be equal to parent buffer's 51 this.address = bb.address + off; 55 offset = off; 63 int off = (pos << 3) + offset; local 64 assert (off >= 0); 65 return new ByteBufferAsDoubleBuffer(bb, -1, 0, rem, rem, off, order);
|
ByteBufferAsFloatBuffer.java | 38 int off, ByteOrder order) { 47 // the position of parent buffer. Therefore, value of "off" will be equal to parent buffer's 50 this.address = bb.address + off; 54 offset = off; 62 int off = (pos << 2) + offset; local 63 assert (off >= 0); 64 return new ByteBufferAsFloatBuffer(bb, -1, 0, rem, rem, off, order);
|
ByteBufferAsIntBuffer.java | 38 int off, ByteOrder order) { 47 // the position of parent buffer. Therefore, value of "off" will be equal to parent buffer's 50 this.address = bb.address + off; 54 offset = off; 62 int off = (pos << 2) + offset; local 63 assert (off >= 0); 64 return new ByteBufferAsIntBuffer(bb, -1, 0, rem, rem, off, order);
|
/external/boringssl/src/crypto/asn1/ |
a_d2i_fp.c | 168 size_t off = 0; local 179 if (want >= (len - off)) { 180 want -= (len - off); 187 if ((i < 0) && ((len - off) == 0)) { 201 p = (unsigned char *)&(b->data[off]); 204 len - off); 215 off += i; /* end of data */ 235 if (want > (len - off)) { 237 want -= (len - off); 274 if (off + c.slen < off) [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
ZipEntry.java | 492 int off = 0; local 494 while (off + 4 < len) { 495 int tag = get16(extra, off); 496 int sz = get16(extra, off + 2); 497 off += 4; 498 if (off + sz > len) // invalid data 510 size = get64(extra, off); 511 csize = get64(extra, off + 8); 518 int pos = off + 4; // reserved 4 bytes 526 int flag = Byte.toUnsignedInt(extra[off]); [all...] |
/libcore/ojluni/src/main/java/sun/nio/cs/ |
StreamDecoder.java | 147 int off = offset; local 151 if ((off < 0) || (off > cbuf.length) || (len < 0) || 152 ((off + len) > cbuf.length) || ((off + len) < 0)) { 162 cbuf[off] = leftoverChar; 163 off++; len--; 176 cbuf[off] = (char)c; 180 return n + implRead(cbuf, off, off + len) [all...] |
/prebuilts/go/darwin-x86/src/cmd/internal/bio/ |
buf.go | 49 off, err := r.f.Seek(offset, whence) 54 return off 61 off, err := w.f.Seek(offset, whence) 65 return off 69 off, err := r.f.Seek(0, 1) 73 off -= int64(r.Buffered()) 74 return off 81 off, err := w.f.Seek(0, 1) 85 return off
|
/prebuilts/go/linux-x86/src/cmd/internal/bio/ |
buf.go | 49 off, err := r.f.Seek(offset, whence) 54 return off 61 off, err := w.f.Seek(offset, whence) 65 return off 69 off, err := r.f.Seek(0, 1) 73 off -= int64(r.Buffered()) 74 return off 81 off, err := w.f.Seek(0, 1) 85 return off
|
/development/scripts/gdb/ |
dalvik.gdb | 52 To switch ART debugging mode off, use "art-off" 55 define art-off 68 document art-off
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
fgetstr.c | 102 size_t off;
local 137 * As a bonus, though, we can leave off the __SMOD.
145 for (len = fp->_r, off = 0;; len += fp->_r) {
155 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
156 len - off);
157 off = len;
169 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p,
|
/external/boringssl/src/crypto/evp/ |
print.c | 68 uint8_t *buf, int off) { 73 if (!BIO_indent(bp, off, 128)) { 108 !BIO_indent(bp, off + 4, 128)) { 136 static int do_rsa_print(BIO *out, const RSA *rsa, int off, 165 if (!BIO_indent(out, off, 128)) { 182 if (!bn_print(out, str, rsa->n, m, off) || 183 !bn_print(out, s, rsa->e, m, off)) { 188 if (!bn_print(out, "privateExponent:", rsa->d, m, off) || 189 !bn_print(out, "prime1:", rsa->p, m, off) || 190 !bn_print(out, "prime2:", rsa->q, m, off) || [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
Base64.java | 24 int off, 27 byte[] encoded = encode(data, off, length); 49 int off, 57 encoder.encode(data, off, length, bOut); 87 int off, 92 return encoder.encode(data, off, length, out);
|
/external/guava/guava/src/com/google/common/base/ |
Utf8.java | 121 * @param off the offset in the buffer of the first byte to read 124 public static boolean isWellFormed(byte[] bytes, int off, int len) { 125 int end = off + len; 126 checkPositionIndexes(off, end, bytes.length); 128 for (int i = off; i < end; i++) { 136 private static boolean isWellFormedSlowPath(byte[] bytes, int off, int end) { 137 int index = off;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
SDNodeDbgValue.h | 58 uint64_t off, DebugLoc dl, unsigned O) 59 : Var(Var), Expr(Expr), Offset(off), DL(std::move(dl)), Order(O), 67 SDDbgValue(MDNode *Var, MDNode *Expr, const Value *C, uint64_t off, 69 : Var(Var), Expr(Expr), Offset(off), DL(std::move(dl)), Order(O), 76 SDDbgValue(MDNode *Var, MDNode *Expr, unsigned FI, uint64_t off, DebugLoc dl, 78 : Var(Var), Expr(Expr), Offset(off), DL(std::move(dl)), Order(O),
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
SimpleOutputStream.java | 48 public void write(byte[] buf, int off, int len) throws IOException { 49 if (off < 0 || len < 0 || off + len < 0 || off + len > buf.length) 61 System.arraycopy(buf, off, filterBuf, pos + unfiltered, copySize); 62 off += copySize;
|
XZInputStream.java | 237 * @param off start offset in <code>buf</code> 254 public int read(byte[] buf, int off, int len) throws IOException { 255 if (off < 0 || len < 0 || off + len < 0 || off + len > buf.length) 280 int ret = xzIn.read(buf, off, len); 284 off += ret;
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/common/ |
DecoderUtil.java | 22 public static boolean isCRC32Valid(byte[] buf, int off, int len, 25 crc32.update(buf, off, len); 81 private static StreamFlags decodeStreamFlags(byte[] buf, int off) 83 if (buf[off] != 0x00 || (buf[off + 1] & 0xFF) >= 0x10) 87 streamFlags.checkType = buf[off + 1];
|