AmlInterp.in.put.data: def of bend-osdev-acpi@0.1.2.0 Import: import bend-osdev-acpi@0.1.2.0/aml_interp.bend as AmlInterp Lines 706-716 of bend-osdev-acpi@0.1.2.0/aml_interp.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&start_line=706&end_line=716 import Base import bend-osdev-acpi@0.1.2.0/error.bend as E import bend-osdev-acpi@0.1.2.0/aml_value.bend as V import bend-osdev-acpi@0.1.2.0/aml_ns.bend as S # a buffer put back where a buffer field found it def in.put.data(-H: Data, +w: AmlWorld, l: V.AmlLoc, v: V.AmlValue) -> Result<&2, &2, E.AcpiError, AmlWorld>: match l: case V.AmlLName{+p}: Done{in.with_ns(H, w, S.AmlNs.set(AmlWorld.ns(H, w), in.unalias(AmlWorld.ns(H, w), p), S.AmlOData{v}))} case V.AmlLLocal{i}: Done{in.set.local(H, w, i, v)} case V.AmlLArg{i}: Done{in.set.arg(H, w, i, v)} case _: Fail{E.AcpiAmlUnsupported{"a buffer field of an element"}} Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&name=AmlWorld https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&name=AmlWorld.ns https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&name=in.set.arg https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&name=in.set.local https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&name=in.unalias https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&name=in.with_ns https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_ns.bend&name=AmlNs.set https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_ns.bend&name=AmlObject https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_value.bend&name=AmlLoc https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_value.bend&name=AmlValue https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/error.bend&name=AcpiError