OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AtomicOps
(Results
1 - 11
of
11
) sorted by null
/external/webrtc/webrtc/base/
criticalsection_unittest.cc
101
if (
AtomicOps
::Decrement(&threads_active_) == 0) {
188
static int AtomicOp(int* i) { return
AtomicOps
::Increment(i); }
192
static int AtomicOp(int* i) { return
AtomicOps
::Decrement(i); }
196
static int AtomicOp(int* i) { return
AtomicOps
::CompareAndSwap(i, 0, 1); }
213
EXPECT_EQ(1,
AtomicOps
::Increment(&value));
215
EXPECT_EQ(2,
AtomicOps
::Increment(&value));
217
EXPECT_EQ(1,
AtomicOps
::Decrement(&value));
219
EXPECT_EQ(0,
AtomicOps
::Decrement(&value));
229
EXPECT_TRUE(rtc::
AtomicOps
::AcquireLoadPtr(&foo) == nullptr);
231
EXPECT_TRUE(rtc::
AtomicOps
::CompareAndSwapPtr
[
all
...]
event_tracer.cc
157
rtc::
AtomicOps
::CompareAndSwap(&g_event_logging_active, 0, 1));
165
if (rtc::
AtomicOps
::CompareAndSwap(&g_event_logging_active, 1, 0) == 0)
222
if (rtc::
AtomicOps
::AcquireLoad(&g_event_logging_active) == 0)
232
RTC_CHECK(rtc::
AtomicOps
::CompareAndSwapPtr(
260
EventLogger* old_logger = rtc::
AtomicOps
::AcquireLoadPtr(&g_event_logger);
262
RTC_CHECK(rtc::
AtomicOps
::CompareAndSwapPtr(
criticalsection.cc
142
while (
AtomicOps
::CompareAndSwap(&lock_acquired, 0, 1)) {
152
int old_value =
AtomicOps
::CompareAndSwap(&lock_acquired, 1, 0);
atomicops.h
24
class
AtomicOps
{
refcount.h
16
#include "webrtc/base/
atomicops
.h"
99
return
AtomicOps
::Increment(&ref_count_);
103
int count =
AtomicOps
::Decrement(&ref_count_);
117
return
AtomicOps
::AcquireLoad(&ref_count_) == 1;
/external/webrtc/webrtc/modules/pacing/
packet_router.cc
13
#include "webrtc/base/
atomicops
.h"
72
rtc::
AtomicOps
::ReleaseStore(&transport_seq_, sequence_number);
76
int prev_seq = rtc::
AtomicOps
::AcquireLoad(&transport_seq_);
86
prev_seq = rtc::
AtomicOps
::CompareAndSwap(&transport_seq_, desired_prev_seq,
/external/webrtc/webrtc/audio/
audio_state.cc
13
#include "webrtc/base/
atomicops
.h"
46
return rtc::
AtomicOps
::Increment(&ref_count_);
51
int count = rtc::
AtomicOps
::Decrement(&ref_count_);
/external/webrtc/webrtc/system_wrappers/include/
metrics.h
16
#include "webrtc/base/
atomicops
.h"
133
rtc::
AtomicOps
::AcquireLoadPtr(&atomic_histogram_pointer); \
137
rtc::
AtomicOps
::CompareAndSwapPtr( \
/external/webrtc/webrtc/video/
video_capture_input.cc
65
rtc::
AtomicOps
::ReleaseStore(&stop_, 1);
129
if (rtc::
AtomicOps
::AcquireLoad(&stop_))
/external/webrtc/webrtc/modules/audio_device/ios/
audio_device_ios.mm
20
#include "webrtc/base/
atomicops
.h"
404
rtc::
AtomicOps
::ReleaseStore(&playing_, 1);
418
rtc::
AtomicOps
::ReleaseStore(&playing_, 0);
437
rtc::
AtomicOps
::ReleaseStore(&recording_, 1);
451
rtc::
AtomicOps
::ReleaseStore(&recording_, 0);
[
all
...]
/external/webrtc/webrtc/system_wrappers/source/
trace_impl.cc
18
#include "webrtc/base/
atomicops
.h"
551
rtc::
AtomicOps
::ReleaseStore(&level_filter_, filter);
556
return rtc::
AtomicOps
::AcquireLoad(&level_filter_);
Completed in 409 milliseconds