nx_toner_liberate_test.nx
buildroot/runtime/nx_toner_liberate_test.nx
about
nx_toner_liberate_test.nx -- gate for the toner-liberation classifier. Unique exit codes per invariant:
1x idle + accepting + toner-low-warning (the REAL Brother) -> PRINTS_NOW, toner_flag=1
2x stopped + toner-empty-error -> NEEDS_CONTINUE, toner_flag=1
3x idle + NOT accepting + marker-supply-low-warning -> NEEDS_RESET, toner_flag=1
4x healthy idle + accepting + none -> PRINTS_NOW, toner_flag=0
5x malformed response -> UNKNOWN
expect_exit: 0 license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_ipp_codec.nxnx_toner_liberate.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
| 13 | func t_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } |
| 15 | func base(buf: *u8, state: i64, accepting: i64) -> i64 |
| 23 | func main() -> i64 |