FreeBSD/sys/contrib/dev/acpica/compiler/asloperands.c
/*******************************************************************************
 *
 * FUNCTION:    UtGetArg
 *
 * PARAMETERS:  Op              - Get an argument for this op
 *              Argn            - Nth argument to get
 *
 * RETURN:      The argument (as an Op object). NULL if argument does not exist
 *
 * DESCRIPTION: Get the specified op's argument (peer)
 *
 ******************************************************************************/
UtGetArg
PARAMETERS:  Op              - Get an argument for this op
Argn            - Nth argument to get

The argument (as an Op object). NULL if argument does not exist

Get the specified op's argument (peer)
UtGetArg PARAMETERS : Op - Get an argument for this op Argn - Nth argument to get The argument ( as an Op object ) . NULL if argument does not exist Get the specified op ' s argument ( peer )
ACPI_PARSE_OBJECT *
UtGetArg (
    ACPI_PARSE_OBJECT       *Op,
    UINT32                  Argn)
{
    ACPI_PARSE_OBJECT       *Arg = NULL;
    Arg = Op->Asl.Child;
    while (Arg && Argn)
    {
        Argn--;
        Arg = Arg->Asl.Next;
    }
    return (Arg);
}
ACPI_PARSE_OBJECT * UtGetArg ( ACPI_PARSE_OBJECT * Op , UINT32 Argn ) { ACPI_PARSE_OBJECT * Arg = NULL ; Arg = Op -> Asl . Child ; while ( Arg && Argn ) { Argn -- ; Arg = Arg -> Asl . Next ; } return ( Arg ) ; }
FUNCTION:    UtGetArg
 PARAMETERS:  Op              - Get an argument for this op
              Argn            - Nth argument to get
FUNCTION : UtGetArg PARAMETERS : Op - Get an argument for this op Argn - Nth argument to get
/* Get the requested argument object */