code wiki / _hdl_build / nx_brand_assets_gate.nx

nx_brand_assets_gate.nx

buildroot/runtime/_hdl_build/nx_brand_assets_gate.nx

3436 B68 linesdepth 4pulls 8 transitivereach 0 importersview sourcekind gate/prooftopic brand
docsdependenciesstructsconstsfunctions

about

nx_brand_assets_gate.nx -- brand asset slots (favicon/logo/og) emit into <head>, escaped, additive (default brand unaffected). 100% sovereign. expect_exit: 0

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_sitegate_emit_lib.nx nx_web_builder.nx nx_brand_tokens.nx nx_gate_verdict.nx nx_brand_assets_gate.nx

imports: nx_syscalls.nxnx_sitegate_emit_lib.nxnx_web_builder.nxnx_brand_tokens.nxnx_gate_verdict.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 nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ gw sys_write ↻ g_build sys_openat_wr g_len sys_close sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close ↻ g_has bt_find bt_len t_row gw ↻ bt_default_brand gn sys_mmap ↻ sys_write ↻ gv_ctr

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: main calls 2: bt_findbt_len
11func g_len(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
called by 1: g_build
13func g_build(brand: *u8, out: *u8, cap: i64) -> i64
27func main() -> i64