/external/testng/src/test/java/test/pholser/ |
Demo.java | 54 StringBuffer result = new StringBuffer(); local 56 result.append(" " + l); 59 return result.toString();
|
/external/testng/src/test/java/test/tmp/ |
DataDrivenTest.java | 28 Object[][] result = new Object[vResult.size()][1]; local 29 for (int i = 0; i < result.length; i++) { 30 result[i] = new Object[] { vResult.get(i) }; 33 return result;
|
/external/toybox/toys/pending/ |
test.c | 104 int result = strcmp(toys.optargs[0], toys.optargs[2]); local 107 if (!strcmp("=", s)) toys.exitval = !!result; 108 else if (!strcmp("!=", s)) toys.exitval = !result;
|
/external/tpm2/ |
Attest_spt.c | 33 TPM_RC result; local 35 result = CryptSelectSignScheme(signHandle, scheme); 36 if(result != TPM_RC_SUCCESS) 37 return result; 131 TPM_RC result; local 155 result = NvIsAvailable(); 156 if(result != TPM_RC_SUCCESS) 157 return result;
|
ContextLoad.c | 31 TPM_RC result = TPM_RC_SUCCESS; local 57 result = TPM2B_DIGEST_Unmarshal(&integrity, &buffer, &size); 58 if(result != TPM_RC_SUCCESS) 59 return result; 109 result = ObjectContextLoad(outObject, &out->loadedHandle); 110 if(result != TPM_RC_SUCCESS) 111 return result; 136 result = NvIsAvailable(); 137 if(result != TPM_RC_SUCCESS) 138 return result; [all...] |
ContextSave.c | 24 TPM_RC result; local 44 result = NvIsAvailable(); 45 if(result != TPM_RC_SUCCESS) return result; 147 result = SessionContextSave(out->context.savedHandle, &contextID); 148 if(result != TPM_RC_SUCCESS) return result;
|
Entity.c | 33 TPM_RC result = TPM_RC_SUCCESS; local 43 result = TPM_RC_HIERARCHY; 50 result = TPM_RC_HIERARCHY; 54 result = TPM_RC_HIERARCHY; 68 result = TPM_RC_VALUE; 78 result = TPM_RC_REFERENCE_H0; 86 result = ObjectLoadEvict(handle, commandCode); 98 result = TPM_RC_HANDLE; 101 result = TPM_RC_REFERENCE_H0; 113 result = TPM_RC_HANDLE [all...] |
Marshal_ActivateCredential.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 46 result = TPM2B_ID_OBJECT_Unmarshal(&target->credentialBlob, buffer, size); 47 if (result != TPM_RC_SUCCESS) { 48 return result; 50 result = TPM2B_ENCRYPTED_SECRET_Unmarshal(&target->secret, buffer, size); 51 if (result != TPM_RC_SUCCESS) { 52 return result; 54 if ((result == TPM_RC_SUCCESS) && *size) { 55 result = TPM_RC_SIZE 66 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_Certify.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 47 result = TPM2B_DATA_Unmarshal(&target->qualifyingData, buffer, size); 48 if (result != TPM_RC_SUCCESS) { 49 return result; 51 result = TPMT_SIG_SCHEME_Unmarshal(&target->inScheme, buffer, size); 52 if (result != TPM_RC_SUCCESS) { 53 return result; 55 if ((result == TPM_RC_SUCCESS) && *size) { 56 result = TPM_RC_SIZE 67 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_CertifyCreation.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 47 result = TPM2B_DATA_Unmarshal(&target->qualifyingData, buffer, size); 48 if (result != TPM_RC_SUCCESS) { 49 return result; 51 result = TPM2B_DIGEST_Unmarshal(&target->creationHash, buffer, size); 52 if (result != TPM_RC_SUCCESS) { 53 return result; 55 result = TPMT_SIG_SCHEME_Unmarshal(&target->inScheme, buffer, size); 56 if (result != TPM_RC_SUCCESS) 75 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_Commit.c | 31 // Compute actual parameter_size. Don't add result to total_size. 44 TPM_RC result = TPM_RC_SUCCESS; local 48 result = TPM2B_ECC_POINT_Unmarshal(&target->P1, buffer, size); 49 if (result != TPM_RC_SUCCESS) { 50 return result; 52 result = TPM2B_SENSITIVE_DATA_Unmarshal(&target->s2, buffer, size); 53 if (result != TPM_RC_SUCCESS) { 54 return result; 56 result = TPM2B_ECC_PARAMETER_Unmarshal(&target->y2, buffer, size); 57 if (result != TPM_RC_SUCCESS) 72 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_ContextLoad.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 43 result = TPMS_CONTEXT_Unmarshal(&target->context, buffer, size); 44 if (result != TPM_RC_SUCCESS) { 45 return result; 47 if ((result == TPM_RC_SUCCESS) && *size) { 48 result = TPM_RC_SIZE; 50 return result; 59 TPM_RC result = TPM_RC_SUCCESS; local 71 result [all...] |
Marshal_ContextSave.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 44 if ((result == TPM_RC_SUCCESS) && *size) { 45 result = TPM_RC_SIZE; 47 return result; 56 TPM_RC result = TPM_RC_SUCCESS; local 68 result = 71 if (result != TPM_RC_SUCCESS) { 72 return result; 75 result = TPM2_ContextSave(&in, &out) [all...] |
Marshal_Create.c | 33 // Compute actual parameter_size. Don't add result to total_size. 46 TPM_RC result = TPM_RC_SUCCESS; local 50 result = TPM2B_SENSITIVE_CREATE_Unmarshal(&target->inSensitive, buffer, size); 51 if (result != TPM_RC_SUCCESS) { 52 return result; 54 result = TPM2B_PUBLIC_Unmarshal(&target->inPublic, buffer, size); 55 if (result != TPM_RC_SUCCESS) { 56 return result; 58 result = TPM2B_DATA_Unmarshal(&target->outsideInfo, buffer, size); 59 if (result != TPM_RC_SUCCESS) 78 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_CreatePrimary.c | 35 // Compute actual parameter_size. Don't add result to total_size. 48 TPM_RC result = TPM_RC_SUCCESS; local 52 result = TPM2B_SENSITIVE_CREATE_Unmarshal(&target->inSensitive, buffer, size); 53 if (result != TPM_RC_SUCCESS) { 54 return result; 56 result = TPM2B_PUBLIC_Unmarshal(&target->inPublic, buffer, size); 57 if (result != TPM_RC_SUCCESS) { 58 return result; 60 result = TPM2B_DATA_Unmarshal(&target->outsideInfo, buffer, size); 61 if (result != TPM_RC_SUCCESS) 80 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_Duplicate.c | 31 // Compute actual parameter_size. Don't add result to total_size. 44 TPM_RC result = TPM_RC_SUCCESS; local 49 result = TPM2B_DATA_Unmarshal(&target->encryptionKeyIn, buffer, size); 50 if (result != TPM_RC_SUCCESS) { 51 return result; 53 result = TPMT_SYM_DEF_OBJECT_Unmarshal(&target->symmetricAlg, buffer, size); 54 if (result != TPM_RC_SUCCESS) { 55 return result; 57 if ((result == TPM_RC_SUCCESS) && *size) { 58 result = TPM_RC_SIZE 69 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_ECC_Parameters.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 44 result = TPMI_ECC_CURVE_Unmarshal(&target->curveID, buffer, size); 45 if (result != TPM_RC_SUCCESS) { 46 return result; 48 if ((result == TPM_RC_SUCCESS) && *size) { 49 result = TPM_RC_SIZE; 51 return result; 60 TPM_RC result = TPM_RC_SUCCESS; local 72 result = ECC_Parameters_In_Unmarshal(&in, request_handles [all...] |
Marshal_ECDH_KeyGen.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 45 if ((result == TPM_RC_SUCCESS) && *size) { 46 result = TPM_RC_SIZE; 48 return result; 57 TPM_RC result = TPM_RC_SUCCESS; local 69 result = 72 if (result != TPM_RC_SUCCESS) { 73 return result; 76 result = TPM2_ECDH_KeyGen(&in, &out) [all...] |
Marshal_ECDH_ZGen.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 45 result = TPM2B_ECC_POINT_Unmarshal(&target->inPoint, buffer, size); 46 if (result != TPM_RC_SUCCESS) { 47 return result; 49 if ((result == TPM_RC_SUCCESS) && *size) { 50 result = TPM_RC_SIZE; 52 return result; 61 TPM_RC result = TPM_RC_SUCCESS; local 73 result [all...] |
Marshal_EC_Ephemeral.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 44 result = TPMI_ECC_CURVE_Unmarshal(&target->curveID, buffer, size); 45 if (result != TPM_RC_SUCCESS) { 46 return result; 48 if ((result == TPM_RC_SUCCESS) && *size) { 49 result = TPM_RC_SIZE; 51 return result; 60 TPM_RC result = TPM_RC_SUCCESS; local 72 result [all...] |
Marshal_EncryptDecrypt.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 46 result = TPMI_YES_NO_Unmarshal(&target->decrypt, buffer, size); 47 if (result != TPM_RC_SUCCESS) { 48 return result; 50 result = TPMI_ALG_SYM_MODE_Unmarshal(&target->mode, buffer, size, TRUE); 51 if (result != TPM_RC_SUCCESS) { 52 return result; 54 result = TPM2B_IV_Unmarshal(&target->ivIn, buffer, size); 55 if (result != TPM_RC_SUCCESS) 74 TPM_RC result = TPM_RC_SUCCESS; local [all...] |
Marshal_EventSequenceComplete.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 46 result = TPM2B_MAX_BUFFER_Unmarshal(&target->buffer, buffer, size); 47 if (result != TPM_RC_SUCCESS) { 48 return result; 50 if ((result == TPM_RC_SUCCESS) && *size) { 51 result = TPM_RC_SIZE; 53 return result; 62 TPM_RC result = TPM_RC_SUCCESS; local 74 result = EventSequenceComplete_In_Unmarshal(&in, request_handles [all...] |
Marshal_FieldUpgradeData.c | 29 // Compute actual parameter_size. Don't add result to total_size. 42 TPM_RC result = TPM_RC_SUCCESS; local 44 result = TPM2B_MAX_BUFFER_Unmarshal(&target->fuData, buffer, size); 45 if (result != TPM_RC_SUCCESS) { 46 return result; 48 if ((result == TPM_RC_SUCCESS) && *size) { 49 result = TPM_RC_SIZE; 51 return result; 60 TPM_RC result = TPM_RC_SUCCESS; local 72 result = FieldUpgradeData_In_Unmarshal(&in, request_handles [all...] |
Marshal_FirmwareRead.c | 28 // Compute actual parameter_size. Don't add result to total_size. 41 TPM_RC result = TPM_RC_SUCCESS; local 43 result = UINT32_Unmarshal(&target->sequenceNumber, buffer, size); 44 if (result != TPM_RC_SUCCESS) { 45 return result; 47 if ((result == TPM_RC_SUCCESS) && *size) { 48 result = TPM_RC_SIZE; 50 return result; 59 TPM_RC result = TPM_RC_SUCCESS; local 71 result [all...] |
Marshal_GetCapability.c | 30 // Compute actual parameter_size. Don't add result to total_size. 43 TPM_RC result = TPM_RC_SUCCESS; local 45 result = TPM_CAP_Unmarshal(&target->capability, buffer, size); 46 if (result != TPM_RC_SUCCESS) { 47 return result; 49 result = UINT32_Unmarshal(&target->property, buffer, size); 50 if (result != TPM_RC_SUCCESS) { 51 return result; 53 result = UINT32_Unmarshal(&target->propertyCount, buffer, size); 54 if (result != TPM_RC_SUCCESS) 69 TPM_RC result = TPM_RC_SUCCESS; local [all...] |