code wiki / (root) / nx_compare_scope_lib.nx

nx_compare_scope_lib.nx

buildroot/runtime/nx_compare_scope_lib.nx

3275 B86 linesdepth 0pulls 0 transitivereach 5 importersview sourcekind librarytopic compare
docsdependenciesstructsconstsfunctions

about

Allocation-free validation for an explicitly selected Compare domain. No I/O or mutation. Byte lengths describe accessible caller-owned buffers.

dependencies 0 imports · 4 importers

nx_compare_scope_lib.nx nx_compare_regen.nx nx_compare_regen_scoped.nx nx_compare_regen_t138.nx nx_compare_scope_gate.nx

imports: none

imported by: nx_compare_regen.nxnx_compare_regen_scoped.nxnx_compare_regen_t138.nxnx_compare_scope_gate.nx

structs

none

consts

3const CSCOPE_INVALID: i64 = 0 - 1
4const CSCOPE_LF: i64 = 10
5const CSCOPE_CR: i64 = 13
6const CSCOPE_COMMENT: i64 = 35
7const CSCOPE_DASH: i64 = 45
8const CSCOPE_UNDERSCORE: i64 = 95
9const CSCOPE_ZERO: i64 = 48
10const CSCOPE_NINE: i64 = 57
11const CSCOPE_LOWER_A: i64 = 97
12const CSCOPE_LOWER_Z: i64 = 122

functions

14func cscope_name_char(c: i64) -> i64
25func cscope_validate_name(name: *u8, max_len: i64) -> i64
called by 4: mainmainmainmain calls 1: cscope_name_char
48func cscope_roster_count(roster: *u8, n: i64, name: *u8, name_len: i64) -> i64