OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bufferedStream
(Results
1 - 25
of
29
) sorted by null
1
2
/external/skia/tests/
FrontBufferedStreamTest.cpp
16
static void test_read(skiatest::Reporter* reporter, SkStream*
bufferedStream
,
18
// output for reading
bufferedStream
.
21
const size_t bytesRead =
bufferedStream
->read(storage.get(), bytesToRead);
22
REPORTER_ASSERT(reporter, bytesRead == bytesToRead ||
bufferedStream
->isAtEnd());
27
SkStream*
bufferedStream
, bool shouldSucceed) {
28
const bool success =
bufferedStream
->rewind();
37
const SkStream&
bufferedStream
,
40
REPORTER_ASSERT(reporter,
bufferedStream
.hasLength());
42
REPORTER_ASSERT(reporter, !
bufferedStream
.hasLength());
59
SkAutoTDelete<SkStream>
bufferedStream
(SkFrontBufferedStream::Create(memStream, bufferSize))
[
all
...]
StreamTest.cpp
238
SkAutoTDelete<SkStream>
bufferedStream
(SkFrontBufferedStream::Create(dupe, bufferSize));
239
REPORTER_ASSERT(r,
bufferedStream
!= nullptr);
242
for (size_t i = 1; !
bufferedStream
->isAtEnd(); i++) {
243
const size_t unpeekableBytes = compare_peek_to_read(r,
bufferedStream
, i);
258
bufferedStream
.reset(SkFrontBufferedStream::Create(original.duplicate(), bufferSize));
259
REPORTER_ASSERT(r,
bufferedStream
!= nullptr);
267
REPORTER_ASSERT(r,
bufferedStream
->skip(start) == start);
269
const size_t bytesPeeked =
bufferedStream
->peek(peekStorage.get(), bytesToPeek);
277
const size_t bytesRead =
bufferedStream
->read(readStorage.get(), bytesPeeked);
282
REPORTER_ASSERT(r,
bufferedStream
->rewind())
[
all
...]
CodexTest.cpp
328
SkStream*
bufferedStream
= SkFrontBufferedStream::Create(new SkMemoryStream(fullData),
330
REPORTER_ASSERT(r,
bufferedStream
);
331
codec.reset(SkCodec::NewFromStream(
bufferedStream
));
[
all
...]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/tools/
ExecFileLoader.java
114
final OutputStream
bufferedStream
= new BufferedOutputStream(fileStream);
116
save(
bufferedStream
);
118
bufferedStream
.close();
/frameworks/base/drm/java/android/drm/
DrmUtils.java
46
BufferedInputStream
bufferedStream
= new BufferedInputStream(inputStream);
50
int length =
bufferedStream
.available();
54
bufferedStream
.read(data);
57
quietlyDispose(
bufferedStream
);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DrawableLoader.java
182
CachedInputStream
bufferedStream
= null;
185
bufferedStream
= new CachedInputStream(in);
186
// Let the
bufferedStream
be able to mark unlimited bytes up to full stream length.
188
bufferedStream
.setOverrideMarkLimit(Integer.MAX_VALUE);
195
bufferedStream
.mark(Integer.MAX_VALUE);
196
BitmapFactory.decodeStream(
bufferedStream
, null, bitmapOptions);
231
bufferedStream
.reset();
232
bufferedStream
.setOverrideMarkLimit(0);
240
bitmap = BitmapFactory.decodeStream(
bufferedStream
, null, bitmapOptions);
243
bufferedStream
.reset()
[
all
...]
BitmapWorkerTask.java
197
CachedInputStream
bufferedStream
= null;
200
bufferedStream
= new CachedInputStream(in);
201
// Let the
bufferedStream
be able to mark unlimited bytes up to full stream length.
203
bufferedStream
.setOverrideMarkLimit(Integer.MAX_VALUE);
210
bufferedStream
.mark(Integer.MAX_VALUE);
211
BitmapFactory.decodeStream(
bufferedStream
, null, bitmapOptions);
243
bufferedStream
.reset();
244
bufferedStream
.setOverrideMarkLimit(0);
246
BitmapFactory.decodeStream(
bufferedStream
, null,
253
if (
bufferedStream
!= null)
[
all
...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
ParserFactory.java
109
BufferedInputStream
bufferedStream
= new BufferedInputStream(stream);
116
avail =
bufferedStream
.available();
130
while ((avail =
bufferedStream
.available()) > 0) {
149
bufferedStream
.close();
/frameworks/base/core/jni/android/graphics/
Movie.cpp
106
//
bufferedStream
takes ownership of strm
107
std::unique_ptr<SkStreamRewindable>
bufferedStream
(SkFrontBufferedStream::Create(strm, 6));
108
SkASSERT(
bufferedStream
.get() != NULL);
110
SkMovie* moov = SkMovie::DecodeStream(
bufferedStream
.get());
BitmapFactory.cpp
550
std::unique_ptr<SkStreamRewindable>
bufferedStream
(
552
SkASSERT(
bufferedStream
.get() != NULL);
553
bitmap = doDecode(env,
bufferedStream
.release(), padding, options);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jar
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119.jar
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.equinox.simpleconfigurator_1.0.400.v20130327-2119.jar
/prebuilts/tools/common/m2/repository/org/jacoco/org.jacoco.core/0.7.1.201405082137/
org.jacoco.core-0.7.1.201405082137.jar
/prebuilts/tools/common/m2/repository/org/jacoco/org.jacoco.core/0.7.3.201501221555/
org.jacoco.core-0.7.3.201501221555.jar
/prebuilts/tools/common/m2/repository/org/jacoco/org.jacoco.core/0.7.4.201502262128/
org.jacoco.core-0.7.4.201502262128.jar
/prebuilts/tools/common/m2/repository/org/jacoco/org.jacoco.core/0.7.5.201505241946/
org.jacoco.core-0.7.5.201505241946.jar
/prebuilts/tools/common/offline-m2/org/jacoco/org.jacoco.core/0.7.4.201502262128/
org.jacoco.core-0.7.4.201502262128.jar
/prebuilts/tools/common/offline-m2/org/jacoco/org.jacoco.core/0.7.5.201505241946/
org.jacoco.core-0.7.5.201505241946.jar
/prebuilts/tools/common/m2/repository/org/jacoco/org.jacoco.core/0.7.6.201602180812/
org.jacoco.core-0.7.6.201602180812.jar
/prebuilts/tools/common/offline-m2/org/jacoco/org.jacoco.core/0.7.6.201602180812/
org.jacoco.core-0.7.6.201602180812.jar
/prebuilts/tools/common/m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.13/
FastInfoset-1.2.13.jar
/prebuilts/tools/common/m2/repository/org/jacoco/org.jacoco.ant/0.7.1.201405082137/
org.jacoco.ant-0.7.1.201405082137-nodeps.jar
/prebuilts/tools/common/m2/repository/org/jacoco/org.jacoco.ant/0.7.3.201501221555/
org.jacoco.ant-0.7.3.201501221555-nodeps.jar
/prebuilts/tools/common/m2/repository/org/jacoco/org.jacoco.ant/0.7.4.201502262128/
org.jacoco.ant-0.7.4.201502262128-nodeps.jar
Completed in 407 milliseconds
1
2