/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
ConstructedOctetStream.java | 20 public int read(byte[] b, int off, int len) throws IOException 44 int numRead = _currentStream.read(b, off + totalRead, len - totalRead);
|
DefiniteLengthInputStream.java | 65 public int read(byte[] buf, int off, int len) 74 int numRead = _in.read(buf, off, toRead);
|
/external/bouncycastle/src/main/java/org/bouncycastle/util/encoders/ |
Base64.java | 54 int off, 59 return encoder.encode(data, off, length, out);
|
/external/guava/src/com/google/common/io/ |
LimitInputStream.java | 71 @Override public int read(byte[] b, int off, int len) throws IOException { 77 int result = in.read(b, off, len);
|
ByteStreams.java | 68 * @param off the offset in the buffer of the first byte to read 73 final byte[] b, final int off, final int len) { 76 return new ByteArrayInputStream(b, off, len); 271 /*@Override*/ public void readFully(byte b[], int off, int len) { 273 input.readFully(b, off, len); 440 /*@Override*/ public void write(byte[] b, int off, int len) { 442 output.write(b, off, len); 619 * starting at {@code off}, with the same behavior as 625 * @param off an int specifying the offset into the data. 631 public static void readFully(InputStream in, byte[] b, int off, int len [all...] |
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/ |
racoon.conf | 17 passive off;
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
MessageLite.java | 270 Builder mergeFrom(byte[] data, int off, int len) 287 Builder mergeFrom(byte[] data, int off, int len,
|
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
MessageMicro.java | 112 public MessageMicro mergeFrom(final byte[] data, final int off, final int len) 115 final CodedInputStreamMicro input = CodedInputStreamMicro.newInstance(data, off, len);
|
/frameworks/base/core/java/android/text/method/ |
MultiTapKeyListener.java | 68 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); local 70 if (sInstance[off] == null) { 71 sInstance[off] = new MultiTapKeyListener(cap, autotext); 74 return sInstance[off]; 171 int off = 0; local 176 off = i; 189 content.replace(selStart, selEnd, val, off, off + 1);
|
/libcore/luni/src/main/java/javax/crypto/ |
CipherOutputStream.java | 99 * {@code off} to this cipher output stream. 103 * @param off 111 public void write(byte[] b, int off, int len) throws IOException { 115 byte[] result = cipher.update(b, off, len);
|
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/ftp/ |
FtpURLInputStream.java | 45 public int read(byte[] buf, int off, int nbytes) throws IOException { 46 return is.read(buf, off, nbytes);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
SSLInputStream.java | 113 public int read(byte[] b, int off, int len) throws IOException { 120 b[off+i] = (byte) read_b;
|
/libcore/luni/src/main/native/ |
java_util_zip_Inflater.cpp | 57 static void Inflater_setInputImpl(JNIEnv* env, jobject, jbyteArray buf, jint off, jint len, jlong handle) { 58 toNativeZipStream(handle)->setInput(env, buf, off, len); 61 static jint Inflater_setFileInputImpl(JNIEnv* env, jobject, jobject javaFileDescriptor, jlong off, jint len, jlong handle) { 77 int rc = TEMP_FAILURE_RETRY(lseek(fd, off, SEEK_SET)); 97 static jint Inflater_inflateImpl(JNIEnv* env, jobject recv, jbyteArray buf, int off, int len, jlong handle) { 112 stream->stream.next_out = reinterpret_cast<Bytef*>(out.get() + off); 150 static void Inflater_setDictionaryImpl(JNIEnv* env, jobject, jbyteArray dict, int off, int len, jlong handle) { 151 toNativeZipStream(handle)->setDictionary(env, dict, off, len, true);
|
/packages/apps/Email/src/org/apache/commons/io/input/ |
CountingInputStream.java | 67 * @param off the start offset in the buffer
73 public int read(byte[] b, int off, int len) throws IOException {
74 int found = super.read(b, off, len);
|
/packages/apps/Email/src/org/apache/commons/io/output/ |
ThresholdingOutputStream.java | 117 * offset <code>off</code> to this output stream.
120 * @param off The start offset in the byte array.
125 public void write(byte b[], int off, int len) throws IOException
128 getStream().write(b, off, len);
|
/packages/apps/Email/src/org/apache/james/mime4j/ |
CloseShieldInputStream.java | 115 public int read(byte b[], int off, int len) throws IOException {
117 return is.read(b, off, len);
|
/packages/apps/Email/src/org/apache/james/mime4j/util/ |
PositionInputStream.java | 81 public int read(byte b[], int off, int len) throws IOException {
82 final int c = inputStream.read(b, off, len);
|
/frameworks/base/core/jni/ |
android_util_StringBlock.cpp | 45 jint off, jint len) 53 if (off < 0 || off >= bLen || len < 0 || len > bLen || (off+len) > bLen) { 59 ResStringPool* osb = new ResStringPool(b+off, len, true);
|
/device/samsung/crespo/alsa-lib/src/conf/cards/ |
NFORCE.conf | 88 value off 152 value off 159 value off 225 value off 232 value off
|
/external/kernel-headers/original/asm-arm/ |
bitops.h | 207 #define find_next_zero_bit(p,sz,off) _find_next_zero_bit_le(p,sz,off) 209 #define find_next_bit(p,sz,off) _find_next_bit_le(p,sz,off) 225 #define find_next_zero_bit(p,sz,off) _find_next_zero_bit_be(p,sz,off) 227 #define find_next_bit(p,sz,off) _find_next_bit_be(p,sz,off) 306 #define ext2_find_next_zero_bit(p,sz,off) \ 307 _find_next_zero_bit_le(p,sz,off) [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
userdict.cpp | 376 uint16 off = 8 * (i % 4); local 377 const char py2 = ((searchable->signature[i/4] & (0xff << off)) >> off); 396 uint16 off = 8 * (i % 4); local 397 const char py2 = ((searchable->signature[i/4] & (0xff << off)) >> off); 697 int32 off; 701 off = start; 704 off = locate_first_in_offsets(&searchable); 705 start = off; [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
LinearColorBar.java | 69 int off = getPaddingTop() - getPaddingBottom(); local 70 if (off < 0) off = 0; 71 mRect.top = off; 75 0, 0, 0, off-2, RIGHT_COLOR&0xffffff, RIGHT_COLOR, Shader.TileMode.CLAMP)); 78 0, 0, 0, off-2, MIDDLE_COLOR&0xffffff, MIDDLE_COLOR, Shader.TileMode.CLAMP)); 81 0, 0, 0, off/2, 0x00a0a0a0, 0xffa0a0a0, Shader.TileMode.CLAMP));
|
/external/e2fsprogs/lib/ext2fs/ |
tdb.c | 209 u32 off; member in struct:tdb_traverse_lock 264 static int tdb_write_lock_record(struct tdb_context *tdb, tdb_off_t off); 265 static int tdb_write_unlock_record(struct tdb_context *tdb, tdb_off_t off); 273 static int tdb_lock_record(struct tdb_context *tdb, tdb_off_t off); 274 static int tdb_unlock_record(struct tdb_context *tdb, tdb_off_t off); 288 static int tdb_rec_free_read(struct tdb_context *tdb, tdb_off_t off, 788 int tdb_lock_record(struct tdb_context *tdb, tdb_off_t off) 790 return off ? tdb->methods->tdb_brlock(tdb, off, F_RDLCK, F_SETLKW, 0, 1) : 0; 798 int tdb_write_lock_record(struct tdb_context *tdb, tdb_off_t off) 956 u32 off=0; local 1129 tdb_off_t off = *d; local [all...] |
/external/kernel-headers/original/asm-x86/ |
pgtable-2level.h | 76 #define pgoff_to_pte(off) \ 77 ((pte_t) { (((off) & 0x1f) << 1) + (((off) >> 5) << 8) + _PAGE_FILE })
|
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
CRC32Test.java | 149 int off = 2;// accessing the 2nd element of byteArray local 153 crc.update(byteArray, off, len); 161 crc.update(byteArray, off, lenError); 165 assertEquals("update(byte[],int,int) failed b/c lenError>byte[].length-off",
|