Home
last modified time | relevance | path

Searched full:machine (Results 1 – 25 of 4477) sorted by relevance

12345678910>>...180

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dstate_machine.h2 * wpa_supplicant/hostapd - State machine definitions
9 * implement a state machine. In addition to including this header file, each
10 * file implementing a state machine must define STATE_MACHINE_DATA to be the
24 * SM_STATE - Declaration of a state machine function
25 * @machine: State machine name
26 * @state: State machine state
28 * This macro is used to declare a state machine function. It is used in place
32 #define SM_STATE(machine, state) \ argument
33 static void sm_ ## machine ## _ ## state ## _Enter(STATE_MACHINE_DATA *sm, \
37 * SM_ENTRY - State machine function entry point
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dstate_machine.h2 * wpa_supplicant/hostapd - State machine definitions
9 * implement a state machine. In addition to including this header file, each
10 * file implementing a state machine must define STATE_MACHINE_DATA to be the
24 * SM_STATE - Declaration of a state machine function
25 * @machine: State machine name
26 * @state: State machine state
28 * This macro is used to declare a state machine function. It is used in place
32 #define SM_STATE(machine, state) \ argument
33 static void sm_ ## machine ## _ ## state ## _Enter(STATE_MACHINE_DATA *sm, \
37 * SM_ENTRY - State machine function entry point
[all …]
/third_party/boost/libs/statechart/test/
DTerminationTest.cpp185 TerminationTest machine; in test_main() local
186 machine.AssertInState( "" ); in test_main()
188 machine.initiate(); in test_main()
189 machine.AssertInState( "ABCDEFG" ); in test_main()
190 machine.process_event( EvTerminateE() ); in test_main()
191 machine.AssertInState( "ABCD" ); in test_main()
192 machine.process_event( EvTerminateE() ); in test_main()
193 machine.AssertInState( "ABCD" ); in test_main()
195 machine.initiate(); in test_main()
196 machine.AssertInState( "ABCDEFG" ); in test_main()
[all …]
DStateCastTest.cpp147 StateCastTest machine; in test_main() local
149 machine.AssertNotInState< A >(); in test_main()
150 machine.AssertNotInState< B >(); in test_main()
151 machine.AssertNotInState< C >(); in test_main()
152 machine.AssertNotInState< D >(); in test_main()
153 machine.AssertNotInState< E >(); in test_main()
154 machine.AssertNotInState< F >(); in test_main()
155 machine.AssertNotInState< G >(); in test_main()
156 machine.AssertNotInState< H >(); in test_main()
158 machine.initiate(); in test_main()
[all …]
DDeferralTest.cpp127 DeferralTest machine; in test_main() local
128 machine.initiate(); in test_main()
129 machine.process_event( *MakeIntrusive( new EvSwitch() ) ); in test_main()
130 BOOST_REQUIRE( machine.ProcessedCount() == 0 ); in test_main()
131 machine.process_event( *MakeIntrusive( new EvSwitch() ) ); in test_main()
132 BOOST_REQUIRE( machine.ProcessedCount() == 0 ); in test_main()
133 machine.process_event( *MakeIntrusive( new EvLeafDeferred() ) ); in test_main()
134 BOOST_REQUIRE( machine.ProcessedCount() == 0 ); in test_main()
135 machine.process_event( *MakeIntrusive( new EvSwitch() ) ); in test_main()
136 BOOST_REQUIRE( machine.ProcessedCount() == 1 ); in test_main()
[all …]
DInStateReactionTest.cpp72 const InStateReactionTest & machine, in RequireEventCounts() argument
76 machine.state_downcast< const A & >().eventCount_ == aCount ); in RequireEventCounts()
78 machine.state_downcast< const B & >().eventCount_ == bCount ); in RequireEventCounts()
83 InStateReactionTest machine; in test_main() local
84 machine.initiate(); in test_main()
86 RequireEventCounts(machine, 0, 0); in test_main()
87 machine.process_event( F() ); in test_main()
88 RequireEventCounts(machine, 0, 1); in test_main()
89 machine.process_event( E() ); in test_main()
90 RequireEventCounts(machine, 1, 1); in test_main()
[all …]
DStateIterationTest.cpp119 StateIterationTest machine; in test_main() local
120 machine.AssertInState( "" ); in test_main()
122 machine.initiate(); in test_main()
123 machine.AssertInState( "A" ); in test_main()
125 machine.process_event( EvToB() ); in test_main()
126 machine.AssertInState( "CD" ); in test_main()
128 machine.process_event( EvToA() ); in test_main()
129 machine.AssertInState( "A" ); in test_main()
131 machine.process_event( EvToB() ); in test_main()
132 machine.AssertInState( "CD" ); in test_main()
[all …]
DTransitionTest.cpp132 // This test state machine is a beefed-up version of the one presented in
156 // Since state destructors access the state machine object, we need to in ~TransitionTest()
408 void TestTransitions( M & machine ) in TestTransitions() argument
410 machine.initiate(); in TestTransitions()
421 machine.CompareToExpectedActionSequence( init ); in TestTransitions()
423 machine.process_event( A() ); in TestTransitions()
436 machine.CompareToExpectedActionSequence( a1 ); in TestTransitions()
438 machine.process_event( B() ); in TestTransitions()
451 machine.CompareToExpectedActionSequence( b1 ); in TestTransitions()
453 machine.process_event( C() ); in TestTransitions()
[all …]
DDeferralBug.cpp69 fsm machine; in test_main() local
70 machine.initiate(); in test_main()
71 machine.process_event( ev3to4_1() ); in test_main()
72 machine.process_event( ev2to3() ); in test_main()
73 machine.process_event( ev3to4_2() ); in test_main()
74 machine.process_event( ev1to2() ); in test_main()
75 BOOST_REQUIRE( machine.state_cast< const s4_1 * >() != 0 ); in test_main()
76 machine.initiate(); in test_main()
77 machine.process_event( ev3to4_1() ); in test_main()
78 machine.process_event( ev3to4_2() ); in test_main()
[all …]
/third_party/mesa3d/src/mesa/program/
Dprog_execute.c82 const struct gl_program_machine *machine) in get_src_register_pointer() argument
84 const struct gl_program *prog = machine->CurProgram; in get_src_register_pointer()
89 reg += machine->AddressReg[0][0]; in get_src_register_pointer()
99 return machine->Temporaries[reg]; in get_src_register_pointer()
105 return machine->VertAttribs[reg]; in get_src_register_pointer()
110 return machine->Attribs[reg][machine->CurElement]; in get_src_register_pointer()
116 return machine->Outputs[reg]; in get_src_register_pointer()
130 assert(reg < (GLint) ARRAY_SIZE(machine->SystemValues)); in get_src_register_pointer()
131 return machine->SystemValues[reg]; in get_src_register_pointer()
148 struct gl_program_machine *machine) in get_dst_register_pointer() argument
[all …]
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_compute.c40 struct tgsi_exec_machine *machine, in cs_prepare() argument
50 * Bind tokens/shader to the interpreter's machine state. in cs_prepare()
52 tgsi_exec_machine_bind_shader(machine, in cs_prepare()
56 if (machine->SysSemanticToIndex[TGSI_SEMANTIC_THREAD_ID] != -1) { in cs_prepare()
57 unsigned i = machine->SysSemanticToIndex[TGSI_SEMANTIC_THREAD_ID]; in cs_prepare()
59 machine->SystemValue[i].xyzw[0].i[j] = w; in cs_prepare()
60 machine->SystemValue[i].xyzw[1].i[j] = h; in cs_prepare()
61 machine->SystemValue[i].xyzw[2].i[j] = d; in cs_prepare()
65 if (machine->SysSemanticToIndex[TGSI_SEMANTIC_GRID_SIZE] != -1) { in cs_prepare()
66 unsigned i = machine->SysSemanticToIndex[TGSI_SEMANTIC_GRID_SIZE]; in cs_prepare()
[all …]
Dsp_fs_exec.c56 struct tgsi_exec_machine *machine, in exec_prepare() argument
62 * Bind tokens/shader to the interpreter's machine state. in exec_prepare()
64 tgsi_exec_machine_bind_shader(machine, in exec_prepare()
107 /* TODO: hide the machine struct in here somewhere, remove from this
112 struct tgsi_exec_machine *machine, in exec_run() argument
119 &machine->QuadPos); in exec_run()
122 machine->Face = (float) (quad->input.facing * -2 + 1); in exec_run()
124 machine->NonHelperMask = quad->inout.mask; in exec_run()
125 quad->inout.mask &= tgsi_exec_machine_run( machine, 0 ); in exec_run()
142 sizeof(machine->Outputs[i])); in exec_run()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_exec.c52 struct tgsi_exec_machine *machine; member
75 if (evs->machine->Tokens != shader->state.tokens) { in vs_exec_prepare()
76 tgsi_exec_machine_bind_shader(evs->machine, in vs_exec_prepare()
103 struct tgsi_exec_machine *machine = evs->machine; in vs_exec_run_linear() local
109 tgsi_exec_set_constant_buffers(machine, PIPE_MAX_CONSTANT_BUFFERS, in vs_exec_run_linear()
113 unsigned i = machine->SysSemanticToIndex[TGSI_SEMANTIC_INSTANCEID]; in vs_exec_run_linear()
114 assert(i < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear()
116 machine->SystemValue[i].xyzw[0].i[j] = shader->draw->instance_id; in vs_exec_run_linear()
138 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_VERTEXID]; in vs_exec_run_linear()
139 assert(vid < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear()
[all …]
Ddraw_gs.c82 struct tgsi_exec_machine *machine = shader->machine; in tgsi_fetch_gs_outputs() local
92 unsigned num_verts_per_prim = machine->Primitives[stream][prim_idx]; in tgsi_fetch_gs_outputs()
93 unsigned prim_offset = machine->PrimitiveOffsets[stream][prim_idx]; in tgsi_fetch_gs_outputs()
95 machine->Primitives[stream][prim_idx]; in tgsi_fetch_gs_outputs()
104 output[slot][0] = machine->Outputs[idx + slot].xyzw[0].f[0]; in tgsi_fetch_gs_outputs()
105 output[slot][1] = machine->Outputs[idx + slot].xyzw[1].f[0]; in tgsi_fetch_gs_outputs()
106 output[slot][2] = machine->Outputs[idx + slot].xyzw[2].f[0]; in tgsi_fetch_gs_outputs()
107 output[slot][3] = machine->Outputs[idx + slot].xyzw[3].f[0]; in tgsi_fetch_gs_outputs()
129 struct tgsi_exec_machine *machine = shader->machine; in tgsi_fetch_gs_input() local
135 int primid_sv = machine->SysSemanticToIndex[TGSI_SEMANTIC_PRIMID]; in tgsi_fetch_gs_input()
[all …]
/third_party/openssl/ssl/statem/
DREADME1 State Machine Design
5 state machine code to aid future maintenance.
7 The state machine code replaces an older state machine present in OpenSSL
8 versions 1.0.2 and below. The new state machine has the following objectives:
24 - Control complexity: only the state machine can change state: keep all
25 the state changes local to the state machine component
27 The message flow state machine is divided into a reading sub-state machine and a
28 writing sub-state machine. See the source comments in statem.c for a more
31 Conceptually the state machine component is designed as follows:
41 | Core state machine code |
[all …]
/third_party/python/Lib/test/
Dtest_netrc.py21 machine host1.domain.com login log1 password pass1 account acct1
50 machine host.domain.com login log password #pass account acct
55 machine host.domain.com login log password pass# account acct
60 machine host.domain.com login log password pa#ss account acct
71 machine foo.domain.com login bar password pass
72 machine bar.domain.com login foo password pass
78 machine foo.domain.com login bar password pass
79 machine bar.domain.com login foo password pass
85 machine foo.domain.com login bar password pass
86 machine bar.domain.com login foo password pass
[all …]
/third_party/harfbuzz/src/
Dhb-ot-shape-complex-khmer-machine.hh1 #line 1 "hb-ot-shape-complex-khmer-machine.rl"
40 #line 41 "hb-ot-shape-complex-khmer-machine.hh"
58 #line 59 "hb-ot-shape-complex-khmer-machine.hh"
186 #line 43 "hb-ot-shape-complex-khmer-machine.rl"
190 #line 86 "hb-ot-shape-complex-khmer-machine.rl"
209 #line 210 "hb-ot-shape-complex-khmer-machine.hh" in find_syllables_khmer()
217 #line 106 "hb-ot-shape-complex-khmer-machine.rl" in find_syllables_khmer()
225 #line 226 "hb-ot-shape-complex-khmer-machine.hh" in find_syllables_khmer()
240 #line 241 "hb-ot-shape-complex-khmer-machine.hh" in find_syllables_khmer()
278 #line 279 "hb-ot-shape-complex-khmer-machine.hh" in find_syllables_khmer()
[all …]
Dhb-ot-shape-complex-use-machine.hh1 #line 1 "hb-ot-shape-complex-use-machine.rl"
56 #line 57 "hb-ot-shape-complex-use-machine.hh"
98 #line 99 "hb-ot-shape-complex-use-machine.hh"
355 #line 59 "hb-ot-shape-complex-use-machine.rl"
359 #line 176 "hb-ot-shape-complex-use-machine.rl"
442 #line 443 "hb-ot-shape-complex-use-machine.hh" in find_syllables_use()
449 #line 260 "hb-ot-shape-complex-use-machine.rl" in find_syllables_use()
454 #line 455 "hb-ot-shape-complex-use-machine.hh" in find_syllables_use()
469 #line 470 "hb-ot-shape-complex-use-machine.hh" in find_syllables_use()
507 #line 508 "hb-ot-shape-complex-use-machine.hh" in find_syllables_use()
[all …]
/third_party/boost/libs/msm/doc/HTML/
Dch02s04.html3machine glossary</title><link rel="stylesheet" href="boostbook.css" type="text/css"><meta name="ge…
4 …list"><ul class="itemizedlist" type="disc"><li class="listitem"><p>state machine: the life cycle o…
5 …</p></li><li class="listitem"><p>state: a stage in the life cycle of a state machine. A state (like
7machine</p></li><li class="listitem"><p>transition: a specification of how a state machine reacts …
12 … fire.</p></li><li class="listitem"><p>transition table: representation of a state machine. A state
13 machine diagram is a graphical, but incomplete representation of the
15 …</p></li><li class="listitem"><p>initial state: The state in which the state machine starts. Having
17 …tes.</p></li><li class="listitem"><p>submachine: A submachine is a state machine inserted as a sta…
18 another state machine and can be found several times in a same state
19machine.</p></li><li class="listitem"><p>orthogonal regions: (logical) parallel flow of execution …
[all …]
/third_party/ltp/testcases/network/multicast/mc_commo/
DREADME.1st1 This test requires two machines on the same subnet. Each machine must have the same
2 path setup for the test, i.e. if Machine A has "/testcases/mc_commo" for the files, then
3 Machine B must also have the same path setup. Machine B would be exported as the
4 RHOST on Machine A, i.e. 'export RHOST=<Machine B hostname>'. If this
6 the machine specified as the RHOST must have a ".rhosts" file in root's home
7 directory with the hostname of the local machine that's running the test. This is to
/third_party/mesa3d/src/mesa/swrast/
Ds_fragprog.c77 * Called via machine->FetchTexelLod()
106 * Called via machine->FetchTexelDeriv()
152 * Initialize the virtual fragment program machine state prior to running
155 * \param machine the virtual machine state to init
161 init_machine(struct gl_context *ctx, struct gl_program_machine *machine, in init_machine() argument
175 machine->Attribs = span->array->attribs; in init_machine()
177 machine->DerivX = (GLfloat (*)[4]) span->attrStepX; in init_machine()
178 machine->DerivY = (GLfloat (*)[4]) span->attrStepY; in init_machine()
179 machine->NumDeriv = VARYING_SLOT_MAX; in init_machine()
181 machine->Samplers = program->SamplerUnits; in init_machine()
[all …]
/third_party/boost/libs/statechart/doc/
Drationale.html36 machine framework</a></dt>
65 solutions force the developer to design the state machine either
71 into a working state machine. Vice versa, an existing C++
72 implementation of a state machine should be fairly trivial to transform
73 into a UML statechart. Specifically, the following state machine
93 the user which thread an asynchronous state machine will run in. Users
98 machine simultaneously</li>
111 "WhyYetAnotherStateMachineFramework">Why yet another state machine
134 <li>The framework accompanying the article "State Machine Design in
147 <p>This not yet widely known state machine feature is enabled by the fact
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap.h2 * EAP peer state machine functions (RFC 4137)
29 * enum eapol_bool_var - EAPOL boolean state variables for EAP state machine
31 * These variables are used in the interface between EAP peer state machine and
34 * EAP state machine to get and set the variables.
40 * EAP state machine reads and writes this value.
47 * Set to true in lower layer, false in EAP state machine.
54 * EAP state machine writes this value.
61 * Set to true in EAP state machine, false in lower layer.
68 * Set to true in EAP state machine, false in lower layer.
75 * Set to true in lower layer, false in EAP state machine.
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap.h2 * EAP peer state machine functions (RFC 4137)
29 * enum eapol_bool_var - EAPOL boolean state variables for EAP state machine
31 * These variables are used in the interface between EAP peer state machine and
34 * EAP state machine to get and set the variables.
40 * EAP state machine reads and writes this value.
47 * Set to TRUE in lower layer, FALSE in EAP state machine.
54 * EAP state machine writes this value.
61 * Set to TRUE in EAP state machine, FALSE in lower layer.
68 * Set to TRUE in EAP state machine, FALSE in lower layer.
75 * Set to TRUE in lower layer, FALSE in EAP state machine.
[all …]
/third_party/boost/libs/statechart/example/PingPong/
DWaiting.hpp43 outermost_context_type & machine = outermost_context(); in Waiting() local
48 &machine.my_scheduler(), machine.my_handle(), _1 ); in Waiting()
51 &machine.my_scheduler(), machine.my_handle(), in Waiting()
62 outermost_context_type & machine = outermost_context(); in react() local
63 ++machine.TotalNoOfProcessedEvents(); in react()
65 if ( noOfReturns_++ < machine.GetMaxNoOfReturns() ) in react()
81 outermost_context_type & machine = outermost_context(); in DestroyMyself() local
82 machine.my_scheduler().destroy_processor( machine.my_handle() ); in DestroyMyself()
83 machine.my_scheduler().terminate(); in DestroyMyself()

12345678910>>...180