code wiki / _hdl_build / nx_gallery_serve_tamper.nx
nx_gallery_serve_tamper.nx
buildroot/runtime/_hdl_build/nx_gallery_serve_tamper.nx
about
GENERATED BY nx_eg (generalized emitter-of-emitters) -- control flow synthesized from a structural DATA spec, compiled by nx_cc. license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_seg_store.nxnx_canon_cid.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| 5 | const K_MAGIC_8192: i64 = 8192 |
| 6 | const K_MAGIC_4194304: i64 = 4194304 |
| 7 | const K_MAGIC_18091: i64 = 18091 |
functions
| 8 | func eh_find(buf: *u8, n: i64, pat: *u8, plen: i64) -> i64 called by 1: gs_rate |
| 22 | func gs_cat(dst: *u8, off: i64, s: *u8) -> i64 |
| 27 | func gs_u(dst: *u8, off: i64, v: i64) -> i64 |
| 38 | func gs_grid_body(body: *u8, off: i64, prefix: *u8) -> i64 |
| 85 | func gs_grid(rbuf: *u8, prefix: *u8) -> i64 |
| 99 | func gs_peel_cid(req: *u8, rn: i64, cidout: *u8) -> i64 called by 1: gs_serve_png |
| 116 | func gs_sidecar(cid: *u8, pathout: *u8) -> i64 |
| 142 | func gs_serve_png(rbuf: *u8, req: *u8, rn: i64, root: *u8) -> i64 |
| 161 | func gs_rate(rbuf: *u8, req: *u8, rn: i64) -> i64 |
| 239 | func main() -> i64 |