Searched refs:dispatch_once (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSXAPIChecker.cpp51 // dispatch_once and dispatch_once_f
83 // that dispatch_once is a macro that wraps a call to _dispatch_once.
84 // _dispatch_once is then a function which then calls the real dispatch_once.
140 BT_dispatchOnce.reset(new BugType(this, "Improper use of 'dispatch_once'",
161 .Cases("dispatch_once",
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_libdispatch.cpp248 // GCD's dispatch_once implementation has a fast path that contains a racy read
251 // code following the call to dispatch_once. We could deal with this in
257 // are the loads on the fast path. Loads don't race. Secondly, dispatch_once is
260 #undef dispatch_once macro
261 TSAN_INTERCEPTOR(void, dispatch_once, dispatch_once_t *predicate,
263 SCOPED_INTERCEPTOR_RAW(dispatch_once, predicate, block);
287 WRAP(dispatch_once)(predicate, ^(void) {
751 INTERCEPT_FUNCTION(dispatch_once);
/freebsd-11-stable/crypto/heimdal/lib/ipc/
H A Dclient.c65 dispatch_once(&jobqinited, ^{
H A Dserver.c83 dispatch_once(&once, ^{
1148 dispatch_once(&timeoutonce, ^{ dispatch_resume(timer); });

Completed in 348 milliseconds