code wiki / _hdl_build / nx_reader_zoomserve_gate.nx

nx_reader_zoomserve_gate.nx

buildroot/runtime/_hdl_build/nx_reader_zoomserve_gate.nx

9958 B167 linesdepth 7pulls 15 transitivereach 0 importersview sourcekind gate/prooftopic reader
docsdependenciesstructsconstsfunctions

dependencies 10 imports · 0 importers

nx_gate_grow.nx nx_gate_gn.nx nx_gate_read.nx nx_syscalls.nx nx_reader_zoomserve.nx nx_jpeg_color_write.nx nx_quant_table.nx nx_jpeg_huff_enc.nx nx_zigzag.nx nx_dct8.nx nx_reader_zoomserve_gate.nx

imports: nx_gate_grow.nxnx_gate_gn.nxnx_gate_read.nxnx_syscalls.nxnx_reader_zoomserve.nxnx_jpeg_color_write.nxnx_quant_table.nxnx_jpeg_huff_enc.nxnx_zigzag.nxnx_dct8.nx

imported by: nobody (leaf or entry point)

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

main gw sys_write sys_chdir sys_mmap sys_exit g_mkdir sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sys_openat_wr sys_write ↻ sys_close ↻ jhe_dc_bits jhe_dc_val jhe_ac_bits jhe_ac_val jhe_gen sys_mmap ↻ nx_qt_luma sys_mmap ↻ _qt_luma_base _qt_quality_to_scale _qt_scale nx_qt_chroma sys_mmap ↻ _qt_chroma_base _qt_quality_to_scale ↻ _qt_scale ↻ nx_zigzag_init nx_dct8_init jcw_write_color sys_mmap ↻ jcw_y jcw_cb jcw_cr

structs

none

consts

none

functions

24func gw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 1: main calls 1: sys_write
26func g_has(hay: *u8, n: i64, needle: *u8) -> i64
called by 1: main
33func g_exists(path: *u8) -> i64 { let fd: i64 = sys_openat_rd(path); if fd < 0 { return 0 } sys_close(fd); return 1 }
called by 1: main calls 2: sys_openat_rdsys_close
34func g_mkdir(path: *u8) -> i64 { __syscall(258, 0 - 100, path as i64, 0x1ed, 0, 0, 0); return 0 }
called by 1: main
37func g_call(reqpath: *u8, out: *u8, cap: i64) -> i64
46func main() -> i64