Home | History | Annotate | Download | only in utilities

Lines Matching defs:Length

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 */
339 Length = AcpiUtGetDescriptorLength (Aml);
346 Aml, Length, Offset, ResourceIndex, Context);
385 Aml += Length;
386 Offset += Length;
419 * Type and Resource Length. Returns an index into the global
484 * Validate the ResourceLength field. This ensures that the length
490 /* Validate based upon the type of resource - fixed length or variable */
496 /* Fixed length resource, length must match exactly */
506 /* Variable length resource, length must be at least the minimum */
516 /* Small variable length resource, length can be (Min) or (Min-1) */
575 "Invalid resource descriptor length: Type "
576 "0x%2.2X, Length 0x%4.4X, MinLength 0x%4.4X",
629 * RETURN: Byte Length
631 * DESCRIPTION: Get the "Resource Length" of a raw AML descriptor. By
633 * header or the length field itself.
653 /* Large Resource type -- bytes 1-2 contain the 16-bit length */
660 /* Small Resource type -- bits 2:0 of byte 0 contain the length */
676 * RETURN: Length of the AML header (depends on large/small descriptor)
678 * DESCRIPTION: Get the length of the header for this resource.
708 * RETURN: Byte length
710 * DESCRIPTION: Get the total byte length of a raw AML descriptor, including the
711 * length of the descriptor header and the length field itself.
724 * Get the Resource Length (does not include header length) and add
725 * the header length (depends on if this is a small or large resource)
742 * Note: allows a buffer length of zero.
757 /* Allow a buffer length of zero */
759 if (!ObjDesc->Buffer.Length)
768 ObjDesc->Buffer.Length, NULL, (void **) EndTag);