Searched refs:g_array (Results 1 – 1 of 1) sorted by relevance
213 static AtexitArray g_array; variable235 if (g_array.append_entry({.fn = func, .arg = arg, .dso = dso})) { in __cxa_atexit()251 const uint64_t total_appends = g_array.total_appends(); in __cxa_finalize()253 for (ssize_t i = g_array.size() - 1; i >= 0; --i) { in __cxa_finalize()254 if (g_array[i].fn == nullptr || (dso != nullptr && g_array[i].dso != dso)) continue; in __cxa_finalize()258 const AtexitEntry entry = g_array.extract_entry(i); in __cxa_finalize()264 if (g_array.total_appends() != total_appends) goto restart; in __cxa_finalize()272 g_array.recompact(); in __cxa_finalize()