Home
last modified time | relevance | path

Searched refs:num_active (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/clang/test/Misc/
Dloop-opt-setup.c17 int num_active = 5; in Helper() local
19 while (num_active) in Helper()
23 --num_active; in Helper()
/external/llvm-project/openmp/runtime/src/
Dkmp_dispatch_hier.h210 static inline kmp_uint64 get_wait_val(int num_active) { in get_wait_val() argument
212 switch (num_active) { in get_wait_val()
242 static void reset_private(kmp_int32 num_active,
244 static void reset_shared(kmp_int32 num_active,
251 void core_barrier_impl<T>::reset_private(kmp_int32 num_active, in reset_private() argument
253 tdata->num_active = num_active; in reset_private()
255 tdata->wait_val[0] = tdata->wait_val[1] = get_wait_val(num_active); in reset_private()
258 void core_barrier_impl<T>::reset_shared(kmp_int32 num_active, in reset_shared() argument
271 (current_wait_value ? 0 : get_wait_val(tdata->num_active)); in barrier()
288 static void reset_private(kmp_int32 num_active,
[all …]
Dkmp.h1614 kmp_int32 num_active; member
/external/libevent/test/
Dbench.c71 static int num_pipes, num_active, num_writes; variable
116 space = num_pipes / num_active; in run_once()
118 for (i = 0; i < num_active; i++, fired++) in run_once()
160 num_active = 1;
168 num_active = atoi(optarg);
/external/ltp/pan/
Dltp-pan.c107 static int check_pids(struct tag_pgrp *running, int *num_active,
170 int num_active = 0; in main() local
526 while ((num_active < keep_active) && (starts != 0)) { in main()
551 ++num_active; in main()
596 err = check_pids(running, &num_active, keep_active, logfile, in main()
615 if (stop && (num_active == 0)) in main()
618 if (go_idle && (num_active == 0)) { in main()
713 check_pids(struct tag_pgrp *running, int *num_active, int keep_active, in check_pids() argument
763 --*num_active; in check_pids()
772 --*num_active; in check_pids()
/external/llvm-project/lldb/test/API/functionalities/thread_plan/
DTestThreadPlanCommands.py32 num_active = len(active_plans)
40 if num_active == 0 and num_completed == 0 and num_discarded == 0:
/external/rust/crates/tokio/src/sync/tests/
Dloom_semaphore_batch.rs180 let num_active = active.load(SeqCst); in batch() localVariable
181 assert!(num_active <= 10); in batch()
/external/kernel-headers/original/uapi/rdma/hfi/
Dhfi1_ioctl.h84 __u16 num_active; /* number of active units */ member
/external/webrtc/modules/audio_device/win/
Dcore_audio_base_win.cc208 const int num_active = NumberOfActiveDevices(); in NumberOfEnumeratedDevices() local
209 return num_active > 0 ? num_active + kDefaultDeviceTypeMaxCount : 0; in NumberOfEnumeratedDevices()
Dcore_audio_utility_win.cc838 int num_active = 0; in NumberOfActiveSessions() local
866 ++num_active; in NumberOfActiveSessions()
870 RTC_DLOG(INFO) << "Number of active audio sessions: " << num_active; in NumberOfActiveSessions()
871 return num_active; in NumberOfActiveSessions()
/external/wayland/src/
Devent-loop.c388 int num_active, in heap_sift_down() argument
400 if (lchild_idx >= num_active) { in heap_sift_down()
405 if (lchild_idx + 1 < num_active) { in heap_sift_down()
/external/python/cpython3/Doc/library/
Ditertools.rst670 num_active = len(iterators)
671 if not num_active:
679 num_active -= 1
680 if not num_active:
800 num_active = len(iterables)
802 while num_active:
808 num_active -= 1
809 nexts = cycle(islice(nexts, num_active))