Searched refs:g_array (Results 1 – 1 of 1) sorted by relevance
193 static AtexitArray g_array; variable215 if (g_array.append_entry({.fn = func, .arg = arg, .dso = dso})) { in __cxa_atexit()231 const uint64_t total_appends = g_array.total_appends(); in __cxa_finalize()233 for (ssize_t i = g_array.size() - 1; i >= 0; --i) { in __cxa_finalize()234 if (g_array[i].fn == nullptr || (dso != nullptr && g_array[i].dso != dso)) continue; in __cxa_finalize()238 const AtexitEntry entry = g_array.extract_entry(i); in __cxa_finalize()244 if (g_array.total_appends() != total_appends) goto restart; in __cxa_finalize()252 g_array.recompact(); in __cxa_finalize()