code wiki / _hdl_build / nx_css_vars_engine_gate.nx

nx_css_vars_engine_gate.nx

buildroot/runtime/_hdl_build/nx_css_vars_engine_gate.nx

6174 B116 linesdepth 8pulls 28 transitivereach 0 importersview sourcekind gate/prooftopic css
docsdependenciesstructsconstsfunctions

about

nx_css_vars_engine_gate.nx -- proves the NATIVE render engine (the exact rh_filter_media + _rh_to_fb the Nishi Browser / reader / NishiOS-docview call) resolves fleet var(--token) custom properties, DETERMINISTICALLY (no browser binary, no fixture server, no network -- unlike the flaky shot A/B). A var-less engine leaves "var(--acc)" (color decode fails -> ZERO accent pixels); this gate shows the RESOLVED rgb(41,84,164) reaching both the CSS pipeline AND the framebuffer -> that non-zero IS the measured before/after delta. license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_render_html.nx nx_css_vars_engine_gate.nx

imports: nx_render_html.nx

imported by: nobody (leaf or entry point)

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

main p eg_slen rh_filter_media sys_mmap rh_find rh_media_matches rh_find ↻ rh_num_after rh_digit cx_expand sys_mmap ↻ cx_collect cx_ch cx_is_ws cx_find cx_name_eq cx_ch ↻ cx_emit_span cx_ch ↻ cx_is_ws ↻ cx_emit_name cx_find ↻ cx_emit_span ↻ cx_emit_span ↻ clamp_resolve cx_ch ↻ clamp_eval sys_mmap ↻ cx_ch ↻ cx_is_ws ↻ clamp_term cx_isdig cx_ch ↻ cl_emit_int sys_mmap ↻ eg_has eg_slen ↻ eg_ck p ↻

structs

none

consts

none

functions

9func p(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 2: eg_ckmain
10func eg_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 2: eg_hasmain
11func eg_has(buf: *u8, blen: i64, needle: *u8) -> i64
called by 1: main calls 1: eg_slen
24func eg_ck(name: *u8, cond: i64, pass: *i64, fail: *i64) -> i64
called by 1: main calls 1: p
29func main() -> i64