Home
last modified time | relevance | path

Searched refs:monitor (Results 1 – 25 of 202) sorted by relevance

123456789

/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DMonitorBasedArrayBlockingQueue.java83 final Monitor monitor; field in MonitorBasedArrayBlockingQueue
175 monitor = new Monitor(fair); in MonitorBasedArrayBlockingQueue()
176 notEmpty = new Monitor.Guard(monitor) { in MonitorBasedArrayBlockingQueue()
181 notFull = new Monitor.Guard(monitor) { in MonitorBasedArrayBlockingQueue()
246 final Monitor monitor = this.monitor; in offer() local
247 if (monitor.enterIf(notFull)) { in offer()
252 monitor.leave(); in offer()
269 final Monitor monitor = this.monitor; in put() local
270 monitor.enterWhen(notFull); in put()
274 monitor.leave(); in put()
[all …]
DMonitorBasedPriorityBlockingQueue.java96 final Monitor monitor = new Monitor(true); field in MonitorBasedPriorityBlockingQueue
98 new Monitor.Guard(monitor) {
189 final Monitor monitor = this.monitor; in offer() local
190 monitor.enter(); in offer()
198 monitor.leave(); in offer()
238 final Monitor monitor = this.monitor; in poll() local
239 monitor.enter(); in poll()
243 monitor.leave(); in poll()
249 final Monitor monitor = this.monitor; in take() local
250 monitor.enterWhen(notEmpty); in take()
[all …]
/external/vogar/test/vogar/target/
DJUnitRunnerTest.java27 import vogar.monitor.TargetMonitor;
45 private TargetMonitor monitor; field in JUnitRunnerTest
51 monitor = mock(TargetMonitor.class); in setUp()
72 runner.init(monitor, "", null, target, skipPastReference, testEnvironment, 0, false); in test_init_and_run_for_SimpleTest_should_perform_test()
75 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SimpleTest_should_perform_test()
77 verify(monitor).outcomeFinished(Result.SUCCESS); in test_init_and_run_for_SimpleTest_should_perform_test()
82 runner.init(monitor, "", null, target, skipPastReference, testEnvironment, 0, false); in test_init_and_run_for_SuiteTest_should_perform_tests()
85 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SuiteTest_should_perform_tests()
87 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SuiteTest_should_perform_tests()
89 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SuiteTest_should_perform_tests()
[all …]
/external/valgrind/gdbserver_tests/
Dmcvabits.stdinB.gdb4 monitor v.set vgdb-error 999999
23 eval "monitor check_memory addressable 0x%lx 10", $0xundefined
24 eval "monitor check_memory defined 0x%lx 10", $0xundefined
25 eval "monitor get_vbits 0x%lx 10", $0xundefined
31 eval "monitor check_memory addressable 0x%lx 10", $0xundefined
32 eval "monitor check_memory defined 0x%lx 10", $0xundefined
33 eval "monitor get_vbits 0x%lx 10", $0xundefined
37 eval "monitor make_memory defined 0x%lx 3", $0xundefined_2
39 eval "monitor check_memory addressable 0x%lx 10", $0xundefined
40 eval "monitor check_memory defined 0x%lx 10", $0xundefined
[all …]
Dmcleak.stdinB.gdb4 monitor v.set vgdb-error 999999
16 monitor leak_check full reachable any
22 monitor leak_check full reachable increased
30 monitor leak_check full reachable increased
38 monitor leak_check full reachable increased
44 monitor leak_check full reachable increased
51 monitor leak_check full reachable increased
58 monitor leak_check full reachable changed
65 monitor leak_check full reachable changed
72 monitor leak_check full reachable changed
[all …]
Dmssnapshot.stdinB.gdb4 monitor v.set vgdb-error 999999
14 monitor help
17 monitor snapshot
18 monitor detailed_snapshot
19 monitor all_snapshots
22 monitor v.kill
Dmcbreak.stdinB.gdb4 monitor v.set vgdb-error 999999
28 monitor v.set vgdb-error 0
60 monitor v.info n_errs_found
61 monitor v.info n_errs_found a
62 monitor v.info n_errs_found b
63 monitor v.info n_errs_found c d
64 monitor v.info n_errs_found eeeeeee fffffff ggggggg
69 monitor v.set vgdb-error 0
72 monitor v.kill
Dhginfo.stdinB.gdb4 monitor v.set vgdb-error 999999
10 # continue till each break and execute via gdb the monitor commands
13 monitor info locks
14 eval "monitor v.info location %p", ptr
17 monitor info locks
18 eval "monitor v.info location %p", ptr
Dmcblocklistsearch.stdinB.gdb4 monitor v.set vgdb-error 999999
21 eval "monitor who_points_at 0x%lx 1", $0xA
24 monitor leak_check full reachable any
27 monitor block_list 6
29 monitor block_list 7
30 monitor v.kill
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractService.java98 private final Monitor monitor = new Monitor();
103 private final Guard isStartable = new Guard(monitor) {
109 private final Guard isStoppable = new Guard(monitor) {
115 private final Guard hasReachedRunning = new Guard(monitor) {
121 private final Guard isStopped = new Guard(monitor) {
219 if (monitor.enterIf(isStartable)) {
228 monitor.leave();
240 if (monitor.enterIf(isStartable)) {
248 monitor.leave();
256 if (monitor.enterIf(isStoppable)) {
[all …]
DMonitor.java293 final Monitor monitor; field in Monitor.Guard
303 protected Guard(Monitor monitor) { in Guard() argument
304 this.monitor = checkNotNull(monitor, "monitor"); in Guard()
305 this.condition = monitor.lock.newCondition(); in Guard()
420 if (guard.monitor != this) { in enterWhen()
444 if (guard.monitor != this) { in enterWhenUninterruptibly()
473 if (guard.monitor != this) { in enterWhen()
514 if (guard.monitor != this) { in enterWhenUninterruptibly()
568 if (guard.monitor != this) { in enterIf()
591 if (guard.monitor != this) { in enterIfInterruptibly()
[all …]
DServiceManager.java408 final Monitor monitor = new Monitor(); field in ServiceManager.ServiceManagerState
448 final Monitor.Guard awaitHealthGuard = new Monitor.Guard(monitor) {
461 final Monitor.Guard stoppedGuard = new Monitor.Guard(monitor) {
491 monitor.enter(); in markReady()
508 monitor.leave(); in markReady()
515 monitor.enter(); in addListener()
522 monitor.leave(); in addListener()
527 monitor.enterWhenUninterruptibly(awaitHealthGuard); in awaitHealthy()
531 monitor.leave(); in awaitHealthy()
536 monitor.enter(); in awaitHealthy()
[all …]
/external/lldb/source/Plugins/Process/FreeBSD/
DProcessMonitor.cpp211 virtual void Execute(ProcessMonitor *monitor) = 0;
226 void Execute(ProcessMonitor *monitor);
237 ReadOperation::Execute(ProcessMonitor *monitor) in Execute() argument
239 lldb::pid_t pid = monitor->GetPID(); in Execute()
256 void Execute(ProcessMonitor *monitor);
267 WriteOperation::Execute(ProcessMonitor *monitor) in Execute() argument
269 lldb::pid_t pid = monitor->GetPID(); in Execute()
286 void Execute(ProcessMonitor *monitor);
297 ReadRegOperation::Execute(ProcessMonitor *monitor) in Execute() argument
325 void Execute(ProcessMonitor *monitor);
[all …]
/external/vogar/src/vogar/target/
DMainRunner.java23 import vogar.monitor.TargetMonitor;
30 private TargetMonitor monitor; field in MainRunner
34 public void init(TargetMonitor monitor, String actionName, String qualification, in init() argument
37 this.monitor = monitor; in init()
48 monitor.outcomeStarted(this, mainClass.getName(), actionName); in run()
54 monitor.outcomeFinished(Result.SUCCESS); in run()
57 monitor.outcomeFinished(Result.EXEC_FAILED); in run()
DCaliperRunner.java24 import vogar.monitor.TargetMonitor;
31 private TargetMonitor monitor; field in CaliperRunner
35 public void init(TargetMonitor monitor, String actionName, String qualification, in init() argument
38 this.monitor = monitor; in init()
45 monitor.outcomeStarted(this, testClass.getName(), actionName); in run()
62 monitor.outcomeFinished(Result.SUCCESS); in run()
DTestRunner.java33 import vogar.monitor.TargetMonitor;
162 final TargetMonitor monitor = useSocketMonitor in run() local
168 monitor.output(str != null ? str : "null"); in run()
175 run(monitor); in run()
179 monitor.close(); in run()
183 public void run(final TargetMonitor monitor) { in run() argument
231 monitor.outcomeStarted(null, klass.getName(), qualifiedName); in run()
234 monitor.outcomeFinished(Result.UNSUPPORTED); in run()
241 runner.init(monitor, qualifiedName, qualification, klass, skipPastReference, in run()
244 monitor.outcomeStarted(null, qualifiedName, qualifiedName); in run()
[all …]
/external/openssh/
Dsandbox-capsicum.c46 struct monitor *monitor; member
51 ssh_sandbox_init(struct monitor *monitor) in ssh_sandbox_init() argument
61 box->monitor = monitor; in ssh_sandbox_init()
97 if (cap_rights_limit(box->monitor->m_recvfd, &rights) < 0 && in ssh_sandbox_child()
101 if (cap_rights_limit(box->monitor->m_log_sendfd, &rights) < 0 && in ssh_sandbox_child()
Dmonitor.h71 struct monitor { struct
82 struct monitor *monitor_init(void); argument
83 void monitor_reinit(struct monitor *);
84 void monitor_sync(struct monitor *);
87 void monitor_child_preauth(struct Authctxt *, struct monitor *);
88 void monitor_child_postauth(struct monitor *);
91 int monitor_read(struct monitor*, struct mon_table *, struct mon_table **);
Dmonitor_wrap.h36 struct monitor;
93 void monitor_apply_keystate(struct monitor *);
94 void mm_get_keystate(struct monitor *);
95 void mm_send_keystate(struct monitor*);
/external/lldb/source/Plugins/Process/Linux/
DProcessMonitor.cpp388 virtual void Execute(ProcessMonitor *monitor) = 0;
403 void Execute(ProcessMonitor *monitor);
414 ReadOperation::Execute(ProcessMonitor *monitor) in Execute() argument
416 lldb::pid_t pid = monitor->GetPID(); in Execute()
433 void Execute(ProcessMonitor *monitor);
444 WriteOperation::Execute(ProcessMonitor *monitor) in Execute() argument
446 lldb::pid_t pid = monitor->GetPID(); in Execute()
464 void Execute(ProcessMonitor *monitor);
475 ReadRegOperation::Execute(ProcessMonitor *monitor) in Execute() argument
506 void Execute(ProcessMonitor *monitor);
[all …]
/external/vogar/src/vogar/target/junit/
DJUnitRunner.java30 import vogar.monitor.TargetMonitor;
41 private TargetMonitor monitor; field in JUnitRunner
53 public void init(TargetMonitor monitor, String actionName, String qualification, in init() argument
56 this.monitor = monitor; in init()
106 monitor.outcomeStarted(JUnitRunner.this, test.toString(), actionName); in runWithTimeout()
150 monitor.outcomeFinished(Result.EXEC_FAILED); in runWithTimeout()
152 monitor.outcomeFinished(Result.SUCCESS); in runWithTimeout()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dprogress.py136 self.monitor = []
142 self.monitor.append(environ)
155 return self.monitor
181 def __init__(self, monitor): argument
182 self.monitor = monitor
206 for map in [self.report(env) for env in self.monitor.uploads()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/ui/
DBuildsView.java136 … public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { in generate()
138 monitor.beginTask("Generate performance results", 10000); in generate()
145 GenerateAction.this.status = generation.run(monitor); in generate()
146 monitor.done(); in generate()
213 … public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException { in run()
215 updateBuilds(monitor); in run()
235 void updateBuilds(IProgressMonitor monitor) { in updateBuilds() argument
236 BuildsView.this.updateBuilds(monitor, this.force); in updateBuilds()
257 void updateBuilds(IProgressMonitor monitor) { in updateBuilds() argument
258 BuildsView.this.updateAllBuilds(monitor, this.force); in updateBuilds()
[all …]
/external/llvm/test/CodeGen/X86/
Dapm.ll8 ; CHECK-NEXT: monitor
13 ; WIN64-NEXT: monitor
16 tail call void @llvm.x86.sse3.monitor(i8* %P, i32 %E, i32 %H)
20 declare void @llvm.x86.sse3.monitor(i8*, i32, i32) nounwind
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DMonitorWaitAndWaitedDebuggee.java29 MonitorWaitMockMonitor monitor = new MonitorWaitMockMonitor(); in run() local
38 synchronized (monitor) { in run()
40 monitor.wait(TIMEOUT); in run()

123456789