Searched refs:event_byte_size (Results 1 – 2 of 2) sorted by relevance
28 bool WriteToFileTask::IsRoomForNextEvent(size_t event_byte_size) const { in IsRoomForNextEvent()29 int64_t next_message_size = event_byte_size + sizeof(int32_t); in IsRoomForNextEvent()34 void WriteToFileTask::UpdateBytesLeft(size_t event_byte_size) { in UpdateBytesLeft() argument35 RTC_DCHECK(IsRoomForNextEvent(event_byte_size)); in UpdateBytesLeft()37 *num_bytes_left_for_log_ -= (sizeof(int32_t) + event_byte_size); in UpdateBytesLeft()45 const size_t event_byte_size = event_.ByteSizeLong(); in Run() local47 if (!IsRoomForNextEvent(event_byte_size)) { in Run()54 UpdateBytesLeft(event_byte_size); in Run()57 if (!debug_file_->Write(&event_byte_size, sizeof(int32_t))) { in Run()
44 bool IsRoomForNextEvent(size_t event_byte_size) const; in RTC_POP_IGNORING_WUNDEF()46 void UpdateBytesLeft(size_t event_byte_size); in RTC_POP_IGNORING_WUNDEF()