Home
last modified time | relevance | path

Searched refs:atomic_int (Results 1 – 25 of 27) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DThreadPool.cpp89 std::atomic_int checked_in{0}; in TEST_F()
104 static void TestFunc(std::atomic_int &checked_in, int i) { checked_in += i; } in TestFunc()
109 std::atomic_int checked_in{0}; in TEST_F()
122 std::atomic_int i{0}; in TEST_F()
137 std::atomic_int i{0}; in TEST_F()
153 std::atomic_int checked_in{0}; in TEST_F()
/external/clang/test/Parser/
Datomic.c3 typedef _Atomic(int) atomic_int; typedef
4 typedef _Atomic int atomic_int; typedef
5 typedef _Atomic _Atomic _Atomic(int) atomic_int; // expected-warning {{duplicate '_Atomic' declarat… typedef
9 typedef const atomic_int const_atomic_int;
Dopencl-atomics-cl20.cl16 atomic_int i;
32 // expected-error@-16 {{use of undeclared identifier 'atomic_int'}}
61 void foo(atomic_int * ptr) {}
63 atomic_int i;
66 …i++; // expected-error {{invalid argument type 'atomic_int' (aka '_Atomic(int)') to unary expressi…
68 …i += 1; // expected-error {{invalid operands to binary expression ('atomic_int' (aka '_Atomic(int)…
69 …ted-error {{invalid operands to binary expression ('atomic_int' (aka '_Atomic(int)') and 'atomic_i…
/external/llvm/unittests/Support/
DThreadPool.cpp91 std::atomic_int checked_in{0}; in TEST_F()
106 static void TestFunc(std::atomic_int &checked_in, int i) { checked_in += i; } in TestFunc()
111 std::atomic_int checked_in{0}; in TEST_F()
124 std::atomic_int i{0}; in TEST_F()
139 std::atomic_int i{0}; in TEST_F()
155 std::atomic_int checked_in{0}; in TEST_F()
/external/pthreadpool/test/
Dpthreadpool.cc183 static void Increment1D(std::atomic_int* processed_counters, size_t i) { in Increment1D()
188 std::vector<std::atomic_int> counters(kParallelize1DRange); in TEST()
207 std::vector<std::atomic_int> counters(kParallelize1DRange); in TEST()
230 std::vector<std::atomic_int> counters(kParallelize1DRange); in TEST()
252 std::vector<std::atomic_int> counters(kParallelize1DRange); in TEST()
277 static void WorkImbalance1D(std::atomic_int* num_processed_items, size_t i) { in WorkImbalance1D()
288 std::atomic_int num_processed_items = ATOMIC_VAR_INIT(0); in TEST()
452 static void Increment1DTile1D(std::atomic_int* processed_counters, size_t start_i, size_t tile_i) { in Increment1DTile1D()
459 std::vector<std::atomic_int> counters(kParallelize1DTile1DRange); in TEST()
478 std::vector<std::atomic_int> counters(kParallelize1DTile1DRange); in TEST()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dresource_mgr_test.cc144 std::atomic<int> atomic_int(0); in TEST() local
148 threads.Schedule([&rm, &atomic_int] { in TEST()
151 "container", "resource-name", &r, [&atomic_int](Resource** ret) { in TEST()
154 atomic_int += 1; in TEST()
163 EXPECT_EQ(1, atomic_int); in TEST()
/external/clang/test/CodeGen/
Datomic-ops.c35 int fi1c(atomic_int *i) { in fi1c()
60 void fi2c(atomic_int *i) { in fi2c()
102 int fi3e(atomic_int *i) { in fi3e()
151 _Bool fi4c(atomic_int *i) { in fi4c()
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/
Dnotify_one.pass.cpp28 std::atomic_int test1(0);
29 std::atomic_int test2(0);
/external/libchrome/base/
Datomic_sequence_num.h26 std::atomic_int seq_{0};
Datomic_ref_count.h62 std::atomic_int ref_count_;
/external/v8/include/cppgc/internal/
Datomic-entry-flag.h42 std::atomic_int entries_{0};
/external/v8/src/profiler/
Dprofiler-stats.h43 std::atomic_int counts_[Reason::kNumberOfReasons] = {};
/external/libchrome/base/memory/
Dref_counted.cc13 std::atomic_int g_cross_thread_ref_count_access_allow_count(0);
/external/pdfium/third_party/base/allocator/partition_allocator/
Dspin_lock.h45 std::atomic_int lock_{0};
/external/libcxx/test/std/atomics/atomics.types.generic/
Dintegral.pass.cpp178 test<std::atomic_int, int>(); in main()
204 test<volatile std::atomic_int, int>(); in main()
Dintegral_typedefs.pass.cpp51 static_assert((std::is_same<std::atomic<int>, std::atomic_int>::value), ""); in main()
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/
Dgroup_by.cpp18 std::atomic_int c;
100 std::atomic_int c;
/external/clang/lib/Headers/
Dstdatomic.h97 typedef _Atomic(int) atomic_int; typedef
Dopencl-c.h14761 void __ovld atomic_init(volatile atomic_int *object, int value);
14777 int __ovld atomic_fetch_add(volatile atomic_int *object, int operand);
14778 int __ovld atomic_fetch_add_explicit(volatile atomic_int *object, int operand, memory_order order);
14779 int __ovld atomic_fetch_add_explicit(volatile atomic_int *object, int operand, memory_order order, …
14783 int __ovld atomic_fetch_sub(volatile atomic_int *object, int operand);
14784 int __ovld atomic_fetch_sub_explicit(volatile atomic_int *object, int operand, memory_order order);
14785 int __ovld atomic_fetch_sub_explicit(volatile atomic_int *object, int operand, memory_order order, …
14789 int __ovld atomic_fetch_or(volatile atomic_int *object, int operand);
14790 int __ovld atomic_fetch_or_explicit(volatile atomic_int *object, int operand, memory_order order);
14791 int __ovld atomic_fetch_or_explicit(volatile atomic_int *object, int operand, memory_order order, m…
[all …]
/external/clang/test/Sema/
Datomic-ops.c42 _Static_assert(atomic_is_lock_free((atomic_int*)0), "");
215 atomic_int n = ATOMIC_VAR_INIT(123); in f()
/external/elfutils/lib/
Dstdatomic-fbsd.h222 typedef _Atomic(int) atomic_int; typedef
/external/python/cpython3/Include/internal/
Dpycore_atomic.h51 atomic_int _value;
/external/libcxx/include/
Datomic490 typedef atomic<int> atomic_int;
1839 typedef atomic<int> atomic_int;
/external/vulkan-validation-layers/layers/
Dcore_validation_types.h78 std::atomic_int in_use;
/external/python/cpython3/
Dpyconfig.h.in1028 /* Has stdatomic.h with atomic_int and atomic_uintptr_t */

12