def AmlName.segs_ok

bend-osdev-acpi@0.1.1.0 · aml_name.bend:136

import bend-osdev-acpi@0.1.1.0/aml_name.bend as AmlName
import Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B

136def AmlName.segs_ok(ss: List<&2, B.Octets>) -> Bool:
137  match ss:
138    case Nil{}:
139      True{}
140    case Con{s, t}:
141      Bool.and(AmlName.seg_ok(s), AmlName.segs_ok(t))

Uses (5)

Used by (8)