code wiki / _hdl_build / nx_dash_parse_gate.nx

nx_dash_parse_gate.nx

buildroot/runtime/_hdl_build/nx_dash_parse_gate.nx

3355 B39 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic dash
docsdependenciesstructsconstsfunctions

dependencies 4 imports · 0 importers

nx_gate_gn.nx nx_gate_base.nx nx_syscalls.nx nx_dash_parse.nx nx_dash_parse_gate.nx

imports: nx_gate_gn.nxnx_gate_base.nxnx_syscalls.nxnx_dash_parse.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main gw sys_write sys_mmap dash_parse sys_mmap ↻ dp_find dp_attr dp_slen sys_mmap ↻ dp_find ↻ dp_atoi dp_subst dp_at dp_putn sys_mmap ↻ gsl grow gw ↻ has dp_find ↻ gsl ↻ gn sys_exit

structs

none

consts

none

functions

8func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw("
called by 1: main calls 1: gw
10func gsl(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: main calls 2: dp_findgsl
11func has(buf: *u8, want: *u8) -> i64 { if dp_find(buf, gsl(buf), want, gsl(want), 0) >= 0 { return 1 } return 0 }
13func main() -> i64