Lines Matching refs:channel
61 /* get the flags to use for a given channel, possibly setting them too in case of lazy init */
62 unsigned char __wine_dbg_get_channel_flags( struct __wine_debug_channel *channel )
68 struct __wine_debug_channel *opt = bsearch( channel->name, debug_options, nb_debug_options,
72 /* no option for this channel */
73 if (channel->flags & (1 << __WINE_DBCL_INIT)) channel->flags = default_flags;
77 /* set the flags to use for a given channel; return 0 if the channel is not available to set */
78 int __wine_dbg_set_channel_flags( struct __wine_debug_channel *channel,
85 struct __wine_debug_channel *opt = bsearch( channel->name, debug_options, nb_debug_options,
145 if (!p[0]) p = opt; /* assume it's a debug channel name */
239 int wine_dbg_log( enum __wine_debug_class cls, struct __wine_debug_channel *channel,
245 if (!(__wine_dbg_get_channel_flags( channel ) & (1 << cls))) return -1;
248 ret = funcs.dbg_vlog( cls, channel, func, format, valist );
412 static int default_dbg_vlog( enum __wine_debug_class cls, struct __wine_debug_channel *channel,
418 ret += wine_dbg_printf( "%s:[%#x]:%s:%s ", debug_classes[cls], GetCurrentThreadId(), channel->name, func );