Home | History | Annotate | Download | only in compiler

Lines Matching defs:Field

163     DT_FIELD                *Field,
169 DT_FIELD *Field,
175 DT_FIELD *Field,
189 * Field - Field to be compiled
190 * ByteLength - Byte length of the field
191 * Type - Field type
195 * DESCRIPTION: Compile a field value to binary
202 DT_FIELD *Field,
214 DtCompileInteger (Buffer, Field, ByteLength, Flags);
219 DtCompileString (Buffer, Field, ByteLength);
224 Status = DtCompileUuid (Buffer, Field, ByteLength);
234 DtCompileBuffer (Buffer, Field->Value, Field, ByteLength);
239 DtCompileUnicode (Buffer, Field, ByteLength);
248 DtFatal (ASL_MSG_COMPILER_INTERNAL, Field, "Invalid field type");
259 * Field - String to be copied to buffer
271 DT_FIELD *Field,
277 Length = strlen (Field->Value);
279 /* Check if the string is too long for the field */
285 ByteLength, Length, Field->Value);
286 DtError (ASL_ERROR, ASL_MSG_STRING_LENGTH, Field, AslGbl_MsgBuffer);
290 memcpy (Buffer, Field->Value, Length);
299 * Field - String to be copied to buffer
314 DT_FIELD *Field,
323 AsciiString = Field->Value;
341 * Field - String to be copied to buffer
353 DT_FIELD *Field,
360 InString = Field->Value;
365 snprintf (AslGbl_MsgBuffer, sizeof(AslGbl_MsgBuffer), "%s", Field->Value);
366 DtNameError (ASL_ERROR, ASL_MSG_INVALID_UUID, Field, AslGbl_MsgBuffer);
382 * Field - Field obj with Integer to be compiled
396 DT_FIELD *Field,
409 DtFatal (ASL_MSG_COMPILER_INTERNAL, Field,
416 Status = DtResolveIntegerExpression (Field, &Value);
431 if (!strcmp (Field->Name, "Reserved"))
437 DtError (ASL_ERROR, ASL_MSG_RESERVED_FIELD, Field,
444 DtError (ASL_ERROR, ASL_MSG_RESERVED_FIELD, Field,
454 DtError (ASL_ERROR, ASL_MSG_ZERO_VALUE, Field, NULL);
469 DtError (ASL_ERROR, ASL_MSG_INTEGER_SIZE, Field, AslGbl_MsgBuffer);
552 * Field - Current field object
566 DT_FIELD *Field,
584 DtError (ASL_ERROR, ASL_MSG_BUFFER_LIST, Field, AslGbl_MsgBuffer);
597 DtError (ASL_ERROR, ASL_MSG_BUFFER_ELEMENT, Field, Substring);
606 DtError (ASL_ERROR, ASL_MSG_BUFFER_ELEMENT, Field, Substring);
622 * Field - Field to be compiled
627 * DESCRIPTION: Compile a flag field. Handles flags up to 64 bits.
634 DT_FIELD *Field,
642 Value = AcpiUtImplicitStrtoul64 (Field->Value);
723 DtFatal (ASL_MSG_COMPILER_INTERNAL, Field, "Invalid flag opcode");
732 DtError (ASL_ERROR, ASL_MSG_FLAG_VALUE, Field, AslGbl_MsgBuffer);
753 * DESCRIPTION: Create a field
763 DT_FIELD *Field = UtFieldCacheCalloc ();
766 Field->StringLength = 0;
769 Field->Name =
775 Field->StringLength = strlen (FieldValue->Value);
776 Field->Value =
777 strcpy (UtLocalCacheCalloc (Field->StringLength + 1), FieldValue->Value);
780 Field->Line = FieldValue->Line;
781 Field->ByteOffset = Offset;
782 Field->NameColumn = FieldKey->Column;
783 Field->Column = FieldValue->Column;
784 DtLinkField (Field);
824 * PARAMETERS: Field - New field object to link
828 * DESCRIPTION: Link one field name and value to the list
834 DT_FIELD *Field)
850 Prev->Next = Field;
854 AslGbl_FieldList = Field;