code wiki / _hdl_build / nx_pdf_reflow_charset_gate.nx
nx_pdf_reflow_charset_gate.nx
buildroot/runtime/_hdl_build/nx_pdf_reflow_charset_gate.nx
dependencies 3 imports · 0 importers
imports: nx_gate_gn.nxnx_syscalls.nx_pdf_reflow_lib.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
| 10 | func gp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 11 | func gcat(d: *u8, o: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8){d[o+i]=s[i];i=i+1} return o+i } called by 1: main |
| 12 | func has3(buf: *u8, n: i64, a: i64, b: i64, c: i64) -> i64 { var i: i64=0; while i+3<=n { if (buf[i]&0xff)==a { if (buf[i+1]&0xff)==b { if (buf[i+2]&0xff)==c { return 1 } } } i=i+1 } return 0 } called by 1: main |
| 14 | func lone_a9(buf: *u8, n: i64) -> i64 { var i: i64=0; while i<n { if (buf[i]&0xff)==0xa9 { if i==0 { return 1 } if (buf[i-1]&0xff)!=0xc2 { return 1 } } i=i+1 } return 0 } called by 1: main |
| 16 | func main() -> i64 |