Lines Matching defs:Package

59     const ACPI_PREDEFINED_INFO  *Package,
101 const ACPI_PREDEFINED_INFO *Package;
114 Package = Info->Predefined + 1;
117 "%s Validating return Package of Type %X, Count %X\n",
118 Info->FullPathname, Package->RetInfo.Type,
119 ReturnObject->Package.Count));
125 AcpiNsRemoveNullElements (Info, Package->RetInfo.Type, ReturnObject);
129 Elements = ReturnObject->Package.Elements;
130 Count = ReturnObject->Package.Count;
138 if (Package->RetInfo.Type == ACPI_PTYPE1_VAR)
144 "Return Package has no elements (empty)"));
155 switch (Package->RetInfo.Type)
169 ExpectedCount = Package->RetInfo.Count1 + Package->RetInfo.Count2;
177 "%s: Return Package is larger than needed - "
185 Package->RetInfo.ObjectType1, Package->RetInfo.Count1,
186 Package->RetInfo.ObjectType2, Package->RetInfo.Count2, 0);
197 Package->RetInfo.ObjectType1, i);
215 ExpectedCount = Package->RetInfo3.Count;
225 if (i < Package->RetInfo3.Count)
230 Package->RetInfo3.ObjectType[i], i);
241 Package->RetInfo3.TailObjectType, i);
268 Status = AcpiNsCheckPackageList (Info, Package, Elements, Count);
297 Status = AcpiNsCheckPackageList (Info, Package, Elements, Count);
306 * These types all return a single Package that consists of a
311 * package instead of a Package of Packages (a common error if
313 * wrapping the returned Package with a new outer Package.
329 Elements = ReturnObject->Package.Elements;
335 Status = AcpiNsCheckPackageList (Info, Package, Elements, Count);
358 Package->RetInfo.ObjectType1, 0);
374 Package->RetInfo.ObjectType2, 0);
391 Package->RetInfo.Type));
404 "Return Package is too small - found %u elements, expected %u",
416 * Package - Pointer to package-specific info for method
418 * of this list should be of type Package.
430 const ACPI_PREDEFINED_INFO *Package,
443 * Validate each subpackage in the parent Package
452 SubElements = SubPackage->Package.Elements;
455 /* Each sub-object must be of type Package */
467 switch (Package->RetInfo.Type)
475 ExpectedCount = Package->RetInfo.Count1 + Package->RetInfo.Count2;
476 if (SubPackage->Package.Count < ExpectedCount)
482 Package->RetInfo.ObjectType1,
483 Package->RetInfo.Count1,
484 Package->RetInfo.ObjectType2,
485 Package->RetInfo.Count2, 0);
497 ExpectedCount = Package->RetInfo.Count1 + Package->RetInfo.Count2;
498 if (SubPackage->Package.Count < ExpectedCount)
504 Package->RetInfo.ObjectType1,
505 Package->RetInfo.Count1,
506 Package->RetInfo.ObjectType2,
507 SubPackage->Package.Count - Package->RetInfo.Count1, 0);
524 ExpectedCount = Package->RetInfo2.Count;
525 if (SubPackage->Package.Count < ExpectedCount)
535 Package->RetInfo2.ObjectType[j], j);
547 ExpectedCount = Package->RetInfo.Count1;
548 if (SubPackage->Package.Count < ExpectedCount)
556 Package->RetInfo.ObjectType1,
557 SubPackage->Package.Count, 0, 0, 0);
581 if (SubPackage->Package.Count < ExpectedCount)
586 if (SubPackage->Package.Count < Package->RetInfo.Count1)
588 ExpectedCount = Package->RetInfo.Count1;
600 ExpectedCount = SubPackage->Package.Count;
607 Package->RetInfo.ObjectType1,
632 i, SubPackage->Package.Count, ExpectedCount));
675 "Return Package has invalid object type for version number"));
690 "Return Package is too small - found %u elements, expected %u",
697 "%s: Return Package is larger than needed - "