OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bytesToRead
(Results
1 - 13
of
13
) sorted by null
/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/skia/tests/
FrontBufferedStreamTest.cpp
16
const void* expectations, size_t
bytesToRead
) {
18
SkAutoMalloc storage(
bytesToRead
);
20
size_t bytesRead = bufferedStream->read(storage.get(),
bytesToRead
);
21
REPORTER_ASSERT(reporter, bytesRead ==
bytesToRead
|| bufferedStream->isAtEnd());
/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);
/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/protobuf/java/src/main/java/com/google/protobuf/
CodedOutputStream.java
[
all
...]
/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
...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.contenttype_3.4.100.v20100505-1235.jar
org.eclipse.core.resources.compatibility_3.4.0.v20090505.jar
/external/chromium_org/tools/win/split_link/viz.js/
viz.js
[
all
...]
/external/chromium_org/v8/tools/profviz/
gnuplot-4.6.3-emscripten.js
[
all
...]
Completed in 769 milliseconds