Home
last modified time | relevance | path

Searched refs:init_once (Results 1 – 25 of 26) sorted by relevance

12

/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dtest_state.cc35 static void init_once() { in init_once() function
43 CRYPTO_once(&g_once, init_once); in GetClock()
48 CRYPTO_once(&g_once, init_once); in AdvanceClock()
53 CRYPTO_once(&g_once, init_once); in SetTestState()
63 CRYPTO_once(&g_once, init_once); in GetTestState()
Dtest_config.cc360 static void init_once() { in init_once() function
372 CRYPTO_once(&once, init_once); in SetTestConfig()
377 CRYPTO_once(&once, init_once); in GetTestConfig()
1177 CRYPTO_once(&once, init_once); in SetupCtx()
/external/boringssl/src/ssl/test/
Dtest_state.cc35 static void init_once() { in init_once() function
43 CRYPTO_once(&g_once, init_once); in GetClock()
48 CRYPTO_once(&g_once, init_once); in AdvanceClock()
53 CRYPTO_once(&g_once, init_once); in SetTestState()
63 CRYPTO_once(&g_once, init_once); in GetTestState()
Dtest_config.cc412 static void init_once() { in init_once() function
424 CRYPTO_once(&once, init_once); in SetTestConfig()
429 CRYPTO_once(&once, init_once); in GetTestConfig()
1242 CRYPTO_once(&once, init_once); in SetupCtx()
/external/rust/crates/android_logger/tests/
Dmultiple_init.rs6 android_logger::init_once(android_logger::Config::default().with_min_level(log::Level::Trace)); in multiple_init()
9 android_logger::init_once(android_logger::Config::default().with_min_level(log::Level::Error)); in multiple_init()
Ddefault_init.rs6 android_logger::init_once(Default::default()); in default_init()
Dconfig_log_level.rs6 android_logger::init_once(android_logger::Config::default().with_min_level(log::Level::Trace)); in config_log_level()
/external/rust/crates/android_logger/
DREADME.md29 android_logger::init_once(
54 android_logger::init_once(
60 (hence the `init_once` function name). However, Android native activity can be
62 Therefore this library will only log a warning for subsequent `init_once` calls.
/external/webrtc/rtc_base/synchronization/
Dyield_policy.cc47 static pthread_once_t init_once = PTHREAD_ONCE_INIT;
48 RTC_CHECK_EQ(pthread_once(&init_once, &InitializeTls), 0);
/external/webrtc/api/task_queue/
Dtask_queue_base.cc54 static pthread_once_t init_once = PTHREAD_ONCE_INIT; in GetQueuePtrTls() local
55 RTC_CHECK(pthread_once(&init_once, &InitializeTls) == 0); in GetQueuePtrTls()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rand/
Durandom.c142 static void init_once(void) { in DEFINE_STATIC_ONCE()
360 CRYPTO_once(rand_once_bss_get(), init_once); in CRYPTO_init_sysrand()
/external/boringssl/src/crypto/fipsmodule/rand/
Durandom.c142 static void init_once(void) { in DEFINE_STATIC_ONCE()
360 CRYPTO_once(rand_once_bss_get(), init_once); in CRYPTO_init_sysrand()
/external/python/cffi/testing/cffi1/
Dtest_ffi_obj.py457 res = ffi.init_once(do_init, "tag1")
461 res = ffi.init_once(do_init, "tag2")
483 res = ffi.init_once(do_init, "tag")
496 py.test.raises(ValueError, ffi.init_once, do_init, "tag")
514 py.test.raises(ValueError, ffi.init_once, do_init, "tag")
/external/cpuinfo/src/cpuinfo/
Dinternal-api.h54 …CPUINFO_PRIVATE BOOL CALLBACK cpuinfo_x86_windows_init(PINIT_ONCE init_once, PVOID parameter, PVOI…
/external/squashfs-tools/kernel/fs/squashfs/
Dsuper.c354 static void init_once(void *foo) in init_once() function
366 SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT, init_once); in init_inodecache()
/external/mesa3d/src/amd/compiler/
Daco_ir.cpp46 static void init_once() in init_once() function
58 call_once(&init_once_flag, init_once); in init()
/external/python/cffi/doc/source/
Dref.rst665 ffi.init_once()
668 **ffi.init_once(function, tag)**: run ``function()`` once. The
672 returned by the current and all future ``init_once()`` with the same
673 tag. If ``init_once()`` is called from multiple threads in parallel,
677 exception and try ``init_once()`` again). *New in version 1.4.*
687 ffi.init_once(initlib, "init")
690 ``init_once()`` is optimized to run very quickly if ``function()`` has
694 *Note:* one motivation__ for ``init_once()`` is the CPython notion of
711 if i > ffi.init_once(init_get_max, "max"):
Dwhatsnew.rst481 * ``ffi.init_once()`` added. See docs__.
/external/XNNPACK/third_party/
Dcpuinfo.patch527 BOOL CALLBACK cpuinfo_x86_windows_init(PINIT_ONCE init_once, PVOID parameter, PVOID* context) {
530 @@ -108,6 +117,7 @@ BOOL CALLBACK cpuinfo_x86_windows_init(PINIT_ONCE init_once, PVOID parameter, PV
538 @@ -121,7 +131,8 @@ BOOL CALLBACK cpuinfo_x86_windows_init(PINIT_ONCE init_once, PVOID parameter, PV
/external/perfetto/src/trace_processor/
Dtrace_processor_impl.cc671 static bool init_once = [] { return sqlite3_initialize() == SQLITE_OK; }(); in EnsureSqliteInitialized() local
672 PERFETTO_CHECK(init_once); in EnsureSqliteInitialized()
/external/rust/crates/android_logger/src/
Dlib.rs436 pub fn init_once(config: Config) { in init_once() function
/external/mesa3d/src/mesa/main/
Dcontext.c400 static once_flag init_once = ONCE_FLAG_INIT; variable
415 call_once(&init_once, one_time_init); in _mesa_initialize()
/external/cpuinfo/src/x86/windows/
Dinit.c107 BOOL CALLBACK cpuinfo_x86_windows_init(PINIT_ONCE init_once, PVOID parameter, PVOID* context) { in cpuinfo_x86_windows_init() argument
/external/python/cffi/cffi/
Dapi.py725 def init_once(self, func, tag): member in FFI
/external/python/cffi/testing/cffi0/
Dbackend_tests.py1915 res = ffi.init_once(do_init, "tag1")
1919 res = ffi.init_once(do_init, "tag2")
1939 res = ffi.init_once(do_init, "tag")

12