/external/guava/guava/src/com/google/common/io/ |
AppendableWriter.java | 54 @Override public void write(char cbuf[], int off, int len) 59 target.append(new String(cbuf, off, len)); 91 @Override public void write(@Nullable String str, int off, int len) throws IOException { 94 target.append(str, off, off + len);
|
/external/libvorbis/lib/ |
analysis.c | 70 void _analysis_output_always(char *base,int i,float *v,int n,int bark,int dB,ogg_int64_t off){ 85 if(off!=0) 86 fprintf(of,"%f ",(double)(j+off)/8000.); 105 ogg_int64_t off){ 106 if(analysis_noisy)_analysis_output_always(base,i,v,n,bark,dB,off);
|
/external/toybox/toys/other/ |
pmap.c | 60 int off, count; local 65 &start, &end, toybuf, &off); 68 name = line[off] ? line+off : " [anon]\n"; 92 xprintf("%s- %s%s", toybuf, line[off]=='[' ? " " : "", name);
|
/external/valgrind/none/tests/ |
map_unmap.c | 64 int off; local 67 off = (random() % LEN) & ~(pagesize-1); 70 /* printf("unmapping off=%d\n", off/pagesize); */ 71 munmap((char *)p + off, pagesize); 72 off += 619*pagesize; 73 off %= LEN;
|
/libcore/ojluni/src/main/java/java/nio/ |
DirectByteBuffer.java | 117 int off) { 118 this(memoryRef, mark, pos, lim, cap, off, false); 123 int off, boolean isReadOnly) { 124 super(mark, pos, lim, cap, memoryRef.buffer, off); 127 address = memoryRef.allocatedAddress + off; 149 int off = pos + offset; local 150 assert (off >= 0); 151 return new DirectByteBuffer(memoryRef, -1, 0, rem, rem, off, isReadOnly); 384 int off = this.position(); local 386 assert (off <= lim) 466 int off = this.position(); local 548 int off = this.position(); local 630 int off = this.position(); local 713 int off = this.position(); local 796 int off = this.position(); local [all...] |
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; 54 offset = off; 62 int off = (pos << 3) + offset; local 63 assert (off >= 0); 64 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; 53 offset = off; 61 int off = (pos << 2) + offset; local 62 assert (off >= 0); 63 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; 53 offset = off; 61 int off = (pos << 2) + offset; local 62 assert (off >= 0); 63 return new ByteBufferAsIntBuffer(bb, -1, 0, rem, rem, off, order);
|
ByteBufferAsLongBuffer.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; 53 offset = off; 61 int off = (pos << 3) + offset; local 62 assert (off >= 0); 63 return new ByteBufferAsLongBuffer(bb, -1, 0, rem, rem, off, order);
|
/prebuilts/go/darwin-x86/src/net/ |
dnsmsg.go | 376 // All the packers and unpackers take a (msg []byte, off int) 400 // Pack a domain name s into msg[off:]. 403 func packDomainName(s string, msg []byte, off int) (off1 int, ok bool) { 414 if off+tot > len(msg) { 425 msg[off] = byte(i - begin) 426 off++ 428 msg[off] = s[j] 429 off++ 434 msg[off] = 0 435 off+ [all...] |
/prebuilts/go/linux-x86/src/net/ |
dnsmsg.go | 376 // All the packers and unpackers take a (msg []byte, off int) 400 // Pack a domain name s into msg[off:]. 403 func packDomainName(s string, msg []byte, off int) (off1 int, ok bool) { 414 if off+tot > len(msg) { 425 msg[off] = byte(i - begin) 426 off++ 428 msg[off] = s[j] 429 off++ 434 msg[off] = 0 435 off+ [all...] |
/external/boringssl/src/crypto/asn1/ |
a_d2i_fp.c | 151 size_t off=0; local 164 if (want >= (len-off)) 166 want-=(len-off); 174 if ((i < 0) && ((len-off) == 0)) 191 p=(unsigned char *)&(b->data[off]); 194 len-off); 206 off+=i; /* end of data */ 232 if (want > (len-off)) 234 want-=(len-off); 260 if (off + c.slen < off [all...] |
/libcore/ojluni/src/main/java/sun/nio/cs/ |
StreamDecoder.java | 146 int off = offset; local 150 if ((off < 0) || (off > cbuf.length) || (len < 0) || 151 ((off + len) > cbuf.length) || ((off + len) < 0)) { 161 cbuf[off] = leftoverChar; 162 off++; len--; 175 cbuf[off] = (char)c; 179 return n + implRead(cbuf, off, off + len) [all...] |
/development/scripts/gdb/ |
dalvik.gdb | 52 To switch ART debugging mode off, use "art-off" 55 define art-off 68 document art-off
|
/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(dl), Order(O), IsIndirect(indir) { 66 SDDbgValue(MDNode *Var, MDNode *Expr, const Value *C, uint64_t off, 68 : Var(Var), Expr(Expr), Offset(off), DL(dl), Order(O), IsIndirect(false) { 74 SDDbgValue(MDNode *Var, MDNode *Expr, unsigned FI, uint64_t off, DebugLoc dl, 76 : Var(Var), Expr(Expr), Offset(off), DL(dl), Order(O), IsIndirect(false) {
|
/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];
|