Lines Matching refs:sink_callbacks_
175 void* user_data = sink_callbacks_[sink_idx].user_data; in CallSinks()
176 if (sink_callbacks_[sink_idx].start_block) { in CallSinks()
177 sink_callbacks_[sink_idx].start_block(user_data, in CallSinks()
180 if (sink_callbacks_[sink_idx].add_bytes) { in CallSinks()
181 sink_callbacks_[sink_idx].add_bytes( in CallSinks()
184 sink_callbacks_[sink_idx].add_bytes( in CallSinks()
188 if (sink_callbacks_[sink_idx].end_block) { in CallSinks()
189 sink_callbacks_[sink_idx].end_block(user_data); in CallSinks()
203 sink_callbacks_[sink_idx].start_block = start_func; in RegisterSink()
204 sink_callbacks_[sink_idx].add_bytes = add_bytes_func; in RegisterSink()
205 sink_callbacks_[sink_idx].end_block = end_block_func; in RegisterSink()
206 sink_callbacks_[sink_idx].user_data = user_data; in RegisterSink()
223 sink_callbacks_[handle].start_block = nullptr; in UnregisterSink()
224 sink_callbacks_[handle].add_bytes = nullptr; in UnregisterSink()
225 sink_callbacks_[handle].end_block = nullptr; in UnregisterSink()
241 return &sink_callbacks_[handle]; in GetSink()