Lines Matching refs:bytes_marshalled

83   UINT16 bytes_marshalled = uint32_t_Marshal(&value, &buffer_ptr, &size);  in BasicTypesSuccessTest()
84 CHECK_EQ(bytes_marshalled, num_bytes) in BasicTypesSuccessTest()
101 UINT16 bytes_marshalled = uint32_t_Marshal(&value, &buffer_ptr, &size); in BasicTypesFailureTest() local
103 CHECK_EQ(bytes_marshalled, num_bytes); in BasicTypesFailureTest()
106 bytes_marshalled = uint32_t_Marshal(&value, &buffer_ptr, NULL); in BasicTypesFailureTest()
107 CHECK_EQ(bytes_marshalled, num_bytes); in BasicTypesFailureTest()
120 UINT16 bytes_marshalled = TPM_KEY_BITS_Marshal(&value, &buffer_ptr, &size); in TypedefSuccessTest()
121 CHECK_EQ(bytes_marshalled, num_bytes); in TypedefSuccessTest()
138 UINT16 bytes_marshalled = TPM_KEY_BITS_Marshal(&value, &buffer_ptr, &size); in TypedefFailureTest() local
140 CHECK_EQ(bytes_marshalled, num_bytes); in TypedefFailureTest()
143 bytes_marshalled = TPM_KEY_BITS_Marshal(&value, &buffer_ptr, NULL); in TypedefFailureTest()
144 CHECK_EQ(bytes_marshalled, num_bytes); in TypedefFailureTest()
157 UINT16 bytes_marshalled = TPM_ST_Marshal(&value, &buffer_ptr, &size); in ConstantTypeSuccessTest()
158 CHECK_EQ(bytes_marshalled, num_bytes); in ConstantTypeSuccessTest()
185 UINT16 bytes_marshalled = TPMA_OBJECT_Marshal(&value, &buffer_ptr, &size); in AttributeStructSuccessTest() local
186 CHECK_EQ(bytes_marshalled, num_bytes); in AttributeStructSuccessTest()
215 UINT16 bytes_marshalled = TPMI_DH_ENTITY_Marshal(&value, &buffer_ptr, &size); in InterfaceSuccessTest()
216 CHECK_EQ(bytes_marshalled, num_bytes); in InterfaceSuccessTest()
229 bytes_marshalled = TPMI_DH_ENTITY_Marshal(&value, &buffer_ptr, &size); in InterfaceSuccessTest()
230 CHECK_EQ(bytes_marshalled, num_bytes); in InterfaceSuccessTest()
243 bytes_marshalled = TPMI_DH_ENTITY_Marshal(&value, &buffer_ptr, &size); in InterfaceSuccessTest()
244 CHECK_EQ(bytes_marshalled, num_bytes); in InterfaceSuccessTest()
296 UINT16 bytes_marshalled = TPMI_AES_KEY_BITS_Marshal(&value, &buffer_ptr, &size); in InterfaceKeyBitsTest() local
297 CHECK_EQ(bytes_marshalled, num_bytes); in InterfaceKeyBitsTest()
329 UINT16 bytes_marshalled = TPML_DIGEST_Marshal(&value, &buffer_ptr, &size); in StructureSuccessValueTest() local
330 CHECK_EQ(bytes_marshalled, sizeof(UINT32)+4*sizeof(UINT16)); in StructureSuccessValueTest()
354 UINT16 bytes_marshalled = TPM2B_DIGEST_Marshal(&value, &buffer_ptr, &size); in StructureSuccessArrayTest() local
356 CHECK_EQ(bytes_marshalled, expected_bytes); in StructureSuccessArrayTest()
371 UINT16 bytes_marshalled = TPMT_TK_HASHCHECK_Marshal(&value, &buffer_ptr, &size); in StructureSuccessNullTest() local
373 CHECK_EQ(bytes_marshalled, expected_bytes); in StructureSuccessNullTest()
385 UINT16 bytes_marshalled = TPMT_TK_HASHCHECK_Marshal(&value, &buffer_ptr, &size); in StructureFailureTagTest() local
387 CHECK_EQ(bytes_marshalled, expected_bytes); in StructureFailureTagTest()
400 UINT16 bytes_marshalled = TPM2B_NV_PUBLIC_Marshal(&value, &buffer_ptr, &size); in StructureSuccessSizeCheckTest() local