Lines Matching refs:thrown_object
44 cxa_exception_from_thrown_object(void* thrown_object)
46 return static_cast<__cxa_exception*>(thrown_object) - 1;
203 void __cxa_free_exception(void *thrown_object) throw() {
207 ((char *)cxa_exception_from_thrown_object(thrown_object)) - header_offset;
259 __cxa_throw(void *thrown_object, std::type_info *tinfo, void (*dest)(void *)) {
261 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);
624 If thrown_object is not null, atomically increment the referenceCount field
626 by thrown_object.
628 Requires: If thrown_object is not NULL, it is a native exception.
631 __cxa_increment_exception_refcount(void *thrown_object) throw() {
632 if (thrown_object != NULL )
634 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);
640 If thrown_object is not null, atomically decrement the referenceCount field
642 by thrown_object. If the referenceCount drops to zero, destroy and
645 Requires: If thrown_object is not NULL, it is a native exception.
648 void __cxa_decrement_exception_refcount(void *thrown_object) throw() {
649 if (thrown_object != NULL )
651 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);
655 exception_header->exceptionDestructor(thrown_object);
656 __cxa_free_exception(thrown_object);
686 void* thrown_object = thrown_object_from_cxa_exception(exception_header);
687 __cxa_increment_exception_refcount(thrown_object);
688 return thrown_object;
710 If thrown_object is not null, allocate, initialize and throw a dependent
714 __cxa_rethrow_primary_exception(void* thrown_object)
716 if ( thrown_object != NULL )
718 // thrown_object guaranteed to be native because
720 __cxa_exception* exception_header = cxa_exception_from_thrown_object(thrown_object);
723 dep_exception_header->primaryException = thrown_object;
724 __cxa_increment_exception_refcount(thrown_object);