Home
last modified time | relevance | path

Searched refs:expectedLength (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/v8/test/webkit/fast/js/
DJSON-parse-reviver.js34 shouldBe("currentHolder.length", "" + expectedLength);
79 expectedLength = this.length = 3;
85 expectedLength = this.length = 3;
103 expectedLength = 5;
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXMLHttpRequest.cpp879 long long expectedLength = m_response.expectedContentLength(); in abort() local
892 handleRequestError(0, EventTypeNames::abort, receivedLength, expectedLength); in abort()
986 …spatchEventAndLoadEnd(const AtomicString& type, long long receivedLength, long long expectedLength) in dispatchEventAndLoadEnd() argument
988 bool lengthComputable = expectedLength > 0 && receivedLength <= expectedLength; in dispatchEventAndLoadEnd()
990 … unsigned long long total = lengthComputable ? static_cast<unsigned long long>(expectedLength) : 0; in dispatchEventAndLoadEnd()
995 …hrottledProgressEvent(const AtomicString& type, long long receivedLength, long long expectedLength) in dispatchThrottledProgressEvent() argument
997 bool lengthComputable = expectedLength > 0 && receivedLength <= expectedLength; in dispatchThrottledProgressEvent()
999 … unsigned long long total = lengthComputable ? static_cast<unsigned long long>(expectedLength) : 0; in dispatchThrottledProgressEvent()
1017 long long expectedLength = m_response.expectedContentLength(); in handleNetworkError() local
1021 handleRequestError(NetworkError, EventTypeNames::error, receivedLength, expectedLength); in handleNetworkError()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECCurve.java42 int expectedLength = (getFieldSize() + 7) / 8; in decodePoint() local
59 if (encoded.length != (expectedLength + 1)) in decodePoint()
65 BigInteger X1 = fromArray(encoded, 1, expectedLength); in decodePoint()
74 if (encoded.length != (2 * expectedLength + 1)) in decodePoint()
79 BigInteger X1 = fromArray(encoded, 1, expectedLength); in decodePoint()
80 BigInteger Y1 = fromArray(encoded, 1 + expectedLength, expectedLength); in decodePoint()
/external/chromium_org/third_party/WebKit/Source/platform/audio/
DHRTFElevation.cpp85 size_t expectedLength = static_cast<size_t>(TotalNumberOfResponses * ResponseFrameSize); in getConcatenatedImpulseResponsesForSubject() local
88 bool isBusGood = responseLength == expectedLength && bus->numberOfChannels() == 2; in getConcatenatedImpulseResponsesForSubject()
185 size_t expectedLength = static_cast<size_t>(256 * (sampleRate / 44100.0)); in calculateKernelsForAzimuthElevation() local
188 bool isBusGood = responseLength == expectedLength && impulseResponse->numberOfChannels() == 2; in calculateKernelsForAzimuthElevation()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dspreptst.c760 int32_t srcLength, resultLength, expectedLength; in TestStringPrepProfiles() local
780 srcLength = resultLength = expectedLength = SPREP_PROFILE_TEST_MAX_LENGTH; in TestStringPrepProfiles()
785 expectedLength = u_unescape(profile_test_case[++i], expected, expectedLength); in TestStringPrepProfiles()
800 if (resultLength != expectedLength || u_strcmp(result, expected) != 0) { in TestStringPrepProfiles()
Dccapitst.c2714 int32_t expectedLength; in TestConvertExFromUTF8_C5F0() local
2746 expectedLength=6; in TestConvertExFromUTF8_C5F0()
2750 expectedLength=16; in TestConvertExFromUTF8_C5F0()
2758 &target, dest+expectedLength, in TestConvertExFromUTF8_C5F0()
2763 target!=dest+expectedLength || 0!=uprv_memcmp(dest, expected, expectedLength) || in TestConvertExFromUTF8_C5F0()
2764 dest[expectedLength]!=9 in TestConvertExFromUTF8_C5F0()
Dcloctst.c5335 const int32_t expectedLength = getExpectedReturnValue(&maximizeErrors[i]); in TestLikelySubtags() local
5352 else if (length != expectedLength) { in TestLikelySubtags()
5353 …ikelySubtags(), minimal \"%s\" expected length %d, but got %d\n", minimal, expectedLength, length); in TestLikelySubtags()
5369 const int32_t expectedLength = getExpectedReturnValue(&minimizeErrors[i]); in TestLikelySubtags() local
5386 else if (length != expectedLength) { in TestLikelySubtags()
5387 …imizeSubtags(), maximal \"%s\" expected length %d, but got %d\n", maximal, expectedLength, length); in TestLikelySubtags()
Dcapitst.c2298 … const int32_t expectedLength[PREFERRED_SIZE] = { 3, 3, 3, 4, 4, 8, 8, 8, 8, 8, 8, 4, 4, 3, 4, 3 }; in TestGetKeywordValuesForLocale() local
2300 … const int32_t expectedLength[PREFERRED_SIZE] = { 3, 3, 3, 4, 4, 7, 7, 7, 7, 7, 7, 4, 4, 3, 4, 3 }; in TestGetKeywordValuesForLocale() local
2322 if (size == expectedLength[i]) { in TestGetKeywordValuesForLocale()
2323 for (n = 0; n < expectedLength[i]; n++) { in TestGetKeywordValuesForLocale()
2341 …eywords (%d) does not match expected size (%d) for locale: %s\n", size, expectedLength[i], locale); in TestGetKeywordValuesForLocale()
Dnucnvtst.c1632 static const int32_t expectedLength[] ={ in TestSignatureDetection() local
1672 if(signatureLength != expectedLength[i]){ in TestSignatureDetection()
1673 …%s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLength[i]); in TestSignatureDetection()
1745 static const int32_t expectedLength[] ={ in TestSignatureDetection() local
1788 if(signatureLength != expectedLength[i]){ in TestSignatureDetection()
1789 …%s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLength[i]); in TestSignatureDetection()
/external/icu4c/test/cintltst/
Dspreptst.c760 int32_t srcLength, resultLength, expectedLength; in TestStringPrepProfiles() local
780 srcLength = resultLength = expectedLength = SPREP_PROFILE_TEST_MAX_LENGTH; in TestStringPrepProfiles()
785 expectedLength = u_unescape(profile_test_case[++i], expected, expectedLength); in TestStringPrepProfiles()
800 if (resultLength != expectedLength || u_strcmp(result, expected) != 0) { in TestStringPrepProfiles()
Dccapitst.c2674 int32_t expectedLength; in TestConvertExFromUTF8_C5F0() local
2706 expectedLength=6; in TestConvertExFromUTF8_C5F0()
2710 expectedLength=16; in TestConvertExFromUTF8_C5F0()
2718 &target, dest+expectedLength, in TestConvertExFromUTF8_C5F0()
2723 target!=dest+expectedLength || 0!=uprv_memcmp(dest, expected, expectedLength) || in TestConvertExFromUTF8_C5F0()
2724 dest[expectedLength]!=9 in TestConvertExFromUTF8_C5F0()
Dcapitst.c2375 … const int32_t expectedLength[PREFERRED_SIZE] = { 2, 2, 2, 3, 3, 8, 8, 8, 8, 8, 8, 3, 3, 2, 3, 2 }; in TestGetKeywordValuesForLocale() local
2379 … const int32_t expectedLength[PREFERRED_SIZE] = { 2, 2, 2, 3, 3, 4, 4, 4, 4, 4, 4, 3, 3, 2, 3, 2 }; in TestGetKeywordValuesForLocale() local
2402 if (size == expectedLength[i]) { in TestGetKeywordValuesForLocale()
2403 for (n = 0; n < expectedLength[i]; n++) { in TestGetKeywordValuesForLocale()
2421 …eywords (%d) does not match expected size (%d) for locale: %s\n", size, expectedLength[i], locale); in TestGetKeywordValuesForLocale()
Dcloctst.c5528 const int32_t expectedLength = getExpectedReturnValue(&maximizeErrors[i]); in TestLikelySubtags() local
5545 else if (length != expectedLength) { in TestLikelySubtags()
5546 …ikelySubtags(), minimal \"%s\" expected length %d, but got %d\n", minimal, expectedLength, length); in TestLikelySubtags()
5562 const int32_t expectedLength = getExpectedReturnValue(&minimizeErrors[i]); in TestLikelySubtags() local
5579 else if (length != expectedLength) { in TestLikelySubtags()
5580 …imizeSubtags(), maximal \"%s\" expected length %d, but got %d\n", maximal, expectedLength, length); in TestLikelySubtags()
Dnucnvtst.c1658 static const int32_t expectedLength[] ={ in TestSignatureDetection() local
1698 if(signatureLength != expectedLength[i]){ in TestSignatureDetection()
1699 …%s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLength[i]); in TestSignatureDetection()
1771 static const int32_t expectedLength[] ={ in TestSignatureDetection() local
1814 if(signatureLength != expectedLength[i]){ in TestSignatureDetection()
1815 …%s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLength[i]); in TestSignatureDetection()
/external/skia/tests/
DPointTest.cpp40 SkScalar expectedLength) { in test_length() argument
48 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(s1, expectedLength)); in test_length()
/external/chromium_org/third_party/WebKit/Source/platform/network/
DResourceResponse.h60 …ResourceResponse(const KURL&, const AtomicString& mimeType, long long expectedLength, const Atomic…
DResourceResponse.cpp72 …rceResponse(const KURL& url, const AtomicString& mimeType, long long expectedLength, const AtomicS… in ResourceResponse() argument
75 , m_expectedContentLength(expectedLength) in ResourceResponse()
/external/chromium_org/third_party/WebKit/Source/wtf/text/
DStringImpl.cpp89 size_t expectedLength = std::min(string->length(), kMaxSnippetLength); in fillWithSnippet() local
90 if (expectedLength == kMaxSnippetLength) in fillWithSnippet()
91 expectedLength += 3; // For the "...". in fillWithSnippet()
92 ++expectedLength; // For the terminating '\0'. in fillWithSnippet()
93 snippet.reserveCapacity(expectedLength); in fillWithSnippet()