OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:TryLock
(Results
1 - 18
of
18
) sorted by null
/external/chromium_org/chrome/common/
multi_process_lock_win.cc
21
virtual bool
TryLock
() {
/external/chromium_org/mojo/public/cpp/utility/lib/
mutex.cc
41
bool Mutex::
TryLock
() {
/external/chromium_org/third_party/webrtc/base/
filelock.cc
42
FileLock* FileLock::
TryLock
(const std::string& path) {
49
ok = stream->Open(path, "a", NULL) && stream->
TryLock
();
stream.cc
483
bool FileStream::
TryLock
() {
[
all
...]
/external/chromium_org/mojo/public/cpp/utility/
mutex.h
34
bool
TryLock
() { return pthread_mutex_trylock(&mutex_) == 0; }
43
bool
TryLock
();
/external/chromium_org/v8/src/base/platform/
mutex.cc
139
bool Mutex::
TryLock
() {
180
bool RecursiveMutex::
TryLock
() {
/external/lldb/include/lldb/Host/
ProcessRunLock.h
119
TryLock
(ProcessRunLock *lock)
Mutex.h
118
/// unlock it when it goes out of scope or Reset or
TryLock
are
128
TryLock
(Mutex &mutex, const char *failure_message = NULL);
131
TryLock
(Mutex *mutex, const char *failure_message = NULL)
134
return
TryLock
(*mutex, failure_message);
206
/// If the mutex is already locked,
TryLock
() will not block waiting
216
TryLock
(const char *failure_message = NULL);
271
TryLock
(const char *failure_message = NULL)
273
int return_value = Mutex::
TryLock
();
303
TryLock
(const char *failure_message = NULL);
/external/lldb/source/Host/common/
Mutex.cpp
166
Mutex::Locker::
TryLock
(Mutex &mutex, const char *failure_message)
174
if (mutex.
TryLock
(failure_message) == 0)
297
// If the mutex is already locked,
TryLock
() will not block waiting
304
Mutex::
TryLock
(const char *failure_message)
378
LoggingMutex::
TryLock
(const char *failure_message)
381
int x = Mutex::
TryLock
(failure_message);
/external/ceres-solver/internal/ceres/
mutex.h
41
// NOTE: by default, we have #ifdef'ed out the
TryLock
() method.
43
// 1)
TryLock
() under Windows is a bit annoying (it requires a
45
// 2)
TryLock
() is broken for NO_THREADS mode, at least in NDEBUG
47
// If you need
TryLock
(), and either these two caveats are not a
107
// lines, and change
TryLock
() to assert(0) or something.
161
inline bool
TryLock
(); // If free, Lock() and return true, else return false
209
bool Mutex::
TryLock
() { if (mutex_) return false; Lock(); return true; }
221
bool Mutex::
TryLock
() { return is_safe_ ?
241
bool Mutex::
TryLock
() { return is_safe_ ?
263
bool Mutex::
TryLock
() { return is_safe_
[
all
...]
/external/chromium_org/third_party/re2/util/
mutex.h
43
// lines, and change
TryLock
() to assert(0) or something.
64
inline bool
TryLock
(); // If free, Lock() and return true, else return false
103
bool Mutex::
TryLock
() { if (mutex_) return false; Lock(); return true; }
116
bool Mutex::
TryLock
() { return pthread_rwlock_trywrlock(&mutex_) == 0; }
131
bool Mutex::
TryLock
() { return pthread_mutex_trylock(&mutex_) == 0; }
142
bool Mutex::
TryLock
() { return TryEnterCriticalSection(&mutex_) != 0; }
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
simple_mutex.h
48
// NOTE:
TryLock
() is broken for NO_THREADS mode, at least in NDEBUG
117
// lines, and change
TryLock
() to assert(0) or something.
166
inline bool
TryLock
(); // If free, Lock() and return true, else return false
212
bool Mutex::
TryLock
() { if (mutex_) return false; Lock(); return true; }
229
bool Mutex::
TryLock
() { return is_safe_ ?
251
bool Mutex::
TryLock
() { return is_safe_ ?
274
bool Mutex::
TryLock
() { return is_safe_ ?
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
simple_mutex.h
48
// NOTE:
TryLock
() is broken for NO_THREADS mode, at least in NDEBUG
117
// lines, and change
TryLock
() to assert(0) or something.
166
inline bool
TryLock
(); // If free, Lock() and return true, else return false
212
bool Mutex::
TryLock
() { if (mutex_) return false; Lock(); return true; }
229
bool Mutex::
TryLock
() { return is_safe_ ?
251
bool Mutex::
TryLock
() { return is_safe_ ?
274
bool Mutex::
TryLock
() { return is_safe_ ?
/external/compiler-rt/lib/sanitizer_common/
sanitizer_mutex.h
30
if (
TryLock
())
35
bool
TryLock
() {
/external/regex-re2/util/
mutex.h
39
// lines, and change
TryLock
() to assert(0) or something.
60
inline bool
TryLock
(); // If free, Lock() and return true, else return false
99
bool Mutex::
TryLock
() { if (mutex_) return false; Lock(); return true; }
112
bool Mutex::
TryLock
() { return pthread_rwlock_trywrlock(&mutex_) == 0; }
127
bool Mutex::
TryLock
() { return pthread_mutex_trylock(&mutex_) == 0; }
138
bool Mutex::
TryLock
() { return TryEnterCriticalSection(&mutex_) != 0; }
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
msputils.h
103
WINBOOL
TryLock
() { return TryEnterCriticalSection(&m_CritSec); }
/external/valgrind/main/drd/tests/
tsan_thread_wrappers_pthread.h
203
bool
TryLock
() { return (0 == pthread_mutex_trylock(&mu_));}
211
bool ReaderTryLock() { return
TryLock
();}
/external/chromium_org/v8/src/
isolate.h
[
all
...]
Completed in 1490 milliseconds