Searched defs:expectedLength (Results 1 - 20 of 20) sorted by relevance

/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/
H A DBaseDexReaderLeb128Test.java248 private void performTest(int expectedValue, byte[] buf, int expectedLength) { argument
252 Assert.assertEquals(expectedLength, reader.getOffset());
256 Assert.assertEquals(expectedLength, reader.getOffset());
H A DBaseDexReaderSleb128Test.java255 private void performTest(int expectedValue, byte[] buf, int expectedLength) { argument
259 Assert.assertEquals(expectedLength, reader.getOffset());
/external/chromium_org/third_party/skia/tests/
H A DPointTest.cpp38 // approximately expectedLength for this (x,y).
40 SkScalar expectedLength) {
48 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(s1, expectedLength));
39 test_length(skiatest::Reporter* reporter, SkScalar x, SkScalar y, SkScalar expectedLength) argument
/external/skia/tests/
H A DPointTest.cpp38 // approximately expectedLength for this (x,y).
40 SkScalar expectedLength) {
48 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(s1, expectedLength));
39 test_length(skiatest::Reporter* reporter, SkScalar x, SkScalar y, SkScalar expectedLength) argument
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DHRTFElevation.cpp85 size_t expectedLength = static_cast<size_t>(TotalNumberOfResponses * ResponseFrameSize); local
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/
H A Dspreptst.c760 int32_t srcLength, resultLength, expectedLength; local
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) {
H A Dcapitst.c2298 const int32_t expectedLength[PREFERRED_SIZE] = { 3, 3, 3, 4, 4, 8, 8, 8, 8, 8, 8, 4, 4, 3, 4, 3 }; local
2300 const int32_t expectedLength[PREFERRED_SIZE] = { 3, 3, 3, 4, 4, 7, 7, 7, 7, 7, 7, 4, 4, 3, 4, 3 }; local
2322 if (size == expectedLength[i]) {
2323 for (n = 0; n < expectedLength[i]; n++) {
2341 log_err("Number of keywords (%d) does not match expected size (%d) for locale: %s\n", size, expectedLength[i], locale);
H A Dcloctst.c5335 const int32_t expectedLength = getExpectedReturnValue(&maximizeErrors[i]); local
5352 else if (length != expectedLength) {
5353 log_err(" unexpected length for uloc_addLikelySubtags(), minimal \"%s\" expected length %d, but got %d\n", minimal, expectedLength, length);
5369 const int32_t expectedLength = getExpectedReturnValue(&minimizeErrors[i]); local
5386 else if (length != expectedLength) {
5387 log_err(" unexpected length for uloc_minimizeSubtags(), maximal \"%s\" expected length %d, but got %d\n", maximal, expectedLength, length);
H A Dccapitst.c2714 int32_t expectedLength; local
2715 char dest[20]; /* longer than longest expectedLength */
2746 expectedLength=6;
2750 expectedLength=16;
2758 &target, dest+expectedLength,
2763 target!=dest+expectedLength || 0!=uprv_memcmp(dest, expected, expectedLength) ||
2764 dest[expectedLength]!=9
H A Dnucnvtst.c1632 static const int32_t expectedLength[] ={ local
1672 if(signatureLength != expectedLength[i]){
1673 log_err("ucnv_detectUnicodeSignature failed for source : %s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLength[i]);
1745 static const int32_t expectedLength[] ={ local
1788 if(signatureLength != expectedLength[i]){
1789 log_err("ucnv_detectUnicodeSignature test2 failed for source : %s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLength[i]);
/external/icu/icu4c/source/test/cintltst/
H A Dspreptst.c760 int32_t srcLength, resultLength, expectedLength; local
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) {
H A Dcapitst.c2407 const int32_t expectedLength[PREFERRED_SIZE] = { 3, 3, 3, 4, 4, 9, 9, 9, 9, 9, 9, 4, 4, 3, 4, 3 }; local
2409 // const int32_t expectedLength[PREFERRED_SIZE] = { 3, 3, 3, 4, 4, 8, 8, 8, 8, 8, 8, 4, 4, 3, 4, 3 };
2410 const int32_t expectedLength[PREFERRED_SIZE] = { 3, 3, 3, 4, 4, 6, 6, 6, 6, 6, 6, 4, 4, 3, 4, 3 }; // android-changed local
2432 if (size == expectedLength[i]) {
2433 for (n = 0; n < expectedLength[i]; n++) {
2451 log_err("Number of keywords (%d) does not match expected size (%d) for locale: %s\n", size, expectedLength[i], locale);
H A Dccapitst.c2679 int32_t expectedLength; local
2680 char dest[20]; /* longer than longest expectedLength */
2711 expectedLength=6;
2715 expectedLength=16;
2723 &target, dest+expectedLength,
2728 target!=dest+expectedLength || 0!=uprv_memcmp(dest, expected, expectedLength) ||
2729 dest[expectedLength]!=9
H A Dcloctst.c5610 const int32_t expectedLength = getExpectedReturnValue(&maximizeErrors[i]); local
5627 else if (length != expectedLength) {
5628 log_err(" unexpected length for uloc_addLikelySubtags(), minimal \"%s\" expected length %d, but got %d\n", minimal, expectedLength, length);
5644 const int32_t expectedLength = getExpectedReturnValue(&minimizeErrors[i]); local
5661 else if (length != expectedLength) {
5662 log_err(" unexpected length for uloc_minimizeSubtags(), maximal \"%s\" expected length %d, but got %d\n", maximal, expectedLength, length);
H A Dnucnvtst.c1645 static const int32_t expectedLength[] ={ local
1685 if(signatureLength != expectedLength[i]){
1686 log_err("ucnv_detectUnicodeSignature failed for source : %s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLength[i]);
1758 static const int32_t expectedLength[] ={ local
1801 if(signatureLength != expectedLength[i]){
1802 log_err("ucnv_detectUnicodeSignature test2 failed for source : %s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLength[i]);
/external/chromium_org/third_party/WebKit/Source/platform/network/
H A DResourceResponse.cpp63 ResourceResponse::ResourceResponse(const KURL& url, const AtomicString& mimeType, long long expectedLength, const AtomicString& textEncodingName, const String& filename) argument
66 , m_expectedContentLength(expectedLength)
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DXMLHttpRequest.cpp922 long long expectedLength = m_response.expectedContentLength(); local
935 handleRequestError(0, EventTypeNames::abort, receivedLength, expectedLength);
1029 void XMLHttpRequest::dispatchProgressEvent(const AtomicString& type, long long receivedLength, long long expectedLength) argument
1031 bool lengthComputable = expectedLength > 0 && receivedLength <= expectedLength;
1033 unsigned long long total = lengthComputable ? static_cast<unsigned long long>(expectedLength) : 0;
1048 long long expectedLength = m_response.expectedContentLength(); local
1052 handleRequestError(NetworkError, EventTypeNames::error, receivedLength, expectedLength);
1061 long long expectedLength = m_response.expectedContentLength(); local
1065 handleRequestError(AbortError, EventTypeNames::abort, receivedLength, expectedLength);
1068 handleRequestError(ExceptionCode exceptionCode, const AtomicString& type, long long receivedLength, long long expectedLength) argument
1428 long long expectedLength = m_response.expectedContentLength(); local
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DStringImpl.cpp93 size_t expectedLength = std::min(string->length(), kMaxSnippetLength); local
94 if (expectedLength == kMaxSnippetLength)
95 expectedLength += 3; // For the "...".
96 ++expectedLength; // For the terminating '\0'.
97 snippet.reserveCapacity(expectedLength);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.apache.commons.httpclient_3.1.0.v201005080502.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/jarjar/lib/
H A Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...

Completed in 619 milliseconds