Home | History | Annotate | Download | only in namespace

Lines Matching defs:Count

169     UINT32                      Count);
185 UINT32 Count);
198 * DESCRIPTION: Check a returned package object for the correct count and
213 UINT32 Count;
225 "%s Validating return Package of Type %X, Count %X\n",
227 ReturnObject->Package.Count));
235 /* Extract package count and elements array */
238 Count = ReturnObject->Package.Count;
244 if (!Count)
267 Status = AcpiNsCustomPackage (Info, Elements, Count);
272 * The package count is fixed and there are no subpackages
278 if (Count < ExpectedCount)
282 else if (Count > ExpectedCount)
287 Info->FullPathname, Count, ExpectedCount));
299 * The package count is variable, there are no subpackages, and all
302 for (i = 0; i < Count; i++)
317 * The package count is variable, there are no subpackages. There are
323 ExpectedCount = Package->RetInfo3.Count;
324 if (Count < ExpectedCount)
331 for (i = 0; i < Count; i++)
333 if (i < Package->RetInfo3.Count)
372 Count--;
376 Status = AcpiNsCheckPackageList (Info, Package, Elements, Count);
381 /* First element is the (Integer) count of subpackages to follow */
391 * Count cannot be larger than the parent package length, but allow it
395 if (ExpectedCount >= Count)
400 Count = ExpectedCount;
405 Status = AcpiNsCheckPackageList (Info, Package, Elements, Count);
438 Count = 1;
443 Status = AcpiNsCheckPackageList (Info, Package, Elements, Count);
457 if (Count & 1)
459 ExpectedCount = Count + 1;
463 while (Count > 0)
489 Count -= 2;
509 /* Error exit for the case with an incorrect package count */
513 Count, ExpectedCount));
527 * Count - Count of subpackages
540 UINT32 Count)
557 for (i = 0; i < Count; i++)
584 if (SubPackage->Package.Count < ExpectedCount)
606 if (SubPackage->Package.Count < ExpectedCount)
615 SubPackage->Package.Count - Package->RetInfo.Count1, 0);
632 ExpectedCount = Package->RetInfo2.Count;
633 if (SubPackage->Package.Count < ExpectedCount)
656 if (SubPackage->Package.Count < ExpectedCount)
665 SubPackage->Package.Count, 0, 0, 0);
674 * First element is the (Integer) count of elements, including
675 * the count field (the ACPI name is NumElements)
685 * Make sure package is large enough for the Count and is
689 if (SubPackage->Package.Count < ExpectedCount)
694 if (SubPackage->Package.Count < Package->RetInfo.Count1)
708 ExpectedCount = SubPackage->Package.Count;
738 /* The subpackage count was smaller than required */
742 i, SubPackage->Package.Count, ExpectedCount));
754 * Count - Element count for the package
758 * DESCRIPTION: Check a returned package object for the correct count and
770 UINT32 Count)
797 if (Count < ExpectedCount)
801 Count, ExpectedCount));
804 else if (Count > ExpectedCount)
809 Info->FullPathname, Count, ExpectedCount));
841 * Count1 - Count for first group
843 * Count2 - Count for second group
873 * The second group can have a count of zero.