Lines Matching refs:flag_bits
92 uint32_t flag_bits = m_log_ap->GetMask().Get(); in Disable() local
97 if (::strcasecmp (arg, "all") == 0) flag_bits &= ~DWARF_LOG_ALL; in Disable()
98 else if (::strcasecmp (arg, "info") == 0) flag_bits &= ~DWARF_LOG_DEBUG_INFO; in Disable()
99 else if (::strcasecmp (arg, "line") == 0) flag_bits &= ~DWARF_LOG_DEBUG_LINE; in Disable()
100 else if (::strcasecmp (arg, "pubnames") == 0) flag_bits &= ~DWARF_LOG_DEBUG_PUBNAMES; in Disable()
101 else if (::strcasecmp (arg, "pubtypes") == 0) flag_bits &= ~DWARF_LOG_DEBUG_PUBTYPES; in Disable()
102 else if (::strcasecmp (arg, "aranges") == 0) flag_bits &= ~DWARF_LOG_DEBUG_ARANGES; in Disable()
103 else if (::strcasecmp (arg, "lookups") == 0) flag_bits &= ~DWARF_LOG_LOOKUPS; in Disable()
104 else if (::strcasecmp (arg, "map") == 0) flag_bits &= ~DWARF_LOG_DEBUG_MAP; in Disable()
105 else if (::strcasecmp (arg, "default") == 0) flag_bits &= ~DWARF_LOG_DEFAULT; in Disable()
106 else if (::strncasecmp(arg, "comp", 4) == 0) flag_bits &= ~DWARF_LOG_TYPE_COMPLETION; in Disable()
114 if (flag_bits == 0) in Disable()
117 m_log_ap->GetMask().Reset (flag_bits); in Disable()
139 uint32_t flag_bits = 0; in Enable() local
145 if (::strcasecmp (arg, "all") == 0) flag_bits |= DWARF_LOG_ALL; in Enable()
146 else if (::strcasecmp (arg, "info") == 0) flag_bits |= DWARF_LOG_DEBUG_INFO; in Enable()
147 else if (::strcasecmp (arg, "line") == 0) flag_bits |= DWARF_LOG_DEBUG_LINE; in Enable()
148 else if (::strcasecmp (arg, "pubnames") == 0) flag_bits |= DWARF_LOG_DEBUG_PUBNAMES; in Enable()
149 else if (::strcasecmp (arg, "pubtypes") == 0) flag_bits |= DWARF_LOG_DEBUG_PUBTYPES; in Enable()
150 else if (::strcasecmp (arg, "aranges") == 0) flag_bits |= DWARF_LOG_DEBUG_ARANGES; in Enable()
151 else if (::strcasecmp (arg, "lookups") == 0) flag_bits |= DWARF_LOG_LOOKUPS; in Enable()
152 else if (::strcasecmp (arg, "map") == 0) flag_bits |= DWARF_LOG_DEBUG_MAP; in Enable()
153 else if (::strcasecmp (arg, "default") == 0) flag_bits |= DWARF_LOG_DEFAULT; in Enable()
154 else if (::strncasecmp(arg, "comp", 4) == 0) flag_bits |= DWARF_LOG_TYPE_COMPLETION; in Enable()
165 if (flag_bits == 0) in Enable()
166 flag_bits = DWARF_LOG_DEFAULT; in Enable()
167 m_log_ap->GetMask().Reset(flag_bits); in Enable()