nx_wflow_engine.nx
buildroot/runtime/nx_wflow_engine.nx
about
dependencies 2 imports · 30 importers
diagram shows first 10 each side; +0 more imports, +20 more importers in the complete lists below.
imports: nx_send.nxnx_wflow_text_owned.nx
imported by: nx_alpha_release_workflow_canonical_gate_t343.nxnx_alpha_release_workflow_gate_t343.nxnx_wflow_approve_gate.nxnx_wflow_bind_event_gate_t282.nxnx_wflow_bind_event_owned_t282.nxnx_wflow_branch_gate.nxnx_wflow_capacity_canonical_gate_t278.nxnx_wflow_capacity_counterexample_t278.nxnx_wflow_capture_gate.nxnx_wflow_cli_gate.nxnx_wflow_completion_gate_t30.nxnx_wflow_completion_gate_t31.nxnx_wflow_connect_gate.nxnx_wflow_data_gate.nxnx_wflow_diagnostics_gate_t240.nxnx_wflow_diagnostics_t240.nxnx_wflow_engine_gate.nxnx_wflow_evidence_canonical_gate_t230.nxnx_wflow_evidence_gate_t229.nxnx_wflow_foreach_canonical_gate_t278.nxnx_wflow_identity_canonical_selftest_t344.nxnx_wflow_loop_gate.nxnx_wflow_mapping_canonical_gate_t278.nxnx_wflow_obs_gate.nxnx_wflow_onerr_gate.nxnx_wflow_ownership_canonical_gate_t344.nxnx_wflow_result.nxnx_wflow_tpl_gate.nxnx_wflow_var_owned_gate_t277.nxnx_wflow_version_gate.nx
structs
| none |
consts
| 27 | const WF_MAGIC_1089: i64 = 1089 |
| 28 | const WF_MAGIC_65536: i64 = 65536 |
| 29 | const WF_MAGIC_16777216: i64 = 16777216 |
| 30 | const WF_MAGIC_1024: i64 = 1024 |
| 31 | const WF_MAGIC_60000: i64 = 60000 |
| 83 | const WF_EVIDENCE_ERROR: i64 = 0 - 4 |
| 109 | const WF_LEDCAP: i64 = 1048576 |
functions
| 34 | func wf_has(hay: *u8, needle: *u8) -> i64 |
| 49 | func wf_cat(dst: *u8, off: i64, s: *u8) -> i64 { var x: i64 = off; var i: i64 = 0; while s[i] != (0 as u8) { dst[x] = s[i]; x = x + 1; i = i + 1 } return x } |
| 50 | func wf_catn(dst: *u8, off: i64, v: i64) -> i64 |
| 62 | func wf_atoi(s: *u8) -> i64 |
| 78 | func wf_now() -> i64 { return sys_now_realtime_sec() } |
| 84 | func wf_append(path: *u8, line: *u8) -> i64 |
| 111 | func wf_evid(ev:*u8,out:*u8,cap:i64)->i64 |
| 128 | func wf_readall(path: *u8, szp: *i64) -> *u8 |
| 146 | func wf_read_snapshot(path:*u8,szp:*i64)->*u8 |
| 167 | func wf_writeall(path: *u8, buf: *u8, n: i64) -> i64 |
| 177 | func wf_has_rng(buf: *u8, ls: i64, le: i64, needle: *u8) -> i64 |
| 191 | func wf_lines_with2(buf: *u8, n: i64, a: *u8, b: *u8) -> i64 |
| 203 | func wf_num_after(buf: *u8, ls: i64, le: i64, key: *u8) -> i64 |
| 223 | func wf_val_after(buf: *u8, ls: i64, le: i64, key: *u8, out: *u8, cap: i64) -> i64 |
| 243 | func wf_max_ok_step(buf: *u8, n: i64, ridtok: *u8) -> i64 |
| 259 | func wf_action_ok(a: *u8) -> i64 |
| 271 | func wf_load(steps: *i64, n: i64) -> i64 |
| 360 | func wf_load_flows(flows: *i64, n: i64) -> i64 |
| 372 | func wf_match(row:*u8,ev:*u8)->i64 |
| 379 | func wf_emit(led: *u8, rid: *u8, fid: *u8, step: i64, st: *u8, att: i64) -> i64 |
| 403 | func wf_conn_resolve(cx: *i64, name: *u8, out: *u8) -> i64 |
| 448 | func wf_rd32(b: *u8, off: i64) -> i64 |
| 454 | func wf_exec_organ(cx: *i64, name0: *u8, arg: *u8, rid: *u8) -> i64 |
| 557 | func wf_emit_iter(led: *u8, rid: *u8, n: i64, val: *u8) -> i64 |
| 579 | func wf_for_each(cx: *i64, chspec: *u8, argraw: *u8, rid: *u8) -> i64 |
| 616 | func wf_exec(cx: *i64, action: *u8, ch: *u8, arg: *u8, att: i64, rid: *u8) -> i64 |
| 636 | func wf_decision(cx: *i64, rid: *u8, idx: i64) -> i64 |
| 669 | func wf_decide(cx: *i64, rid: *u8, idx: i64, decision: *u8, who: *u8) -> i64 |
| 698 | func wf_emit_var(led: *u8, rid: *u8, k: *u8, v: *u8) -> i64 |
| 722 | func wf_val_line_end(buf: *u8, ls: i64, le: i64, key: *u8, out: *u8, cap: i64) -> i64 |
| 741 | func wf_obs_tok_fwd(tok: *u8, rid: *u8) -> i64 |
| 750 | func wf_var_get(cx: *i64, rid: *u8, key: *u8, out: *u8, cap: i64) -> i64 |
| 762 | func wf_subst(cx: *i64, rid: *u8, src: *u8, out: *u8, cap: i64) -> i64 |
| 772 | func wf_bind_event(cx: *i64, rid: *u8, ev: *u8) -> i64 |
| 817 | func wf_defs_version(path: *u8) -> i64 |
| 834 | func wf_emit_ver(led: *u8, rid: *u8, ver: i64) -> i64 |
| 849 | func wf_emit_drift(led: *u8, rid: *u8, ranv: i64, nowv: i64) -> i64 |
| 867 | func wf_run_ver(buf: *u8, n: i64, ridtok: *u8) -> i64 |
| 883 | func wf_tpl_exists(path: *u8) -> i64 |
| 889 | func wf_tpl_path(dir: *u8, name: *u8, ext: *u8, out: *u8) -> i64 |
| 899 | func wf_tpl_index_path(dir: *u8, out: *u8) -> i64 |
| 909 | func wf_tpl_list(dir: *u8) -> i64 |
| 954 | func wf_tpl_indexed(dir: *u8, name: *u8) -> i64 |
| 981 | func wf_tpl_instantiate(dir: *u8, name: *u8, df: *u8, ds: *u8) -> i64 |
| 1012 | func wf_cond_ok(cx: *i64, rid: *u8, cond: *u8) -> i64 |
| 1029 | func wf_run_from(cx: *i64, rid: *u8, fid: *u8, s0: i64) -> i64 |
| 1040 | func wf_run_from_owned(cx: *i64, rid: *u8, fid: *u8, s0: i64, scratch:*WfRunScratch) -> i64 |
| 1193 | func wf_fire(cx:*i64,flows:*i64,nf:i64,ev:*u8)->i64 |
| 1202 | func wf_flow_known(cx:*i64,fid:*u8)->i64 |
| 1206 | func wf_resume(cx:*i64)->i64 |
| 1227 | func wf_lines_load(path: *u8, arr: *i64, cap: i64) -> i64 |
| 1255 | func wf_cx_files(flowsp: *u8, stepsp: *u8, led: *u8, cat: *u8, cx: *i64, flows: *i64) -> i64 |
| 1273 | func wf_fire_files(flowsp: *u8, stepsp: *u8, led: *u8, cat: *u8, ev: *u8) -> i64 |
| 1280 | func wf_resume_files(flowsp: *u8, stepsp: *u8, led: *u8, cat: *u8) -> i64 |
| 1289 | func wf_state_name(st: i64) -> *u8 |
| 1296 | func wf_run_state(buf: *u8, n: i64, tok: *u8) -> i64 |
| 1303 | func wf_obs_runs(buf:*u8,n:i64,rids:*i64,cap:i64)->i64 |
| 1314 | func wf_obs_tok(tok: *u8, rid: *u8) -> i64 |
| 1322 | func wf_obs_release(buf:*u8,n:i64,rids:*i64,slots:i64)->i64 |
| 1326 | func wf_obs_board(led: *u8) -> i64 |
| 1367 | func wf_obs_html(led: *u8, out: *u8) -> i64 |
| 1437 | func wf_selftest() -> i64 |