code wiki / _hdl_build / nx_xlsx_chart_gate.nx

nx_xlsx_chart_gate.nx

buildroot/runtime/_hdl_build/nx_xlsx_chart_gate.nx

7892 B146 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind gate/prooftopic xlsx
docsdependenciesstructsconstsfunctions

about

nx_xlsx_chart_gate.nx -- gate for CHARTS v1 (office census OF-S4, native-first): the .xlsx preview renders a 0-JS BAR CHART from sheet data -- labels col A, values = first >=60%-numeric column, bar widths = integer percents of the max, and FORMULA cells chart at their COMPUTED values (the =SUM total is the 100% bar). In-file DrawingML c:chart = named follow-up, NOT claimed. Rows: 1 chart+pinned-widths 2 formula-bar-100pct 3 no-numeric-sheet-no-chart 4 registry-dispatch-includes-chart 5 outputs-0js 6 determinism 7 loud-fail[neg] license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_xlsx_chart_gate.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 cg_p sys_write cg_slen sys_openat_rd sys_close cg_runv sys_fork sys_openat_wr sys_dup3 sys_mmap sys_execve sys_exit sys_wait4 cg_args4 sys_mmap ↻ cg_write sys_openat_wr ↻ sys_write ↻ cg_slen ↻ sys_close ↻ cg_has sys_mmap ↻ cg_readall sys_openat_rd ↻ sys_mmap ↻ sys_read sys_close ↻ cg_slen ↻ cg_row cg_p ↻ cg_fileeq sys_mmap ↻ cg_readall ↻ sys_openat_append sys_mmap ↻ cg_cat cg_catn sys_mmap ↻ sys_now_realtime_sec

structs

none

consts

none

functions

9func cg_slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8) { n=n+1 } return n }
called by 3: cg_pcg_writecg_has
10func cg_p(s: *u8) -> i64 { sys_write(1, s, cg_slen(s)); return 0 }
called by 2: cg_rowmain calls 2: sys_writecg_slen
11func cg_cat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8) { dst[off+i]=s[i]; i=i+1 } return off+i }
called by 1: main
12func cg_catn(dst: *u8, off: i64, v: i64) -> i64
called by 1: main calls 1: sys_mmap
18func cg_write(path: *u8, content: *u8) -> i64
22func cg_readall(path: *u8, szout: *i64) -> *u8
28func cg_runv(elf: *u8, args: *i64, outpath: *u8) -> i64
43func cg_has(path: *u8, needle: *u8) -> i64
called by 1: main calls 3: sys_mmapcg_readallcg_slen
50func cg_fileeq(p1: *u8, p2: *u8) -> i64
called by 1: main calls 2: sys_mmapcg_readall
61func cg_args4(a1: *u8, a2: *u8, a3: *u8, a4: *u8) -> *i64
called by 1: main calls 1: sys_mmap
64func cg_row(name: *u8, pass: i64) -> i64
called by 1: main calls 1: cg_p
68func main(argc: i64, argv: *i64) -> i64