Home
last modified time | relevance | path

Searched refs:expectedOffset (Results 1 – 25 of 28) sorted by relevance

12

/external/cronet/third_party/icu/source/test/intltest/
Dnumbertest_skeletons.cpp285 int32_t expectedOffset = u_strlen(stem) + ((suffix[0] == u'/') ? 1 : 0); in stemsRequiringOption() local
286 assertEquals(skeletonString, expectedOffset, perror.offset); in stemsRequiringOption()
287 UnicodeString expectedPreContext = skeletonString.tempSubString(0, expectedOffset); in stemsRequiringOption()
289 … expectedPreContext = expectedPreContext.tempSubString(expectedOffset - U_PARSE_CONTEXT_LEN + 1); in stemsRequiringOption()
292 UnicodeString expectedPostContext = skeletonString.tempSubString(expectedOffset); in stemsRequiringOption()
Drbbiapts.h100 …void doTest(UnicodeString& testString, int32_t start, int32_t gotoffset, int32_t expectedOffset, c…
Dnumbertest_parse.cpp214 int32_t expectedOffset; in testSeriesMatcher() member
238 assertEquals("'" + input + "'", cas.expectedOffset, actualOffset); in testSeriesMatcher()
Drbbiapts.cpp1468 …UnicodeString& testString, int32_t start, int32_t gotoffset, int32_t expectedOffset, const char* e… in doTest() argument
1472 if(gotoffset != expectedOffset) in doTest()
1473 …nicodeString)"ERROR:****returned #" + gotoffset + (UnicodeString)" instead of #" + expectedOffset); in doTest()
Dtztest.cpp329 double expectedOffset = (((double)expectedHour) * millisPerHour); in TestPRTOffset() local
332 if (expectedOffset != foundOffset) { in TestPRTOffset()
1162 int32_t expectedOffset; in TestCustomParse() member
1196 int32_t exp = kData[i].expectedOffset; in TestCustomParse()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_skeletons.cpp285 int32_t expectedOffset = u_strlen(stem) + ((suffix[0] == u'/') ? 1 : 0); in stemsRequiringOption() local
286 assertEquals(skeletonString, expectedOffset, perror.offset); in stemsRequiringOption()
287 UnicodeString expectedPreContext = skeletonString.tempSubString(0, expectedOffset); in stemsRequiringOption()
289 … expectedPreContext = expectedPreContext.tempSubString(expectedOffset - U_PARSE_CONTEXT_LEN + 1); in stemsRequiringOption()
292 UnicodeString expectedPostContext = skeletonString.tempSubString(expectedOffset); in stemsRequiringOption()
Drbbiapts.h100 …void doTest(UnicodeString& testString, int32_t start, int32_t gotoffset, int32_t expectedOffset, c…
Dnumbertest_parse.cpp214 int32_t expectedOffset; in testSeriesMatcher() member
238 assertEquals("'" + input + "'", cas.expectedOffset, actualOffset); in testSeriesMatcher()
Drbbiapts.cpp1468 …UnicodeString& testString, int32_t start, int32_t gotoffset, int32_t expectedOffset, const char* e… in doTest() argument
1472 if(gotoffset != expectedOffset) in doTest()
1473 …nicodeString)"ERROR:****returned #" + gotoffset + (UnicodeString)" instead of #" + expectedOffset); in doTest()
Dtztest.cpp329 double expectedOffset = (((double)expectedHour) * millisPerHour); in TestPRTOffset() local
332 if (expectedOffset != foundOffset) { in TestPRTOffset()
1162 int32_t expectedOffset; in TestCustomParse() member
1196 int32_t exp = kData[i].expectedOffset; in TestCustomParse()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DDigestSignatureSpi.java182 int expectedOffset = sigOffset + 2; in engineVerify() local
185 for (int i = 0; i < expected.length - expectedOffset; i++) in engineVerify()
187 nonEqual |= (sig[sigOffset + i] ^ expected[expectedOffset + i]); in engineVerify()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DDigestSignatureSpi.java186 int expectedOffset = sigOffset + 2; in engineVerify() local
189 for (int i = 0; i < expected.length - expectedOffset; i++) in engineVerify()
191 nonEqual |= (sig[sigOffset + i] ^ expected[expectedOffset + i]); in engineVerify()
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferMAXSizeValidation.cpp192 const int expectedOffset = 0; in iterate() local
194 if (expectedOffset != textureOffset) in iterate()
197 << "Expected GL_TEXTURE_BUFFER_OFFSET_EXT parameter value : " << expectedOffset << "\n" in iterate()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DDigestSignatureSpi.java186 int expectedOffset = sigOffset + 2; in engineVerify() local
189 for (int i = 0; i < expected.length - expectedOffset; i++) in engineVerify()
191 nonEqual |= (sig[sigOffset + i] ^ expected[expectedOffset + i]); in engineVerify()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DRSADigestSigner.java221 int expectedOffset = expected.length - hash.length - 2; in verifySignature() local
230 nonEqual |= (sig[sigOffset + i] ^ expected[expectedOffset + i]); in verifySignature()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/signers/
DRSADigestSigner.java225 int expectedOffset = expected.length - hash.length - 2; in verifySignature() local
234 nonEqual |= (sig[sigOffset + i] ^ expected[expectedOffset + i]); in verifySignature()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/signers/
DRSADigestSigner.java225 int expectedOffset = expected.length - hash.length - 2; in verifySignature() local
234 nonEqual |= (sig[sigOffset + i] ^ expected[expectedOffset + i]); in verifySignature()
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/
DZoneInfoDataTest.java769 private static void assertRawOffset(ZoneInfoData zoneInfoData, Duration expectedOffset) { in assertRawOffset() argument
770 assertEquals(expectedOffset.toMillis(), zoneInfoData.getRawOffset()); in assertRawOffset()
790 ZoneInfoData zoneInfoData, Duration expectedOffset, Instant... times) { in assertOffsetAt() argument
793 expectedOffset.toMillis(), zoneInfoData.getOffset(time.toEpochMilli())); in assertOffsetAt()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIAPITest.java464 …private void doTest(String testString, int start, int gotoffset, int expectedOffset, String expect… in doTest() argument
467 if (gotoffset != expectedOffset) in doTest()
468 errln("ERROR:****returned #" + gotoffset + " instead of #" + expectedOffset); in doTest()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIAPITest.java467 …private void doTest(String testString, int start, int gotoffset, int expectedOffset, String expect… in doTest() argument
470 if (gotoffset != expectedOffset) in doTest()
471 errln("ERROR:****returned #" + gotoffset + " instead of #" + expectedOffset); in doTest()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/lz77support/
DLZ77CompressorTest.java323 …private static final void assertBackReference(int expectedOffset, int expectedLength, LZ77Compress… in assertBackReference() argument
326 assertEquals(expectedOffset, b.getOffset()); in assertBackReference()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DNumberParserTest.java245 int expectedOffset = (Integer) cas[1]; in testSeriesMatcher() local
253 assertEquals("'" + input + "'", expectedOffset, actualOffset); in testSeriesMatcher()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DNumberParserTest.java242 int expectedOffset = (Integer) cas[1]; in testSeriesMatcher() local
250 assertEquals("'" + input + "'", expectedOffset, actualOffset); in testSeriesMatcher()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRegressionTest.java1181 int expectedOffset = ONE_HOUR*2; // GMT+2 - NO DST in TestJohannesburg() local
1184 if(offset != expectedOffset) { in TestJohannesburg()
1185 … errln("FAIL: zone " + j_id +" returned offset in July " + offset +", expected "+expectedOffset); in TestJohannesburg()
1192 if(offset2 != expectedOffset) { in TestJohannesburg()
1193 …rln("FAIL: zone " + j_id +" returned offset in December " + offset2 +", expected "+expectedOffset); in TestJohannesburg()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRegressionTest.java1184 int expectedOffset = ONE_HOUR*2; // GMT+2 - NO DST in TestJohannesburg() local
1187 if(offset != expectedOffset) { in TestJohannesburg()
1188 … errln("FAIL: zone " + j_id +" returned offset in July " + offset +", expected "+expectedOffset); in TestJohannesburg()
1195 if(offset2 != expectedOffset) { in TestJohannesburg()
1196 …rln("FAIL: zone " + j_id +" returned offset in December " + offset2 +", expected "+expectedOffset); in TestJohannesburg()

12