Lines Matching defs:globals

259     __cxa_eh_globals *globals = __cxa_get_globals();
268 globals->uncaughtExceptions += 1; // Not atomically, since globals are thread-local
313 __cxa_eh_globals* globals = __cxa_get_globals();
321 exception_header->nextPropagatingException = globals->propagatingExceptions;
322 globals->propagatingExceptions = exception_header;
330 if (NULL != globals->propagatingExceptions)
332 globals->propagatingExceptions = exception_header;
351 __cxa_eh_globals* globals = __cxa_get_globals();
352 __cxa_exception* exception_header = globals->propagatingExceptions;
365 globals->propagatingExceptions = exception_header->nextPropagatingException;
371 globals->propagatingExceptions = NULL;
426 __cxa_eh_globals* globals = __cxa_get_globals();
442 if (exception_header != globals->caughtExceptions)
444 exception_header->nextException = globals->caughtExceptions;
445 globals->caughtExceptions = exception_header;
447 globals->uncaughtExceptions -= 1; // Not atomically, since globals are thread-local
456 if (globals->caughtExceptions != 0)
459 globals->caughtExceptions = exception_header;
495 __cxa_eh_globals* globals = __cxa_get_globals_fast(); // __cxa_get_globals called in __cxa_begin_catch
496 __cxa_exception* exception_header = globals->caughtExceptions;
497 // If we've rethrown a foreign exception, then globals->caughtExceptions
512 globals->caughtExceptions = exception_header->nextException;
525 globals->caughtExceptions = exception_header->nextException;
550 _Unwind_DeleteException(&globals->caughtExceptions->unwindHeader);
551 globals->caughtExceptions = 0;
561 __cxa_eh_globals *globals = __cxa_get_globals_fast();
562 if (NULL == globals)
564 __cxa_exception *exception_header = globals->caughtExceptions;
585 __cxa_eh_globals* globals = __cxa_get_globals();
586 __cxa_exception* exception_header = globals->caughtExceptions;
594 globals->uncaughtExceptions += 1;
603 globals->caughtExceptions = 0;
666 We can use __cxa_get_globals_fast here to get the globals because if there have
668 the need to allocate the exception-handling globals.
672 __cxa_eh_globals* globals = __cxa_get_globals_fast();
673 if (NULL == globals)
674 return NULL; // If there are no globals, there is no exception
675 __cxa_exception* exception_header = globals->caughtExceptions;
748 __cxa_eh_globals* globals = __cxa_get_globals_fast();
749 if (globals == 0)
751 return globals->uncaughtExceptions;