HomeSort by relevance Sort by last modified time
    Searched refs:readLength (Results 1 - 25 of 211) sorted by null

1 2 3 4 5 6 7 8 9

  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
MemoryDataStore.java 65 int readLength = Math.min(b.length, buf.length - position);
66 if (readLength <= 0) {
72 System.arraycopy(buf, position, b, 0, readLength);
73 position += readLength;
74 return readLength;
78 int readLength = Math.min(len, buf.length - position);
79 if (readLength <= 0) {
85 System.arraycopy(buf, position, b, 0, readLength);
86 position += readLength;
87 return readLength;
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
BitmapFactorySecurityTests.java 43 int readLength;
44 while ((readLength = is.read(buffer)) != -1) {
45 output.write(buffer, 0, readLength);
  /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
jsoncheckertest.cpp 45 size_t readLength = fread(json, 1, length, fp);
46 json[readLength] = '\0';
filestreamtest.cpp 48 size_t readLength = fread(json_, 1, length_, fp);
49 json_[readLength] = '\0';
prettywritertest.cpp 155 size_t readLength = fread(json, 1, size, fp);
156 json[readLength] = '\0';
encodedstreamtest.cpp 73 size_t readLength = fread(buffer, 1, *outLength, fp);
74 buffer[readLength] = '\0';
  /cts/tests/tests/content/src/android/content/res/cts/
AssetFileDescriptorTest.java 130 int readLength = 0;
132 while ((readByte != FILE_END) && (readLength < FILE_DATA.length)) {
133 readLength += readByte;
135 readLength, FILE_DATA.length - readLength);
137 assertEquals(FILE_DATA.length, readLength);
  /external/icu/android_icu4j/src/main/java/android/icu/text/
Edits.java 236 private int readLength(int head) {
326 oldLength_ = readLength((u >> 6) & 0x3f);
327 newLength_ = readLength(u & 0x3f);
343 int oldLen = readLength((u >> 6) & 0x3f);
344 int newLen = readLength(u & 0x3f);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
Edits.java 242 private int readLength(int head) {
333 oldLength_ = readLength((u >> 6) & 0x3f);
334 newLength_ = readLength(u & 0x3f);
350 int oldLen = readLength((u >> 6) & 0x3f);
351 int newLen = readLength(u & 0x3f);
  /external/smali/util/src/main/java/org/jf/util/
Utf8Utils.java 188 * @param readLength If non-null, the first element will contain the number of bytes read after the method exits
192 @Nullable int[] readLength) {
266 if (readLength != null && readLength.length > 0) {
267 readLength[0] = at - start;
268 readLength[0] = at - start;
  /cts/tests/tests/location/src/android/location/cts/asn1/base/
Asn1Object.java 135 int valueLen = Asn1Tag.readLength(buf);
147 int innerValueLen = Asn1Tag.readLength(buf);
Asn1SequenceOf.java 85 int valueLength = Asn1Tag.readLength(buf);
92 valueLength = Asn1Tag.readLength(buf);
Asn1Choice.java 166 int valueLen = Asn1Tag.readLength(buf);
186 int len = Asn1Tag.readLength(buf);
Asn1Tag.java 155 public static int readLength(ByteBuffer buf) {
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
ASN1InputStream.java 109 protected int readLength()
112 return readLength(this, limit);
237 int length = readLength();
326 static int readLength(InputStream s, int limit)
ASN1StreamParser.java 145 int length = ASN1InputStream.readLength(_in, _limit);
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexClientSession.java 395 int readLength = 0;
405 readLength = readFully(a, buffer, outputBufferSize);
415 outputStream.write(buffer, 0, readLength);
417 position += readLength;
450 readLength = a.read(buffer, 0, outputBufferSize);
451 outputStream.write(buffer, 0, readLength);
461 position += readLength;
464 + " readLength " + readLength + " bytes took "
BluetoothOppObexServerSession.java 455 int readLength = 0;
462 readLength = is.read(b);
464 if (readLength == -1) {
469 bos.write(b, 0, readLength);
470 position += readLength;
474 Log.v(TAG, "Receive file position = " + position + " readLength "
475 + readLength + " bytes took "
  /frameworks/minikin/libs/minikin/
FontCollection.cpp 397 size_t readLength = 0;
398 U16_NEXT(string, readLength, string_size, nextCh);
406 nextUtf16Pos = readLength;
407 if (readLength < string_size) {
408 U16_NEXT(string, readLength, string_size, nextCh);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
WspTypeDecoder.java 431 int readLength = mDataLength;
438 mDataLength += readLength;
447 int readLength = mDataLength;
453 mDataLength += readLength;
  /packages/apps/TV/src/com/android/tv/tuner/source/
FileTsStreamer.java 112 public int read(byte[] buffer, int offset, int readLength) throws IOException {
114 offset, readLength);
TunerTsStreamer.java 107 public int read(byte[] buffer, int offset, int readLength) throws IOException {
109 offset, readLength);
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapRegionDecoderTest.java 652 int readLength;
653 while ((readLength = is.read(buffer)) != -1) {
654 os.write(buffer, 0, readLength);
670 int readLength = 0;
671 while ((readLength = is.read(dataBuffer)) != -1) {
672 fOutput.write(dataBuffer, 0, readLength);
TypefaceTest.java 221 int readLength = 0;
222 while ((readLength = is.read(dataBuffer)) != -1) {
223 fOutput.write(dataBuffer, 0, readLength);
  /packages/apps/TV/src/com/android/tv/tuner/exoplayer/
ExoPlayerSampleExtractor.java 119 public int read(byte[] buffer, int offset, int readLength)
121 return source.read(buffer, offset, readLength);

Completed in 699 milliseconds

1 2 3 4 5 6 7 8 9