search for: next_ev

Displaying 16 results from an estimated 16 matches for "next_ev".

Did you mean: next_eb
2008 Jul 16
1
[PATCH] Adjust handle_hpet_broadcast to let it run better before broadcast exit
...RN_DEBUG "reprogram: expire(%"PRIx64") < " - "now(%"PRIx64")\n", expire, now); if ( !force ) return -ETIME; } @@ -142,12 +140,10 @@ static void handle_hpet_broadcast(struct { cpumask_t mask; s_time_t now, next_event; - int cpu, current_cpu = smp_processor_id(); + int cpu; spin_lock(&ch->lock); - if ( cpu_isset(current_cpu, ch->cpumask) ) - printk(KERN_DEBUG "WARNING: current cpu%d in bc_mask\n", current_cpu); again: ch->next_event = STIME_MAX; next_...
2008 Jan 08
0
4 commits - configure.ac test/compiler.c test/.gitignore test/Makefile.am test/swfdec_test.c test/swfdec_test_function.c test/swfdec_test_function.h test/swfdec_test_global.c test/swfdec_test_initialize.as test/swfdec_test_initialize.h
...SWFDEC_AS_CHECK (SWFDEC_TYPE_TEST_TEST, &test, "i", &msecs); - if (msecs <= 0 || test->player_quit) + if (msecs < 0 || test->player_quit) return; swfdec_test_test_ensure_player (test); - while (msecs > 0 && !test->player_quit) { - int next_event = swfdec_player_get_next_event (test->player); - if (next_event < 0) - break; - next_event = MIN (next_event, msecs); - swfdec_player_advance (test->player, next_event); - msecs -= next_event; + if (msecs == 0) { + if (!test->player_quit) + swfdec_player_adv...
2006 Oct 18
1
[PATCH] Compiz Events
...iz way (ie by wrapping the core event). Some potential events that I can think of at the moment are 'option changed' and 'cube settle on top' (Maybe a widget plugin can use this) Plugins can send compiz events like this. (*d->handleCompizEvent) (d, "switcher", "NEXT_EVENT", option, nOption); In this case, switcher is sending the NEXT_EVENT signal. It is probably best to deal with strings for the events since they do not have to be defined and are easily passed to external applications. The option can be any type...
2011 Apr 07
0
python for game menus needing mouse but with mwo=force
...oot.change_attributes(event_mask = X.KeyPressMask) for keycode in keys: root.grab_key(keycode, X.AnyModifier, 1,X.GrabModeAsync, X.GrabModeAsync) while True : root.warp_pointer(mouse['x'],mouse['y']) d.sync() elapsed = (time.time() - start) event = root.display.next_event() handle_event(event)
2007 Aug 17
0
Branch 'vivi' - 13 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_script_function.c test/trace vivified/core vivified/ui
...rectly diff --git a/vivified/core/vivi_application.c b/vivified/core/vivi_application.c index cc1d4c2..b7f3b9f 100644 --- a/vivified/core/vivi_application.c +++ b/vivified/core/vivi_application.c @@ -257,9 +257,18 @@ vivi_application_step_forward (gpointer ViviApplication *app = appp; guint next_event; + app->step_source = 0; + if (app->loop != NULL || + app->playback_state != VIVI_APPLICATION_STEPPING) + return FALSE; + + app->playback_count--; + if (app->playback_count == 0) + app->playback_state = VIVI_APPLICATION_STOPPED; next_event = swfdec_player_ge...
2007 Jan 14
0
Changes to 'refs/tags/0.4.1'
...oduce SwfdecVideoCodec add swfdec_bits_get_bu16 Make the z_stream part of the SwfdecDecoder struct rate == 0 is allowed now fix wrong type in macros remove \n from debugging messages fix RGB555 images append the right SwfdecContent to the list get the next_event time before comparing Fix includes add jpeg_rgb_decoder_get_image_size rework cache handling The key should be static const, we don't want it on the stack Merge branch 'master' of ssh://company@git.freedesktop.org/git/swfdec initialize new caches w...
2007 Aug 13
0
Branch 'vivi' - 24 commits - configure.ac libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_tag.c libswfdec/swfdec_tag.h vivified/core vivified/dock vivified/ui
...;filename); swfdec_player_set_loader (app->player, loader); app->player_inited = TRUE; @@ -177,6 +189,51 @@ vivi_application_get_player (ViviApplica return app->player; } +static gboolean +vivi_application_step_forward (gpointer appp) +{ + ViviApplication *app = appp; + guint next_event; + + next_event = swfdec_player_get_next_event (app->player); + swfdec_player_advance (app->player, next_event); + + return FALSE; +} + +static void +vivi_application_check (ViviApplication *app) +{ + gboolean is_playing = swfdec_gtk_player_get_playing (SWFDEC_GTK_PLAYER (app->playe...
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
..._is_aborted (SWFDEC_AS_CONTEXT (player))) - { - elapsed = (glong)(g_timer_elapsed (timer, NULL) * 1000); - if (elapsed >= max_per_file) - break; - swfdec_player_set_maximum_runtime (player, - MIN (max_per_advance, max_per_file - elapsed)); - - advance = swfdec_player_get_next_event (player); - if (advance == -1) - break; - swfdec_player_advance (player, advance); - - swfdec_player_render (player, cr, 0, 0, 0, 0); - - played += advance; - } - - if (elapsed >= max_per_file || - swfdec_as_context_is_aborted (SWFDEC_AS_CONTEXT (player))) { - g...
2020 Sep 09
17
[trivial PATCH] treewide: Convert switch/case fallthrough; to break;
...f --git a/drivers/usb/gadget/legacy/inode.c b/drivers/usb/gadget/legacy/inode.c index 1b430b36d0a6..261ec2dd52c6 100644 --- a/drivers/usb/gadget/legacy/inode.c +++ b/drivers/usb/gadget/legacy/inode.c @@ -1717,7 +1717,7 @@ gadgetfs_suspend (struct usb_gadget *gadget) case STATE_DEV_UNCONNECTED: next_event (dev, GADGETFS_SUSPEND); ep0_readable (dev); - fallthrough; + break; default: break; } diff --git a/drivers/usb/gadget/udc/pxa25x_udc.c b/drivers/usb/gadget/udc/pxa25x_udc.c index 10324a7334fe..a5a754ba6bc9 100644 --- a/drivers/usb/gadget/udc/pxa25x_udc.c +++ b/drivers/usb/gadget/udc...
2007 Aug 22
0
163 commits - autogen.sh configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c
...rectly diff --git a/vivified/core/vivi_application.c b/vivified/core/vivi_application.c index cc1d4c2..b7f3b9f 100644 --- a/vivified/core/vivi_application.c +++ b/vivified/core/vivi_application.c @@ -257,9 +257,18 @@ vivi_application_step_forward (gpointer ViviApplication *app = appp; guint next_event; + app->step_source = 0; + if (app->loop != NULL || + app->playback_state != VIVI_APPLICATION_STEPPING) + return FALSE; + + app->playback_count--; + if (app->playback_count == 0) + app->playback_state = VIVI_APPLICATION_STOPPED; next_event = swfdec_player_ge...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...truct pci_device_id *ent) * Finish setting up the hot plug ctrl device */ ctrl->slot_device_offset = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; - dbg("NumSlots %d \n", ctrl->slot_device_offset); + dbg("NumSlots %d\n", ctrl->slot_device_offset); ctrl->next_event = 0; /* Setup the slot information structures */ rc = ctrl_slot_setup(ctrl, smbios_start, smbios_table); if (rc) { - err(msg_initialization_err, 6); - err("%s: unable to save PCI configuration data, error %d\n", - __func__, rc); + pr_err(msg_initialization_err, 6); + pr_e...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...truct pci_device_id *ent) * Finish setting up the hot plug ctrl device */ ctrl->slot_device_offset = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; - dbg("NumSlots %d \n", ctrl->slot_device_offset); + dbg("NumSlots %d\n", ctrl->slot_device_offset); ctrl->next_event = 0; /* Setup the slot information structures */ rc = ctrl_slot_setup(ctrl, smbios_start, smbios_table); if (rc) { - err(msg_initialization_err, 6); - err("%s: unable to save PCI configuration data, error %d\n", - __func__, rc); + pr_err(msg_initialization_err, 6); + pr_e...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...truct pci_device_id *ent) * Finish setting up the hot plug ctrl device */ ctrl->slot_device_offset = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; - dbg("NumSlots %d \n", ctrl->slot_device_offset); + dbg("NumSlots %d\n", ctrl->slot_device_offset); ctrl->next_event = 0; /* Setup the slot information structures */ rc = ctrl_slot_setup(ctrl, smbios_start, smbios_table); if (rc) { - err(msg_initialization_err, 6); - err("%s: unable to save PCI configuration data, error %d\n", - __func__, rc); + pr_err(msg_initialization_err, 6); + pr_e...
2007 Apr 18
34
[patch 00/34] Xen-pv_ops: Xen guest implementation for paravirt_ops interface
Hi Andi, This patch series implements the Linux Xen guest as a paravirt_ops backend. The features in implemented this patch series are: * domU only * UP and SMP guest support (NEW!) * dynamic ticks (NEW!) * writable pagetables, with late pinning/early unpinning (no shadow pagetable support) * supports both PAE and non-PAE modes (non-PAE may be broken at the moment) * xen hvc console
2007 Apr 18
34
[patch 00/34] Xen-pv_ops: Xen guest implementation for paravirt_ops interface
Hi Andi, This patch series implements the Linux Xen guest as a paravirt_ops backend. The features in implemented this patch series are: * domU only * UP and SMP guest support (NEW!) * dynamic ticks (NEW!) * writable pagetables, with late pinning/early unpinning (no shadow pagetable support) * supports both PAE and non-PAE modes (non-PAE may be broken at the moment) * xen hvc console
2007 Apr 18
34
[patch 00/34] Xen-pv_ops: Xen guest implementation for paravirt_ops interface
Hi Andi, This patch series implements the Linux Xen guest as a paravirt_ops backend. The features in implemented this patch series are: * domU only * UP and SMP guest support (NEW!) * dynamic ticks (NEW!) * writable pagetables, with late pinning/early unpinning (no shadow pagetable support) * supports both PAE and non-PAE modes (non-PAE may be broken at the moment) * xen hvc console