Lines Matching refs:Write
86 stream->Write(data.data(), data.size());
190 // Write preheader first.
191 stream->Write(reinterpret_cast<const uint8_t*>(preheader), preheader_bytes);
196 stream->Write(&disk_code_item, OFFSETOF_MEMBER(CompactDexFile::CodeItem, insns_));
197 // Write the instructions.
198 stream->Write(code_item->Insns(), code_item->InsnsSize() * sizeof(uint16_t));
199 // Write the post instruction data.
209 stream->Write(debug_info->GetDebugInfo(), debug_info->GetDebugInfoSize());
329 stream->Write(string_data->Data(), strlen(string_data->Data()));
382 bool CompactDexWriter::Write(DexContainer* output, std::string* error_msg) {
433 // Write code item first to minimize the space required for encoded methods.
451 // Write delayed id sections that depend on data sections.
469 // Write the map list.
480 // Write link data if it exists.
489 data_stream->Write(&link_data[0], link_data.size());
492 // Write debug info offset table last to make dex file verifier happy.
509 // Write header last.