Home
last modified time | relevance | path

Searched refs:SoftRssLimitExceededCallback (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_libcdep.cc66 static void (*SoftRssLimitExceededCallback)(bool exceeded); variable
68 CHECK_EQ(SoftRssLimitExceededCallback, nullptr); in SetSoftRssLimitExceededCallback()
69 SoftRssLimitExceededCallback = Callback; in SetSoftRssLimitExceededCallback()
110 if (SoftRssLimitExceededCallback) in BackgroundThread()
111 SoftRssLimitExceededCallback(true); in BackgroundThread()
115 if (SoftRssLimitExceededCallback) in BackgroundThread()
116 SoftRssLimitExceededCallback(false); in BackgroundThread()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_libcdep.cpp21 static void (*SoftRssLimitExceededCallback)(bool exceeded); variable
23 CHECK_EQ(SoftRssLimitExceededCallback, nullptr); in SetSoftRssLimitExceededCallback()
24 SoftRssLimitExceededCallback = Callback; in SetSoftRssLimitExceededCallback()
75 if (SoftRssLimitExceededCallback) in BackgroundThread()
76 SoftRssLimitExceededCallback(true); in BackgroundThread()
80 if (SoftRssLimitExceededCallback) in BackgroundThread()
81 SoftRssLimitExceededCallback(false); in BackgroundThread()