Lines Matching refs:start

118   size_t start = 0;  in WriteEncodedValue()  local
140 start = 4 - length; in WriteEncodedValue()
144 start = 8 - length; in WriteEncodedValue()
183 stream->Write(buffer + start, length); in WriteEncodedValue()
233 const uint32_t start = stream->Tell(); in WriteStringIds() local
243 if (compute_offsets_ && start != stream->Tell()) { in WriteStringIds()
244 header_->StringIds().SetOffset(start); in WriteStringIds()
258 const uint32_t start = stream->Tell(); in WriteStringDatas() local
262 if (compute_offsets_ && start != stream->Tell()) { in WriteStringDatas()
263 header_->StringDatas().SetOffset(start); in WriteStringDatas()
269 const uint32_t start = stream->Tell(); in WriteTypeIds() local
276 if (compute_offsets_ && start != stream->Tell()) { in WriteTypeIds()
277 header_->TypeIds().SetOffset(start); in WriteTypeIds()
284 const uint32_t start = stream->Tell(); in WriteTypeLists() local
295 if (compute_offsets_ && start != stream->Tell()) { in WriteTypeLists()
296 header_->TypeLists().SetOffset(start); in WriteTypeLists()
302 const uint32_t start = stream->Tell(); in WriteProtoIds() local
315 if (compute_offsets_ && start != stream->Tell()) { in WriteProtoIds()
316 header_->ProtoIds().SetOffset(start); in WriteProtoIds()
322 const uint32_t start = stream->Tell(); in WriteFieldIds() local
332 if (compute_offsets_ && start != stream->Tell()) { in WriteFieldIds()
333 header_->FieldIds().SetOffset(start); in WriteFieldIds()
339 const uint32_t start = stream->Tell(); in WriteMethodIds() local
349 if (compute_offsets_ && start != stream->Tell()) { in WriteMethodIds()
350 header_->MethodIds().SetOffset(start); in WriteMethodIds()
355 const uint32_t start = stream->Tell(); in WriteEncodedArrays() local
361 if (compute_offsets_ && start != stream->Tell()) { in WriteEncodedArrays()
362 header_->EncodedArrayItems().SetOffset(start); in WriteEncodedArrays()
368 const uint32_t start = stream->Tell(); in WriteAnnotations() local
376 if (compute_offsets_ && start != stream->Tell()) { in WriteAnnotations()
377 header_->AnnotationItems().SetOffset(start); in WriteAnnotations()
384 const uint32_t start = stream->Tell(); in WriteAnnotationSets() local
395 if (compute_offsets_ && start != stream->Tell()) { in WriteAnnotationSets()
396 header_->AnnotationSetItems().SetOffset(start); in WriteAnnotationSets()
403 const uint32_t start = stream->Tell(); in WriteAnnotationSetRefs() local
414 if (compute_offsets_ && start != stream->Tell()) { in WriteAnnotationSetRefs()
415 header_->AnnotationSetRefLists().SetOffset(start); in WriteAnnotationSetRefs()
422 const uint32_t start = stream->Tell(); in WriteAnnotationsDirectories() local
460 if (compute_offsets_ && start != stream->Tell()) { in WriteAnnotationsDirectories()
461 header_->AnnotationsDirectoryItems().SetOffset(start); in WriteAnnotationsDirectories()
473 const uint32_t start = stream->Tell(); in WriteHiddenapiClassData() local
497 DCHECK_EQ(data_header[i + 1], stream->Tell() - start); in WriteHiddenapiClassData()
512 DCHECK_EQ(stream->Tell() - start, data_header[0]); in WriteHiddenapiClassData()
514 if (compute_offsets_ && start != stream->Tell()) { in WriteHiddenapiClassData()
515 header_->HiddenapiClassDatas().SetOffset(start); in WriteHiddenapiClassData()
526 const uint32_t start = stream->Tell(); in WriteDebugInfoItems() local
530 if (compute_offsets_ && start != stream->Tell()) { in WriteDebugInfoItems()
531 header_->DebugInfoItems().SetOffset(start); in WriteDebugInfoItems()
608 const uint32_t start = stream->Tell(); in WriteCodeItems() local
623 if (compute_offsets_ && start != stream->Tell()) { in WriteCodeItems()
624 header_->CodeItems().SetOffset(start); in WriteCodeItems()
629 const uint32_t start = stream->Tell(); in WriteClassDefs() local
652 if (compute_offsets_ && start != stream->Tell()) { in WriteClassDefs()
653 header_->ClassDefs().SetOffset(start); in WriteClassDefs()
658 const uint32_t start = stream->Tell(); in WriteClassDatas() local
672 if (compute_offsets_ && start != stream->Tell()) { in WriteClassDatas()
673 header_->ClassDatas().SetOffset(start); in WriteClassDatas()
678 const uint32_t start = stream->Tell(); in WriteCallSiteIds() local
689 if (compute_offsets_ && start != stream->Tell()) { in WriteCallSiteIds()
690 header_->CallSiteIds().SetOffset(start); in WriteCallSiteIds()
695 const uint32_t start = stream->Tell(); in WriteMethodHandles() local
705 if (compute_offsets_ && start != stream->Tell()) { in WriteMethodHandles()
706 header_->MethodHandleItems().SetOffset(start); in WriteMethodHandles()