Lines Matching refs:Field
24 /* See struct Command below. This structure represent a field in a TPM
25 * command. [name] is the field name. [visible] is 1 if the field is
27 * and remain constant. [size] is the field size in bytes. [value] is the
30 typedef struct Field {
36 struct Field* next;
37 } Field;
49 Field* fields;
53 /* Adds a field to a command, and makes its offset visible. The fields must be
57 Field* fld = (Field*) calloc(1, sizeof(Field));
68 /* Adds a constant field with its value. The fields must be added at
73 Field* fld = (Field*) calloc(1, sizeof(Field));
394 void OutputFields(Field* fld) {
396 * Field order is reversed.
408 int OutputBytes_(Command* cmd, Field* fld) {
412 * Field order is reversed.
445 fprintf(stderr, "invalid field size %d\n", fld->size);
459 void OutputFieldPointers(Command* cmd, Field* fld) {
515 static void FreeFields(Field* fld) {
517 Field* next_field = fld->next;