Lines Matching refs:sink_callbacks_
165 void* user_data = sink_callbacks_[sink_idx].user_data; in CallSinks()
166 if (sink_callbacks_[sink_idx].start_block) { in CallSinks()
167 sink_callbacks_[sink_idx].start_block(user_data, in CallSinks()
170 if (sink_callbacks_[sink_idx].add_bytes) { in CallSinks()
171 sink_callbacks_[sink_idx].add_bytes( in CallSinks()
174 sink_callbacks_[sink_idx].add_bytes( in CallSinks()
178 if (sink_callbacks_[sink_idx].end_block) { in CallSinks()
179 sink_callbacks_[sink_idx].end_block(user_data); in CallSinks()
193 sink_callbacks_[sink_idx].start_block = start_func; in RegisterSink()
194 sink_callbacks_[sink_idx].add_bytes = add_bytes_func; in RegisterSink()
195 sink_callbacks_[sink_idx].end_block = end_block_func; in RegisterSink()
196 sink_callbacks_[sink_idx].user_data = user_data; in RegisterSink()
213 sink_callbacks_[handle].start_block = nullptr; in UnregisterSink()
214 sink_callbacks_[handle].add_bytes = nullptr; in UnregisterSink()
215 sink_callbacks_[handle].end_block = nullptr; in UnregisterSink()
232 return &sink_callbacks_[handle]; in GetSink()