code wiki / _hdl_build / _percent_decode_authored.nx

_percent_decode_authored.nx

buildroot/runtime/_hdl_build/_percent_decode_authored.nx

1098 B19 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

AUTHORED BY THE NISHI BUILDER (percent-decode template) -- URL %XX/'+' decode, bits-up

dependencies 1 imports · 0 importers

nx_syscalls.nx _percent_decode_authored.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap percent_decode pd_hexval sys_exit

structs

none

consts

none

functions

3func pd_hexval(c: i64) -> i64 { if c>=0x30 { if c<=0x39 { return c-0x30 } } if c>=0x61 { if c<=0x66 { return c-0x61+10 } } if c>=0x41 { if c<=0x46 { return c-0x41+10 } } return 0-1 }
called by 1: percent_decode
4func percent_decode(s: *u8, n: i64, out: *u8) -> i64
called by 1: main calls 1: pd_hexval
12func main() -> i64