deps/acpica/source/common/dmrestag.c
/*******************************************************************************
 *
 * FUNCTION:    AcpiDmSearchTagList
 *
 * PARAMETERS:  BitIndex            - Index into the resource descriptor
 *              TagList             - List to search
 *
 * RETURN:      Pointer to a tag (ACPI_NAME). NULL if no match found.
 *
 * DESCRIPTION: Search a tag list for a match to the input BitIndex. Matches
 *              a fixed offset to a symbolic resource tag name.
 *
 ******************************************************************************/
AcpiDmSearchTagList
PARAMETERS:  BitIndex            - Index into the resource descriptor
TagList             - List to search

Pointer to a tag (ACPI_NAME). NULL if no match found.

Search a tag list for a match to the input BitIndex. Matches
a fixed offset to a symbolic resource tag name.
AcpiDmSearchTagList PARAMETERS : BitIndex - Index into the resource descriptor TagList - List to search Pointer to a tag ( ACPI_NAME ) . NULL if no match found . Search a tag list for a match to the input BitIndex . Matches a fixed offset to a symbolic resource tag name .
static char *
AcpiDmSearchTagList (
    UINT32                  BitIndex,
    const ACPI_RESOURCE_TAG *TagList)
{
    for ( ; TagList->Tag; TagList++)
    {
        if (BitIndex == TagList->BitIndex)
        {
            return (TagList->Tag);
        }
    }
    return (NULL);
}
static char * AcpiDmSearchTagList ( UINT32 BitIndex , const ACPI_RESOURCE_TAG * TagList ) { for ( ; TagList -> Tag ; TagList ++ ) { if ( BitIndex == TagList -> BitIndex ) { return ( TagList -> Tag ) ; } } return ( NULL ) ; }
FUNCTION:    AcpiDmSearchTagList
 PARAMETERS:  BitIndex            - Index into the resource descriptor
              TagList             - List to search
FUNCTION : AcpiDmSearchTagList PARAMETERS : BitIndex - Index into the resource descriptor TagList - List to search
/*
     * Walk the null-terminated tag list to find a matching bit offset.
     * We are looking for an exact match.
     */ /* A matching offset was not found */