Searched refs:reader (Results 1 – 3 of 3) sorted by relevance
/device/google/dragon/crash_collector/ |
D | coredump_writer.cc | 146 FdReader reader(fd_src_); in WriteCoredumpToFD() local 150 if (!ReadUntilNote(&reader, &elf_header, &program_headers, ¬e_buf)) { in WriteCoredumpToFD() 212 if (!reader.Seek(program_header_original.p_offset)) { in WriteCoredumpToFD() 217 !reader.CopyTo(fd_dest, program_header.p_filesz)) { in WriteCoredumpToFD() 226 bool CoredumpWriter::ReadUntilNote(FdReader* reader, in ReadUntilNote() argument 231 if (!reader->Read(elf_header, sizeof(*elf_header)) || in ReadUntilNote() 244 if (!reader->Seek(elf_header->e_phoff) || in ReadUntilNote() 245 !reader->Read(program_headers->data(), in ReadUntilNote() 261 if (!reader->Seek(note_program_header.p_offset) || in ReadUntilNote() 262 !reader->Read(note_buf->data(), note_buf->size())) { in ReadUntilNote()
|
D | coredump_writer.h | 62 bool ReadUntilNote(FdReader* reader,
|
/device/generic/goldfish/gps/ |
D | gps_qemu.c | 679 NmeaReader reader[1]; in gps_state_thread() local 685 nmea_reader_init( reader ); in gps_state_thread() 730 nmea_reader_set_callback( reader, state->callbacks.location_cb ); in gps_state_thread() 737 nmea_reader_set_callback( reader, NULL ); in gps_state_thread() 758 nmea_reader_addc( reader, buff[nn] ); in gps_state_thread()
|