debug.cc (8269:5a9a639ce16f) debug.cc (8699:d1a507c6329a)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 120 unchanged lines hidden (view full) ---

129
130 void
131 disable()
132 {
133 FlagsMap::iterator i = allFlags().begin();
134 FlagsMap::iterator end = allFlags().end();
135 for (; i != end; ++i)
136 if (i->second != this)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 120 unchanged lines hidden (view full) ---

129
130 void
131 disable()
132 {
133 FlagsMap::iterator i = allFlags().begin();
134 FlagsMap::iterator end = allFlags().end();
135 for (; i != end; ++i)
136 if (i->second != this)
137 i->second->enable();
137 i->second->disable();
138 }
139};
140
141AllFlags theAllFlags;
142Flag *const All = &theAllFlags;
143
144bool
145changeFlag(const char *s, bool value)

--- 40 unchanged lines hidden ---
138 }
139};
140
141AllFlags theAllFlags;
142Flag *const All = &theAllFlags;
143
144bool
145changeFlag(const char *s, bool value)

--- 40 unchanged lines hidden ---