/src/sys/external/bsd/acpica/dist/executer/ |
exstorob.c | 179 UINT32 Length; 196 Length = SourceDesc->Buffer.Length; 199 * If target is a buffer of length zero or is a static buffer, 200 * allocate a new buffer of the proper length 202 if ((TargetDesc->Buffer.Length == 0) || 205 TargetDesc->Buffer.Pointer = ACPI_ALLOCATE (Length); 211 TargetDesc->Buffer.Length = Length; 216 if (Length <= TargetDesc->Buffer.Length [all...] |
exoparg3.c | 290 ACPI_SIZE Length; 299 case AML_MID_OP: /* Mid (Source[0], Index[1], Length[2], Result[3]) */ 315 Length = (ACPI_SIZE) Operand[2]->Integer.Value; 318 * If the index is beyond the length of the String/Buffer, or if the 319 * requested length is zero, return a zero-length String/Buffer 321 if (Index >= Operand[0]->String.Length) 323 Length = 0; 328 else if ((Index + Length) > Operand[0]->String.Length) [all...] |
exoparg2.c | 394 ACPI_SIZE Length = 0; 447 case AML_TO_STRING_OP: /* ToString (Buffer, Length, Result) (ACPI 2.0) */ 455 * Get the length of the new string. It is the smallest of: 456 * 1) Length of the input buffer 457 * 2) Max length as specified in the ToString operator 458 * 3) Length of input buffer up to a zero byte (null terminator) 460 * NOTE: A length of zero is ok, and will create a zero-length, null 463 while ((Length < Operand[0]->Buffer.Length) && /* Length of input buffer * [all...] |
exregion.c | 192 UINT32 Length; 208 Length = 1; 213 Length = 2; 218 Length = 4; 223 Length = 8; 238 (void) AcpiUtShortDivide ((UINT64) Address, Length, NULL, &Remainder); 251 ((UINT64) Address + Length > (UINT64) Mm->PhysicalAddress + Mm->Length)) 272 if ((UINT64) Address + Length > (UINT64) Mm->PhysicalAddress + Mm->Length) [all...] |
exconfig.c | 176 UINT32 Length, 292 if (Operand[3]->String.Length > 0) 309 if (Operand[4]->String.Length > 0) 388 * Length - Number of bytes to read 401 UINT32 Length, 412 for (i = 0; i < Length; i++) 462 UINT32 Length; 497 * If the Region Address and Length have not been previously 509 /* Get the table header first so we can get the table length */ 519 Length = TableHeader->Length [all...] |
/src/sys/external/bsd/acpica/dist/compiler/ |
asllisting.c | 479 UINT32 Length; 715 Length = strlen (Pathname); 716 if (Length >= 4) 720 for (i = 0; i < Length; i++)
|
asloffset.c | 206 UINT32 Length; 252 Length = Op->Asl.FinalAmlLength; 254 /* Get to the NameSeg/NamePath Op (and length of the name) */ 260 NamepathOffset = AslGbl_CurrentAmlOffset + Length + 263 DataOffset = AslGbl_CurrentAmlOffset + Length + 310 AslGbl_CurrentAmlOffset += Length; 317 Length = Op->Asl.FinalAmlLength; 325 NamepathOffset = AslGbl_CurrentAmlOffset + Length + 328 DataOffset = AslGbl_CurrentAmlOffset + Length + 352 AslGbl_CurrentAmlOffset += Length; [all...] |
prexpress.c | 186 UINT32 Length = strlen (Buffer); 194 if (Buffer[Length] != '\n') 258 /* Adjust for length difference between old and new name length */
|
aslanalyze.c | 245 ACPI_SIZE Length; 257 Length = strlen (Op->Asl.Value.String); 258 if (!Length) 304 if ((Length < 7) || (Length > 8)) 311 /* _HID Length is valid (7 or 8), now check prefix (first 3 or 4 chars) */ 313 if (Length == 7) 327 else /* Length == 8 */ 347 for (; i < Length; i++)
|
aslcodegen.c | 315 * Length - Size of data in buffer 327 UINT32 Length) 332 FlWriteFile (ASL_FILE_AML_OUTPUT, Buffer, Length); 334 /* Update the final AML length for this node (used for listings) */ 338 Op->Asl.FinalAmlLength += Length; 426 /* Value is the length to be encoded (Used in field definitions) */ 444 /* Subtreelength doesn't include length of package length bytes */ 464 * The low-order nybble of the length is in the bottom 4 bits 473 * Shift the length over by the 4 bits we just stuffe [all...] |
aslxrefout.c | 212 UINT32 Length; 215 Length = strlen (Message); 218 while (Length) 221 Length--; 344 UINT32 Length; 405 Length = 1; 409 Length = 8; 413 Length = 16; 417 Length = 32; 421 Length = 64 [all...] |
prmacros.c | 598 UINT32 Length; 622 Length = Token - MacroStart + strlen (Token) + 1; 625 &AslGbl_CurrentLineBuffer[TokenOffset], Length, 686 Length = Token - MacroStart + strlen (Token) + 1; 689 &AslGbl_CurrentLineBuffer[TokenOffset], Length,
|
/src/sys/external/bsd/acpica/dist/tables/ |
tbinstal.c | 269 "Could not acquire table length at %8.8X%8.8X", 365 UINT32 Length; 383 &Address, &Length); 384 if (ACPI_SUCCESS (Status) && Address && Length)
|
tbutils.c | 236 /* Compare original length and checksum to current values */ 238 if (AcpiGbl_OriginalDsdtHeader.Length != AcpiGbl_DSDT->Length || 250 AcpiGbl_OriginalDsdtHeader.Length = AcpiGbl_DSDT->Length; 280 NewTable = ACPI_ALLOCATE (TableDesc->Length); 283 ACPI_ERROR ((AE_INFO, "Could not copy DSDT of length 0x%X", 284 TableDesc->Length)); 288 memcpy (NewTable, TableDesc->Pointer, TableDesc->Length); 297 "Forced DSDT copy: length 0x%05X copied locally, original unmapped" [all...] |
/src/sys/external/bsd/acpica/dist/tools/acpisrc/ |
ascase.c | 281 UINT32 Length; 518 Length = 0; 530 Length = SubString - SubBuffer - 1; 537 if (!Length) 539 Length = strlen (&SubBuffer[0]); 554 memmove (&SubBuffer[1], &SubBuffer[0], Length + 1); 692 UINT32 Length; 715 Length = 0; 722 Length = SubString - &SubBuffer[i] - 2; 729 if (!Length) [all...] |
/src/sys/external/bsd/acpica/dist/common/ |
dmtbdump.c | 168 UINT32 Length); 177 * Length - Length of the buffer 184 * DESCRIPTION: Format the contents of an arbitrary length data buffer (in the 193 UINT32 Length, 203 if (!Length) 211 while (i < Length) 213 if ((Length > 16) && (i != 0)) 215 if ((Length - i) < 16) 216 AcpiOsPrintf ("\n/* %3.3Xh %4.4u %3u */ ", AbsoluteOffset, AbsoluteOffset, Length - i) [all...] |
dmtbdump3.c | 180 (void) AcpiDmDumpTable (Table->Length, sizeof (ACPI_TABLE_HEADER), 182 Table->Length - sizeof (*Table), AcpiDmTableInfoSlic); 212 Status = AcpiDmDumpTable (Table->Length, 0, Table, 0, AcpiDmTableInfoSlit); 233 if (Offset >= Table->Length) 289 Status = AcpiDmDumpTable (Table->Length, 0, Table, 0, AcpiDmTableInfoSrat); 298 while (Offset < Table->Length) 303 Status = AcpiDmDumpTable (Table->Length, Offset, Subtable, 304 Subtable->Length, AcpiDmTableInfoSratHdr); 358 if (!Subtable->Length) 360 AcpiOsPrintf ("Invalid zero length subtable\n") [all...] |
/src/sys/external/bsd/acpica/dist/utilities/ |
utids.c | 186 UINT32 Length; 204 Length = ACPI_EISAID_STRING_SIZE; 208 Length = ObjDesc->String.Length + 1; 214 sizeof (ACPI_PNP_DEVICE_ID) + (ACPI_SIZE) Length); 236 Hid->Length = Length; 274 UINT32 Length; 292 Length = ACPI_MAX64_DECIMAL_DIGITS + 1; 296 Length = ObjDesc->String.Length + 1 [all...] |
utresrc.c | 222 * Resource types, used to validate the resource length field. 223 * The length of fixed-length types must match exactly, variable 224 * lengths must meet the minimum required length, etc. 279 * AmlLength - Length of the entire template 302 UINT32 Length; 321 /* Walk the byte list, abort on any invalid descriptor type or length */ 325 /* Validate the Resource Type and Resource Length */ 332 * length may be bogus also. 337 /* Get the length of this descriptor * [all...] |
/src/sys/external/bsd/gnu-efi/dist/lib/ |
init.c | 119 UINTN Index, Position, Length; 147 Length = strlena(Languages); 148 for (Position=0; Position < Length; Position += ISO_639_2_ENTRY_SIZE) {
|
/src/common/dist/zlib/contrib/dotzlib/DotZLib/ |
GZipStream.cs | 27 private static extern int gzwrite(IntPtr gzFile, int data, int length);
30 private static extern int gzread(IntPtr gzFile, int data, int length);
151 /// <exception cref="ArgumentException">If <c>offset</c> + <c>count</c> is > buffer.Length</exception>
159 if ((offset+count) > buffer.Length) throw new ArgumentException();
196 /// <exception cref="ArgumentException">If <c>offset</c> + <c>count</c> is > buffer.Length</exception>
204 if ((offset+count) > buffer.Length) throw new ArgumentException();
237 #region Position & length stuff
292 public override long Length
|
/src/sys/external/bsd/acpica/dist/debugger/ |
dbconvert.c | 272 UINT32 Length; 281 /* Generate the final buffer length */ 283 for (i = 0, Length = 0; String[i];) 286 Length++; 295 Buffer = ACPI_ALLOCATE (Length); 323 Object->Buffer.Length = Length; 422 Object->String.Length = (UINT32) strlen (String); 571 BufferDesc->Buffer.Length, &PldInfo); 588 BufferDesc->Buffer.Length)) [all...] |
/src/sys/external/bsd/acpica/dist/disassembler/ |
dmnames.c | 177 * RETURN: Final length of name 188 UINT32 Length; 202 Length = ACPI_NAMESEG_SIZE; 207 Length--; 217 for (i = 0; i < Length; i++) 222 return (Length); 287 Buffer.Length = ACPI_ALLOCATE_LOCAL_BUFFER;
|
/src/sys/external/bsd/acpica/dist/dispatcher/ |
dsopcode.c | 214 * LengthDesc - Length of field (CREATE_FIELD_OP only) 290 "Attempt to CreateField of length zero")); 350 /* Entire field must fit within the current length of the buffer */ 353 (8 * (UINT32) BufferDesc->Buffer.Length)) 357 "Field [%4.4s] at bit offset/length %u/%u " 360 8 * (UINT32) BufferDesc->Buffer.Length)); 405 /* Now the address and length are valid for this BufferField */ 443 * This is where we evaluate the address and length fields of the 452 /* Evaluate/create the address and length operands */ 510 * DESCRIPTION: Get region address and length [all...] |
/src/sys/external/bsd/acpica/dist/namespace/ |
nsconvert.c | 205 if (OriginalObject->Buffer.Length > 8) 212 for (i = 0; i < OriginalObject->Buffer.Length; i++) 254 ACPI_SIZE Length; 294 Length = 0; 295 while ((Length < OriginalObject->Buffer.Length) && 296 (OriginalObject->Buffer.Pointer[Length])) 298 Length++; 303 NewObject = AcpiUtCreateStringObject (Length); 311 * terminated at Length+1 [all...] |