Lines Matching defs:nb_debug_options
47 static int nb_debug_options = -1;
64 if (nb_debug_options == -1) debug_init();
66 if (nb_debug_options)
68 struct __wine_debug_channel *opt = bsearch( channel->name, debug_options, nb_debug_options,
81 if (nb_debug_options == -1) debug_init();
83 if (nb_debug_options)
85 struct __wine_debug_channel *opt = bsearch( channel->name, debug_options, nb_debug_options,
99 int min = 0, max = nb_debug_options - 1, pos, res;
120 if (nb_debug_options >= MAX_DEBUG_OPTIONS) return;
123 if (pos < nb_debug_options) memmove( &debug_options[pos + 1], &debug_options[pos],
124 (nb_debug_options - pos) * sizeof(debug_options[0]) );
127 nb_debug_options++;
199 if (nb_debug_options != -1) return; /* already initialized */
200 nb_debug_options = 0;