components/exo/wayland/fuzzer/wayland_sequencer.py
def BuildMessage(self, interface, message, target_i):
    """Build the message sequence up to and including the supplied message.

    Args:
      interface: the name of the interface that defines the message you want to
        send.
      message: the name of the message you want to send.
      target_i: the interface you expect to be created by this message (if there
        is one, otherwise use '').
    """
    args = [(arg_name, self.BuildInterface(arg_type))
            for arg_name, arg_type in self.dep_graph[(interface, message)]]
    if interface == 'wl_registry' and message == 'bind' and target_i:
      args.append(('global', target_i))
    self.AppendCall(interface, message, args)
    # We need to do a round-trip after binding the registry so that we have the
    # globals available for binding.
    if interface == 'wl_display' and message == 'get_registry' and target_i:
      self.AppendRoundTrip()
Build the message sequence up to and including the supplied message.

    Args:
      interface: the name of the interface that defines the message you want to
        send.
      message: the name of the message you want to send.
      target_i: the interface you expect to be created by this message (if there
        is one, otherwise use '').
    
Build the message sequence up to and including the supplied message.
Build the message sequence up to and including the supplied message .
def BuildMessage(self, interface, message, target_i):
    args = [(arg_name, self.BuildInterface(arg_type))
            for arg_name, arg_type in self.dep_graph[(interface, message)]]
    if interface == 'wl_registry' and message == 'bind' and target_i:
      args.append(('global', target_i))
    self.AppendCall(interface, message, args)
    if interface == 'wl_display' and message == 'get_registry' and target_i:
      self.AppendRoundTrip()
def BuildMessage ( self , interface , message , target_i ) : args = [ ( arg_name , self . BuildInterface ( arg_type ) ) for arg_name , arg_type in self . dep_graph [ ( interface , message ) ] ] if interface == 'wl_registry' and message == 'bind' and target_i : args . append ( ( 'global' , target_i ) ) self . AppendCall ( interface , message , args ) if interface == 'wl_display' and message == 'get_registry' and target_i : self . AppendRoundTrip ( )
Build the message sequence up to and including the supplied message.
Build the message sequence up to and including the supplied message .
"""Build the message sequence up to and including the supplied message.

    Args:
      interface: the name of the interface that defines the message you want to
        send.
      message: the name of the message you want to send.
      target_i: the interface you expect to be created by this message (if there
        is one, otherwise use '').
    """ # We need to do a round-trip after binding the registry so that we have the # globals available for binding.
self
interface
the name of the interface that defines the message you want to
send.
the name of the interface that defines the message you want to send .
message
the name of the message you want to send.
the name of the message you want to send .
target_i
the interface you expect to be created by this message (if there
is one, otherwise use '').
the interface you expect to be created by this message ( if there is one otherwise use ' ' ) .