Home
last modified time | relevance | path

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

12345678910>>...46

/third_party/glib/glib/
Dgatomic.h37 gint g_atomic_int_get (const volatile gint *atomic);
39 void g_atomic_int_set (volatile gint *atomic,
42 void g_atomic_int_inc (volatile gint *atomic);
44 gboolean g_atomic_int_dec_and_test (volatile gint *atomic);
46 gboolean g_atomic_int_compare_and_exchange (volatile gint *atomic,
50 gint g_atomic_int_add (volatile gint *atomic,
53 guint g_atomic_int_and (volatile guint *atomic,
56 guint g_atomic_int_or (volatile guint *atomic,
59 guint g_atomic_int_xor (volatile guint *atomic,
63 gpointer g_atomic_pointer_get (const volatile void *atomic);
[all …]
Dgatomic.c116 (g_atomic_int_get) (const volatile gint *atomic) in gint()
118 return g_atomic_int_get (atomic); in gint()
137 (g_atomic_int_set) (volatile gint *atomic,
140 g_atomic_int_set (atomic, newval);
159 (g_atomic_int_inc) (volatile gint *atomic)
161 g_atomic_int_inc (atomic);
183 (g_atomic_int_dec_and_test) (volatile gint *atomic) in gboolean()
185 return g_atomic_int_dec_and_test (atomic); in gboolean()
212 (g_atomic_int_compare_and_exchange) (volatile gint *atomic, in gboolean()
216 return g_atomic_int_compare_and_exchange (atomic, oldval, newval); in gboolean()
[all …]
/third_party/boost/boost/atomic/
Datomic.hpp39 class atomic : class
58 …BOOST_DEFAULTED_FUNCTION(atomic() BOOST_ATOMIC_DETAIL_DEF_NOEXCEPT_DECL, BOOST_ATOMIC_DETAIL_DEF_N… in BOOST_DEFAULTED_FUNCTION()
59 …BOOST_FORCEINLINE BOOST_ATOMIC_DETAIL_CONSTEXPR_UNION_INIT atomic(value_arg_type v) BOOST_NOEXCEPT…
88 BOOST_DELETED_FUNCTION(atomic(atomic const&))
89 BOOST_DELETED_FUNCTION(atomic& operator= (atomic const&))
90 BOOST_DELETED_FUNCTION(atomic& operator= (atomic const&) volatile)
93 typedef atomic< char > atomic_char;
94 typedef atomic< unsigned char > atomic_uchar;
95 typedef atomic< signed char > atomic_schar;
96 typedef atomic< uint8_t > atomic_uint8_t;
[all …]
/third_party/libdrm/
Dxf86atomic.h42 int atomic; member
45 # define atomic_read(x) ((x)->atomic)
46 # define atomic_set(x, val) ((x)->atomic = (val))
47 # define atomic_inc(x) ((void) __sync_fetch_and_add (&(x)->atomic, 1))
48 # define atomic_inc_return(x) (__sync_add_and_fetch (&(x)->atomic, 1))
49 # define atomic_dec_and_test(x) (__sync_add_and_fetch (&(x)->atomic, -1) == 0)
50 # define atomic_add(x, v) ((void) __sync_add_and_fetch(&(x)->atomic, (v)))
51 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v)))
52 # define atomic_cmpxchg(x, oldv, newv) __sync_val_compare_and_swap (&(x)->atomic, oldv, newv)
63 AO_t atomic; member
[all …]
/third_party/boost/boost/math/tools/
Datomic.hpp22 typedef std::atomic<int> atomic_counter_type;
23 typedef std::atomic<unsigned> atomic_unsigned_type;
27 typedef std::atomic<short> atomic_counter_type;
28 typedef std::atomic<unsigned short> atomic_unsigned_type;
32 typedef std::atomic<long> atomic_unsigned_integer_type;
33 typedef std::atomic<unsigned long> atomic_unsigned_type;
37 typedef std::atomic<long long> atomic_unsigned_integer_type;
38 typedef std::atomic<unsigned long long> atomic_unsigned_type;
61 typedef boost::atomic<int> atomic_counter_type;
62 typedef boost::atomic<unsigned> atomic_unsigned_type;
[all …]
/third_party/boost/boost/multiprecision/detail/
Datomic.hpp21 typedef std::atomic<int> atomic_counter_type;
22 typedef std::atomic<unsigned> atomic_unsigned_type;
26 typedef std::atomic<short> atomic_counter_type;
27 typedef std::atomic<unsigned short> atomic_unsigned_type;
31 typedef std::atomic<long> atomic_unsigned_integer_type;
32 typedef std::atomic<unsigned long> atomic_unsigned_type;
36 typedef std::atomic<long long> atomic_unsigned_integer_type;
37 typedef std::atomic<unsigned long long> atomic_unsigned_type;
62 typedef boost::atomic<int> atomic_counter_type;
63 typedef boost::atomic<unsigned> atomic_unsigned_type;
[all …]
/third_party/skia/third_party/externals/tint/src/resolver/
Datomics_test.cc31 auto* g = Global("a", ty.atomic(Source{{12, 34}}, ty.i32()), in TEST_F()
36 auto* atomic = TypeOf(g)->UnwrapRef()->As<sem::Atomic>(); in TEST_F() local
37 ASSERT_NE(atomic, nullptr); in TEST_F()
38 EXPECT_TRUE(atomic->Type()->Is<sem::I32>()); in TEST_F()
42 auto* g = Global("a", ty.atomic(Source{{12, 34}}, ty.u32()), in TEST_F()
47 auto* atomic = TypeOf(g)->UnwrapRef()->As<sem::Atomic>(); in TEST_F() local
48 ASSERT_NE(atomic, nullptr); in TEST_F()
49 EXPECT_TRUE(atomic->Type()->Is<sem::U32>()); in TEST_F()
53 auto* s = Structure("s", {Member("a", ty.atomic(Source{{12, 34}}, ty.i32()))}, in TEST_F()
67 auto* atomic = str->Members()[0]->Type()->As<sem::Atomic>(); in TEST_F() local
[all …]
Datomics_validation_test.cc30 Global("a", ty.atomic(Source{{12, 34}}, ty.i32()), in TEST_F()
37 auto* s = Structure("s", {Member("a", ty.atomic(Source{{12, 34}}, ty.i32()))}, in TEST_F()
46 Global("a", ty.atomic(ty.f32(Source{{12, 34}})), in TEST_F()
54 Global("a", ty.atomic(Source{{12, 34}}, ty.i32()), in TEST_F()
64 Global("a", ty.atomic(Source{{12, 34}}, ty.i32()), in TEST_F()
75 Structure("s", {Member("a", ty.atomic(Source{{12, 34}}, ty.i32()))}); in TEST_F()
91 Structure("Inner", {Member("m", ty.atomic(Source{{12, 34}}, ty.i32()))}); in TEST_F()
109 Structure("Inner", {Member(Source{{12, 34}}, "m", ty.atomic(ty.i32()))}); in TEST_F()
125 ty.atomic(Source{{12, 34}}, ty.i32())); in TEST_F()
141 auto* s = Structure("S", {Member("m", ty.atomic<u32>())}); in TEST_F()
[all …]
/third_party/boost/libs/atomic/
DREADME.md3 …on of the [Boost C++ Libraries](https://github.com/boostorg), implements atomic operations for var…
15 * [Documentation](https://www.boost.org/libs/atomic)
16 * [Report bugs](https://github.com/boostorg/atomic/issues/new). Be sure to mention Boost version, p…
17 * Submit your patches as [pull requests](https://github.com/boostorg/atomic/compare) against **deve…
23atomic/tree/master) | [![Travis CI](https://travis-ci.org/boostorg/atomic.svg?branch=master)](http…
24atomic/tree/develop) | [![Travis CI](https://travis-ci.org/boostorg/atomic.svg?branch=develop)](ht…
/third_party/boost/libs/atomic/doc/
Datomic.qbk15 [id atomic]
16 [dirname atomic]
29 [*Boost.Atomic] is a library that provides [^atomic]
32 atomic variables. It implements the interface as defined by the C++11
41 intrinsics), and falls back to "emulating" atomic operations through
48 Operations on "ordinary" variables are not guaranteed to be atomic.
64 Declaring [^atomic<int> n=0] instead, the same operation on
66 variable is ['atomic]: This means that each operation behaves as if it
75 Take a look at the [link atomic.usage_examples examples] section
117 [link atomic.usage_examples examples] afterwards.
[all …]
Dplatform.qbk14 * [^boost::atomic<T>] is the topmost-level, providing
18 * [^boost::detail::atomic::internal_atomic&<T,S=sizeof(T),I=is_integral_type<T> >]:
29 inherits from either [^boost::detail::atomic::platform_atomic<T,S=sizeof(T)>]
30 or [^boost::detail::atomic::platform_atomic_integral<T,S=sizeof(T)>].
33 and delegate to [^boost::detail::atomic::platform_atomic_integral<T,S=sizeof(T)>]
37 * [^boost::detail::atomic::platform_atomic_integral<T,S=sizeof(T)>]
43 The default implementation uses locking to emulate atomic operations, so
45 to add support for platform-specific atomic operations.
50 most platform-specific atomic operations usually depend only on the
59 * At the lowest level, [^boost::detail::atomic::platform_atomic<T,S=sizeof(T)>]
[all …]
/third_party/openGLES/extensions/ARB/
DARB_shader_atomic_counters.txt65 This extension provides a set of atomic counters.
68 query and increment/decrement these atomic counters.
74 Opaque handles to atomic counters are declared
82 Active atomic counters can be discovered by the commands
86 Like samplers, the opaque handles of the atomic counters
89 The atomic counters pointed to by the opaque handles
98 The contents of the atomic counters are stored
99 in the buffer objects. The contents of atomic
208 atomic counters, can be grouped into <uniform blocks>.
214 except for subroutine uniforms and atomic counters,
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_shader_atomic_counters.txt55 This extension provides a set of atomic counters.
58 query and increment/decrement these atomic counters.
64 Opaque handles to atomic counters are declared
72 Active atomic counters can be discovered by the commands
76 Like samplers, the opaque handles of the atomic counters
79 The atomic counters pointed to by the opaque handles
88 The contents of the atomic counters are stored
89 in the buffer objects. The contents of atomic
198 atomic counters, can be grouped into <uniform blocks>.
204 except for subroutine uniforms and atomic counters,
[all …]
/third_party/skia/src/gpu/
DGrThreadSafePipelineBuilder.h78 std::atomic<int> fShaderCompilations{0};
80 std::atomic<int> fNumInlineCompilationFailures{0};
81 std::array<std::atomic<int>, kNumProgramCacheResults> fInlineProgramCacheStats = {};
83 std::atomic<int> fNumPreCompilationFailures{0};
84 std::array<std::atomic<int>, kNumProgramCacheResults> fPreProgramCacheStats = {};
86 std::atomic<int> fNumCompilationFailures{0};
87 std::atomic<int> fNumPartialCompilationSuccesses{0};
88 std::atomic<int> fNumCompilationSuccesses{0};
/third_party/abseil-cpp/absl/base/internal/
Dspinlock_wait.h42 uint32_t SpinLockWait(std::atomic<uint32_t> *w, int n,
50 void SpinLockWake(std::atomic<uint32_t> *w, bool all);
58 void SpinLockDelay(std::atomic<uint32_t> *w, uint32_t value, int loop,
76 void AbslInternalSpinLockWake(std::atomic<uint32_t> *w, bool all);
78 std::atomic<uint32_t> *w, uint32_t value, int loop,
82 inline void absl::base_internal::SpinLockWake(std::atomic<uint32_t> *w, in SpinLockWake()
88 std::atomic<uint32_t> *w, uint32_t value, int loop, in SpinLockDelay()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dspinlock_wait.h42 uint32_t SpinLockWait(std::atomic<uint32_t> *w, int n,
50 void SpinLockWake(std::atomic<uint32_t> *w, bool all);
56 void SpinLockDelay(std::atomic<uint32_t> *w, uint32_t value, int loop,
74 void ABSL_INTERNAL_C_SYMBOL(AbslInternalSpinLockWake)(std::atomic<uint32_t> *w,
77 std::atomic<uint32_t> *w, uint32_t value, int loop,
81 inline void absl::base_internal::SpinLockWake(std::atomic<uint32_t> *w, in SpinLockWake()
87 std::atomic<uint32_t> *w, uint32_t value, int loop, in SpinLockDelay()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.h73 std::atomic<size_t> capacity;
74 std::atomic<size_t> size;
75 std::atomic<size_t> num_erases;
76 std::atomic<size_t> num_rehashes;
77 std::atomic<size_t> max_probe_length;
78 std::atomic<size_t> total_probe_length;
79 std::atomic<size_t> hashes_bitwise_or;
80 std::atomic<size_t> hashes_bitwise_and;
81 std::atomic<size_t> hashes_bitwise_xor;
268 std::atomic<size_t> dropped_samples_;
[all …]
/third_party/openGLES/extensions/NV/
DNV_shader_atomic_counters.txt37 incrementing, decrementing, and querying the values of atomic counters
40 The extension uses the same set of atomic counter buffer binding points as
105 implementation-dependent number of atomic counter buffer object binding
115 extension. The number of atomic counter buffer object binding points is
135 program.counter[a][b] (x,x,x,x) atomic counter buffer a,
137 program.counter[a][b..c] (x,x,x,x) atomic counter buffer a,
139 program.counter[a] (x,x,x,x) atomic counter buffer a,
145 If an atomic counter buffer binding matches "program.counter[a][b]", the
146 atomic counter variable is associated with element <b> of the buffer
153 For atomic counter array declarations, "program.counter[a][b..c]" is
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_shader_atomic_counters.txt37 incrementing, decrementing, and querying the values of atomic counters
40 The extension uses the same set of atomic counter buffer binding points as
105 implementation-dependent number of atomic counter buffer object binding
115 extension. The number of atomic counter buffer object binding points is
135 program.counter[a][b] (x,x,x,x) atomic counter buffer a,
137 program.counter[a][b..c] (x,x,x,x) atomic counter buffer a,
139 program.counter[a] (x,x,x,x) atomic counter buffer a,
145 If an atomic counter buffer binding matches "program.counter[a][b]", the
146 atomic counter variable is associated with element <b> of the buffer
153 For atomic counter array declarations, "program.counter[a][b..c]" is
[all …]
/third_party/libxml2/result/schemas/
Ddecimal-1_1_0.err1 …l: Schemas validity error : Element 'val': '.' is not a valid value of the atomic type 'myDecimal'.
2 …l: Schemas validity error : Element 'val': '-' is not a valid value of the atomic type 'myDecimal'.
3 …l: Schemas validity error : Element 'val': '+' is not a valid value of the atomic type 'myDecimal'.
4 …l: Schemas validity error : Element 'val': '*' is not a valid value of the atomic type 'myDecimal'.
5 … Schemas validity error : Element 'val': '- 1' is not a valid value of the atomic type 'myDecimal'.
6 … Schemas validity error : Element 'val': '+ 1' is not a valid value of the atomic type 'myDecimal'.
7 … Schemas validity error : Element 'val': '+ 0' is not a valid value of the atomic type 'myDecimal'.
8 … Schemas validity error : Element 'val': '- 0' is not a valid value of the atomic type 'myDecimal'.
/third_party/abseil-cpp/absl/container/internal/
Dhashtablez_sampler.h73 std::atomic<size_t> capacity;
74 std::atomic<size_t> size;
75 std::atomic<size_t> num_erases;
76 std::atomic<size_t> num_rehashes;
77 std::atomic<size_t> max_probe_length;
78 std::atomic<size_t> total_probe_length;
79 std::atomic<size_t> hashes_bitwise_or;
80 std::atomic<size_t> hashes_bitwise_and;
267 std::atomic<size_t> dropped_samples_;
268 std::atomic<size_t> size_estimate_;
[all …]
/third_party/flutter/flutter/dev/integration_tests/external_ui/ios/Runner/
DAppDelegate.m8 @property (atomic) uint64_t textureId; category
9 @property (atomic) int framesProduced;
10 @property (atomic) int framesConsumed;
11 @property (atomic) int lastFrameConsumed;
12 @property (atomic) double startTime;
13 @property (atomic) double endTime;
14 @property (atomic) double frameRate;
15 @property (atomic) double frameStartTime;
16 @property (atomic) NSTimer* timer;
/third_party/ltp/lib/newlib_tests/
Dtest15.c42 static int atomic; variable
56 for (i = tst_atomic_load(&atomic); in worker_load_store()
58 i = tst_atomic_load(&atomic)) in worker_load_store()
63 tst_atomic_store(i + 1, &atomic); in worker_load_store()
78 while (tst_atomic_load(&atomic) > 0) { in mem_spam()
98 atomic = 0; in do_test()
113 tst_atomic_store(-1, &atomic); in do_test()
/third_party/abseil-cpp/absl/time/
Dclock.cc122 static std::atomic<uint64_t> approx_syscall_time_in_cycles{10 * 1000}; in GetCurrentTimeNanosFromKernel()
154 static std::atomic<uint32_t> seen_smaller{ 0 }; in GetCurrentTimeNanosFromKernel()
189 static inline uint64_t SeqAcquire(std::atomic<uint64_t> *seq) { in SeqAcquire()
204 static inline void SeqRelease(std::atomic<uint64_t> *seq, uint64_t x) { in SeqRelease()
231 ABSL_CONST_INIT static std::atomic<uint64_t> seq(0);
235 std::atomic<uint64_t> raw_ns; // raw kernel time
236 std::atomic<uint64_t> base_ns; // our estimate of time
237 std::atomic<uint64_t> base_cycles; // cycle counter reading
238 std::atomic<uint64_t> nsscaled_per_cycle; // cycle period
241 std::atomic<uint64_t> min_cycles_per_sample;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrAtomics.td39 "atomic.notify \t$dst, ${off}(${addr})${p2align}, $count",
40 "atomic.notify \t${off}${p2align}", 0x00>;
47 "i32.atomic.wait \t$dst, ${off}(${addr})${p2align}, $exp, $timeout",
48 "i32.atomic.wait \t${off}${p2align}", 0x01>;
54 "i64.atomic.wait \t$dst, ${off}(${addr})${p2align}, $exp, $timeout",
55 "i64.atomic.wait \t${off}${p2align}", 0x02>;
125 defm ATOMIC_FENCE : ATOMIC_NRI<(outs), (ins i8imm:$flags), [], "atomic.fence",
138 defm ATOMIC_LOAD_I32 : AtomicLoad<I32, "i32.atomic.load", 0x10>;
139 defm ATOMIC_LOAD_I64 : AtomicLoad<I64, "i64.atomic.load", 0x11>;
163 // Extending loads. Note that there are only zero-extending atomic loads, no
[all …]

12345678910>>...46