Home
last modified time | relevance | path

Searched refs:init_count (Results 1 – 11 of 11) sorted by relevance

/external/selinux/libsemanage/tests/
Dtest_bool.c794 unsigned int init_count; in test_bool_count_local() local
810 init_count = resp; in test_bool_count_local()
814 CU_ASSERT(resp == init_count + 1); in test_bool_count_local()
818 CU_ASSERT(resp == init_count + 2); in test_bool_count_local()
822 CU_ASSERT(resp == init_count + 1); in test_bool_count_local()
826 CU_ASSERT(resp == init_count); in test_bool_count_local()
843 unsigned int init_count; in test_bool_iterate_local() local
857 init_count = counter_bool_iterate_local; in test_bool_iterate_local()
867 CU_ASSERT(counter_bool_iterate_local == init_count); in test_bool_iterate_local()
873 CU_ASSERT(counter_bool_iterate_local == init_count + 1); in test_bool_iterate_local()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_event_mgr.cc61 int init_count = 0; in InitThreadpoolLabels() local
67 threadpool->Schedule([num_threads, &mu, &init_count, &all_initialized, in InitThreadpoolLabels()
71 ++init_count; in InitThreadpoolLabels()
72 if (init_count == num_threads) { in InitThreadpoolLabels()
75 while (init_count < num_threads) { in InitThreadpoolLabels()
/external/tensorflow/tensorflow/core/common_runtime/device/
Ddevice_event_mgr.cc62 int init_count = 0; in InitThreadpoolLabels() local
68 threadpool->Schedule([num_threads, &mu, &init_count, &all_initialized, in InitThreadpoolLabels()
72 ++init_count; in InitThreadpoolLabels()
73 if (init_count == num_threads) { in InitThreadpoolLabels()
76 while (init_count < num_threads) { in InitThreadpoolLabels()
/external/rust/crates/plotters/src/drawing/backend_impl/
Dmocked.rs21 init_count: u32, field
60 init_count: 0, in new()
121 self.init_count += 1; in ensure_prepared()
126 self.init_count = 0; in present()
/external/python/cpython2/Python/
Ddynload_beos.c104 static int32 init_count = 0; in beos_init_dyn() local
107 val = atomic_add( &init_count, 1 ); in beos_init_dyn()
/external/libusb/libusb/os/
Dwindows_common.c41 static unsigned int init_count; variable
475 if (++init_count == 1) { // First init? in windows_init()
530 if ((init_count == 1) && (r != LIBUSB_SUCCESS)) { // First init failed? in windows_init()
538 --init_count; in windows_init()
576 if (--init_count == 0) { // Last exit in windows_exit()
Dlinux_usbfs.c96 static int init_count = 0; variable
397 if (init_count == 0) { in op_init()
404 init_count++; in op_init()
405 else if (init_count == 0) in op_init()
419 assert(init_count != 0); in op_exit()
420 if (!--init_count) { in op_exit()
Ddarwin_usb.c52 static int init_count = 0; variable
580 first_init = (1 == ++init_count); in darwin_init()
632 --init_count; in darwin_init()
645 if (0 == --init_count) { in darwin_exit()
/external/rust/crates/libc/src/
Dpsp.rs1611 pub init_count: i32,
3962 init_count: i32, in sceNetAdhocMatchingCreate()
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi59267 …<var-decl name="init_count" type-id="95e97e5e" visibility="default" filepath="include/linux/phy/ph…
Dtest-PR27569-v0.abi59253 …<var-decl name="init_count" type-id="95e97e5e" visibility="default" filepath="include/linux/phy/ph…