Lines Matching refs:Scope
142 return (ParserState->Scope->ParseScope.Op);
166 ((ParserState->Aml >= ParserState->Scope->ParseScope.ArgEnd ||
167 !ParserState->Scope->ParseScope.ArgCount)));
189 ACPI_GENERIC_STATE *Scope;
195 Scope = AcpiUtCreateGenericState ();
196 if (!Scope)
201 Scope->Common.DescriptorType = ACPI_DESC_TYPE_STATE_RPSCOPE;
202 Scope->ParseScope.Op = RootOp;
203 Scope->ParseScope.ArgCount = ACPI_VAR_ARGS;
204 Scope->ParseScope.ArgEnd = ParserState->AmlEnd;
205 Scope->ParseScope.PkgEnd = ParserState->AmlEnd;
207 ParserState->Scope = Scope;
236 ACPI_GENERIC_STATE *Scope;
242 Scope = AcpiUtCreateGenericState ();
243 if (!Scope)
248 Scope->Common.DescriptorType = ACPI_DESC_TYPE_STATE_PSCOPE;
249 Scope->ParseScope.Op = Op;
250 Scope->ParseScope.ArgList = RemainingArgs;
251 Scope->ParseScope.ArgCount = ArgCount;
252 Scope->ParseScope.PkgEnd = ParserState->PkgEnd;
256 AcpiUtPushGenericState (&ParserState->Scope, Scope);
262 Scope->ParseScope.ArgEnd = ParserState->PkgEnd;
268 Scope->ParseScope.ArgEnd = ACPI_TO_POINTER (ACPI_MAX_PTR);
298 ACPI_GENERIC_STATE *Scope = ParserState->Scope;
306 if (Scope->Common.Next)
308 Scope = AcpiUtPopGenericState (&ParserState->Scope);
312 *Op = Scope->ParseScope.Op;
313 *ArgList = Scope->ParseScope.ArgList;
314 *ArgCount = Scope->ParseScope.ArgCount;
315 ParserState->PkgEnd = Scope->ParseScope.PkgEnd;
319 AcpiUtDeleteGenericState (Scope);
353 ACPI_GENERIC_STATE *Scope;
366 while (ParserState->Scope)
368 Scope = AcpiUtPopGenericState (&ParserState->Scope);
369 AcpiUtDeleteGenericState (Scope);