Searched defs:expectedLength (Results 1 - 22 of 22) 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/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DEncoder.java294 public Encoder encodePointerArray(int length, int offset, int expectedLength) { argument
295 return encoderForArray(BindingsHelper.POINTER_SIZE, length, offset, expectedLength);
301 public void encode(boolean[] v, int offset, int arrayNullability, int expectedLength) { argument
306 if (expectedLength != BindingsHelper.UNSPECIFIED_ARRAY_LENGTH &&
307 expectedLength != v.length) {
325 public void encode(byte[] v, int offset, int arrayNullability, int expectedLength) { argument
330 if (expectedLength != BindingsHelper.UNSPECIFIED_ARRAY_LENGTH &&
331 expectedLength != v.length) {
340 public void encode(short[] v, int offset, int arrayNullability, int expectedLength) { argument
345 encoderForArray(2, v.length, offset, expectedLength)
351 encode(int[] v, int offset, int arrayNullability, int expectedLength) argument
362 encode(float[] v, int offset, int arrayNullability, int expectedLength) argument
373 encode(long[] v, int offset, int arrayNullability, int expectedLength) argument
384 encode(double[] v, int offset, int arrayNullability, int expectedLength) argument
395 encode(Handle[] v, int offset, int arrayNullability, int expectedLength) argument
411 encode(T[] v, int offset, int arrayNullability, int expectedLength, Interface.Manager<T, ?> manager) argument
428 encode(InterfaceRequest<I>[] v, int offset, int arrayNullability, int expectedLength) argument
469 encoderForArray( int elementSizeInByte, int length, int offset, int expectedLength) argument
[all...]
H A DDecoder.java143 public DataHeader readDataHeaderForPointerArray(int expectedLength) { argument
144 return readDataHeaderForArray(8, expectedLength);
226 public boolean[] readBooleans(int offset, int arrayNullability, int expectedLength) { argument
231 DataHeader si = d.readDataHeaderForBooleanArray(expectedLength);
250 public byte[] readBytes(int offset, int arrayNullability, int expectedLength) { argument
255 DataHeader si = d.readDataHeaderForArray(1, expectedLength);
265 public short[] readShorts(int offset, int arrayNullability, int expectedLength) { argument
270 DataHeader si = d.readDataHeaderForArray(2, expectedLength);
280 public int[] readInts(int offset, int arrayNullability, int expectedLength) { argument
285 DataHeader si = d.readDataHeaderForArray(4, expectedLength);
295 readFloats(int offset, int arrayNullability, int expectedLength) argument
310 readLongs(int offset, int arrayNullability, int expectedLength) argument
325 readDoubles(int offset, int arrayNullability, int expectedLength) argument
429 readHandles(int offset, int arrayNullability, int expectedLength) argument
447 readUntypedHandles( int offset, int arrayNullability, int expectedLength) argument
466 readConsumerHandles( int offset, int arrayNullability, int expectedLength) argument
485 readProducerHandles( int offset, int arrayNullability, int expectedLength) argument
505 readMessagePipeHandles( int offset, int arrayNullability, int expectedLength) argument
525 readSharedBufferHandles( int offset, int arrayNullability, int expectedLength) argument
545 readServiceInterfaces( int offset, int arrayNullability, int expectedLength, Interface.Manager<S, P> manager) argument
568 readInterfaceRequests( int offset, int arrayNullability, int expectedLength) argument
596 readDataHeaderForBooleanArray(int expectedLength) argument
612 readDataHeaderForArray(long elementSize, int expectedLength) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DHRTFElevation.cpp92 size_t expectedLength = static_cast<size_t>(TotalNumberOfResponses * ResponseFrameSize); local
95 bool isBusGood = responseLength == expectedLength && bus->numberOfChannels() == 2;
176 size_t expectedLength = static_cast<size_t>(256 * (sampleRate / 44100.0));
179 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.c2356 const int32_t expectedLength[PREFERRED_SIZE] = { 3, 3, 3, 4, 4, 9, 9, 9, 9, 9, 9, 4, 4, 3, 4, 3 }; local
2358 const int32_t expectedLength[PREFERRED_SIZE] = { 3, 3, 3, 4, 4, 8, 8, 8, 8, 8, 8, 4, 4, 3, 4, 3 }; local
2380 if (size == expectedLength[i]) {
2381 for (n = 0; n < expectedLength[i]; n++) {
2399 log_err("Number of keywords (%d) does not match expected size (%d) for locale: %s\n", size, expectedLength[i], locale);
H A Dccapitst.c2675 int32_t expectedLength; local
2676 char dest[20]; /* longer than longest expectedLength */
2707 expectedLength=6;
2711 expectedLength=16;
2719 &target, dest+expectedLength,
2724 target!=dest+expectedLength || 0!=uprv_memcmp(dest, expected, expectedLength) ||
2725 dest[expectedLength]!=9
H A Dcloctst.c5609 const int32_t expectedLength = getExpectedReturnValue(&maximizeErrors[i]); local
5626 else if (length != expectedLength) {
5627 log_err(" unexpected length for uloc_addLikelySubtags(), minimal \"%s\" expected length %d, but got %d\n", minimal, expectedLength, length);
5643 const int32_t expectedLength = getExpectedReturnValue(&minimizeErrors[i]); local
5660 else if (length != expectedLength) {
5661 log_err(" unexpected length for uloc_minimizeSubtags(), maximal \"%s\" expected length %d, but got %d\n", maximal, expectedLength, length);
H A Dnucnvtst.c1640 static const int32_t expectedLength[] ={ local
1680 if(signatureLength != expectedLength[i]){
1681 log_err("ucnv_detectUnicodeSignature failed for source : %s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLength[i]);
1753 static const int32_t expectedLength[] ={ local
1796 if(signatureLength != expectedLength[i]){
1797 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.cpp64 ResourceResponse::ResourceResponse(const KURL& url, const AtomicString& mimeType, long long expectedLength, const AtomicString& textEncodingName, const String& filename) argument
67 , m_expectedContentLength(expectedLength)
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DXMLHttpRequest.cpp908 long long expectedLength = m_response.expectedContentLength(); local
926 handleRequestError(0, EventTypeNames::abort, receivedLength, expectedLength);
1026 void XMLHttpRequest::dispatchProgressEvent(const AtomicString& type, long long receivedLength, long long expectedLength) argument
1028 bool lengthComputable = expectedLength > 0 && receivedLength <= expectedLength;
1030 unsigned long long total = lengthComputable ? static_cast<unsigned long long>(expectedLength) : 0;
1048 long long expectedLength = m_response.expectedContentLength(); local
1058 handleRequestError(NetworkError, EventTypeNames::error, receivedLength, expectedLength);
1066 long long expectedLength = m_response.expectedContentLength(); local
1076 handleRequestError(AbortError, EventTypeNames::abort, receivedLength, expectedLength);
1079 handleRequestError(ExceptionCode exceptionCode, const AtomicString& type, long long receivedLength, long long expectedLength) argument
1526 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 7910 milliseconds