Lines Matching refs:main_stream

396   Stream* main_stream = &temp_main_stream;  in Write()  local
408 main_stream->Seek(GetHeaderSize()); in Write()
414 const uint32_t string_ids_offset = main_stream->Tell(); in Write()
415 WriteStringIds(main_stream, /*reserve_only*/ true); in Write()
416 WriteTypeIds(main_stream); in Write()
417 const uint32_t proto_ids_offset = main_stream->Tell(); in Write()
418 WriteProtoIds(main_stream, /*reserve_only*/ true); in Write()
419 WriteFieldIds(main_stream); in Write()
420 WriteMethodIds(main_stream); in Write()
421 const uint32_t class_defs_offset = main_stream->Tell(); in Write()
422 WriteClassDefs(main_stream, /*reserve_only*/ true); in Write()
423 const uint32_t call_site_ids_offset = main_stream->Tell(); in Write()
424 WriteCallSiteIds(main_stream, /*reserve_only*/ true); in Write()
425 WriteMethodHandles(main_stream); in Write()
453 Stream::ScopedSeek seek(main_stream, string_ids_offset); in Write()
454 WriteStringIds(main_stream, /*reserve_only*/ false); in Write()
457 Stream::ScopedSeek seek(main_stream, proto_ids_offset); in Write()
458 WriteProtoIds(main_stream, /*reserve_only*/ false); in Write()
461 Stream::ScopedSeek seek(main_stream, class_defs_offset); in Write()
462 WriteClassDefs(main_stream, /*reserve_only*/ false); in Write()
465 Stream::ScopedSeek seek(main_stream, call_site_ids_offset); in Write()
466 WriteCallSiteIds(main_stream, /*reserve_only*/ false); in Write()
501 main_stream->AlignTo(kDataSectionAlignment); in Write()
503 header_->SetDataOffset(main_stream->Tell()); in Write()
511 header_->SetFileSize(main_stream->Tell()); in Write()
513 WriteHeader(main_stream); in Write()
526 WriteHeader(main_stream); in Write()