| /src/sys/external/bsd/gnu-efi/dist/lib/ |
| error.c | 75 UINTN Index; 77 for (Index = 0; ErrorCodeTable[Index].Desc; Index +=1) { 78 if (ErrorCodeTable[Index].Code == Status) { 79 StrCpy (Buffer, ErrorCodeTable[Index].Desc);
|
| event.c | 86 UINTN Index; 110 Status = uefi_call_wrapper(BS->WaitForEvent, 3, 2, WaitList, &Index); 117 if (!EFI_ERROR(Status) && Index == 1) { 128 Status = uefi_call_wrapper(BS->WaitForEvent, 3, 1, &Event, &Index); 130 ASSERT (Index == 0);
|
| smbios.c | 41 UINT16 Index; 50 for (Index = 0; Index < SmbiosTable->TableLength ; Index++) { 104 UINT16 Index; 115 for (Index = 1; Index <= StringNumber; Index++) { 116 if (StringNumber == Index) {
|
| guid.c | 151 UINTN Index; 157 for (Index=0; KnownGuids[Index].Guid; Index++) { 158 if (CompareGuid(Guid, KnownGuids[Index].Guid) == 0) { 159 UnicodeSPrint (Buffer, 0, KnownGuids[Index].GuidName);
|
| init.c | 119 UINTN Index, Position, Length; 136 for (Index=0; Index < NoHandles; Index++) { 137 Status = uefi_call_wrapper(BS->HandleProtocol, 3, Handles[Index], &UnicodeCollationProtocol, (VOID*)&Ui);
|
| /src/sys/external/bsd/acpica/dist/utilities/ |
| uthex.c | 78 UINT64 Index; 80 AcpiUtShortShiftRight (Integer, Position, &Index); 81 return (AcpiGbl_HexToAscii[Index & 0xF]);
|
| utownerid.c | 99 * allocations. (ACPI_NUM_OWNERID_MASKS + 1) because first index 129 * Found a free ID. The actual ID is the bit index plus one, 139 * Construct encoded ID from the index and bit position 195 UINT32 Index; 226 /* Decode ID to index/offset pair */ 228 Index = ACPI_DIV_32 (OwnerId); 233 if (AcpiGbl_OwnerIdMask[Index] & Bit) 235 AcpiGbl_OwnerIdMask[Index] ^= Bit;
|
| /src/sys/external/bsd/acpica/dist/executer/ |
| exoparg3.c | 168 UINT64 Index; 178 case AML_MID_OP: /* Mid (Source[0], Index[1], Length[2], Result[3]) */ 193 Index = Operand[1]->Integer.Value; 197 * If the index is beyond the length of the String/Buffer, or if the 200 if (Index >= Operand[0]->String.Length) 207 else if ((Index + Length) > Operand[0]->String.Length) 210 (ACPI_SIZE) Operand[0]->String.Length - (ACPI_SIZE) Index; 257 Operand[0]->String.Pointer + Index, Length);
|
| exoparg6.c | 227 UINT64 Index; 255 Index = Operand[5]->Integer.Value; 256 if (Index >= Operand[0]->Package.Count) 259 "Index (0x%8.8X%8.8X) beyond package end (0x%X)", 260 ACPI_FORMAT_UINT64 (Index), Operand[0]->Package.Count)); 287 for ( ; Index < Operand[0]->Package.Count; Index++) 291 ThisElement = Operand[0]->Package.Elements[Index]; 317 /* Match found: Index is the return value */ 319 ReturnDesc->Integer.Value = Index; [all...] |
| exnames.c | 185 UINT32 Index; 204 for (Index = 0; 205 (Index < ACPI_NAMESEG_SIZE) && (AcpiUtValidNameChar (*AmlAddress, 0)); 206 Index++) 208 CharBuf[Index] = *AmlAddress++; 214 if (Index == 4) 232 else if (Index == 0)
|
| exoparg2.c | 284 UINT64 Index; 387 case AML_INDEX_OP: /* Index (Source Index Result) */ 398 /* Initialize the Index reference object */ 400 Index = Operand[1]->Integer.Value; 401 ReturnDesc->Reference.Value = (UINT32) Index; 406 * Verify that the index is within range. 412 if (Index >= Operand[0]->String.Length) 420 &(Operand[0]->Buffer.Pointer [Index]); 425 if (Index >= Operand[0]->Buffer.Length [all...] |
| /src/sys/external/bsd/acpica/dist/compiler/ |
| asllistsup.c | 372 UINT32 Index = 16; 455 FlPrintFile (FileId, "\n%*s{\n", Index, " "); 457 Index += 4; 469 Index -= 4; 470 FlPrintFile (FileId, "%*s}\n", Index, " "); 484 FlPrintFile (FileId, "%*s", Index, " ");
|
| aslmessages.c | 346 UINT32 Index; 355 Index = MessageId; 357 if (Index >= ACPI_ARRAY_LENGTH (AslCompilerMsgs)) 368 Index = MessageId - ASL_MSG_TABLE_COMPILER; 370 if (Index >= ACPI_ARRAY_LENGTH (AslTableCompilerMsgs)) 381 Index = MessageId - ASL_MSG_PREPROCESSOR; 383 if (Index >= ACPI_ARRAY_LENGTH (AslPreprocessorMsgs)) 396 return (MessageTable[Index]); 493 UINT32 Index = 1; 509 for (i = 1; Index < ACPI_ARRAY_LENGTH (AslCompilerMsgs); i++, Index++ [all...] |
| aslopt.c | 217 UINT32 Index; 256 Index = (NumCommonSegments * ACPI_PATH_SEGMENT_LENGTH) + 1; 259 &(ACPI_CAST_PTR (char, TargetPath->Pointer)) [Index], 260 &(ACPI_CAST_PTR (char, CurrentPath->Pointer)) [Index])) 314 Index = (NumCommonSegments * ACPI_PATH_SEGMENT_LENGTH) + 1; 326 Index -= ACPI_PATH_SEGMENT_LENGTH; 340 if (Index > TargetPath->Length) 342 Index = TargetPath->Length; 346 &(ACPI_CAST_PTR (char, TargetPath->Pointer))[Index]);
|
| aslpredef.c | 90 UINT32 Index; 97 Index = ApCheckForPredefinedName (Op, Op->Asl.NameSeg); 99 switch (Index) 134 ThisName = &AcpiGbl_PredefinedMethods[Index]; 249 UINT32 Index; 261 Index = ApCheckForPredefinedName (MethodInfo->Op, 265 switch (Index) 283 ThisName = &AcpiGbl_PredefinedMethods[Index]; 355 UINT32 Index; 364 Index = ApCheckForPredefinedName (Op, Name) [all...] |
| aslopcodes.c | 753 UINT16 Index; 756 Index = (UINT16) (Op->Asl.ParseOpcode - ASL_PARSE_OPCODE_BASE); 758 Op->Asl.AmlOpcode = AslKeywordMapping[Index].AmlOpcode; 759 Op->Asl.AcpiBtype = AslKeywordMapping[Index].AcpiBtype; 760 Op->Asl.CompileFlags |= AslKeywordMapping[Index].Flags; 764 Op->Asl.Value.Integer = AslKeywordMapping[Index].Value;
|
| asltransform.c | 530 UINT16 Index; 554 Index = (UINT16) (Next->Asl.ParseOpcode - ASL_PARSE_OPCODE_BASE); 555 Btype = AslKeywordMapping[Index].AcpiBtype;
|
| /src/sys/external/bsd/acpica/dist/dispatcher/ |
| dsmthdat.c | 59 UINT32 Index, 65 UINT32 Index, 73 UINT32 Index, 156 UINT32 Index; 164 for (Index = 0; Index < ACPI_METHOD_NUM_LOCALS; Index++) 166 if (WalkState->LocalVariables[Index].Object) 169 Index, WalkState->LocalVariables[Index].Object)) [all...] |
| dspkginit.c | 106 UINT32 Index; 279 for (Index = 0; Index < ((UINT32) ReferenceCount - 1); Index++)
|
| dswstate.c | 82 UINT32 Index; 117 Index = (UINT32) WalkState->ResultCount % ACPI_RESULTS_FRAME_OBJ_NUM; 119 *Object = State->Results.ObjDesc [Index]; 127 State->Results.ObjDesc [Index] = NULL; 128 if (Index == 0) 138 "Obj=%p [%s] Index=%X State=%p Num=%X\n", *Object, 140 Index, WalkState, WalkState->ResultCount)); 166 UINT32 Index; 212 Index = (UINT32) WalkState->ResultCount % ACPI_RESULTS_FRAME_OBJ_NUM; 213 State->Results.ObjDesc [Index] = Object [all...] |
| dsutils.c | 761 UINT32 Index = WalkState->NumOperands; 775 if (Index >= ACPI_OBJ_NUM_OPERANDS) 780 Arguments[Index] = Arg; 781 WalkState->Operands [Index] = NULL; 787 Index++; 791 "NumOperands %d, ArgCount %d, Index %d\n", 792 WalkState->NumOperands, ArgCount, Index)); 796 NewNumOperands = Index; 797 Index--; 800 Arg = Arguments[Index]; [all...] |
| /src/sys/external/bsd/acpica/dist/hardware/ |
| hwregs.c | 269 UINT8 Index; 297 Index = 0; 310 Address + Index * ACPI_DIV_8 (AccessWidth), 316 Address + Index * ACPI_DIV_8 (AccessWidth), 323 * Use offset style bit writes because "Index * AccessWidth" is 326 ACPI_SET_BITS (Value, Index * AccessWidth, 330 Index++; 366 UINT8 Index; 391 Index = 0; 395 * Use offset style bit reads because "Index * AccessWidth" i [all...] |
| /src/sys/external/bsd/acpica/dist/resources/ |
| rscreate.c | 244 UINT32 Index; 286 for (Index = 0; Index < NumberOfElements; Index++) 310 Index, (*TopObjectList)->Package.Count)); 328 Index, AcpiUtGetObjectTypeName (ObjDesc))); 340 Index, AcpiUtGetObjectTypeName (ObjDesc))); 361 Index, ObjDesc->Reference.Class)); 411 Index, AcpiUtGetObjectTypeName (ObjDesc))); 427 Index, AcpiUtGetObjectTypeName (ObjDesc))) [all...] |
| /src/sys/external/bsd/acpica/dist/debugger/ |
| dbmethod.c | 170 UINT32 Index; 210 /* Get the index and value */ 212 Index = strtoul (IndexArg, NULL, 16); 238 if (Index > ACPI_METHOD_MAX_ARG) 241 Index); 246 Index, ObjDesc, WalkState); 252 ObjDesc = WalkState->Arguments[Index].Object; 254 AcpiOsPrintf ("Arg%u: ", Index); 262 if (Index > ACPI_METHOD_MAX_LOCAL) 265 Index); [all...] |
| /src/sys/external/bsd/acpica/dist/disassembler/ |
| dmresrcl2.c | 132 UINT32 Index; 153 Index = i + j; 154 if (Index >= Length) 159 AcpiOsPrintf ("0x%2.2X", Buffer[Index]); 160 if ((Index + 1) >= Length)
|