Lines Matching refs:dur
347 def monitorSource(ctx, eventSource, active, dur):
401 if dur == -1:
403 dur = 100000
407 end = time.time() + dur
426 def recordDemo(ctx, console, filename, dur):
462 if dur == -1:
464 dur = 100000
468 end = time.time() + dur
483 def playbackDemo(ctx, console, filename, dur):
486 if dur == -1:
488 dur = 100000
500 end = time.time() + dur
1583 dur = 5
1585 dur = float(args[2])
1587 cmdExistingVm(ctx, mach, 'guestlambda', [lambda ctx, mach, console, args: monitorSource(ctx, console.eventSource, active, dur)])
1597 dur = 5
1599 dur = float(args[2])
1601 cmdExistingVm(ctx, mach, 'guestlambda', [lambda ctx, mach, console, args: monitorSource(ctx, console.keyboard.eventSource, active, dur)])
1611 dur = 5
1613 dur = float(args[2])
1615 cmdExistingVm(ctx, mach, 'guestlambda', [lambda ctx, mach, console, args: monitorSource(ctx, console.mouse.eventSource, active, dur)])
1625 dur = 5
1627 dur = float(args[2])
1629 cmdExistingVm(ctx, mach, 'guestlambda', [lambda ctx, mach, console, args: monitorSource(ctx, console.mouse.eventSource, active, dur)])
1636 dur = 5
1638 dur = float(args[1])
1641 monitorSource(ctx, vbox.eventSource, active, dur)
3142 dur = 10000
3144 dur = float(args[3])
3145 cmdExistingVm(ctx, mach, 'guestlambda', [lambda ctx, mach, console, args: recordDemo(ctx, console, filename, dur)])
3156 dur = 10000
3158 dur = float(args[3])
3159 cmdExistingVm(ctx, mach, 'guestlambda', [lambda ctx, mach, console, args: playbackDemo(ctx, console, filename, dur)])