HomeSort by relevance Sort by last modified time
    Searched defs:bytesRead (Results 76 - 100 of 128) sorted by null

1 2 34 5 6

  /external/webkit/Source/WebCore/plugins/win/
PluginViewWin.cpp 858 DWORD bytesRead;
859 int retval = ReadFile(fileHandle, buffer.data(), attrs.nFileSizeLow, &bytesRead, 0);
863 if (retval == 0 || bytesRead != attrs.nFileSizeLow)
  /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/base/packages/DefaultContainerService/src/com/android/defcontainer/
DefaultContainerService.java 447 int bytesRead;
448 while ((bytesRead = inputStream.read(buffer)) >= 0) {
449 out.write(buffer, 0, 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));
434 private int bytesRead = 0;
444 bytesRead++;
453 bytesRead += result;
  /hardware/msm7k/libaudio/
AudioHardware.cpp 1035 ssize_t bytesRead = ::read(mFd, buffer, count);
1036 if (bytesRead >= 0) {
1037 count -= bytesRead;
1038 p += bytesRead;
1040 if (errno != EAGAIN) return bytesRead;
    [all...]
  /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/luni/src/main/java/java/net/
PlainSocketImpl.java 441 int bytesRead = 0;
442 while (bytesRead < Socks4Message.REPLY_LENGTH) {
443 int count = getInputStream().read(reply.getBytes(), bytesRead,
444 Socks4Message.REPLY_LENGTH - bytesRead);
448 bytesRead += count;
450 if (Socks4Message.REPLY_LENGTH != bytesRead) {
  /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;
  /external/quake/quake/src/WinQuake/
mplpc.cpp 734 int bytesRead;
757 bytesRead = FARPKL(&data->len);
767 fmemcpyfrom(buf, data->data, len > bytesRead ? bytesRead : len);
773 return bytesRead;
  /hardware/msm7k/libaudio-qsd8k/
AudioHardware.cpp     [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldRandomAccessFileTest.java 299 int bytesRead = raf.read(rbuf);
301 testLength, bytesRead);
305 bytesRead = raf.read(rbuf);
306 assertTrue("Test 3: EOF (-1) expected. ", bytesRead == -1);
310 bytesRead = raf.read(rbuf);
321 int bytesRead;
330 bytesRead = raf.read(rbuf, 10, testLength / 2);
332 testLength / 2, bytesRead);
338 bytesRead = raf.read(rbuf, 0, testLength);
340 testLength - (testLength / 2), bytesRead);
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherTest.java 346 int bytesRead = is.read(input, 0, 256);
347 while (bytesRead > 0) {
348 byte[] output = c.update(input, 0, bytesRead);
352 bytesRead = is.read(input, 0, 256);
404 int bytesRead = is.read(input, 0, 256);
405 while (bytesRead > 0) {
406 byte[] output = c.update(input, 0, bytesRead);
410 bytesRead = is.read(input, 0, 256);
    [all...]
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadThread.java 461 int bytesRead = readFromResponse(state, data, in);
462 if (bytesRead == -1) { // success, end of stream already reached
468 writeDataToDestination(state, data, bytesRead, out);
469 state.mCurrentBytes += bytesRead;
565 * @param bytesRead how many bytes to write from the buffer
567 private void writeDataToDestination(State state, byte[] data, int bytesRead, OutputStream out)
570 mInfo.mDestination, state.mFilename, bytesRead);
575 out.write(data, 0, bytesRead);
581 mStorageManager.verifySpace(mInfo.mDestination, state.mFilename, bytesRead);
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar 
org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar 
org.eclipse.equinox.launcher.jar 
org.eclipse.equinox.launcher_1.1.0.v20100507.jar 
org.eclipse.equinox.p2.jarprocessor_1.0.200.v20100503a.jar 
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
SocketTest.java     [all...]
  /external/quake/src/com/android/quake/
DownloaderActivity.java 745 int bytesRead = is.read(mFileIOBuffer, 0, chunkSize);
746 if (bytesRead < 0) {
749 updateDigest(digest, bytesRead);
750 bytesToRead -= bytesRead;
764 private void updateDigest(MessageDigest digest, int bytesRead) {
765 if (bytesRead == mFileIOBuffer.length) {
770 byte[] temp = new byte[bytesRead];
772 temp, 0, bytesRead);
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldSocketTest.java     [all...]
  /hardware/qcom/media/mm-video/vidc/vdec/test/
omx_vdec_test.cpp     [all...]
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
SocketChannelTest.java     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant-jsch.jar 

Completed in 1538 milliseconds

1 2 34 5 6