HomeSort by relevance Sort by last modified time
    Searched refs:expectedLength (Results 1 - 25 of 47) sorted by null

1 2

  /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);
  /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);
  /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/chromium_org/third_party/WebKit/Source/core/xml/
XMLHttpRequest.cpp     [all...]
  /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/chromium_org/third_party/skia/tests/
PointTest.cpp 38 // approximately expectedLength for this (x,y).
40 SkScalar expectedLength) {
48 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(s1, expectedLength));
  /external/skia/tests/
PointTest.cpp 38 // approximately expectedLength for this (x,y).
40 SkScalar expectedLength) {
48 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(s1, expectedLength));
  /external/chromium_org/third_party/WebKit/Source/platform/audio/
HRTFElevation.cpp 85 size_t expectedLength = static_cast<size_t>(TotalNumberOfResponses * ResponseFrameSize);
88 bool isBusGood = responseLength == expectedLength && bus->numberOfChannels() == 2;
185 size_t expectedLength = static_cast<size_t>(256 * (sampleRate / 44100.0));
188 bool isBusGood = responseLength == expectedLength && impulseResponse->numberOfChannels() == 2;
  /external/chromium_org/third_party/icu/source/test/cintltst/
spreptst.c 760 int32_t srcLength, resultLength, expectedLength;
780 srcLength = resultLength = expectedLength = SPREP_PROFILE_TEST_MAX_LENGTH;
785 expectedLength = u_unescape(profile_test_case[++i], expected, expectedLength);
800 if (resultLength != expectedLength || u_strcmp(result, expected) != 0) {
capitst.c     [all...]
ccapitst.c     [all...]
cloctst.c     [all...]
  /external/icu/icu4c/source/test/cintltst/
spreptst.c 760 int32_t srcLength, resultLength, expectedLength;
780 srcLength = resultLength = expectedLength = SPREP_PROFILE_TEST_MAX_LENGTH;
785 expectedLength = u_unescape(profile_test_case[++i], expected, expectedLength);
800 if (resultLength != expectedLength || u_strcmp(result, expected) != 0) {
capitst.c     [all...]
ccapitst.c     [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
ECCurve.java 240 int expectedLength = (getFieldSize() + 7) / 8;
257 if (encoded.length != (expectedLength + 1))
263 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength);
272 if (encoded.length != (2 * expectedLength + 1))
277 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength);
278 BigInteger Y = BigIntegers.fromUnsignedByteArray(encoded, 1 + expectedLength, expectedLength);
  /libcore/luni/src/test/java/libcore/java/util/zip/
ZipFileTest.java 139 int expectedLength = 5;
141 byte[] buffer = new byte[expectedLength];
161 ze.setCompressedSize(expectedLength - 1);
170 assertEquals(expectedLength, count);
  /external/chromium_org/v8/test/webkit/fast/js/
JSON-parse-reviver.js 34 shouldBe("currentHolder.length", "" + expectedLength);
79 expectedLength = this.length = 3;
85 expectedLength = this.length = 3;
103 expectedLength = 5;
  /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());
BaseDexReaderSleb128Test.java 255 private void performTest(int expectedValue, byte[] buf, int expectedLength) {
259 Assert.assertEquals(expectedLength, reader.getOffset());
  /external/chromium_org/third_party/WebKit/Source/platform/network/
ResourceResponse.cpp 63 ResourceResponse::ResourceResponse(const KURL& url, const AtomicString& mimeType, long long expectedLength, const AtomicString& textEncodingName, const String& filename)
66 , m_expectedContentLength(expectedLength)
ResourceResponse.h 61 ResourceResponse(const KURL&, const AtomicString& mimeType, long long expectedLength, const AtomicString& textEncodingName, const String& filename);
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
BerInputStream.java 84 * @param expectedLength expected length of full encoding, this includes
87 public BerInputStream(byte[] encoded, int offset, int expectedLength) throws IOException {
96 && (offset + expectedLength) != (this.offset + this.length)) {
  /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...]
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
StringImpl.cpp 93 size_t expectedLength = std::min(string->length(), kMaxSnippetLength);
94 if (expectedLength == kMaxSnippetLength)
95 expectedLength += 3; // For the "...".
96 ++expectedLength; // For the terminating '\0'.
97 snippet.reserveCapacity(expectedLength);
    [all...]

Completed in 1171 milliseconds

1 2