Lines Matching defs:Length
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 */
464 (Length < Operand[1]->Integer.Value) && /* Length operand */
465 (Operand[0]->Buffer.Pointer[Length])) /* Null terminator */
467 Length++;
472 ReturnDesc = AcpiUtCreateStringObject (Length);
484 Operand[0]->Buffer.Pointer, Length);
520 if (Index >= Operand[0]->String.Length)
522 Length = Operand[0]->String.Length;
533 if (Index >= Operand[0]->Buffer.Length)
535 Length = Operand[0]->Buffer.Length;
548 Length = Operand[0]->Package.Count;
570 "Index (0x%X%8.8X) is beyond end of object (length 0x%X)",
571 ACPI_FORMAT_UINT64 (Index), (UINT32) Length));