/external/skia/experimental/DrawingBoard/ |
SampleDrawingClient.cpp | 180 size_t bytesRead = 0; 192 &bytesRead); 194 fTotalBytesRead += bytesRead; 206 &bytesRead); 208 totalBytesRead += bytesRead;
|
SampleDrawingServer.cpp | 140 size_t bytesRead; 153 &bytesRead); 155 fTotalBytesRead += bytesRead; 168 &bytesRead); 170 totalBytesRead += bytesRead;
|
/external/skia/src/ports/ |
SkOSFile_posix.cpp | 103 ssize_t bytesRead = pread(fd, buffer, count, offset); 104 if (bytesRead < 0) { 107 return bytesRead;
|
/external/skia/tests/ |
FrontBufferedStreamTest.cpp | 21 const size_t bytesRead = bufferedStream->read(storage.get(), bytesToRead); 22 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd()); 23 REPORTER_ASSERT(reporter, memcmp(storage.get(), expectations, bytesRead) == 0); 135 size_t bytesRead = this->INHERITED::read(dst, requested); 136 if (bytesRead < requested) { 139 return bytesRead;
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/ |
Relay.java | 113 int bytesRead = 0; 124 bytesRead = transport.read(byteArray, offset, bytesToRead); 126 if (bytesRead > 0) { 127 byteBuffer.limit(byteBuffer.limit() + bytesRead);
|
/external/sonic/ |
wave.c | 330 int i, bytesRead, samplesRead; 338 bytesRead = readBytes(file, bytes, maxSamples*file->numChannels*2); 339 samplesRead = bytesRead/(file->numChannels*2);
|
/frameworks/av/media/libstagefright/codecs/amrwb/test/ |
amrwbdec_test.cpp | 68 int bytesRead = fread(header, 1, kFileHeaderSize, fpInput); 69 if ((bytesRead != kFileHeaderSize) || 116 bytesRead = fread(&modeByte, 1, 1, fpInput); 117 if (bytesRead != 1) break; 133 bytesRead = fread(inputBuf, 1, frameSize, fpInput); 134 if (bytesRead != frameSize) break;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/ |
m4v_h263_enc_test.cpp | 204 int32_t bytesRead; 205 bytesRead = fread(inputBuf, 1, frameSize, fpInput); 206 if (bytesRead != frameSize) {
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
BasePrintTest.java | 129 int bytesRead; 132 while ((bytesRead = fis.read(buf)) != -1) { 133 stdout.append(new String(buf, 0, bytesRead));
|
/hardware/qcom/display/msm8909/libhwcomposer/ |
hwc_ad.cpp | 79 ssize_t bytesRead = read(adFd, opStr, sizeof(opStr) - 1); 80 if(bytesRead > 0) { 81 opStr[bytesRead] = '\0'; 85 } else if(bytesRead == 0) {
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc_ad.cpp | 79 ssize_t bytesRead = read(adFd, opStr, sizeof(opStr) - 1); 80 if(bytesRead > 0) { 81 opStr[bytesRead] = '\0'; 85 } else if(bytesRead == 0) {
|
/libcore/luni/src/main/java/libcore/io/ |
Streams.java | 81 int bytesRead = in.read(dst, offset, byteCount); 82 if (bytesRead < 0) { 85 offset += bytesRead; 86 byteCount -= bytesRead;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppSendFileInfo.java | 237 int bytesRead = is.read(unused, 0, 4096); 238 while (bytesRead != -1) { 239 length += bytesRead; 240 bytesRead = is.read(unused, 0, 4096);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
DumpDatabaseAction.java | 71 int bytesRead; 72 while ((bytesRead = bis.read(buffer)) > 0) { 73 bos.write(buffer, 0, bytesRead); 74 totalBytes += bytesRead;
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
InstallTask.java | 139 int bytesRead; 142 while ((bytesRead = inputStream.read(inputBuf)) > -1) { 143 if (bytesRead > 0) { 144 outputStream.write(inputBuf, 0, bytesRead);
|
/toolchain/binutils/binutils-2.25/opcodes/ |
xgate-dis.c | 67 long bytesRead = 0; 111 bytesRead += XGATE_TWO_BYTES; 272 return bytesRead;
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/ |
ByteBufferBerDataValueReader.java | 163 int bytesRead = 0; 167 "Truncated indefinite-length contents: " + bytesRead + " bytes read"); 171 bytesRead++; 172 if (bytesRead < 0) { 178 return bytesRead - 2;
|
/art/tools/dexfuzz/src/dexfuzz/listeners/ |
UniqueProgramTrackerListener.java | 89 int bytesRead = stream.read(buf); 90 if (bytesRead == -1) {
|
/bootable/recovery/minui/ |
resources.cpp | 55 size_t bytesRead; 65 bytesRead = fread(header, 1, sizeof(header), fp); 66 if (bytesRead != sizeof(header)) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/ |
UsbAccessoryTestActivity.java | 226 long bytesRead = 0; 228 while (bytesRead < TEST_DATA_SIZE_THRESHOLD) { 230 bytesRead += numRead; 233 speedKBPS = (bytesRead * 8 * 1000. / 1024.)
|
/cts/tests/tests/print/src/android/print/cts/ |
PrintDocumentInfoTest.java | 171 long bytesRead = 0; 178 bytesRead++; 181 assertEquals(queuedInfo[0].getDataSize(), bytesRead);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
SocketTransportWrapper.java | 243 int bytesRead = input.read(header, off, Packet.HEADER_SIZE - off); 244 if (bytesRead < 0) { 247 off += bytesRead; 273 int bytesRead = input.read(bytes, off, len - off); 274 if (bytesRead < 0) { 277 off += bytesRead; 313 int bytesRead = input.read(bytes, off, len - off); 314 if (bytesRead < 0) { 317 off += bytesRead;
|
/external/brotli/java/org/brotli/dec/ |
BitReader.java | 76 int bytesRead = BYTE_READ_SIZE - readOffset; 77 System.arraycopy(br.byteBuffer, readOffset, br.byteBuffer, 0, bytesRead); 80 while (bytesRead < BYTE_READ_SIZE) { 81 int len = br.input.read(br.byteBuffer, bytesRead, BYTE_READ_SIZE - bytesRead); 84 br.tailBytes = bytesRead; 85 bytesRead += 3; 88 bytesRead += len; 93 IntReader.convert(br.intReader, bytesRead >> 2);
|
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
ServerEndpoint.java | 149 int bytesRead = readMessage(); 151 messageProcessor.processMessage(buffer, bytesRead, outputStream); 163 int bytesRead = inputStream.read(buffer, totalBytesRead, remaining); 164 if (bytesRead == -1) { 167 totalBytesRead += bytesRead;
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/ |
ProtobufWireAdapter.java | 183 int bytesRead = 0; 188 while (bytesRead < numBytes) { 189 int inc = mInputStream.read(buf, bytesRead, numBytes - bytesRead); 193 bytesRead += inc;
|