HomeSort by relevance Sort by last modified time
    Searched defs:Condition (Results 1 - 25 of 55) sorted by null

1 2 3

  /external/ant-glob/src/org/apache/tools/ant/taskdefs/condition/
Condition.java 19 package org.apache.tools.ant.taskdefs.condition;
24 * Interface for conditions to use inside the <condition> task.
27 public interface Condition {
29 * Is this condition true?
30 * @return true if the condition is true
  /system/core/include/utils/
Condition.h 37 * Condition variable class. The implementation is system-dependent.
39 * Condition variables are paired up with mutexes. Lock the mutex,
42 * use the same mutex for a given Condition.
44 class Condition {
56 Condition();
57 Condition(int type);
58 ~Condition();
59 // Wait on the condition variable. Lock the mutex before calling.
63 // Signal the condition variable, allowing one thread to continue.
65 // Signal the condition variable, allowing one or all threads to continue
    [all...]
  /external/chromium_org/chrome/installer/util/
work_item.h 58 class Condition {
60 virtual ~Condition() {}
166 // condition->ShouldRun() returns true. The WorkItemList instance
167 // assumes ownership of condition.
168 static WorkItemList* CreateConditionalWorkItemList(Condition* condition);
  /libcore/luni/src/main/java/java/util/concurrent/locks/
Condition.java 12 * {@code Condition} factors out the {@code Object} monitor
18 * and statements, a {@code Condition} replaces the use of the Object
21 * <p>Conditions (also known as <em>condition queues</em> or
22 * <em>condition variables</em>) provide a means for one thread to
24 * thread that some state condition may now be true. Because access
27 * condition. The key property that waiting for a condition provides
31 * <p>A {@code Condition} instance is intrinsically bound to a lock.
32 * To obtain a {@code Condition} instance for a particular {@link Lock}
44 * {@link Condition} instances
    [all...]
  /packages/apps/Email/tests/src/com/android/email/
TestUtils.java 37 public interface Condition {
106 * Wait until a {@code Condition} is met.
108 public static void waitUntil(Condition condition, int timeoutSeconds) {
109 waitUntil("", condition, timeoutSeconds);
113 * Wait until a {@code Condition} is met.
115 public static void waitUntil(String message, Condition condition, int timeoutSeconds) {
119 if (condition.isMet()) {
132 waitUntil("message", new Condition() {
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
__init__.py 50 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition',
94 The managers methods such as `Lock()`, `Condition()` and `Queue()`
185 def Condition(lock=None):
187 Returns a condition object
189 from multiprocessing.synchronize import Condition
190 return Condition(lock)
synchronize.py 36 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition', 'Event'
192 # Condition variable
195 class Condition(object):
230 return '<Condition(%s, %s)>' % (self._lock, num_waiters)
234 'must acquire() condition before using wait()'
302 self._cond = Condition(Lock())
queues.py 48 from multiprocessing.synchronize import Lock, BoundedSemaphore, Semaphore, Condition
88 self._notempty = threading.Condition(threading.Lock())
300 self._cond = Condition()
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/dummy/
__init__.py 37 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition',
88 class Condition(threading._Condition):
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
__init__.py 50 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition',
94 The managers methods such as `Lock()`, `Condition()` and `Queue()`
185 def Condition(lock=None):
187 Returns a condition object
189 from multiprocessing.synchronize import Condition
190 return Condition(lock)
synchronize.py 36 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition', 'Event'
192 # Condition variable
195 class Condition(object):
230 return '<Condition(%s, %s)>' % (self._lock, num_waiters)
234 'must acquire() condition before using wait()'
302 self._cond = Condition(Lock())
queues.py 48 from multiprocessing.synchronize import Lock, BoundedSemaphore, Semaphore, Condition
88 self._notempty = threading.Condition(threading.Lock())
300 self._cond = Condition()
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/dummy/
__init__.py 37 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Condition',
88 class Condition(threading._Condition):
  /external/chromium_org/tools/traceline/traceline/
assembler.h 66 enum Condition {
410 void jcc(Condition cc, Label* l) {
  /external/valgrind/unittest/
thread_wrappers.h 65 /// Just a boolean condition. Used by Mutex::LockWhen and similar.
66 class Condition {
71 Condition(bool (*func)(T*), T* arg)
74 Condition(bool (*func)())
125 mu_.LockWhen(Condition(IsQueueNotEmpty, &q_));
305 mu_.LockWhen(Condition(&IsZero, &count_));
  /art/compiler/utils/x86/
constants_x86.h 78 enum Condition {
  /external/chromium_org/third_party/WebKit/Source/core/svg/animation/
SVGSMILElement.h 149 struct Condition {
156 Condition(Type, BeginOrEnd, const String& baseID, const String& name, SMILTime offset, int repeats = -1);
168 Element* eventBaseFor(const Condition&);
174 void handleConditionEvent(Event*, Condition*);
201 Vector<Condition> m_conditions;
SVGSMILElement.cpp 52 static PassRefPtr<ConditionEventListener> create(SVGSMILElement* animation, SVGSMILElement::Condition* condition)
54 return adoptRef(new ConditionEventListener(animation, condition));
72 ConditionEventListener(SVGSMILElement* animation, SVGSMILElement::Condition* condition)
75 , m_condition(condition)
82 SVGSMILElement::Condition* m_condition;
99 SVGSMILElement::Condition::Condition(Type type, BeginOrEnd beginOrEnd, const String& baseID, const String& name, SMILTime offset, int repeats)
383 Condition::Type type
523 Condition& condition = m_conditions[n]; local
550 Condition& condition = m_conditions[n]; local
1143 Condition& condition = m_conditions[n]; local
    [all...]
  /external/clang/test/SemaCXX/
member-pointer.cpp 173 typedef bool( base::Process::*Condition )();
176 { (void)(Condition) &base::Continuous::cond; }
  /external/smack/src/org/jivesoftware/smack/packet/
XMPPError.java 28 * error condition as well as as an optional text explanation. Typical errors are:<p>
53 * <tr><td>500</td><td>undefined-condition</td><td>WAIT</td></tr>
54 * <tr><td>400</td><td>unexpected-condition</td><td>WAIT</td></tr>
64 private String condition; field in class:XMPPError
70 * Creates a new error with the specified condition infering the type and code.
71 * If the Condition is predefined, client code should be like:
72 * new XMPPError(XMPPError.Condition.remote_server_timeout);
73 * If the Condition is not predefined, invocations should be like
74 * new XMPPError(new XMPPError.Condition("my_own_error"));
76 * @param condition the error condition
359 private Condition condition; field in class:XMPPError.ErrorSpecification
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
CoreEngine.h 497 const Expr *Condition;
502 const Expr *condition, CoreEngine* eng)
503 : Eng(*eng), Src(src), Condition(condition), Pred(pred) {}
538 const Expr *getCondition() const { return Condition; }
  /external/clang/lib/StaticAnalyzer/Core/
CheckerManager.cpp 380 const Stmt *Condition;
388 : Checkers(checkers), Condition(Cond), Eng(eng) {}
392 ProgramPoint L = PostCondition(Condition, Pred->getLocationContext(),
395 checkFn(Condition, C);
400 /// \brief Run checkers for branch condition.
401 void CheckerManager::runCheckersForBranchCondition(const Stmt *Condition,
407 CheckBranchConditionContext C(BranchConditionCheckers, Condition, Eng);
  /external/clang/unittests/ASTMatchers/
ASTMatchersTest.cpp     [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
threading.py 29 __all__ = ['activeCount', 'active_count', 'Condition', 'currentThread',
217 # Internal methods used by condition variables
241 def Condition(*args, **kwargs):
242 """Factory function that returns a new condition variable object.
244 A condition variable allows one or more threads to wait until they are
255 """Condition variables allow one or more threads to wait until they are
291 return "<Condition(%s, %d)>" % (self.__lock, len(self.__waiters))
315 awakened by a notify() or notifyAll() call for the same condition
373 """Wake up one or more threads waiting on this condition, if any.
378 This method wakes up at most n of the threads waiting for the condition
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
threading.py 29 __all__ = ['activeCount', 'active_count', 'Condition', 'currentThread',
217 # Internal methods used by condition variables
241 def Condition(*args, **kwargs):
242 """Factory function that returns a new condition variable object.
244 A condition variable allows one or more threads to wait until they are
255 """Condition variables allow one or more threads to wait until they are
291 return "<Condition(%s, %d)>" % (self.__lock, len(self.__waiters))
315 awakened by a notify() or notifyAll() call for the same condition
373 """Wake up one or more threads waiting on this condition, if any.
378 This method wakes up at most n of the threads waiting for the condition
    [all...]

Completed in 581 milliseconds

1 2 3