code wiki / _hdl_build / nx_cert_carrier_gate.nx
nx_cert_carrier_gate.nx
buildroot/runtime/_hdl_build/nx_cert_carrier_gate.nx
dependencies 4 imports · 0 importers
imports: nx_gate_base.nxnx_syscalls.nxnx_gate_emit_lib.nxnx_cert_carrier.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 8 | func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw(" calls 1: gw |
| 10 | func g_puti(v: i64) -> i64 { let b: *u8=sys_mmap(24); var x: i64=v; if x<0 {b[0]=45;sys_write(1,b,1);x=0-x}; if x==0 {b[0]=48;sys_write(1,b,1);return 0} var d: i64=0; var y: i64=x; while y>0 {d=d+1;y=y/10} var i: i64=d-1; y=x; while i>=0 {b[i]=(48+(y%10)) as u8; y=y/10; i=i-1} sys_write(1,b,d); return 0 } called by 1: main |
| 11 | func g_contains(buf: *u8, n: i64, needle: *u8) -> i64 |
| 19 | func main() -> i64 |