code wiki / _hdl_build / nx_browser_forms_e2e_gate.nx
nx_browser_forms_e2e_gate.nx
buildroot/runtime/_hdl_build/nx_browser_forms_e2e_gate.nx
dependencies 5 imports · 0 importers
imports: nx_gate_base.nxnx_docportal_admin_daemon.nxnx_browser_forms.nxnx_modern_auth_flow.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 12 | func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw(" calls 1: gw |
| 14 | func gln(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: main |
| 15 | func gcat(d: *u8, o: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8){d[o+i]=s[i];i=i+1} return o+i } |
| 16 | func gfind(hay: *u8, n: i64, needle: *u8) -> i64 { let nn: i64=gln(needle); var i: i64=0; while i+nn<=n { var m: i64=1; var j: i64=0; while j<nn { if (hay[i+j] as i64)!=(needle[j] as i64){m=0;j=nn} else {j=j+1} } if m==1 {return i} i=i+1 } return 0-1 } |
| 17 | func gcontains(hay: *u8, n: i64, needle: *u8) -> i64 { if gfind(hay,n,needle) >= 0 {return 1} return 0 } |
| 18 | func gcell(ok: i64, id: *u8, txt: *u8) -> i64 { if ok==1 {gw(" PASS " as *u8)} else {gw(" FAIL " as *u8)} gw(id); gw(" " as *u8); gw(txt); gw("\n" as *u8); return ok } |
| 20 | func gbody(resp: *u8, n: i64) -> i64 { let p: i64=gfind(resp,n,"\r\n\r\n" as *u8); if p<0 {return n} return p+4 } |
| 22 | func gfield(forms: *BrForm, fi: i64, fields: *BrField, name: *u8) -> i64 |
| 38 | func main() -> i64 |
| 124 | func gstreq_local(a: *u8, b: *u8) -> i64 { var i: i64=0; while 1==1 { if (a[i] as i64)!=(b[i] as i64){return 0} if (a[i] as i64)==0 {return 1} i=i+1 } return 0 } |