Home
last modified time | relevance | path

Searched refs:testInput (Results 1 – 11 of 11) sorted by relevance

/external/lz4/tests/
Dfuzzer.c1015 char* testInput = (char*)malloc(testInputSize); in FUZ_unitTests() local
1022 if (!testInput || !testCompressed || !testVerify) { in FUZ_unitTests()
1025 FUZ_fillCompressibleNoiseBuffer(testInput, testInputSize, 0.50, &randState); in FUZ_unitTests()
1061 XXH32_hash_t const crcOrig = XXH32(testInput, sampleSize, 0); in FUZ_unitTests()
1064 memcpy(startInput, testInput, sampleSize); /* copy at end of buffer */ in FUZ_unitTests()
1082 FUZ_fillCompressibleNoiseBuffer(testInput, sampleSize, 0.0, &randState); in FUZ_unitTests()
1083 … memset(testInput, 0, 267); /* calculated exactly so that compressedSize == originalSize-1 */ in FUZ_unitTests()
1085 { XXH64_hash_t const crcOrig = XXH64(testInput, sampleSize, 0); in FUZ_unitTests()
1086 … int const cSize = LZ4_compress_default(testInput, testCompressed, sampleSize, testCompressedSize); in FUZ_unitTests()
1114 crcOrig = XXH64(testInput, testCompressedSize, 0); in FUZ_unitTests()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DAlgorithmTests.c350 static TPM2B_PUBLIC_KEY_RSA testInput; in TestRsaEncryptDecrypt() local
367 memcpy(testInput.t.buffer, c_RsaTestValue, sizeof(c_RsaTestValue)); in TestRsaEncryptDecrypt()
368 testInput.t.size = sizeof(c_RsaTestValue); in TestRsaEncryptDecrypt()
369 if(TPM_RC_SUCCESS != CryptRsaEncrypt(&testOutput, &testInput.b, in TestRsaEncryptDecrypt()
374 MemoryCopy2B(&testInput.b, &testOutput.b, sizeof(testInput.t.buffer)); in TestRsaEncryptDecrypt()
375 if(TPM_RC_SUCCESS != CryptRsaDecrypt(&testOutput.b, &testInput.b, in TestRsaEncryptDecrypt()
410 memcpy(testInput.t.buffer, c_RsaTestValue, DEFAULT_TEST_DIGEST_SIZE); in TestRsaEncryptDecrypt()
411 testInput.t.size = DEFAULT_TEST_DIGEST_SIZE; in TestRsaEncryptDecrypt()
414 if(TPM_RC_SUCCESS != CryptRsaEncrypt(&testOutput, &testInput.b, in TestRsaEncryptDecrypt()
418 MemoryCopy2B(&testInput.b, &testOutput.b, sizeof(testInput.t.buffer)); in TestRsaEncryptDecrypt()
[all …]
/external/antlr/gunit/src/main/java/org/antlr/gunit/
DgUnitBaseTest.java57 …public String execLexer(String testRuleName, int line, String testInput, boolean isFile) throws Ex… in execLexer() argument
61 String filePath = testInput; in execLexer()
71 input = new ANTLRStringStream(testInput); in execLexer()
146 …public Object execParser(String testRuleName, int line, String testInput, boolean isFile) throws E… in execParser() argument
150 String filePath = testInput; in execParser()
160 input = new ANTLRStringStream(testInput); in execParser()
288 …public Object execTreeParser(String testTreeRuleName, String testRuleName, String testInput, boole… in execTreeParser() argument
291 String filePath = testInput; in execTreeParser()
301 input = new ANTLRStringStream(testInput); in execTreeParser()
DgUnitExecutor.java232 …protected gUnitTestResult runLexer(String lexerName, String testRuleName, gUnitTestInput testInput in runLexer() argument
239 input = getANTLRInputStream(testInput); in runLexer()
306 …tring parserName, String lexerName, String testRuleName, gUnitTestInput testInput) throws Exceptio… in runParser() argument
314 input = getANTLRInputStream(testInput); in runParser()
428 …lexerName, String testRuleName, String testTreeRuleName, gUnitTestInput testInput) throws Exceptio… in runTreeParser() argument
438 input = getANTLRInputStream(testInput); in runTreeParser()
587 private CharStream getANTLRInputStream(gUnitTestInput testInput) throws IOException { in getANTLRInputStream() argument
589 if ( testInput.isFile) { in getANTLRInputStream()
590 String filePath = testInput.input; in getANTLRInputStream()
605 input = new ANTLRStringStream(testInput.input); in getANTLRInputStream()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DEastAsianWidth.java43 char[] testInput = {(char)0x4EBA};
45 measure(testInput, 0, 1, testResult, true); in measure() argument
/external/antlr/gunit/src/main/antlr3/org/antlr/gunit/
DgUnit.g126 String testInput = null;
131 in = new gUnitTestInput(testInput, inputIsFile, line);
135 testInput = $STRING.text.replace("\\n", "\n").replace("\\r", "\r").replace("\\t", "\t")
141 testInput = $ML_STRING.text;
146 testInput = $file.text;
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/
DPrimitiveArrayTest.java42 String testInput = "- " + pkg + ".ByteArr [ " + Arrays.toString(bytes) + " ]\n" + "- " in testValidConstructor() local
52 List<Object> wrappers = (List<Object>) yaml.load(testInput); in testValidConstructor()
/external/llvm-project/libc/utils/MPFRWrapper/
DMPFRUtils.h142 MPFRMatcher(InputType testInput, double ulpTolerance)
143 : input(testInput), ulpTolerance(ulpTolerance) {}
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemStorageBufferTests.cpp180 const tcu::UVec4 testInput,
203 const tcu::UVec4 testInput, in StorageBufferTestCase() argument
210 , m_testInput (testInput) in StorageBufferTestCase()
239 const tcu::UVec4 testInput, in StorageBufferTestInstance() argument
244 , m_testInput (testInput) in StorageBufferTestInstance()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java1353 for (String testInput : testInputs) { in TestCentralTime()
1354 Date dUS = sdfUS.parse(testInput); in TestCentralTime()
1355 Date dBZ = sdfBZ.parse(testInput); in TestCentralTime()
1356 assertEquals("Parse results should be same for input: " + testInput, dUS, dBZ); in TestCentralTime()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java1350 for (String testInput : testInputs) { in TestCentralTime()
1351 Date dUS = sdfUS.parse(testInput); in TestCentralTime()
1352 Date dBZ = sdfBZ.parse(testInput); in TestCentralTime()
1353 assertEquals("Parse results should be same for input: " + testInput, dUS, dBZ); in TestCentralTime()