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