Home
last modified time | relevance | path

Searched refs:ByteCount (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DFileStream_test.cpp42 EXPECT_THAT(in.ByteCount(), Eq(0u)); in TEST()
49 EXPECT_THAT(in.ByteCount(), Eq(10u)); in TEST()
55 EXPECT_THAT(in.ByteCount(), Eq(20u)); in TEST()
59 EXPECT_THAT(in.ByteCount(), Eq(15u)); in TEST()
64 ASSERT_THAT(in.ByteCount(), Eq(20u)); in TEST()
69 EXPECT_THAT(in.ByteCount(), Eq(10u)); in TEST()
74 ASSERT_THAT(in.ByteCount(), Eq(20u)); in TEST()
80 ASSERT_THAT(in.ByteCount(), Eq(21u)); in TEST()
94 EXPECT_THAT(out.ByteCount(), Eq(0u)); in TEST()
101 EXPECT_THAT(out.ByteCount(), Eq(10u)); in TEST()
[all …]
/frameworks/base/tools/aapt2/io/
DUtil.h71 size_t ByteCount() const override { in ByteCount() function
72 return static_cast<size_t>(out_->ByteCount()); in ByteCount()
116 ::google::protobuf::int64 ByteCount() const override { in ByteCount() function
117 return static_cast<::google::protobuf::int64>(in_->ByteCount()); in ByteCount()
DStringStream_test.cpp61 EXPECT_THAT(in.ByteCount(), Eq(input.size())); in TEST()
64 EXPECT_THAT(in.ByteCount(), Eq(input.size() - 6u)); in TEST()
70 EXPECT_THAT(in.ByteCount(), Eq(input.size())); in TEST()
DData.h79 size_t ByteCount() const override { return next_read_ - offset_; } in ByteCount() function
128 size_t ByteCount() const override { return next_read_; } in ByteCount() function
176 size_t ByteCount() const override { return next_read_; } in ByteCount() function
208 size_t ByteCount() const override { return 0u; } in ByteCount() function
DStringStream.h37 size_t ByteCount() const override;
70 size_t ByteCount() const override;
DStringStream.cpp46 size_t StringInputStream::ByteCount() const { in ByteCount() function in aapt::io::StringInputStream
101 size_t StringOutputStream::ByteCount() const { in ByteCount() function in aapt::io::StringOutputStream
/frameworks/base/libs/androidfw/include/androidfw/
DStreams.h55 virtual size_t ByteCount() const = 0;
99 virtual size_t ByteCount() const = 0;
DBigBufferStream.h44 size_t ByteCount() const override;
72 size_t ByteCount() const override;
DFileStream.h53 size_t ByteCount() const override;
95 size_t ByteCount() const override;
DPng.h68 size_t ByteCount() const override { in ByteCount() function
/frameworks/base/libs/androidfw/
DBigBufferStream.cpp68 size_t BigBufferInputStream::ByteCount() const { in ByteCount() function in android::BigBufferInputStream
121 size_t BigBufferOutputStream::ByteCount() const { in ByteCount() function in android::BigBufferOutputStream
DFileStream.cpp115 size_t FileInputStream::ByteCount() const { in ByteCount() function in android::FileInputStream
189 size_t FileOutputStream::ByteCount() const { in ByteCount() function in android::FileOutputStream
/frameworks/base/libs/hwui/jni/
DGIFMovie.cpp81 SkASSERT(image->ExtensionBlocks[j].ByteCount >= 4); in savedimage_duration()
238 eb->ByteCount == 4) { in drawFrame()
272 eb->ByteCount == 4) { in checkIfWillBeCleared()
290 eb->ByteCount == 4) { in getTransparencyAndDisposalMethod()
/frameworks/base/libs/hwui/service/
DGraphicsStatsService.cpp80 virtual int64 ByteCount() const override { return mImpl.ByteCount(); } in ByteCount() function in android::uirenderer::FileOutputStreamLite
/frameworks/base/tools/aapt2/cmd/
DCompile.cpp548 crunched_png_buffer_out.ByteCount() <= png_chunk_filter.ByteCount()) { in CompilePng()
/frameworks/base/cmds/idmap2/libidmap2/
DFabricatedOverlay.cpp361 if (output_stream.HadError() || pb_size != output_stream.ByteCount()) { in InitializeData()