code wiki / _hdl_build / nx_connect_ui_gate.nx
nx_connect_ui_gate.nx
buildroot/runtime/_hdl_build/nx_connect_ui_gate.nx
about
nx_connect_ui_gate.nx -- the gate for the CONNECT app-tier UI emitter (nx_connect_ui).
Every tooth asserts on the ACTUAL EMITTED BYTES, and the accessibility/safety teeth carry negative
controls so a passing verdict cannot be vacuous. license_tier: ORIGINAL expect_exit: 0
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_connect_ui.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
| 7 | const G_BUF: i64 = 262144 |
functions
| 9 | func g_p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 10 | func g_pn(v: i64) -> i64 |
| 18 | func g_count(buf: *u8, n: i64, needle: *u8) -> i64 |
| 31 | func g_has(buf: *u8, n: i64, needle: *u8) -> i64 { if g_count(buf, n, needle) > 0 { return 1 } return 0 } |
| 33 | func g_tooth(name: *u8, pass: i64, fails: *i64) -> i64 |
| 39 | func main() -> i64 |