• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/

Lines Matching defs:wxDebugContext

60 // wxDebugContext wxTheDebugContext;
121 if (wxDebugContext::GetHead () != 0 && ! (wxDebugContext::GetHead ())->AssertIt () ||
122 wxDebugContext::GetTail () != 0 && ! wxDebugContext::GetTail ()->AssertIt ()) {
158 if (wxDebugContext::GetHead () == 0) {
159 if (wxDebugContext::GetTail () != 0) {
163 (void) wxDebugContext::SetHead (this);
164 (void) wxDebugContext::SetTail (this);
166 wxDebugContext::GetTail ()->m_next = this;
167 this->m_prev = wxDebugContext::GetTail ();
168 (void) wxDebugContext::SetTail (this);
184 if (wxDebugContext::GetHead () == 0 || wxDebugContext::GetTail () == 0) {
191 if (this != wxDebugContext::GetHead ()) {
195 (void) wxDebugContext::SetHead (m_next);
211 if (this != wxDebugContext::GetTail ()) {
215 (void) wxDebugContext::SetTail (m_prev);
247 char * pointer = wxDebugContext::MidMarkerPos ((char *) this);
253 pointer = wxDebugContext::EndMarkerPos ((char *) this, RequestSize ());
361 obj->Dump(wxDebugContext::GetStream());
373 wxDebugContext::OutputDumpLine(msg);
384 wxDebugContext::OutputDumpLine(msg);
410 for (i = 0; i < wxDebugContext::TotSize (requestSize ()); i++)
416 if (* (wxMarkerType *) wxDebugContext::MidMarkerPos (startPointer) != MemMidCheck)
418 if (* (wxMarkerType *) wxDebugContext::EndMarkerPos (startPointer,
426 * (wxMarkerType *) wxDebugContext::MidMarkerPos (startPointer)
428 * (wxMarkerType *) wxDebugContext::EndMarkerPos (startPointer,
439 The wxDebugContext class.
442 wxMemStruct *wxDebugContext::m_head = NULL;
443 wxMemStruct *wxDebugContext::m_tail = NULL;
445 bool wxDebugContext::m_checkPrevious = false;
446 int wxDebugContext::debugLevel = 1;
447 bool wxDebugContext::debugOn = true;
448 wxMemStruct *wxDebugContext::checkPoint = NULL;
452 int wxDebugContext::m_balign = (int)((char *)&markerCalc[1] - (char*)&markerCalc[0]);
453 int wxDebugContext::m_balignmask = (int)((char *)&markerCalc[1] - (char*)&markerCalc[0]) - 1;
455 wxDebugContext::wxDebugContext(void)
459 wxDebugContext::~wxDebugContext(void)
468 size_t wxDebugContext::CalcAlignment ()
475 char * wxDebugContext::StructPos (const char * buf)
480 char * wxDebugContext::MidMarkerPos (const char * buf)
485 char * wxDebugContext::CallerMemPos (const char * buf)
491 char * wxDebugContext::EndMarkerPos (const char * buf, const size_t size)
501 char * wxDebugContext::StartPos (const char * caller)
503 return ((char *) (caller - wxDebugContext::PaddedSize (sizeof(wxMarkerType)) -
504 wxDebugContext::PaddedSize (sizeof (wxMemStruct))));
518 size_t wxDebugContext::GetPadding (const size_t size)
524 size_t wxDebugContext::PaddedSize (const size_t size)
542 size_t wxDebugContext::TotSize (const size_t reqSize)
552 void wxDebugContext::TraverseList (PmSFV func, wxMemStruct *from)
555 from = wxDebugContext::GetHead ();
573 bool wxDebugContext::PrintList (void)
584 bool wxDebugContext::Dump(void)
640 bool wxDebugContext::PrintStatistics(bool detailed)
669 from = wxDebugContext::GetHead ();
735 bool wxDebugContext::PrintClasses(void)
789 void wxDebugContext::SetCheckpoint(bool all)
798 int wxDebugContext::Check(bool checkAll)
804 from = wxDebugContext::GetHead ();
817 // Count the number of non-wxDebugContext-related objects
819 int wxDebugContext::CountObjectsLeft(bool sinceCheckpoint)
827 from = wxDebugContext::GetHead () ;
840 void wxDebugContext::OutputDumpLine(const wxChar *szFormat, ...)
950 if (!wxDebugContext::GetDebugMode())
955 int totSize = wxDebugContext::TotSize (size);
976 if (wxDebugContext::GetCheckPrevious ()) {
983 char * ptr = wxDebugContext::MidMarkerPos (buf);
985 ptr = wxDebugContext::EndMarkerPos (buf, size);
990 void *m_actualData = (void *) wxDebugContext::CallerMemPos (buf);
1012 if (!wxDebugContext::GetDebugMode())
1019 char * startPointer = wxDebugContext::StartPos ((char *) buf);
1021 wxMemStruct * st = (wxMemStruct *) wxDebugContext::StructPos (startPointer);
1029 if (st == wxDebugContext::checkPoint)
1030 wxDebugContext::checkPoint = wxDebugContext::checkPoint->m_prev;
1040 (void) memset (wxDebugContext::CallerMemPos (startPointer), MemFillChar,
1067 if (wxDebugContext::HasStream())
1069 wxDebugContext::GetStream() << buffer;
1070 wxDebugContext::GetStream().flush();
1091 if (wxDebugContext::GetLevel() < level)
1107 if (wxDebugContext::HasStream())
1109 wxDebugContext::GetStream() << buffer;
1110 wxDebugContext::GetStream().flush();
1136 if (wxDebugContext::CountObjectsLeft(true) > 0)
1138 wxDebugContext::OutputDumpLine(wxT("There were memory leaks.\n"));
1139 wxDebugContext::Dump();
1140 wxDebugContext::PrintStatistics();