FreeBSD/sys/contrib/dev/acpica/components/utilities/utresrc.c
/*******************************************************************************
 *
 * FUNCTION:    AcpiUtGetDescriptorLength
 *
 * PARAMETERS:  Aml             - Pointer to the raw AML resource descriptor
 *
 * RETURN:      Byte length
 *
 * DESCRIPTION: Get the total byte length of a raw AML descriptor, including the
 *              length of the descriptor header and the length field itself.
 *              Used to walk descriptor lists.
 *
 ******************************************************************************/
AcpiUtGetDescriptorLength
PARAMETERS:  Aml             - Pointer to the raw AML resource descriptor

Byte length

Get the total byte length of a raw AML descriptor, including the
length of the descriptor header and the length field itself.
Used to walk descriptor lists.
AcpiUtGetDescriptorLength PARAMETERS : Aml - Pointer to the raw AML resource descriptor Byte length Get the total byte length of a raw AML descriptor including the length of the descriptor header and the length field itself . Used to walk descriptor lists .
UINT32
AcpiUtGetDescriptorLength (
    void                    *Aml)
{
    ACPI_FUNCTION_ENTRY ();
    return (AcpiUtGetResourceLength (Aml) +
        AcpiUtGetResourceHeaderLength (Aml));
}
UINT32 AcpiUtGetDescriptorLength ( void * Aml ) { ACPI_FUNCTION_ENTRY ( ) ; return ( AcpiUtGetResourceLength ( Aml ) + AcpiUtGetResourceHeaderLength ( Aml ) ) ; }
FUNCTION:    AcpiUtGetDescriptorLength
 PARAMETERS:  Aml             - Pointer to the raw AML resource descriptor
FUNCTION : AcpiUtGetDescriptorLength PARAMETERS : Aml - Pointer to the raw AML resource descriptor
/*
     * Get the Resource Length (does not include header length) and add
     * the header length (depends on if this is a small or large resource)
     */