| /frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
| FwdLockEngine.cpp | 675 ssize_t bytesRead = -1; 689 bytesRead = onRead(uniqueId, decryptHandle, buffer, numBytes); 690 if (bytesRead < 0) { 698 return bytesRead;
|
| /libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
| BerInputStream.java | 764 int bytesRead = in.read(buffer, offset, length); 766 if (bytesRead != length) { 769 int c = bytesRead; 771 if (c < 1 || bytesRead > length) { 774 c = in.read(buffer, offset + bytesRead, length - bytesRead); 775 bytesRead += c; 776 } while (bytesRead != length);
|
| /libcore/luni/src/test/java/libcore/java/io/ |
| OldInputStreamReaderTest.java | 151 int bytesRead = isr.read(buf, 0, buf.length); 152 if (bytesRead == -1) { 155 bytesRead = isr.read(buf, 0, buf.length); 156 if (bytesRead == -1) {
|
| /packages/apps/Dialer/tests/src/com/android/dialer/ |
| CallDetailActivityTest.java | 283 int bytesRead; 285 while ((bytesRead = in.read(buffer)) != -1) { 286 total += bytesRead; 287 out.write(buffer, 0, bytesRead);
|
| /packages/apps/Mms/src/com/android/mms/transaction/ |
| HttpUtils.java | 231 int bytesRead = 0; 236 bytesRead = dis.read(tempBody, offset, bytesTobeRead); 243 if (bytesRead > 0) { 244 bytesTobeRead -= bytesRead; 245 offset += bytesRead; 247 } while (bytesRead >= 0 && bytesTobeRead > 0); 248 if (bytesRead == -1 && offset > 0 && !readError) { 250 // bytesRead will be -1 if the data was read till the eof
|
| /packages/services/Mms/src/com/android/mms/service/ |
| HttpUtils.java | 207 int bytesRead = 0; 212 bytesRead = dis.read(tempBody, offset, bytesTobeRead); 218 if (bytesRead > 0) { 219 bytesTobeRead -= bytesRead; 220 offset += bytesRead; 222 } while (bytesRead >= 0 && bytesTobeRead > 0); 223 if (bytesRead == -1 && offset > 0 && !readError) { 225 // bytesRead will be -1 if the data was read till the eof
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
| PowerTestHostLink.java | 149 int bytesRead = streamIn.read(buffer, total, 151 if (bytesRead > 0) { 152 total += bytesRead;
|
| /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
| ByteString.java | 352 int bytesRead = 0; 353 while (bytesRead < chunkSize) { 354 final int count = in.read(buf, bytesRead, chunkSize - bytesRead); 358 bytesRead += count; 361 if (bytesRead == 0) { 364 return ByteString.copyFrom(buf, 0, bytesRead); [all...] |
| /external/chromium_org/third_party/skia/src/images/ |
| SkImageDecoder_libwebp.cpp | 60 const size_t bytesRead = stream->read(dst, bytesToRead); 61 if (0 == bytesRead) { 67 bytesToRead -= bytesRead; 68 totalBytesRead += bytesRead; 217 const size_t bytesRead = stream->read(input, readBufferSize); 218 if (0 == bytesRead) { 223 status = WebPIAppend(idec, input, bytesRead);
|
| /external/chromium_org/third_party/webrtc/modules/media_file/source/ |
| media_file_utility.cc | 820 int32_t bytesRead = ReadWavData( 824 if(bytesRead == 0) 828 if(bytesRead < 0) 911 int32_t bytesRead = ReadWavData(wav, _tempData, totalBytesNeeded); 912 if(bytesRead <= 0) 993 int32_t bytesRead = wav.Read(buffer, dataLengthInBytes); 994 if(bytesRead < 0) 1003 if(bytesRead < (int32_t)dataLengthInBytes) 1013 bytesRead = wav.Read(buffer, dataLengthInBytes); 1014 if(bytesRead < (int32_t)dataLengthInBytes [all...] |
| /external/icu/icu4c/source/tools/genrb/ |
| genrb.c | 363 int32_t bytesRead = T_FileStream_read(poolFile, poolBundle.fBytes, poolFileSize); 365 if (bytesRead != poolFileSize) { 374 ds = udata_openSwapperForInputData(poolBundle.fBytes, bytesRead, 381 ures_swap(ds, poolBundle.fBytes, bytesRead, poolBundle.fBytes, &status);
|
| /external/skia/src/images/ |
| SkImageDecoder_libwebp.cpp | 60 const size_t bytesRead = stream->read(dst, bytesToRead); 61 if (0 == bytesRead) { 67 bytesToRead -= bytesRead; 68 totalBytesRead += bytesRead; 217 const size_t bytesRead = stream->read(input, readBufferSize); 218 if (0 == bytesRead) { 223 status = WebPIAppend(idec, input, bytesRead);
|
| /frameworks/av/media/libmedia/ |
| AudioRecord.cpp | 733 size_t bytesRead = audioBuffer.size; 734 memcpy(buffer, audioBuffer.i8, bytesRead); 735 buffer = ((char *) buffer) + bytesRead; 736 userSize -= bytesRead; 737 read += bytesRead; [all...] |
| /frameworks/base/core/java/android/os/ |
| FileUtils.java | 190 int bytesRead; 191 while ((bytesRead = inputStream.read(buffer)) >= 0) { 192 out.write(buffer, 0, bytesRead);
|
| /frameworks/base/libs/androidfw/ |
| BackupHelpers.cpp | 92 int bytesRead = 0; 100 bytesRead += amt; 113 ALOGW("read_snapshot_file FileState truncated/error with read at %d bytes\n", bytesRead); 116 bytesRead += amt; 127 bytesRead += amt; 132 ALOGW("read_snapshot_file filename truncated/error with read at %d bytes\n", bytesRead); 137 if (header.totalSize != bytesRead) { 138 ALOGW("read_snapshot_file length mismatch: header.totalSize=%d bytesRead=%d\n", 139 header.totalSize, bytesRead); [all...] |
| /frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
| MediaPlayerProxyTestCase.java | 555 int bytesRead; 556 while ((bytesRead = in.read(buffer)) != -1) { 557 out.write(buffer, 0, bytesRead);
|
| /frameworks/volley/src/com/android/volley/toolbox/ |
| DiskBasedCache.java | 117 byte[] data = streamToBytes(cis, (int) (file.length() - cis.bytesRead)); 439 private int bytesRead = 0; 449 bytesRead++; 458 bytesRead += result;
|
| /libcore/dalvik/src/main/java/dalvik/system/profiler/ |
| BinaryHprofReader.java | 266 int bytesRead = in.read(dst, offset, byteCount); 267 if (bytesRead < 0) { 270 offset += bytesRead; 271 byteCount -= bytesRead;
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
| InputStreamReaderTest.java | 450 int bytesRead = isr.read(buf, 0, buf.length); 451 assertFalse(-1 == bytesRead); 452 bytesRead = isr.read(buf, 0, buf.length); 453 assertFalse(-1 == bytesRead);
|
| /libcore/luni/src/main/java/java/net/ |
| PlainSocketImpl.java | 438 int bytesRead = 0; 439 while (bytesRead < Socks4Message.REPLY_LENGTH) { 440 int count = getInputStream().read(reply.getBytes(), bytesRead, 441 Socks4Message.REPLY_LENGTH - bytesRead); 445 bytesRead += count; 447 if (Socks4Message.REPLY_LENGTH != bytesRead) {
|
| /libcore/luni/src/main/java/java/nio/ |
| FileChannelImpl.java | 301 int bytesRead = 0; 307 bytesRead = Libcore.os.read(fd, buffer); 309 bytesRead = Libcore.os.pread(fd, buffer, position); 311 if (bytesRead == 0) { 312 bytesRead = -1; 317 bytesRead = 0; 324 end(completed && bytesRead >= 0); 326 if (bytesRead > 0) { 327 buffer.position(buffer.position() + bytesRead); 329 return bytesRead; [all...] |
| /packages/apps/Launcher3/src/com/android/launcher3/ |
| IconCache.java | 508 int bytesRead = 0; 509 while(bytesRead >= 0) { 510 bytes.write(buffer, 0, bytesRead); 511 bytesRead = resourceFile.read(buffer, 0, buffer.length);
|
| /dalvik/hit/src/com/android/hit/ |
| HprofParser.java | 434 int bytesRead = 0; 447 bytesRead = (7 * mIdSize) + 4 + 4; 451 bytesRead += 2; 455 bytesRead += 2 + skipValue(); 460 bytesRead += 2; 477 bytesRead += mIdSize + 1 + fieldSize; 482 bytesRead += 2; 494 bytesRead += mIdSize + 1; 512 return bytesRead;
|
| /device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
| QualcommUsbCamera.cpp | [all...] |
| /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/ |
| xmlconfig.c | 921 int bytesRead; 927 bytesRead = read (fd, buffer, BUF_SIZE); 928 if (bytesRead == -1) { 933 status = XML_ParseBuffer (p, bytesRead, bytesRead == 0); 938 if (bytesRead == 0) [all...] |