Searched refs:writer (Results 1 – 5 of 5) sorted by relevance
/system/extras/simpleperf/ |
D | record_file_test.cpp | 50 std::unique_ptr<RecordFileWriter> writer = in TEST_F() local 52 ASSERT_TRUE(writer != nullptr); in TEST_F() 57 ASSERT_TRUE(writer->WriteData(mmap_record.BinaryFormat())); in TEST_F() 60 ASSERT_TRUE(writer->WriteFeatureHeader(1)); in TEST_F() 66 ASSERT_TRUE(writer->WriteBuildIdFeature({build_id_record})); in TEST_F() 67 ASSERT_TRUE(writer->Close()); in TEST_F()
|
D | record_file.cpp | 44 auto writer = std::unique_ptr<RecordFileWriter>(new RecordFileWriter(filename, fp)); in CreateInstance() local 45 if (!writer->WriteAttrSection(event_attr, event_fds)) { in CreateInstance() 48 return writer; in CreateInstance()
|
/system/core/libziparchive/ |
D | zip_archive.cc | 1091 Writer* writer, uint64_t* crc_out) { in InflateEntryToWriter() argument 1165 if (!writer->Append(&write_buf[0], write_size)) { in InflateEntryToWriter() 1189 static int32_t CopyEntryToWriter(int fd, const ZipEntry* entry, Writer* writer, in CopyEntryToWriter() argument 1210 if (!writer->Append(&buf[0], block_size)) { in CopyEntryToWriter() 1223 ZipEntry* entry, Writer* writer) { in ExtractToWriter() argument 1237 return_value = CopyEntryToWriter(archive->fd, entry, writer, &crc); in ExtractToWriter() 1239 return_value = InflateEntryToWriter(archive->fd, entry, writer, &crc); in ExtractToWriter() 1261 std::unique_ptr<Writer> writer(new MemoryWriter(begin, size)); in ExtractToMemory() local 1262 return ExtractToWriter(handle, entry, writer.get()); in ExtractToMemory() 1267 std::unique_ptr<Writer> writer(FileWriter::Create(fd, entry)); in ExtractEntryToFile() local [all …]
|
/system/core/logd/ |
D | LogBufferElement.h | 101 uint64_t flushTo(SocketClient *writer, LogBuffer *parent);
|
D | LogBuffer.h | 54 uint64_t flushTo(SocketClient *writer, const uint64_t start,
|