Home | History | Annotate | Download | only in qphelper

Lines Matching defs:info

41 /* Crash info write helper. */
54 /* Shared crash info. */
73 static void qpCrashInfo_init (qpCrashInfo* info)
75 info->type = QP_CRASHTYPE_LAST;
76 info->message = DE_NULL;
77 info->file = DE_NULL;
78 info->line = 0;
81 static void qpCrashInfo_set (qpCrashInfo* info, qpCrashType type, const char* message, const char* file, int line)
83 info->type = type;
84 info->message = message;
85 info->file = file;
86 info->line = line;
89 static void qpCrashInfo_write (qpCrashInfo* info, qpWriteCrashInfoFunc writeInfo, void* userPtr)
91 switch (info->type)
94 writeInfoFormat(writeInfo, userPtr, "Segmentation fault: '%s'\n", info->message);
98 writeInfoFormat(writeInfo, userPtr, "Unhandled exception: '%s'\n", info->message);
103 info->message,
104 info->file,
105 info->line);
110 writeInfoFormat(writeInfo, userPtr, "Crash: '%s'\n", info->message);
148 static LONG WINAPI unhandledExceptionFilter (struct _EXCEPTION_POINTERS* info)
154 if (info->ExceptionRecord->ExceptionCode == EXCEPTION_BREAKPOINT)
178 switch (info->ExceptionRecord->ExceptionCode)
210 /* Store win32-specific crash info. */
211 g_crashHandler->crashAddress = (deUintptr)info->ExceptionRecord->ExceptionAddress;
236 /* Store info. */
313 /* Symbol info struct. */
319 /* Write basic info. */
419 /* Store info. */
442 const SignalInfo* info = getSignalInfo(sigNum);
443 qpCrashType type = info ? info->type : QP_CRASHTYPE_OTHER;
444 const char* name = info ? info->name : "Unknown signal";