code wiki / _hdl_build / nx_brand_gallery_gate.nx

nx_brand_gallery_gate.nx

buildroot/runtime/_hdl_build/nx_brand_gallery_gate.nx

2520 B54 linesdepth 7pulls 16 transitivereach 0 importersview sourcekind gate/prooftopic brand
docsdependenciesstructsconstsfunctions

about

nx_brand_gallery_gate.nx -- each starter template renders through the brand-wired builder: on-brand, token-driven, distinct. 100% sovereign. expect_exit: 0

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_sitegate_emit_lib.nx nx_brand_gallery.nx nx_site_compose.nx nx_brand_tokens.nx nx_brand_gallery_gate.nx

imports: nx_syscalls.nxnx_sitegate_emit_lib.nxnx_brand_gallery.nxnx_site_compose.nxnx_brand_tokens.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 gw sys_write bg_count t_row gw ↻ g_ok sys_mmap ↻ g_render bg_template bg_streq sys_openat_wr compose_build sys_mmap ↻ cmp_get cmp_klen cmp_line_match cmp_streq cmp_videos cmp_line_match ↻ cmp_copy vid_build vid_w sys_write ↻ vid_esc sys_mmap ↻ hs_escape sys_write ↻ sgg_build sys_mmap ↻ cst_read sys_openat_rd sys_read sys_close sgg_put crd_render cst_get crd_is_html hs_escape ↻

structs

none

consts

none

functions

10func g_has(s: *u8, n: i64, lit: *u8) -> i64 { if bt_find(s, n, lit, bt_len(lit)) >= 0 { return 1 } return 0 }
called by 1: g_ok calls 2: bt_findbt_len
12func g_render(id: *u8, out: *u8, cap: i64) -> i64
27func g_ok(id: *u8, headline: *u8, tot: *i64) -> i64
called by 1: main calls 6: sys_mmapg_renderg_hasgwgnt_row
37func main() -> i64