code wiki / (root) / nx_html_decode_entities_test.nx

nx_html_decode_entities_test.nx

buildroot/runtime/nx_html_decode_entities_test.nx

1652 B33 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic html
docsdependenciesstructsconstsfunctions

about

nx_html_decode_entities_test.nx -- KAT for nx_html_decode_entities (the render-side entity decoder). Named refs, numeric dec/hex, and the passthrough-on-unknown contract (so malformed input survives).

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_html_entities.nx nx_html_decode_entities_test.n

imports: nx_syscalls.nxnx_html_entities.nx

imported by: nobody (leaf or entry point)

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

main de_check de_slen sys_mmap nx_html_decode_entities sys_mmap ↻ nx_html_entity_lookup _ent_utf8 de_eq de_slen ↻ sys_write

structs

none

consts

none

functions

6func de_slen(s: *u8) -> i64 { var k: i64 = 0; while s[k] != (0 as u8) { k = k + 1 } return k }
called by 2: de_eqde_check
7func de_eq(a: *u8, alen: i64, b: *u8) -> i64
called by 1: de_check calls 1: de_slen
14func de_check(input: *u8, expect: *u8) -> i64
21func main() -> i64