Lines Matching refs:flag_bits
54 uint32_t flag_bits = 0; in DisableLog() local
58 flag_bits = log->GetMask().Get(); in DisableLog()
64 if (::strcasecmp (arg, "all") == 0 ) flag_bits &= ~KDP_LOG_ALL; in DisableLog()
65 else if (::strcasecmp (arg, "async") == 0 ) flag_bits &= ~KDP_LOG_ASYNC; in DisableLog()
66 else if (::strncasecmp (arg, "break", 5) == 0 ) flag_bits &= ~KDP_LOG_BREAKPOINTS; in DisableLog()
67 else if (::strncasecmp (arg, "comm", 4) == 0 ) flag_bits &= ~KDP_LOG_COMM; in DisableLog()
68 else if (::strcasecmp (arg, "default") == 0 ) flag_bits &= ~KDP_LOG_DEFAULT; in DisableLog()
69 else if (::strcasecmp (arg, "packets") == 0 ) flag_bits &= ~KDP_LOG_PACKETS; in DisableLog()
70 else if (::strcasecmp (arg, "memory") == 0 ) flag_bits &= ~KDP_LOG_MEMORY; in DisableLog()
71 … else if (::strcasecmp (arg, "data-short") == 0 ) flag_bits &= ~KDP_LOG_MEMORY_DATA_SHORT; in DisableLog()
72 … else if (::strcasecmp (arg, "data-long") == 0 ) flag_bits &= ~KDP_LOG_MEMORY_DATA_LONG; in DisableLog()
73 else if (::strcasecmp (arg, "process") == 0 ) flag_bits &= ~KDP_LOG_PROCESS; in DisableLog()
74 else if (::strcasecmp (arg, "step") == 0 ) flag_bits &= ~KDP_LOG_STEP; in DisableLog()
75 else if (::strcasecmp (arg, "thread") == 0 ) flag_bits &= ~KDP_LOG_THREAD; in DisableLog()
76 else if (::strcasecmp (arg, "verbose") == 0 ) flag_bits &= ~KDP_LOG_VERBOSE; in DisableLog()
77 else if (::strncasecmp (arg, "watch", 5) == 0 ) flag_bits &= ~KDP_LOG_WATCHPOINTS; in DisableLog()
87 log->GetMask().Reset (flag_bits); in DisableLog()
88 if (flag_bits == 0) in DisableLog()
100 uint32_t flag_bits = 0; in EnableLog() local
102 flag_bits = g_log->GetMask().Get(); in EnableLog()
120 if (::strcasecmp (arg, "all") == 0 ) flag_bits |= KDP_LOG_ALL; in EnableLog()
121 else if (::strcasecmp (arg, "async") == 0 ) flag_bits |= KDP_LOG_ASYNC; in EnableLog()
122 else if (::strncasecmp (arg, "break", 5) == 0 ) flag_bits |= KDP_LOG_BREAKPOINTS; in EnableLog()
123 else if (::strncasecmp (arg, "comm", 4) == 0 ) flag_bits |= KDP_LOG_COMM; in EnableLog()
124 else if (::strcasecmp (arg, "default") == 0 ) flag_bits |= KDP_LOG_DEFAULT; in EnableLog()
125 else if (::strcasecmp (arg, "packets") == 0 ) flag_bits |= KDP_LOG_PACKETS; in EnableLog()
126 else if (::strcasecmp (arg, "memory") == 0 ) flag_bits |= KDP_LOG_MEMORY; in EnableLog()
127 else if (::strcasecmp (arg, "data-short") == 0 ) flag_bits |= KDP_LOG_MEMORY_DATA_SHORT; in EnableLog()
128 else if (::strcasecmp (arg, "data-long") == 0 ) flag_bits |= KDP_LOG_MEMORY_DATA_LONG; in EnableLog()
129 else if (::strcasecmp (arg, "process") == 0 ) flag_bits |= KDP_LOG_PROCESS; in EnableLog()
130 else if (::strcasecmp (arg, "step") == 0 ) flag_bits |= KDP_LOG_STEP; in EnableLog()
131 else if (::strcasecmp (arg, "thread") == 0 ) flag_bits |= KDP_LOG_THREAD; in EnableLog()
132 else if (::strcasecmp (arg, "verbose") == 0 ) flag_bits |= KDP_LOG_VERBOSE; in EnableLog()
133 else if (::strncasecmp (arg, "watch", 5) == 0 ) flag_bits |= KDP_LOG_WATCHPOINTS; in EnableLog()
144 if (flag_bits == 0) in EnableLog()
145 flag_bits = KDP_LOG_DEFAULT; in EnableLog()
146 g_log->GetMask().Reset(flag_bits); in EnableLog()