/aosp12/frameworks/base/tools/aapt2/io/ |
H A D | Util.h | 88 explicit ZeroCopyInputAdaptor(io::InputStream* in) : in_(in) { in ZeroCopyInputAdaptor() 93 bool result = in_->Next(data, &out_size); in Next() 99 in_->BackUp(static_cast<size_t>(count)); in BackUp() 117 return static_cast<::google::protobuf::int64>(in_->ByteCount()); in ByteCount() 123 io::InputStream* in_; variable 128 explicit ProtoInputStreamReader(io::InputStream* in) : in_(in) { } in ProtoInputStreamReader() 132 ZeroCopyInputAdaptor adapter(in_); in ReadMessage() 140 io::InputStream* in_;
|
/aosp12/frameworks/base/tools/aapt2/format/ |
H A D | Container.cpp | 212 error << "failed to read header length from input: " << reader_->in_->GetError(); in GetResFileOffsets() 220 error << "failed to read data length from input: " << reader_->in_->GetError(); in GetResFileOffsets() 268 : in_(in), in ContainerReader() 278 error << "failed to read magic from input: " << in_->GetError(); in ContainerReader() 292 error << "failed to read version from input: " << in_->GetError(); in ContainerReader() 306 error << "failed to read entry count from input: " << in_->GetError(); in ContainerReader() 326 error << "failed reading entry type from input: " << in_->GetError(); in Next() 334 error << "failed reading entry length from input: " << in_->GetError(); in Next()
|
H A D | Container.h | 95 io::InputStream* in_; variable
|
/aosp12/system/libziparchive/ |
H A D | zip_archive_stream_entry.cc | 134 std::vector<uint8_t> in_; member in ZipArchiveStreamEntryCompressed 183 in_.resize(kBufSize); in Init() 220 DCHECK_LE(in_.size(), std::numeric_limits<uint32_t>::max()); // Should be buf size = 64k. in Read() 221 uint32_t bytes = (compressed_length_ > in_.size()) ? static_cast<uint32_t>(in_.size()) in Read() 225 if (!archive->mapped_zip.ReadAtOffset(in_.data(), bytes, offset_)) { in Read() 236 z_stream_.next_in = in_.data(); in Read()
|
/aosp12/system/teeui/libteeui/include/teeui/ |
H A D | generic_operation.h | 196 WriteStream dispatchCommandMessage(ReadStream in_, WriteStream out) { in dispatchCommandMessage() argument 197 auto [in, proto] = readProtocol(in_); in dispatchCommandMessage() 229 auto [in_, promt, extra, locale, options] = read(PromptUserConfirmationMsg(), in); in command() 230 if (!in_) return write(PromptUserConfirmationResponse(), out, ResponseCode::SystemError); in command() 239 auto [in_, token] = read(DeliverTestCommandMessage(), in); in command() 240 if (!in_) return write(DeliverTestCommandResponse(), out, ResponseCode::SystemError); in command()
|
H A D | common_message_types.h | 158 teeui::ReadStream& in_ = std::get<0>(result); in read() local 162 std::tie(in_, pos, read_size) = read(in); in read() 163 if (!in_) return result; in read() 165 in_.bad(); in read()
|
H A D | msg_formatting.h | 134 auto [in_, pos, size] = read(in); in readSimpleType() 136 if (in_ && size == sizeof(T)) in readSimpleType() 139 in_.bad(); in readSimpleType() 140 return {in_, result}; in readSimpleType()
|
/aosp12/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/ |
H A D | msg_formatting.h | 268 inline std::tuple<ReadStream, HardwareAuthToken> read(Message<HardwareAuthToken>, ReadStream in_) { 270 ReadStream& in = std::get<0>(result) = in_; 338 ReadStream& in_ = std::get<0>(result); 342 std::tie(in_, pos, read_size) = read(in); 343 auto terminating_zero = in_.pos(); 344 ++in_; // skip the terminating zero. Does nothing if the stream was already bad 345 if (!in_) return result; 347 in_.good_ = false;
|
/aosp12/frameworks/base/tools/aapt2/xml/ |
H A D | XmlPullParser.cpp | 33 XmlPullParser::XmlPullParser(InputStream* in) : in_(in), empty_(), depth_(0) { in XmlPullParser() 60 if (!in_->Next(reinterpret_cast<const void**>(&buffer), &buffer_size)) { in Next() 61 if (in_->HadError()) { in Next() 62 error_ = in_->GetError(); in Next()
|
H A D | XmlPullParser.h | 183 io::InputStream* in_; variable
|
/aosp12/frameworks/base/startop/scripts/trace_analyzer/lib/ |
H A D | trace2db_test.py | 146 …session.query(MmFilemapAddToPageCache).filter(MmFilemapAddToPageCache.page.in_([0x000000006e0f8322… 187 …session.query(MmFilemapAddToPageCache).filter(MmFilemapAddToPageCache.page.in_([0x000000006e0f8322…
|