code wiki / _hdl_build / nx_brand_assets_gate.nx

nx_brand_assets_gate.nx

buildroot/runtime/_hdl_build/nx_brand_assets_gate.nx

3018 B61 linesdepth 4pulls 7 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 4 imports · 0 importers

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

imports: nx_syscalls.nxnx_sitegate_emit_lib.nxnx_web_builder.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 g_build sys_openat_wr wb_doc_open_branded wb_w sys_write ↻ bas_emit_head bas_emit_one sys_mmap ↻ bas_lookup sys_mmap ↻ bas_esc_attr bas_app bas_fw sys_write ↻ bt_emit_root_fd sys_mmap ↻ bt_emit_root_buf bt_app sys_mmap ↻ bt_slice_eq bt_ident_safe bt_value_safe bt_find bt_app_n sys_write ↻ bt_emit_dark_fd sys_mmap ↻ bt_emit_dark_root_buf bt_app ↻ sys_mmap ↻ bt_slice_eq ↻ bt_ident_safe ↻ bt_value_safe ↻ bt_app_n ↻ sys_write ↻ pol_emit

structs

none

consts

none

functions

9func 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
10func 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
12func g_build(brand: *u8, out: *u8, cap: i64) -> i64
26func main() -> i64