Searched refs:acquired (Results 1 - 25 of 25) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
H A DResource.java15 private volatile int acquired; field in class:Resource
45 if (acquired > 0) {
46 throw new IllegalStateException("Cannot recycle a resource while it is still acquired");
65 acquired += times;
69 if (acquired <= 0) {
70 throw new IllegalStateException("Cannot release a recycled or not yet acquired resource");
75 if (--acquired == 0) {
/external/llvm/include/llvm/Support/
H A DMutex.h63 /// the lock is available, it is acquired.
90 unsigned acquired; member in class:llvm::sys::SmartMutex
94 MutexImpl(rec), acquired(0), recursive(rec) { }
103 assert((recursive || acquired == 0) && "Lock already acquired!!");
104 ++acquired;
116 assert(((recursive && acquired) || (acquired == 1)) &&
117 "Lock not acquired before release!");
118 --acquired;
[all...]
/external/chromium_org/base/synchronization/
H A Dlock_unittest.cc42 int acquired() const { return acquired_; } function in class:base::BasicLockTestThread
58 int acquired = 0; local
61 acquired++;
66 acquired++;
72 acquired++;
79 acquired++;
86 EXPECT_GE(acquired, 20);
87 EXPECT_GE(thread.acquired(), 20);
/external/chromium_org/third_party/sfntly/cpp/src/test/
H A Dlock_test.cc52 int acquired() const { return acquired_; } function in class:sfntly::BasicLockTestThread
68 int acquired = 0; local
71 acquired++;
76 acquired++;
82 acquired++;
89 acquired++;
96 EXPECT_GE(acquired, 20);
97 EXPECT_GE(thread.acquired(), 20);
/external/sfntly/cpp/src/test/
H A Dlock_test.cc52 int acquired() const { return acquired_; } function in class:sfntly::BasicLockTestThread
68 int acquired = 0; local
71 acquired++;
76 acquired++;
82 acquired++;
89 acquired++;
96 EXPECT_GE(acquired, 20);
97 EXPECT_GE(thread.acquired(), 20);
/external/chromium_org/ui/wm/core/
H A Dwindow_util_unittest.cc19 // already been acquired.
30 scoped_ptr<ui::Layer> acquired(window11->AcquireLayer());
31 EXPECT_TRUE(acquired.get());
32 EXPECT_EQ(acquired.get(), window11->layer());
49 // Delete the window before the acquired layer is deleted.
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_clock.cc67 // last_acquire_ - current thread time when it acquired something from
72 // the remaining bits hold "acquired" flag (the actual value is thread's
75 // acquired this clock (except possibly dirty_tids_).
77 // need to acquire regardless of "acquired" flag value;
117 // Check if we've already acquired src after the last release operation on src
118 bool acquired = false; local
129 acquired = true;
133 if (acquired) {
148 acquired = true;
152 // Remember that this thread has acquired thi
194 bool acquired = IsAlreadyAcquired(dst); local
[all...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
H A DWorkerTargetManager.js25 var acquired = WebInspector.profilingLock().isAcquired();
26 this._mainTarget.workerAgent().setAutoconnectToWorkers(!acquired);
/external/chromium_org/third_party/skia/src/gpu/
H A DGrDrawTarget.cpp153 bool acquired = false; local
159 acquired = this->onReserveVertexSpace(vertexSize,
163 if (acquired) {
170 return acquired;
176 bool acquired = false; local
182 acquired = this->onReserveIndexSpace(indexCount, indices);
184 if (acquired) {
190 return acquired;
/external/skia/src/gpu/
H A DGrDrawTarget.cpp152 bool acquired = false; local
158 acquired = this->onReserveVertexSpace(vertexSize,
162 if (acquired) {
169 return acquired;
175 bool acquired = false; local
181 acquired = this->onReserveIndexSpace(indexCount, indices);
183 if (acquired) {
189 return acquired;
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/
H A Dpystate.pxd74 # Release any resources previously acquired. After this call, Python's
/external/valgrind/main/helgrind/tests/
H A Dtc09_bad_unlock.stderr.exp70 Lock was previously acquired
/external/chromium_org/third_party/cython/src/Cython/Runtime/
H A Drefnanny.pyx49 self.errors.append(u"Too many decrefs on line %d, reference acquired on lines %r" %
63 msg += u"\n (%d) acquired on lines: %s" % (count, u", ".join([u"%d" % x for x in linenos]))
/external/nist-sip/java/gov/nist/javax/sip/stack/
H A DSIPServerTransaction.java1306 boolean acquired = this.provisionalResponseSem.tryAcquire(1,TimeUnit.SECONDS);
1307 if (!acquired ) {
1565 boolean acquired = this.provisionalResponseSem.tryAcquire(1, TimeUnit.SECONDS);
1566 if (!acquired) {
H A DSIPTransactionStack.java1304 boolean acquired = currentTransaction.acquireSem();
1312 if (acquired) {
1329 if (acquired)
H A DSIPDialog.java3212 sipStack.getStackLogger().logDebug("Semaphore previously acquired at " + this.stackTrace);
3327 boolean acquired = false;
3329 acquired = this.timerTaskLock.tryAcquire(10, TimeUnit.SECONDS);
3331 acquired = false;
3333 if(!acquired) {
/external/linux-tools-perf/perf-3.12.0/tools/perf/
H A Dbuiltin-lock.c73 * it can be acquired, contended or release.
92 * 1) acquire -> acquired -> release
93 * 2) acquire -> contended -> acquired -> release
230 * e.g. nr_acquired -> acquired, wait_time_total -> wait_total
236 static const char *sort_key = "acquired";
245 DEF_KEY_LOCK(acquired, nr_acquired),
689 { "acquire", "acquired", "contended", "release" };
707 pr_info("%10s ", "acquired");
936 OPT_STRING('k', "key", &sort_key, "acquired",
937 "key for sorting (acquired / contende
[all...]
/external/chromium_org/native_client_sdk/src/tools/
H A Dcommon.mk513 # PNaCl's nexe is acquired with "remote get nexe <path>" instead of the NMF.
/external/chromium_org/third_party/cython/src/Cython/Utility/
H A DBuffer.c199 Buffer type checking. Utility code for checking that acquired
/external/clang/lib/Frontend/
H A DASTUnit.cpp2878 bool acquired = static_cast<llvm::sys::MutexImpl *>(Mutex)->tryacquire(); local
2879 assert(acquired && "Concurrent access to ASTUnit!");
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.jobs_3.5.1.R36x_v20100824.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/iproute2/doc/
H A Dip-cref.tex824 acquired by the host from stateless address autoconfiguration
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...

Completed in 659 milliseconds