Lines Matching defs:Scope
69 return (ParserState->Scope->ParseScope.Op);
93 ((ParserState->Aml >= ParserState->Scope->ParseScope.ArgEnd ||
94 !ParserState->Scope->ParseScope.ArgCount)));
116 ACPI_GENERIC_STATE *Scope;
122 Scope = AcpiUtCreateGenericState ();
123 if (!Scope)
128 Scope->Common.DescriptorType = ACPI_DESC_TYPE_STATE_RPSCOPE;
129 Scope->ParseScope.Op = RootOp;
130 Scope->ParseScope.ArgCount = ACPI_VAR_ARGS;
131 Scope->ParseScope.ArgEnd = ParserState->AmlEnd;
132 Scope->ParseScope.PkgEnd = ParserState->AmlEnd;
134 ParserState->Scope = Scope;
163 ACPI_GENERIC_STATE *Scope;
169 Scope = AcpiUtCreateGenericState ();
170 if (!Scope)
175 Scope->Common.DescriptorType = ACPI_DESC_TYPE_STATE_PSCOPE;
176 Scope->ParseScope.Op = Op;
177 Scope->ParseScope.ArgList = RemainingArgs;
178 Scope->ParseScope.ArgCount = ArgCount;
179 Scope->ParseScope.PkgEnd = ParserState->PkgEnd;
183 AcpiUtPushGenericState (&ParserState->Scope, Scope);
189 Scope->ParseScope.ArgEnd = ParserState->PkgEnd;
195 Scope->ParseScope.ArgEnd = ACPI_TO_POINTER (ACPI_MAX_PTR);
225 ACPI_GENERIC_STATE *Scope = ParserState->Scope;
233 if (Scope->Common.Next)
235 Scope = AcpiUtPopGenericState (&ParserState->Scope);
239 *Op = Scope->ParseScope.Op;
240 *ArgList = Scope->ParseScope.ArgList;
241 *ArgCount = Scope->ParseScope.ArgCount;
242 ParserState->PkgEnd = Scope->ParseScope.PkgEnd;
246 AcpiUtDeleteGenericState (Scope);
280 ACPI_GENERIC_STATE *Scope;
293 while (ParserState->Scope)
295 Scope = AcpiUtPopGenericState (&ParserState->Scope);
296 AcpiUtDeleteGenericState (Scope);