OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FSM
(Results
1 - 4
of
4
) sorted by null
/external/lldb/test/pexpect-2.4/
ANSI.py
12
import
FSM
16
def Emit (
fsm
):
18
screen =
fsm
.memory[0]
19
screen.write_ch(
fsm
.input_symbol)
21
def StartNumber (
fsm
):
23
fsm
.memory.append (
fsm
.input_symbol)
25
def BuildNumber (
fsm
):
27
ns =
fsm
.memory.pop()
28
ns = ns +
fsm
.input_symbo
[
all
...]
FSM.py
3
"""This module implements a Finite State Machine (
FSM
). In addition to state
4
this
FSM
also maintains a user defined "memory". So this
FSM
can be used as a
5
Push-down Automata (PDA) since a PDA is a
FSM
+ memory.
7
The following describes how the
FSM
works, but you will probably also need to
8
see the example function to understand how the
FSM
is used in practice.
10
You define an
FSM
by building tables of transitions. For a given input symbol
12
the next state will be. The
FSM
has a table of transitions that associate:
18
to the transition table. The
FSM
also has a table of transitions that
24
FSM
also has one default transition that is not associated with any specifi
[
all
...]
/external/chromium_org/third_party/pexpect/
FSM.py
3
"""This module implements a Finite State Machine (
FSM
). In addition to state
4
this
FSM
also maintains a user defined "memory". So this
FSM
can be used as a
5
Push-down Automata (PDA) since a PDA is a
FSM
+ memory.
7
The following describes how the
FSM
works, but you will probably also need to
8
see the example function to understand how the
FSM
is used in practice.
10
You define an
FSM
by building tables of transitions. For a given input symbol
12
the next state will be. The
FSM
has a table of transitions that associate:
18
to the transition table. The
FSM
also has a table of transitions that
24
FSM
also has one default transition that is not associated with any specifi
[
all
...]
ANSI.py
30
import
FSM
37
def DoEmit (
fsm
):
39
screen =
fsm
.memory[0]
40
screen.write_ch(
fsm
.input_symbol)
42
def DoStartNumber (
fsm
):
44
fsm
.memory.append (
fsm
.input_symbol)
46
def DoBuildNumber (
fsm
):
48
ns =
fsm
.memory.pop()
49
ns = ns +
fsm
.input_symbo
[
all
...]
Completed in 85 milliseconds