Home
last modified time | relevance | path

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

/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/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/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/v8/tools/clang/plugins/tests/
Dtrivial_ctor.h16 typedef atomic<int> atomic_int; typedef
25 std::atomic_int lock_;
/external/tensorflow/tensorflow/core/framework/
Dresource_mgr_test.cc142 std::atomic<int> atomic_int(0); in TEST() local
146 threads.Schedule([&rm, &atomic_int] { in TEST()
149 "container", "resource-name", &r, [&atomic_int](Resource** ret) { in TEST()
152 atomic_int += 1; in TEST()
161 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/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/pdfium/third_party/base/allocator/partition_allocator/
Dspin_lock.h47 std::atomic_int lock_;
/external/libchrome/base/memory/
Dref_counted.cc13 std::atomic_int g_cross_thread_ref_count_access_allow_count(0);
/external/spirv-llvm/test/SPIRV/transcoding/
DAtomicCompareExchangeExplicit_cl20.ll2 ;; volatile global atomic_int* object,
90 !3 = !{!"kernel_arg_type", !"atomic_int*", !"int*", !"int"}
/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/python/cpython3/Include/
Dpyatomic.h43 atomic_int _value;
/external/vulkan-validation-layers/layers/
Dcore_validation_types.h74 std::atomic_int in_use;
/external/libcxx/include/
Datomic490 typedef atomic<int> atomic_int;
1839 typedef atomic<int> atomic_int;
/external/python/cpython3/
Dpyconfig.h.in966 /* Has stdatomic.h with atomic_int */
Dconfigure.ac5492 atomic_int value = ATOMIC_VAR_INIT(1);
5504 [Has stdatomic.h with atomic_int])
Dconfigure16891 atomic_int value = ATOMIC_VAR_INIT(1);