Home
last modified time | relevance | path

Searched refs:resultSize (Results 1 – 14 of 14) sorted by relevance

/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/
DSortAndPruneComposites.java73 int resultSize = primesArray.size(); in pruneComposites() local
74 int[] result = new int[resultSize]; in pruneComposites()
76 for (int i = 0; i < resultSize; i++) { in pruneComposites()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLSignatureRawRSA.java176 final int resultSize; in engineVerify() local
178 resultSize = NativeCrypto.RSA_public_decrypt(sigBytes.length, sigBytes, in engineVerify()
186 boolean matches = (resultSize == inputOffset); in engineVerify()
187 for (int i = 0; i < resultSize; i++) { in engineVerify()
DOpenSSLCipherRSA.java312 int resultSize = doCryptoOperation(tmpBuf, output); in engineDoFinal() local
313 if (!encrypting && resultSize != output.length) { in engineDoFinal()
314 output = Arrays.copyOf(output, resultSize); in engineDoFinal()
385 int resultSize; in doCryptoOperation() local
388 resultSize = NativeCrypto.RSA_private_encrypt( in doCryptoOperation()
391 resultSize = NativeCrypto.RSA_public_encrypt( in doCryptoOperation()
397 resultSize = NativeCrypto.RSA_private_decrypt( in doCryptoOperation()
400 resultSize = NativeCrypto.RSA_public_decrypt( in doCryptoOperation()
409 return resultSize; in doCryptoOperation()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLSignatureRawRSA.java180 final int resultSize; in engineVerify() local
182 resultSize = NativeCrypto.RSA_public_decrypt(sigBytes.length, sigBytes, in engineVerify()
190 boolean matches = (resultSize == inputOffset); in engineVerify()
191 for (int i = 0; i < resultSize; i++) { in engineVerify()
DOpenSSLCipherRSA.java314 int resultSize = doCryptoOperation(tmpBuf, output); in engineDoFinal() local
315 if (!encrypting && resultSize != output.length) { in engineDoFinal()
316 output = Arrays.copyOf(output, resultSize); in engineDoFinal()
390 int resultSize; in doCryptoOperation() local
393 resultSize = NativeCrypto.RSA_private_encrypt( in doCryptoOperation()
396 resultSize = NativeCrypto.RSA_public_encrypt( in doCryptoOperation()
402 resultSize = NativeCrypto.RSA_private_decrypt( in doCryptoOperation()
405 resultSize = NativeCrypto.RSA_public_decrypt( in doCryptoOperation()
414 return resultSize; in doCryptoOperation()
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolOcclusionTests.cpp1120 const OcclusionQueryResultSize resultSize[] = { RESULT_SIZE_32_BIT, RESULT_SIZE_64_BIT }; in init() local
1123 for (int resultSizeIdx = 0; resultSizeIdx < DE_LENGTH_OF_ARRAY(resultSize); ++resultSizeIdx) in init()
1149 testVector.queryResultSize = resultSize[resultSizeIdx]; in init()
1210 …const vk::VkDeviceSize resultSize = (resultSizes[resultSizeIdx] == RESULT_SIZE_32_BIT ? sizeof(deU… in init() local
1215 1 * resultSize, in init()
1216 2 * resultSize, in init()
1217 3 * resultSize, in init()
1218 4 * resultSize, in init()
1219 5 * resultSize, in init()
1220 13 * resultSize, in init()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dreapits.c900 int32_t resultSize; in TestRegexCAPI() local
918 resultSize = uregex_replaceAll(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
921 TEST_ASSERT(resultSize == expectedResultSize); in TestRegexCAPI()
926 resultSize = uregex_replaceAll(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
929 TEST_ASSERT(resultSize == u_strlen(text2)); in TestRegexCAPI()
935 resultSize = uregex_replaceAll(re, replText, -1, buf, expectedResultSize, &status); in TestRegexCAPI()
938 TEST_ASSERT(resultSize == expectedResultSize); in TestRegexCAPI()
939 TEST_ASSERT(buf[resultSize] == (UChar)0xffff); in TestRegexCAPI()
946resultSize = uregex_replaceAll(re, replText, -1, buf, strlen("Replace xaax x1x x...x."), &status); in TestRegexCAPI()
949 TEST_ASSERT(resultSize == (int32_t)strlen("Replace <aa> <1> <...>.")); in TestRegexCAPI()
[all …]
Dcnumtst.c848 int32_t resultSize = 0; in TestNumberFormat() local
862 resultSize = unum_formatDecimal(fmt, numInitial, -1, dest, DESTCAPACITY, NULL, &status); in TestNumberFormat()
871 if (strlen(numFormatted) != resultSize) { in TestNumberFormat()
873 __FILE__, __LINE__, strlen(numFormatted), resultSize); in TestNumberFormat()
879resultSize = unum_formatDecimal(fmt, numInitial, -1, dest, DESTCAPACITY, &fieldPos, &status); in TestNumberFormat()
901 resultSize = unum_parseDecimal(fmt, dest, -1, NULL, desta, DESTCAPACITY, &status); in TestNumberFormat()
912 if (strlen(parseExpected) != resultSize) { in TestNumberFormat()
914 __FILE__, __LINE__, strlen(parseExpected), resultSize); in TestNumberFormat()
923 resultSize = unum_parseDecimal(fmt, dest, -1, &parsePos, desta, DESTCAPACITY, &status); in TestNumberFormat()
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DExtension.java199 int resultSize = resultList.size(); in getRepeatedValueFrom() local
200 if (resultSize == 0) { in getRepeatedValueFrom()
203 T result = clazz.cast(Array.newInstance(clazz.getComponentType(), resultSize)); in getRepeatedValueFrom()
204 for (int i = 0; i < resultSize; i++) { in getRepeatedValueFrom()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageSizeTests.cpp340 const tcu::IVec3 resultSize = readIVec3(bufferAlloc.getHostPtr()); in iterate() local
343 if (resultSize != expectedSize) in iterate()
344 …ect imageSize(): expected " + de::toString(expectedSize) + " but got " + de::toString(resultSize)); in iterate()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DConstant.cpp403 int resultSize; in fold() local
413 resultSize = 1; in fold()
425 resultSize = 1; in fold()
432 resultSize = 2; in fold()
443 resultSize = objectSize; in fold()
447 resultSize = objectSize; in fold()
452 TConstUnionArray newConstArray(resultSize); in fold()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java1113 int resultSize = names.find("GMT", 0, EnumSet.allOf(NameType.class)).size(); in TestTZDBNamesThreading()
1114 if (resultSize > 0) { in TestTZDBNamesThreading()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java1116 int resultSize = names.find("GMT", 0, EnumSet.allOf(NameType.class)).size(); in TestTZDBNamesThreading()
1117 if (resultSize > 0) { in TestTZDBNamesThreading()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc1464 int resultSize = in RSA_crypt_operation() local
1467 if (resultSize == -1) { in RSA_crypt_operation()
1475 resultSize); in RSA_crypt_operation()
1476 return static_cast<jint>(resultSize); in RSA_crypt_operation()