Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 2 of 2) sorted by relevance

/trusty/vendor/google/aosp/scripts/
Dlog_processor.py189 def __init__(self, stream, err, pinned, lock, colored, log_file): argument
192 self.stream = stream
372 with open(self.stream, encoding="utf-8") as stream:
373 for line in stream:
408 self.outThread = LogProcessor(stream=master_out, err=False,
410 self.errThread = LogProcessor(stream=master_err, err=True,
/trusty/user/app/keymaster/
Dsecure_storage_manager.cpp709 bool write_to_file_callback(pb_ostream_t* stream, in write_to_file_callback() argument
712 FileStatus* file_status = reinterpret_cast<FileStatus*>(stream->state); in write_to_file_callback()
724 bool read_from_file_callback(pb_istream_t* stream, uint8_t* buf, size_t count) { in read_from_file_callback() argument
728 FileStatus* file_status = reinterpret_cast<FileStatus*>(stream->state); in read_from_file_callback()
753 pb_ostream_t stream = {&write_to_file_callback, &new_file_status, SIZE_MAX, in EncodeToFile() local
755 if (!pb_encode(&stream, fields, dest_struct)) { in EncodeToFile()
797 pb_istream_t stream = {&read_from_file_callback, &new_file_status, in DecodeFromFile() local
799 if (!pb_decode(&stream, fields, dest_struct)) { in DecodeFromFile()