OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SAFE_PTHREAD
(Results
1 - 8
of
8
) sorted by null
/external/chromium_org/third_party/re2/util/
mutex.h
110
#define
SAFE_PTHREAD
(fncall) do { if ((fncall) != 0) abort(); } while (0)
112
Mutex::Mutex() {
SAFE_PTHREAD
(pthread_rwlock_init(&mutex_, NULL)); }
113
Mutex::~Mutex() {
SAFE_PTHREAD
(pthread_rwlock_destroy(&mutex_)); }
114
void Mutex::Lock() {
SAFE_PTHREAD
(pthread_rwlock_wrlock(&mutex_)); }
115
void Mutex::Unlock() {
SAFE_PTHREAD
(pthread_rwlock_unlock(&mutex_)); }
117
void Mutex::ReaderLock() {
SAFE_PTHREAD
(pthread_rwlock_rdlock(&mutex_)); }
118
void Mutex::ReaderUnlock() {
SAFE_PTHREAD
(pthread_rwlock_unlock(&mutex_)); }
120
#undef
SAFE_PTHREAD
125
#define
SAFE_PTHREAD
(fncall) do { if ((fncall) != 0) abort(); } while (0)
127
Mutex::Mutex() {
SAFE_PTHREAD
(pthread_mutex_init(&mutex_, NULL));
[
all
...]
/external/regex-re2/util/
mutex.h
106
#define
SAFE_PTHREAD
(fncall) do { if ((fncall) != 0) abort(); } while (0)
108
Mutex::Mutex() {
SAFE_PTHREAD
(pthread_rwlock_init(&mutex_, NULL)); }
109
Mutex::~Mutex() {
SAFE_PTHREAD
(pthread_rwlock_destroy(&mutex_)); }
110
void Mutex::Lock() {
SAFE_PTHREAD
(pthread_rwlock_wrlock(&mutex_)); }
111
void Mutex::Unlock() {
SAFE_PTHREAD
(pthread_rwlock_unlock(&mutex_)); }
113
void Mutex::ReaderLock() {
SAFE_PTHREAD
(pthread_rwlock_rdlock(&mutex_)); }
114
void Mutex::ReaderUnlock() {
SAFE_PTHREAD
(pthread_rwlock_unlock(&mutex_)); }
116
#undef
SAFE_PTHREAD
121
#define
SAFE_PTHREAD
(fncall) do { if ((fncall) != 0) abort(); } while (0)
123
Mutex::Mutex() {
SAFE_PTHREAD
(pthread_mutex_init(&mutex_, NULL));
[
all
...]
/external/chromium/sdch/open-vcdiff/src/
mutex.h
216
#define
SAFE_PTHREAD
(fncall) do { /* run fncall if is_safe_ is true */ \
224
Mutex::~Mutex() {
SAFE_PTHREAD
(pthread_rwlock_destroy); }
225
void Mutex::Lock() {
SAFE_PTHREAD
(pthread_rwlock_wrlock); }
226
void Mutex::Unlock() {
SAFE_PTHREAD
(pthread_rwlock_unlock); }
232
void Mutex::ReaderLock() {
SAFE_PTHREAD
(pthread_rwlock_rdlock); }
233
void Mutex::ReaderUnlock() {
SAFE_PTHREAD
(pthread_rwlock_unlock); }
234
#undef
SAFE_PTHREAD
239
#define
SAFE_PTHREAD
(fncall) do { /* run fncall if is_safe_ is true */ \
247
Mutex::~Mutex() {
SAFE_PTHREAD
(pthread_mutex_destroy); }
248
void Mutex::Lock() {
SAFE_PTHREAD
(pthread_mutex_lock);
[
all
...]
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
simple_mutex.h
236
#define
SAFE_PTHREAD
(fncall) do { /* run fncall if is_safe_ is true */ \
248
Mutex::~Mutex() { if (destroy_)
SAFE_PTHREAD
(pthread_rwlock_destroy); }
249
void Mutex::Lock() {
SAFE_PTHREAD
(pthread_rwlock_wrlock); }
250
void Mutex::Unlock() {
SAFE_PTHREAD
(pthread_rwlock_unlock); }
253
void Mutex::ReaderLock() {
SAFE_PTHREAD
(pthread_rwlock_rdlock); }
254
void Mutex::ReaderUnlock() {
SAFE_PTHREAD
(pthread_rwlock_unlock); }
255
#undef
SAFE_PTHREAD
259
#define
SAFE_PTHREAD
(fncall) do { /* run fncall if is_safe_ is true */ \
271
Mutex::~Mutex() { if (destroy_)
SAFE_PTHREAD
(pthread_mutex_destroy); }
272
void Mutex::Lock() {
SAFE_PTHREAD
(pthread_mutex_lock);
[
all
...]
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
simple_mutex.h
236
#define
SAFE_PTHREAD
(fncall) do { /* run fncall if is_safe_ is true */ \
248
Mutex::~Mutex() { if (destroy_)
SAFE_PTHREAD
(pthread_rwlock_destroy); }
249
void Mutex::Lock() {
SAFE_PTHREAD
(pthread_rwlock_wrlock); }
250
void Mutex::Unlock() {
SAFE_PTHREAD
(pthread_rwlock_unlock); }
253
void Mutex::ReaderLock() {
SAFE_PTHREAD
(pthread_rwlock_rdlock); }
254
void Mutex::ReaderUnlock() {
SAFE_PTHREAD
(pthread_rwlock_unlock); }
255
#undef
SAFE_PTHREAD
259
#define
SAFE_PTHREAD
(fncall) do { /* run fncall if is_safe_ is true */ \
271
Mutex::~Mutex() { if (destroy_)
SAFE_PTHREAD
(pthread_mutex_destroy); }
272
void Mutex::Lock() {
SAFE_PTHREAD
(pthread_mutex_lock);
[
all
...]
/external/open-vcdiff/gflags/src/
mutex.h
250
#define
SAFE_PTHREAD
(fncall) do { /* run fncall if is_safe_ is true */ \
262
Mutex::~Mutex() { if (destroy_)
SAFE_PTHREAD
(pthread_rwlock_destroy); }
263
void Mutex::Lock() {
SAFE_PTHREAD
(pthread_rwlock_wrlock); }
264
void Mutex::Unlock() {
SAFE_PTHREAD
(pthread_rwlock_unlock); }
269
void Mutex::ReaderLock() {
SAFE_PTHREAD
(pthread_rwlock_rdlock); }
270
void Mutex::ReaderUnlock() {
SAFE_PTHREAD
(pthread_rwlock_unlock); }
271
#undef
SAFE_PTHREAD
275
#define
SAFE_PTHREAD
(fncall) do { /* run fncall if is_safe_ is true */ \
287
Mutex::~Mutex() { if (destroy_)
SAFE_PTHREAD
(pthread_mutex_destroy); }
288
void Mutex::Lock() {
SAFE_PTHREAD
(pthread_mutex_lock);
[
all
...]
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
testutil.cc
162
#define
SAFE_PTHREAD
(fncall) do { if ((fncall) != 0) abort(); } while (0)
185
SAFE_PTHREAD
(pthread_create(&thr, NULL, RunFunctionInThread, &fn));
186
SAFE_PTHREAD
(pthread_join(thr, NULL));
192
SAFE_PTHREAD
(pthread_create(&thr[i], NULL, RunFunctionInThread, &fn));
195
SAFE_PTHREAD
(pthread_join(thr[i], NULL));
210
SAFE_PTHREAD
(pthread_create(&thr[i], &attr,
214
SAFE_PTHREAD
(pthread_join(thr[i], NULL));
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
testutil.cc
162
#define
SAFE_PTHREAD
(fncall) do { if ((fncall) != 0) abort(); } while (0)
185
SAFE_PTHREAD
(pthread_create(&thr, NULL, RunFunctionInThread, &fn));
186
SAFE_PTHREAD
(pthread_join(thr, NULL));
192
SAFE_PTHREAD
(pthread_create(&thr[i], NULL, RunFunctionInThread, &fn));
195
SAFE_PTHREAD
(pthread_join(thr[i], NULL));
210
SAFE_PTHREAD
(pthread_create(&thr[i], &attr,
214
SAFE_PTHREAD
(pthread_join(thr[i], NULL));
Completed in 1232 milliseconds