Home
last modified time | relevance | path

Searched refs:Count (Results 1 – 25 of 92) sorted by relevance

1234

/acpica-3.6.0/source/compiler/
Daslprepkg.c178 UINT32 Count);
184 UINT32 Count,
196 UINT32 Count,
229 UINT32 Count; in ApCheckPackage() local
240 Count = (UINT32) Op->Asl.Value.Integer; in ApCheckPackage()
249 if (!Count) in ApCheckPackage()
297 if (Count < ExpectedCount) in ApCheckPackage()
301 else if (Count > ExpectedCount) in ApCheckPackage()
304 Count, ExpectedCount); in ApCheckPackage()
319 for (i = 0; i < Count; i++) in ApCheckPackage()
[all …]
Ddtfield.c181 UINT32 *Count);
317 UINT32 Count; in DtCompileUnicode() local
325 Count = strlen (AsciiString) + 1; in DtCompileUnicode()
329 for (i = 0; i < Count; i++) in DtCompileUnicode()
495 UINT32 *Count) in DtNormalizeBuffer() argument
541 *Count = BufferCount + 1; in DtNormalizeBuffer()
571 UINT32 Count; in DtCompileBuffer() local
577 StringValue = DtNormalizeBuffer (StringValue, &Count); in DtCompileBuffer()
579 if (Count != ByteLength) in DtCompileBuffer()
583 Count, ByteLength); in DtCompileBuffer()
[all …]
Daslprune.c180 UINT16 Count; member
207 PruneObj.Count = 0; in AslPruneParseTree()
236 AcpiOsPrintf ("\n%u Total Objects Removed\n", PruneObj.Count); in AslPruneParseTree()
315 PruneObj->Count++; in PrTreePruneWalk()
323 PruneObj->Count++; in PrTreePruneWalk()
340 PruneObj->Count++; in PrTreePruneWalk()
Daslpredef.c843 UINT32 Count; in ApDisplayReservedNames() local
852 Count = 0; in ApDisplayReservedNames()
857 Count++; in ApDisplayReservedNames()
861 printf ("%u Predefined Names are recognized\n", Count); in ApDisplayReservedNames()
868 Count = 0; in ApDisplayReservedNames()
879 Count++; in ApDisplayReservedNames()
883 printf ("%u Resource Descriptor Field Names are recognized\n", Count); in ApDisplayReservedNames()
/acpica-3.6.0/source/components/namespace/
Dnsprepkg.c169 UINT32 Count);
185 UINT32 Count);
213 UINT32 Count; in AcpiNsCheckPackage() local
227 ReturnObject->Package.Count)); in AcpiNsCheckPackage()
238 Count = ReturnObject->Package.Count; in AcpiNsCheckPackage()
244 if (!Count) in AcpiNsCheckPackage()
267 Status = AcpiNsCustomPackage (Info, Elements, Count); in AcpiNsCheckPackage()
278 if (Count < ExpectedCount) in AcpiNsCheckPackage()
282 else if (Count > ExpectedCount) in AcpiNsCheckPackage()
287 Info->FullPathname, Count, ExpectedCount)); in AcpiNsCheckPackage()
[all …]
Dnsrepair2.c247 UINT32 Count,
551 for (i = 0; i < ReturnObject->Package.Count; i++) in AcpiNsRepair_CID()
615 OuterElementCount = ReturnObject->Package.Count - 1; in AcpiNsRepair_CST()
622 if ((*OuterElements)->Package.Count == 0) in AcpiNsRepair_CST()
795 ElementCount = PackageObject->Package.Count; in AcpiNsRepair_PRT()
806 if (SubPackage->Package.Count < 4) in AcpiNsRepair_PRT()
886 OuterElementCount = ReturnObject->Package.Count; in AcpiNsRepair_PSS()
1009 OuterElementCount = ReturnObject->Package.Count; in AcpiNsCheckSortedList()
1037 if ((*OuterElements)->Package.Count < ExpectedCount) in AcpiNsCheckSortedList()
1099 UINT32 Count, in AcpiNsSortList() argument
[all …]
Dnsrepair.c611 UINT32 Count; in AcpiNsRemoveNullElements() local
643 Count = ObjDesc->Package.Count; in AcpiNsRemoveNullElements()
644 NewCount = Count; in AcpiNsRemoveNullElements()
651 for (i = 0; i < Count; i++) in AcpiNsRemoveNullElements()
668 if (NewCount < Count) in AcpiNsRemoveNullElements()
672 Info->FullPathname, (Count - NewCount))); in AcpiNsRemoveNullElements()
677 ObjDesc->Package.Count = NewCount; in AcpiNsRemoveNullElements()
Dnsconvert.c349 UINT32 Count; in AcpiNsConvertToBuffer() local
395 Count = OriginalObject->Package.Count; in AcpiNsConvertToBuffer()
397 for (i = 0; i < Count; i++) in AcpiNsConvertToBuffer()
409 NewObject = AcpiUtCreateBufferObject (ACPI_MUL_4 (Count)); in AcpiNsConvertToBuffer()
420 for (i = 0; i < Count; i++) in AcpiNsConvertToBuffer()
/acpica-3.6.0/source/components/utilities/
Dutclib.c223 ACPI_SIZE Count) in memcmp() argument
229 for ( ; Count-- && (*Buffer1 == *Buffer2); Buffer1++, Buffer2++) in memcmp()
233 return ((Count == ACPI_SIZE_MAX) ? 0 : ((unsigned char) *Buffer1 - in memcmp()
256 ACPI_SIZE Count) in memmove() argument
266 while (Count) in memmove()
271 Count--; in memmove()
278 New = New + Count - 1; in memmove()
279 Old = Old + Count - 1; in memmove()
280 while (Count) in memmove()
285 Count--; in memmove()
[all …]
Dutbuffer.c181 UINT32 Count, in AcpiUtDumpBuffer() argument
199 if ((Count < 4) || (Count & 0x01)) in AcpiUtDumpBuffer()
206 while (i < Count) in AcpiUtDumpBuffer()
219 if (i + j >= Count) in AcpiUtDumpBuffer()
270 if (i + j >= Count) in AcpiUtDumpBuffer()
329 UINT32 Count, in AcpiUtDebugDumpBuffer() argument
342 AcpiUtDumpBuffer (Buffer, Count, Display, 0); in AcpiUtDebugDumpBuffer()
371 UINT32 Count, in AcpiUtDumpBufferToFile() argument
387 if ((Count < 4) || (Count & 0x01)) in AcpiUtDumpBufferToFile()
394 while (i < Count) in AcpiUtDumpBufferToFile()
[all …]
Dutids.c373 UINT32 Count; in AcpiUtExecute_CID() local
398 Count = ObjDesc->Package.Count; in AcpiUtExecute_CID()
403 Count = 1; in AcpiUtExecute_CID()
408 for (i = 0; i < Count; i++) in AcpiUtExecute_CID()
438 (Count * sizeof (ACPI_PNP_DEVICE_ID)) + in AcpiUtExecute_CID()
451 ((ACPI_SIZE) Count * sizeof (ACPI_PNP_DEVICE_ID)); in AcpiUtExecute_CID()
455 for (i = 0; i < Count; i++) in AcpiUtExecute_CID()
480 CidList->Count = Count; in AcpiUtExecute_CID()
520 UINT32 Count; in AcpiUtExecute_CLS() local
541 Count = ObjDesc->Package.Count; in AcpiUtExecute_CLS()
[all …]
Dutmath.c249 UINT32 Count, in AcpiUtShortShiftLeft() argument
260 if ((Count & 63) >= 32) in AcpiUtShortShiftLeft()
264 Count = (Count & 63) - 32; in AcpiUtShortShiftLeft()
267 OperandOvl.Part.Lo, Count); in AcpiUtShortShiftLeft()
294 UINT32 Count, in AcpiUtShortShiftRight() argument
305 if ((Count & 63) >= 32) in AcpiUtShortShiftRight()
309 Count = (Count & 63) - 32; in AcpiUtShortShiftRight()
312 OperandOvl.Part.Lo, Count); in AcpiUtShortShiftRight()
368 UINT32 Count, in AcpiUtShortShiftLeft() argument
379 *OutResult = Operand << Count; in AcpiUtShortShiftLeft()
[all …]
Dutcopy.c409 TargetObject->Package.Count = SourceObject->Package.Count; in AcpiUtCopyIelementToEelement()
423 (ACPI_SIZE) TargetObject->Package.Count * in AcpiUtCopyIelementToEelement()
486 ExternalObject->Package.Count = InternalObject->Package.Count; in AcpiUtCopyIpackageToEpackage()
494 Info.Length += (ACPI_SIZE) ExternalObject->Package.Count * in AcpiUtCopyIpackageToEpackage()
496 Info.FreeSpace += ExternalObject->Package.Count * in AcpiUtCopyIpackageToEpackage()
727 ExternalObject->Package.Count); in AcpiUtCopyEpackageToIpackage()
739 for (i = 0; i < ExternalObject->Package.Count; i++) in AcpiUtCopyEpackageToIpackage()
748 PackageObject->Package.Count = i; in AcpiUtCopyEpackageToIpackage()
1040 SourceObject->Package.Count); in AcpiUtCopyIelementToIelement()
1099 DestObj->Package.Count = SourceObj->Package.Count; in AcpiUtCopyIpackageToIpackage()
[all …]
Dutobject.c283 UINT32 Count) in AcpiUtCreatePackageObject() argument
289 ACPI_FUNCTION_TRACE_U32 (UtCreatePackageObject, Count); in AcpiUtCreatePackageObject()
305 ((ACPI_SIZE) Count + 1) * sizeof (void *)); in AcpiUtCreatePackageObject()
312 PackageDesc->Package.Count = Count; in AcpiUtCreatePackageObject()
/acpica-3.6.0/source/include/
Dacclib.h242 ACPI_SIZE Count);
248 ACPI_SIZE Count);
254 ACPI_SIZE Count);
277 ACPI_SIZE Count);
283 ACPI_SIZE Count);
289 ACPI_SIZE Count);
295 ACPI_SIZE Count);
395 ACPI_SIZE Count,
402 ACPI_SIZE Count,
/acpica-3.6.0/source/components/resources/
Drsdump.c249 UINT32 Count = 0; in AcpiRsDumpResourceList() local
267 AcpiOsPrintf ("\n[%02X] ", Count); in AcpiRsDumpResourceList()
268 Count++; in AcpiRsDumpResourceList()
336 UINT8 Count; in AcpiRsDumpIrqList() local
353 for (Count = 0; PrtElement->Length; Count++) in AcpiRsDumpIrqList()
355 AcpiOsPrintf ("\n[%02X] PCI IRQ Routing Table Package\n", Count); in AcpiRsDumpIrqList()
385 UINT8 Count; in AcpiRsDumpDescriptor() local
390 Count = Table->Offset; in AcpiRsDumpDescriptor()
392 while (Count) in AcpiRsDumpDescriptor()
573 Count--; in AcpiRsDumpDescriptor()
Drsmisc.c194 UINT8 Count; in AcpiRsConvertAmlToResource() local
225 Count = INIT_TABLE_LENGTH (Info); in AcpiRsConvertAmlToResource()
226 while (Count) in AcpiRsConvertAmlToResource()
557 Count--; in AcpiRsConvertAmlToResource()
598 UINT8 Count; in AcpiRsConvertResourceToAml() local
615 Count = INIT_TABLE_LENGTH (Info); in AcpiRsConvertResourceToAml()
617 while (Count) in AcpiRsConvertResourceToAml()
892 Count--; in AcpiRsConvertResourceToAml()
/acpica-3.6.0/source/components/debugger/
Ddbmethod.c589 ParamObjects.Count = 0; in AcpiDbEvaluateObject()
602 ParamObjects.Count = ObjInfo->ParamCount; in AcpiDbEvaluateObject()
682 Info->Count++; in AcpiDbWalkForExecute()
683 if (Info->Count >= Info->MaxCount) in AcpiDbWalkForExecute()
737 Info->Count++; in AcpiDbWalkForExecuteAll()
762 Info.Count = 0; in AcpiDbEvaluatePredefinedNames()
770 AcpiOsPrintf ("Evaluated %u predefined names in the namespace\n", Info.Count); in AcpiDbEvaluatePredefinedNames()
795 Info.Count = 0; in AcpiDbEvaluateAll()
805 AcpiOsPrintf ("Evaluated %u names in the namespace\n", Info.Count); in AcpiDbEvaluateAll()
Ddbnames.c526 Info.Count = 0; in AcpiDbWalkAndMatchName()
608 UINT32 *Count = (UINT32 *) Context; in AcpiDbWalkForPredefinedNames() local
655 (*Count)++; in AcpiDbWalkForPredefinedNames()
676 UINT32 Count = 0; in AcpiDbCheckPredefinedNames() local
683 NULL, (void *) &Count, NULL); in AcpiDbCheckPredefinedNames()
685 AcpiOsPrintf ("Found %u predefined names in the namespace\n", Count); in AcpiDbCheckPredefinedNames()
761 Info->Count++; in AcpiDbWalkForFields()
834 Info->Count++; in AcpiDbWalkForSpecificObjects()
929 Info.Count = 0; in AcpiDbDisplayObjects()
941 Info.Count, AcpiUtGetTypeName (Type)); in AcpiDbDisplayObjects()
[all …]
Ddbtest.c933 AcpiOsPrintf (" %.2X Elements", Temp1->Package.Count); in AcpiDbTestPackageType()
1040 ParamObjects.Count = 1; in AcpiDbReadFromObject()
1130 ParamObjects.Count = 2; in AcpiDbWriteToObject()
1167 Info.Count = 0; in AcpiDbEvaluateAllPredefinedNames()
1182 "Evaluated %u predefined names in the namespace\n", Info.Count); in AcpiDbEvaluateAllPredefinedNames()
1250 ParamObjects.Count = 0; in AcpiDbEvaluateOnePredefinedName()
1295 ThisParam->Package.Count = 0; in AcpiDbEvaluateOnePredefinedName()
1308 ParamObjects.Count = ArgCount; in AcpiDbEvaluateOnePredefinedName()
1333 Info->Count++; in AcpiDbEvaluateOnePredefinedName()
1334 if (Info->Count >= Info->MaxCount) in AcpiDbEvaluateOnePredefinedName()
/acpica-3.6.0/source/os_specific/efi/
Doseficlib.c245 INTN Count, i; in fopen() local
307 Count = strlen (Path); in fopen()
308 Path16 = ACPI_ALLOCATE_ZEROED ((Count + 1) * sizeof (CHAR16)); in fopen()
320 Count--; in fopen()
322 for (i = 0; i < Count; i++) in fopen()
541 ACPI_SIZE Count, in fread() argument
559 ReadSize = Size * Count; in fread()
715 ACPI_SIZE Count, in fwrite() argument
740 for (j = 0; j < Count; j++) in fwrite()
766 WriteSize = Size * Count; in fwrite()
[all …]
/acpica-3.6.0/source/tools/acpiexec/
Daeexec.c183 ArgList.Count = 1; in AeSetupConfiguration()
315 Params.Count = 1; in AeTestBufferArgument()
343 PkgArg.Package.Count = 4; in AeTestPackageArgument()
360 PkgElements[3].Package.Count = 2; in AeTestPackageArgument()
374 Params.Count = 1; in AeTestPackageArgument()
428 ArgList.Count = 1; in ExecuteOSI()
/acpica-3.6.0/source/components/executer/
Dexutils.c533 UINT32 Count; in AcpiExIntegerToString() local
544 for (Count = DigitsNeeded; Count > 0; Count--) in AcpiExIntegerToString()
547 OutString[Count-1] = (char) ('0' + Remainder);\ in AcpiExIntegerToString()
Dexconvrt.c196 UINT32 Count; in AcpiExConvertToInteger() local
217 Count = ObjDesc->Buffer.Length; in AcpiExConvertToInteger()
264 if (!Count) in AcpiExConvertToInteger()
271 if (Count > AcpiGbl_IntegerByteWidth) in AcpiExConvertToInteger()
273 Count = AcpiGbl_IntegerByteWidth; in AcpiExConvertToInteger()
280 for (i = 0; i < Count; i++) in AcpiExConvertToInteger()
/acpica-3.6.0/source/common/
Dacfileio.c389 INT32 Count; in AcGetOneTableFromFile() local
418 Count = fread (&TableHeader, 1, HeaderLength, File); in AcGetOneTableFromFile()
419 if (Count != (INT32) HeaderLength) in AcGetOneTableFromFile()
466 Count = fread (Table, 1, TableLength, File); in AcGetOneTableFromFile()
472 if (GetOnlyAmlTables && Count != (INT32) TableLength) in AcGetOneTableFromFile()

1234