Lines Matching defs:cmd

56 static void AddVisibleField(Command* cmd, const char* name, int offset) {  in AddVisibleField()
71 static void AddInitializedField(Command* cmd, int offset, in AddInitializedField()
86 Command* cmd = (Command*) calloc(1, sizeof(Command)); in newCommand() local
132 Command* cmd = newCommand(TPM_ORD_NV_DefineSpace, size); in BuildDefineSpaceCommand() local
155 Command* cmd = newCommand(TPM_ORD_NV_WriteValue, 0); in BuildWriteCommand() local
166 Command* cmd = newCommand(TPM_ORD_NV_ReadValue, size); in BuildReadCommand() local
175 Command* cmd = newCommand(TPM_ORD_PcrRead, size); in BuildPCRReadCommand() local
183 Command* cmd = newCommand(TSC_ORD_PhysicalPresence, size); in BuildPPAssertCommand() local
193 Command* cmd = newCommand(TSC_ORD_PhysicalPresence, size); in BuildPPEnableCommand() local
203 Command* cmd = newCommand(TSC_ORD_PhysicalPresence, size); in BuildFinalizePPCommand() local
215 Command* cmd = newCommand(TSC_ORD_PhysicalPresence, size); in BuildPPLockCommand() local
225 Command* cmd = newCommand(TPM_ORD_Startup, size); in BuildStartupCommand() local
235 Command* cmd = newCommand(TPM_ORD_SaveState, size); in BuildSaveStateCommand() local
242 Command* cmd = newCommand(TPM_ORD_Startup, size); in BuildResumeCommand() local
252 Command* cmd = newCommand(TPM_ORD_SelfTestFull, size); in BuildSelftestfullCommand() local
259 Command* cmd = newCommand(TPM_ORD_ContinueSelfTest, size); in BuildContinueSelfTestCommand() local
266 Command* cmd = newCommand(TPM_ORD_ReadPubek, size); in BuildReadPubekCommand() local
273 Command* cmd = newCommand(TPM_ORD_ForceClear, size); in BuildForceClearCommand() local
280 Command* cmd = newCommand(TPM_ORD_PhysicalEnable, size); in BuildPhysicalEnableCommand() local
287 Command* cmd = newCommand(TPM_ORD_PhysicalDisable, size); in BuildPhysicalDisableCommand() local
294 Command* cmd = newCommand(TPM_ORD_PhysicalSetDeactivated, size); in BuildPhysicalSetDeactivatedCommand() local
302 Command* cmd = newCommand(TPM_ORD_Extend, size); in BuildExtendCommand() local
315 Command* cmd = newCommand(TPM_ORD_GetCapability, size); in BuildGetFlagsCommand() local
334 Command* cmd = newCommand(TPM_ORD_GetCapability, size); in BuildGetSTClearFlagsCommand() local
353 Command* cmd = newCommand(TPM_ORD_GetCapability, size); in BuildGetPermissionsCommand() local
371 Command* cmd = newCommand(TPM_ORD_GetCapability, size); in BuildGetOwnershipCommand() local
386 Command* cmd = newCommand(TPM_ORD_GetRandom, size); in BuildGetRandomCommand() local
408 int OutputBytes_(Command* cmd, Field* fld) { in OutputBytes_()
455 void OutputBytes(Command* cmd) { in OutputBytes()
459 void OutputFieldPointers(Command* cmd, Field* fld) { in OutputFieldPointers()
472 void OutputCommands(Command* cmd) { in OutputCommands()
523 static void FreeCommands(Command* cmd) { in FreeCommands()
536 Command* cmd = builders[i](); in main() local