/cts/tests/tests/transition/src/android/transition/cts/ |
PathMotionTest.java | 28 float expectedLength = expectedMeasure.getLength(); 29 assertEquals(expectedLength, pathMeasure.getLength(), 0.01f); 31 float minLength = Math.min(expectedLength, pathMeasure.getLength());
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
nodechildnodesappendchild.java | 65 int expectedLength; 71 expectedLength = (int) childList.getLength(); 72 expectedLength += 1; 76 assertEquals("childNodeLength", expectedLength, length);
|
/libcore/luni/src/test/java/libcore/java/util/ |
StringJoinerTest.java | 50 int expectedLength = 2 /* prefix and postfix */ 53 assertEquals(expectedLength, sj.length()); 63 int expectedLength = 2 /* prefix and postfix */ 66 assertEquals(expectedLength, sj.length());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
KeyAgreementSpi.java | 57 int expectedLength = (p.bitLength() + 7) / 8; 61 if (tmp.length == expectedLength) 66 if (tmp[0] == 0 && tmp.length == expectedLength + 1) 74 // tmp must be shorter than expectedLength 76 byte[] rv = new byte[expectedLength];
|
/external/v8/test/mjsunit/es6/ |
arrow-rest-params-lazy-parsing.js | 27 var expectedLength = (a === undefined) ? 0 : a - 2; 28 assertEquals(expectedLength, c.length); 40 var expectedLength = (a === undefined) ? 0 : a - 2; 41 assertEquals(expectedLength, c.length);
|
arrow-rest-params.js | 25 var expectedLength = (a === undefined) ? 0 : a - 2; 26 assertEquals(expectedLength, c.length); 38 var expectedLength = (a === undefined) ? 0 : a - 2; 39 assertEquals(expectedLength, c.length);
|
rest-params.js | 24 var expectedLength = arguments.length >= 3 ? arguments.length - 2 : 0; 25 assertEquals(expectedLength, c.length); 38 var expectedLength = arguments.length >= 3 ? arguments.length - 2 : 0; 39 assertEquals(expectedLength, c.length);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
StepCounterTestActivity.java | 218 final int expectedLength = 1; 222 expectedLength, 225 Assert.assertEquals(eventLengthMessage, expectedLength, valuesLength); 297 final int expectedLength = 1; 301 expectedLength, 304 Assert.assertEquals(eventLengthMessage, expectedLength, valuesLength);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
encodedstreamtest.cpp | 230 size_t actualLength, expectedLength;
232 char* expectedBuffer = ReadFile(expectedFilename, true, &expectedLength);
233 bool ret = (expectedLength == actualLength) && memcmp(expectedBuffer, actualBuffer, actualLength) == 0;
240 size_t expectedLength;
241 char* expectedBuffer = ReadFile(expectedFilename, true, &expectedLength);
242 bool ret = (expectedLength == actualLength) && memcmp(expectedBuffer, actualBuffer, actualLength) == 0;
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
FifoLengthVerification.java | 48 * @param expectedLength the expected FIFO length for the batch. 50 public FifoLengthVerification(int expectedLength, long expectedReportLatencyUs) { 51 mExpectedFifoLength = expectedLength;
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
FileRetrCommandHandlerTest.java | 87 int expectedLength = ((Integer) expected[1]).intValue();
89 LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLength);
94 //assertEquals("length for invocation #" + counter, expectedLength, actualLength);
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
FileRetrCommandHandlerTest.java | 88 int expectedLength = ((Integer)expected[1]).intValue();
90 LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLength);
96 //assertEquals("length for invocation #" + counter, expectedLength, actualLength);
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
BinaryHprofReader.java | 383 int expectedLength = 4 + 4 + 4 + (frames * BinaryHprof.ID_SIZE); 384 if (recordLength != expectedLength) { 386 + expectedLength 436 int expectedLength = 4 + 4 + (samplesCount * (4 + 4)); 437 if (recordLength != expectedLength) { 439 + expectedLength
|
/external/skia/tests/ |
PointTest.cpp | 38 // approximately expectedLength for this (x,y). 40 SkScalar expectedLength) { 48 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(s1, expectedLength));
|
/frameworks/base/libs/hwui/ |
PathParser.cpp | 101 static float parseFloat(PathParser::ParseResult* result, const char* startPtr, size_t expectedLength) { 107 result->failureMessage.append(startPtr, expectedLength); 113 result->failureMessage.append(startPtr, expectedLength);
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
RoutineWatchEvaluatorTest.java | 197 private void assertMaximumMatchedWordSequenceLength(int expectedLength, String text1, 201 assertEquals("MaximumMatchedWordSequenceLength", expectedLength, 203 assertEquals("MaximumMatchedWordSequenceLength", expectedLength,
|
/external/icu/icu4c/source/test/cintltst/ |
spreptst.c | 757 int32_t srcLength, resultLength, expectedLength; 777 srcLength = resultLength = expectedLength = SPREP_PROFILE_TEST_MAX_LENGTH; 782 expectedLength = u_unescape(profile_test_case[++i], expected, expectedLength); 797 if (resultLength != expectedLength || u_strcmp(result, expected) != 0) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
ECCurve.java | 366 int expectedLength = (getFieldSize() + 7) / 8; 384 if (encoded.length != (expectedLength + 1)) 390 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); 402 if (encoded.length != (2 * expectedLength + 1)) 407 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); 408 BigInteger Y = BigIntegers.fromUnsignedByteArray(encoded, 1 + expectedLength, expectedLength); 416 if (encoded.length != (2 * expectedLength + 1)) 421 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); 422 BigInteger Y = BigIntegers.fromUnsignedByteArray(encoded, 1 + expectedLength, expectedLength) [all...] |
/external/v8/test/webkit/fast/js/ |
JSON-parse-reviver.js | 34 shouldBe("currentHolder.length", "" + expectedLength); 80 expectedLength = 4; 86 expectedLength = this.length = 3; 104 expectedLength = 5;
|
/frameworks/av/media/mtp/ |
MtpDevice.cpp | 646 uint32_t expectedLength, 648 return readObjectInternal(handle, callback, &expectedLength, clientData); 678 const uint32_t* expectedLength, 689 return readData(callback, expectedLength, nullptr, clientData); 693 const uint32_t* expectedLength, 714 if (expectedLength && length != *expectedLength) {
|
/frameworks/base/core/java/android/security/net/config/ |
XmlConfigSource.java | 121 int expectedLength = Pin.getDigestLength(digestAlgorithm); 122 if (decodedDigest.length != expectedLength) { 125 + expectedLength);
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
AbstractZipFileTest.java | 137 int expectedLength = 5; 139 byte[] buffer = new byte[expectedLength]; 159 ze.setCompressedSize(expectedLength - 1); 168 assertEquals(expectedLength, count);
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/ |
BaseDexReaderLeb128Test.java | 248 private void performTest(int expectedValue, byte[] buf, int expectedLength) { 252 Assert.assertEquals(expectedLength, reader.getOffset()); 256 Assert.assertEquals(expectedLength, reader.getOffset());
|
/external/testng/src/main/java/org/testng/ |
Assert.java | 150 int expectedLength = Array.getLength(expected); 151 if (expectedLength == Array.getLength(actual)) { 152 for (int i = 0 ; i < expectedLength ; i++) { 165 failNotEquals(Array.getLength(actual), expectedLength, message == null ? "" : message [all...] |
/libcore/dex/src/main/java/com/android/dex/ |
Dex.java | 591 int expectedLength = readUleb128(); 592 String result = Mutf8.decode(this, new char[expectedLength]); 593 if (result.length() != expectedLength) { 594 throw new DexException("Declared length " + expectedLength [all...] |