Searched refs:sink_callbacks_ (Results 1 – 2 of 2) sorted by relevance
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()[all …]
184 SinkCallbacks sink_callbacks_[PW_TRACE_CONFIG_MAX_SINKS]; variable188 return sink_callbacks_[handle].start_block == nullptr && in IsSinkFree()189 sink_callbacks_[handle].add_bytes == nullptr && in IsSinkFree()190 sink_callbacks_[handle].end_block == nullptr; in IsSinkFree()