50#define _COMPONENT ACPI_EXECUTER
94 switch (ObjDesc->Common.Type)
100 *ResultDesc = ObjDesc;
108 Pointer = ObjDesc->Buffer.Pointer;
109 Count = ObjDesc->Buffer.Length;
130 switch (ObjDesc->Common.Type)
142 if (ImplicitConversion)
163 if (
Count > AcpiGbl_IntegerByteWidth)
165 Count = AcpiGbl_IntegerByteWidth;
204 *ResultDesc = ReturnDesc;
235 switch (ObjDesc->
Common.Type)
241 *ResultDesc = ObjDesc;
258 NewBuf = ReturnDesc->
Buffer.Pointer;
273 ObjDesc->
String.Length + 1);
281 NewBuf = ReturnDesc->
Buffer.Pointer;
294 *ResultDesc = ReturnDesc;
362 for (
i = DecimalLength;
i > 0;
i--)
367 for (
j = 0;
j <
i;
j++)
376 SupressZeros =
FALSE;
391 HexLength = (DataWidth * 2);
392 for (
i = 0,
j = (HexLength-1);
i < HexLength;
i++,
j--)
450 UINT8 Separator =
',';
456 switch (ObjDesc->
Common.Type)
462 *ResultDesc = ObjDesc;
483 StringLength =
ACPI_MUL_2 (AcpiGbl_IntegerByteWidth);
497 NewBuf = ReturnDesc->
Buffer.Pointer;
506 ReturnDesc->
String.Length = StringLength;
507 NewBuf [StringLength] = 0;
529 for (
i = 0;
i < ObjDesc->
Buffer.Length;
i++)
531 if (ObjDesc->
Buffer.Pointer[
i] >= 100)
535 else if (ObjDesc->
Buffer.Pointer[
i] >= 10)
557 StringLength = (ObjDesc->
Buffer.Length * 5);
570 StringLength = (ObjDesc->
Buffer.Length * 5);
593 NewBuf = ReturnDesc->
Buffer.Pointer;
599 for (
i = 0;
i < ObjDesc->
Buffer.Length;
i++)
614 *NewBuf++ = Separator;
621 if (ObjDesc->
Buffer.Length)
633 *ResultDesc = ReturnDesc;
668 *ResultDesc = SourceDesc;
680 switch (DestinationType)
692 if (DestinationType != SourceDesc->
Common.Type)
695 "Explicit operator, will store (%s) over existing type (%s)\n",
706 switch (DestinationType)
740 "Bad destination type during conversion: 0x%X",
756 "Unknown Target type ID 0x%X AmlOpcode 0x%X DestType %s",
unsigned long long UINT64
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
#define AE_AML_BUFFER_LIMIT
#define ACPI_EXPLICIT_CONVERT_DECIMAL
#define ACPI_EXPLICIT_CONVERT_HEX
#define ACPI_IMPLICIT_CONVERT_HEX
#define ACPI_FORMAT_UINT64(i)
#define GET_CURRENT_ARG_TYPE(List)
#define AOPOBJ_DATA_VALID
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_MODULE_NAME(Name)
#define ACPI_FUNCTION_ENTRY()
#define ACPI_FUNCTION_TRACE_PTR(a, b)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_ERROR(plist)
#define ACPI_TYPE_BUFFER_FIELD
#define ACPI_TYPE_LOCAL_BANK_FIELD
#define ACPI_MAX8_DECIMAL_DIGITS
#define ACPI_MAX32_DECIMAL_DIGITS
#define ACPI_TYPE_INTEGER
#define ACPI_TYPE_LOCAL_REGION_FIELD
#define ACPI_MAX64_DECIMAL_DIGITS
#define ACPI_CAST_PTR(t, p)
#define ACPI_TYPE_LOCAL_INDEX_FIELD
#define ACPI_MAX_DECIMAL_DIGITS
const char * AcpiUtGetTypeName(ACPI_OBJECT_TYPE Type)
UINT64 AcpiUtExplicitStrtoul64(char *String)
ACPI_OPERAND_OBJECT * AcpiUtCreateIntegerObject(UINT64 Value)
ACPI_OPERAND_OBJECT * AcpiUtCreateStringObject(ACPI_SIZE StringSize)
const char * AcpiUtGetObjectTypeName(ACPI_OPERAND_OBJECT *ObjDesc)
#define ACPI_IMPLICIT_CONVERSION
ACPI_OPERAND_OBJECT * AcpiUtCreateBufferObject(ACPI_SIZE BufferSize)
UINT64 AcpiUtImplicitStrtoul64(char *String)
char AcpiUtHexToAsciiChar(UINT64 Integer, UINT32 Position)
ACPI_STATUS AcpiUtShortDivide(UINT64 InDividend, UINT32 Divisor, UINT64 *OutQuotient, UINT32 *OutRemainder)
#define ARGI_FIXED_TARGET
#define ARGI_STORE_TARGET
#define ARGI_SIMPLE_TARGET
ACPI_STATUS AcpiExConvertToBuffer(ACPI_OPERAND_OBJECT *ObjDesc, ACPI_OPERAND_OBJECT **ResultDesc)
ACPI_STATUS AcpiExConvertToInteger(ACPI_OPERAND_OBJECT *ObjDesc, ACPI_OPERAND_OBJECT **ResultDesc, UINT32 ImplicitConversion)
static UINT32 AcpiExConvertToAscii(UINT64 Integer, UINT16 Base, UINT8 *String, UINT8 MaxLength)
ACPI_STATUS AcpiExConvertToString(ACPI_OPERAND_OBJECT *ObjDesc, ACPI_OPERAND_OBJECT **ResultDesc, UINT32 Type)
ACPI_STATUS AcpiExConvertToTargetType(ACPI_OBJECT_TYPE DestinationType, ACPI_OPERAND_OBJECT *SourceDesc, ACPI_OPERAND_OBJECT **ResultDesc, ACPI_WALK_STATE *WalkState)
BOOLEAN AcpiExTruncateFor32bitTable(ACPI_OPERAND_OBJECT *ObjDesc)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
#define memcpy(s1, s2, n)
const ACPI_OPCODE_INFO * OpInfo
ACPI_OBJECT_INTEGER Integer
ACPI_OBJECT_COMMON Common
ACPI_OBJECT_STRING String
ACPI_OBJECT_BUFFER Buffer
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
_In_ LARGE_INTEGER _Out_opt_ PLARGE_INTEGER Remainder