HomeSort by relevance Sort by last modified time
    Searched full:bytestoread (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium_org/android_webview/browser/net/
input_stream_reader_unittest.cc 53 int ReadRawData(scoped_refptr<net::IOBuffer> buffer, int bytesToRead) {
54 return input_stream_reader_.ReadRawData(buffer.get(), bytesToRead);
145 const int bytesToRead = 128;
146 scoped_refptr<net::IOBuffer> buffer = new net::IOBuffer(bytesToRead);
147 EXPECT_CALL(input_stream_, Read(buffer.get(), bytesToRead, NotNull()))
150 ASSERT_GT(0, ReadRawData(buffer, bytesToRead));
154 const int bytesToRead = 0;
157 EXPECT_CALL(input_stream_, Read(buffer.get(), bytesToRead, NotNull()))
160 ASSERT_EQ(0, ReadRawData(buffer, bytesToRead));
164 const int bytesToRead = 128
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DigestInputStream2Test.java 111 int bytesToRead = inStream.available();
112 byte buf1[] = new byte[bytesToRead + 5];
113 byte buf2[] = new byte[bytesToRead + 5];
115 assertTrue("No data to read for this test", bytesToRead > 0);
118 int bytesRead1 = dis.read(buf1, 5, bytesToRead);
119 int bytesRead2 = inStream1.read(buf2, 5, bytesToRead);
122 assertEquals("Didn't read the entire", bytesRead1, bytesToRead);
125 for (int i = 0; i < bytesToRead + 5; i++) {
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DigestInputStream2Test.java 111 int bytesToRead = inStream.available();
112 byte buf1[] = new byte[bytesToRead + 5];
113 byte buf2[] = new byte[bytesToRead + 5];
115 assertTrue("No data to read for this test", bytesToRead>0);
118 int bytesRead1 = dis.read(buf1, 5, bytesToRead);
119 int bytesRead2 = inStream1.read(buf2, 5, bytesToRead);
122 assertEquals("Didn't read the entire", bytesRead1, bytesToRead);
125 for (int i = 0; i < bytesToRead + 5; i++) {
  /external/chromium_org/third_party/WebKit/Source/core/xml/parser/
SharedBufferReaderTest.cpp 111 const int bytesToRead = testData.size() / 2;
112 EXPECT_EQ(bytesToRead, reader.readData(&destinationVector[0], bytesToRead));
116 EXPECT_EQ(0, reader.readData(&destinationVector[0], bytesToRead));
  /external/chromium_org/chrome/browser/media_galleries/linux/
snapshot_file_details.cc 62 uint32 SnapshotFileDetails::BytesToRead() const {
mtp_read_file_worker.cc 73 snapshot_file_details_ptr->BytesToRead(),
86 error || (data.size() != snapshot_file_details->BytesToRead()));
snapshot_file_details.h 94 uint32 BytesToRead() const;
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
filehc.h 48 FILEHC_EXPORT WINBOOL WINAPI FIOReadFile(PFIO_CONTEXT pContext,LPVOID lpBuffer,DWORD BytesToRead,FH_OVERLAPPED *lpo);
49 FILEHC_EXPORT WINBOOL WINAPI FIOReadFileEx(PFIO_CONTEXT pContext,LPVOID lpBuffer,DWORD BytesToRead,DWORD BytesAvailable,FH_OVERLAPPED *lpo,WINBOOL fFinalWrite,WINBOOL fIncludeTerminator);
  /external/chromium_org/third_party/skia/tests/
FrontBufferedStreamTest.cpp 15 const void* expectations, size_t bytesToRead) {
17 SkAutoMalloc storage(bytesToRead);
19 const size_t bytesRead = bufferedStream->read(storage.get(), bytesToRead);
20 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd());
  /external/skia/tests/
FrontBufferedStreamTest.cpp 15 const void* expectations, size_t bytesToRead) {
17 SkAutoMalloc storage(bytesToRead);
19 const size_t bytesRead = bufferedStream->read(storage.get(), bytesToRead);
20 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd());
  /external/libnfc-nxp/src/
phFriNfc_DesfireMap.c     [all...]
  /frameworks/av/media/libstagefright/
MP3Extractor.cpp 99 ssize_t bytesToRead = kMaxReadBytes;
117 bytesToRead = kMaxReadBytes - remainingBytes;
126 bytesToRead);
130 reachEOS = (totalBytesRead != bytesToRead);
  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder_libwebp.cpp 56 size_t bytesToRead = WEBP_VP8_HEADER_SIZE;
60 const size_t bytesRead = stream->read(dst, bytesToRead);
67 bytesToRead -= bytesRead;
69 SkASSERT(bytesToRead + totalBytesRead == WEBP_VP8_HEADER_SIZE);
70 } while (!stream->isAtEnd() && bytesToRead > 0);
  /external/skia/src/images/
SkImageDecoder_libwebp.cpp 56 size_t bytesToRead = WEBP_VP8_HEADER_SIZE;
60 const size_t bytesRead = stream->read(dst, bytesToRead);
67 bytesToRead -= bytesRead;
69 SkASSERT(bytesToRead + totalBytesRead == WEBP_VP8_HEADER_SIZE);
70 } while (!stream->isAtEnd() && bytesToRead > 0);
  /dalvik/tools/dmtracedump/
TraceDump.c 1071 int bytesToRead;
1077 bytesToRead = pHeader->offsetToData - 16;
1084 bytesToRead -= 2;
1090 if (fseek(fp, bytesToRead, SEEK_CUR) != 0) {
1135 int bytesToRead;
1137 bytesToRead = dataHeader->recordSize;
1140 bytesToRead -= 1;
1143 bytesToRead -= 2;
1151 bytesToRead -= 8;
1153 while (bytesToRead-- > 0)
    [all...]
  /hardware/qcom/media/mm-video-legacy/vidc/venc/test/
venc_test.cpp 1452 OMX_U32 bytestoread = m_sProfile.nFrameWidth*m_sProfile.nFrameHeight; local
    [all...]
  /hardware/qcom/media/mm-video-v4l2/vidc/venc/test/
venc_test.cpp 1481 OMX_U32 bytestoread = m_sProfile.nFrameWidth*m_sProfile.nFrameHeight; local
    [all...]
  /external/chromium_org/tools/telemetry/third_party/pyserial/serial/
serialcli.py 150 return self._port_handle.BytesToRead
  /frameworks/base/media/java/android/media/
MediaPlayer.java     [all...]
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
commons-io-2.2.jar 
  /prebuilts/tools/common/m2/repository/commons-io/commons-io/2.4/
commons-io-2.4.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.p2.core_2.0.2.R36x_v20100804.jar 
org.eclipse.core.contenttype_3.4.100.v20100505-1235.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.equinox.p2.core_2.3.0.v20130327-2119.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.equinox.p2.core_2.3.0.v20130327-2119.jar 

Completed in 443 milliseconds

1 2