Home
last modified time | relevance | path

Searched refs:event_byte_size (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/modules/audio_processing/aec_dump/
Dwrite_to_file_task.cc28 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() argument
35 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() local
47 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()
Dwrite_to_file_task.h44 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()