code wiki / (root) / nx_eye_rim_artifact_t207.nx

nx_eye_rim_artifact_t207.nx

buildroot/runtime/nx_eye_rim_artifact_t207.nx

4601 B19 linesdepth 8pulls 18 transitivereach 0 importersview sourcekind tooltopic eye
docsdependenciesstructsconstsfunctions

dependencies 4 imports · 0 importers

nx_fs_create_lib.nx nx_quicksort.nx nx_nxa_surface_anchor_t140.nx nx_surface_anchor_gate_t140.nx nx_eye_rim_artifact_t207.nx

imports: nx_fs_create_lib.nxnx_quicksort.nxnx_nxa_surface_anchor_t140.nxnx_surface_anchor_gate_t140.nx

imported by: nobody (leaf or entry point)

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

main nsa_component_labels_v1 ngb_attach_source_v1 nsa_component_join_v1 nsa_component_root_v1 nsa_component_root_v1 ↻ erp_put erp_num erp_put ↻ nsa_rigid_component_joint_ nsa_component_labels_v1 ↻ nx_quicksort nx_quicksort_recur nx_quicksort_partition nx_quicksort_recur ↻ nsa_landmark_y_v1 ngb_attach_source_v1 ↻ nsa_landmark_mesh_y_v1 nsa_triangle_y_v1 ngb_clip_gcd ngb_clip_product ngb_abs nsa_ratio_cmp nsa_unsigned_ratio_cmp fxc_create fsx_write_denied fsx_denied 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 nxa_dump_sizes

structs

none

consts

none

functions

2func erp_put(r:*i64,s:*u8)->i64{var n:i64=0;while s[n]!=0{n=n+1};if r[3]!=0||n>r[1]-r[2]{r[3]=1;return -1};let b:*u8=r[0] as *u8;var i:i64=0;while i<n{b[r[2]+i]=s[i];i=i+1};r[2]=r[2]+n;return n}
called by 2: erp_nummain
3func erp_num(r:*i64,x:i64)->i64{let b:*u8=r[4] as *u8;var v:i64=x;var p:i64=30;b[31]=0 as u8;if v<0{erp_put(r,"-");v=0-v};if v==0{b[p]=48 as u8;p=p-1};while v>0{b[p]=(48+v%10) as u8;v=v/10;p=p-1};return erp_put(r,((b as i64)+p+1) as *u8)}
called by 1: main calls 1: erp_put
7func main(argc:i64,argv:*i64)->i64