code wiki / (root) / nx_build_canon_input_lib.nx

nx_build_canon_input_lib.nx

buildroot/runtime/nx_build_canon_input_lib.nx

4731 B143 linesdepth 0pulls 0 transitivereach 25 importersview sourcekind librarytopic build
docsdependenciesstructsconstsfunctions

about

Pure build admission input validation. No allocation, I/O, or hardware writes. Callers own buffer lengths. Hash-row len is a byte count, not an end offset.

dependencies 0 imports · 21 importers

nx_build_canon_input_lib.nx nx_autofix_lib_t138.nx nx_build_canon_input_gate.nx nx_build_key_identity_lib.nx nx_clock_driver_gate_ar.nx nx_clock_reserved_fault_native_v2_ nx_clock_reserved_native_v2_ar.nx nx_compare_capture_integration_gat nx_compare_capture_real_gate_20260 nx_ioae_files_test_20260907.nx nx_ioae_files_v2_20260907.nx

diagram shows first 10 each side; +0 more imports, +11 more importers in the complete lists below.

imports: none

imported by: nx_autofix_lib_t138.nxnx_build_canon_input_gate.nxnx_build_key_identity_lib.nxnx_clock_driver_gate_ar.nxnx_clock_reserved_fault_native_v2_ar.nxnx_clock_reserved_native_v2_ar.nxnx_compare_capture_integration_gate.nxnx_compare_capture_real_gate_20260907.nxnx_ioae_files_test_20260907.nxnx_ioae_files_v2_20260907.nxnx_ioae_gate_test_20260907.nxnx_ioae_gate_v2_20260907.nxnx_ioconfirm_integration_gate.nxnx_rank_refresh_integration_gate.nxnx_rank_refresh_integration_gate_v2.nxnx_rank_refresh_integration_gate_v3.nxnx_sbr_admission_candidate.nxnx_sbr_admission_gate.nxnx_sbr_key_candidate.nxnx_sov_build_run.nxnx_sov_build_run_qualify_20260910.nx

structs

none

consts

3const BCI_INVALID: i64 = 0 - 1
4const BCI_SHA_HEX: i64 = 64
5const BCI_SPACE: i64 = 32
6const BCI_LF: i64 = 10
7const BCI_CR: i64 = 13
8const BCI_COMMENT: i64 = 35
9const BCI_FREEZE: i64 = 33
10const BCI_SLASH: i64 = 47
11const BCI_DOT: i64 = 46
12const BCI_DASH: i64 = 45
13const BCI_UNDERSCORE: i64 = 95
14const BCI_ZERO: i64 = 48
15const BCI_NINE: i64 = 57
16const BCI_LOWER_A: i64 = 97
17const BCI_LOWER_F: i64 = 102
18const BCI_LOWER_Z: i64 = 122
19const BCI_UPPER_A: i64 = 65
20const BCI_UPPER_Z: i64 = 90
21const BCI_DECIMAL_BASE: i64 = 10
22const BCI_I64_MAX: i64 = 9223372036854775807

functions

24func bci_resource_allowed(rc: i64) -> i64
called by 4: mainmainmainmain
29func bci_path_char(c: i64) -> i64
called by 1: bci_relative_path
41func bci_relative_path(buf: *u8, start: i64, len: i64, max_path_len: i64) -> i64
69func bci_conf_rows(buf: *u8, len: i64, max_path_len: i64) -> i64
99func bci_hash_row(buf: *u8, start: i64, len: i64) -> i64