Lines Matching defs:info
49 /* Crash info write helper. */
62 /* Shared crash info. */
81 static void qpCrashInfo_init (qpCrashInfo* info)
83 info->type = QP_CRASHTYPE_LAST;
84 info->message = DE_NULL;
85 info->file = DE_NULL;
86 info->line = 0;
89 static void qpCrashInfo_set (qpCrashInfo* info, qpCrashType type, const char* message, const char* file, int line)
91 info->type = type;
92 info->message = message;
93 info->file = file;
94 info->line = line;
97 static void qpCrashInfo_write (qpCrashInfo* info, qpWriteCrashInfoFunc writeInfo, void* userPtr)
99 switch (info->type)
102 writeInfoFormat(writeInfo, userPtr, "Segmentation fault: '%s'\n", info->message);
106 writeInfoFormat(writeInfo, userPtr, "Unhandled exception: '%s'\n", info->message);
111 info->message,
112 info->file,
113 info->line);
118 writeInfoFormat(writeInfo, userPtr, "Crash: '%s'\n", info->message);
161 static LONG WINAPI unhandledExceptionFilter (struct _EXCEPTION_POINTERS* info)
167 if (info->ExceptionRecord->ExceptionCode == EXCEPTION_BREAKPOINT)
191 switch (info->ExceptionRecord->ExceptionCode)
223 /* Store win32-specific crash info. */
224 g_crashHandler->crashAddress = (deUintptr)info->ExceptionRecord->ExceptionAddress;
249 /* Store info. */
326 /* Symbol info struct. */
332 /* Write basic info. */
431 /* Store info. */
454 const SignalInfo* info = getSignalInfo(sigNum);
455 qpCrashType type = info ? info->type : QP_CRASHTYPE_OTHER;
456 const char* name = info ? info->name : "Unknown signal";