/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Decoder.java | 143 public DataHeader readDataHeaderForPointerArray(int expectedLength) { in readDataHeaderForPointerArray() argument 144 return readDataHeaderForArray(8, expectedLength); in readDataHeaderForPointerArray() 226 public boolean[] readBooleans(int offset, int arrayNullability, int expectedLength) { in readBooleans() argument 231 DataHeader si = d.readDataHeaderForBooleanArray(expectedLength); in readBooleans() 250 public byte[] readBytes(int offset, int arrayNullability, int expectedLength) { in readBytes() argument 255 DataHeader si = d.readDataHeaderForArray(1, expectedLength); in readBytes() 265 public short[] readShorts(int offset, int arrayNullability, int expectedLength) { in readShorts() argument 270 DataHeader si = d.readDataHeaderForArray(2, expectedLength); in readShorts() 280 public int[] readInts(int offset, int arrayNullability, int expectedLength) { in readInts() argument 285 DataHeader si = d.readDataHeaderForArray(4, expectedLength); in readInts() [all …]
|
D | Encoder.java | 294 public Encoder encodePointerArray(int length, int offset, int expectedLength) { in encodePointerArray() argument 295 return encoderForArray(BindingsHelper.POINTER_SIZE, length, offset, expectedLength); in encodePointerArray() 301 public void encode(boolean[] v, int offset, int arrayNullability, int expectedLength) { in encode() argument 306 if (expectedLength != BindingsHelper.UNSPECIFIED_ARRAY_LENGTH && in encode() 307 expectedLength != v.length) { in encode() 325 public void encode(byte[] v, int offset, int arrayNullability, int expectedLength) { in encode() argument 330 if (expectedLength != BindingsHelper.UNSPECIFIED_ARRAY_LENGTH && in encode() 331 expectedLength != v.length) { in encode() 340 public void encode(short[] v, int offset, int arrayNullability, int expectedLength) { in encode() argument 345 encoderForArray(2, v.length, offset, expectedLength).append(v); in encode() [all …]
|
/external/chromium_org/v8/test/webkit/fast/js/ |
D | JSON-parse-reviver.js | 34 shouldBe("currentHolder.length", "" + expectedLength); 79 expectedLength = this.length = 3; 85 expectedLength = this.length = 3; 103 expectedLength = 5;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | KeyAgreementSpi.java | 57 int expectedLength = (p.bitLength() + 7) / 8; in bigIntToBytes() local 61 if (tmp.length == expectedLength) in bigIntToBytes() 66 if (tmp[0] == 0 && tmp.length == expectedLength + 1) in bigIntToBytes() 76 byte[] rv = new byte[expectedLength]; in bigIntToBytes()
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
D | XMLHttpRequest.cpp | 908 long long expectedLength = m_response.expectedContentLength(); in abort() local 926 handleRequestError(0, EventTypeNames::abort, receivedLength, expectedLength); in abort() 1026 …dispatchProgressEvent(const AtomicString& type, long long receivedLength, long long expectedLength) in dispatchProgressEvent() argument 1028 bool lengthComputable = expectedLength > 0 && receivedLength <= expectedLength; in dispatchProgressEvent() 1030 … unsigned long long total = lengthComputable ? static_cast<unsigned long long>(expectedLength) : 0; in dispatchProgressEvent() 1048 long long expectedLength = m_response.expectedContentLength(); in handleNetworkError() local 1058 handleRequestError(NetworkError, EventTypeNames::error, receivedLength, expectedLength); in handleNetworkError() 1066 long long expectedLength = m_response.expectedContentLength(); in handleDidCancel() local 1076 handleRequestError(AbortError, EventTypeNames::abort, receivedLength, expectedLength); in handleDidCancel() 1079 …onCode exceptionCode, const AtomicString& type, long long receivedLength, long long expectedLength) in handleRequestError() argument [all …]
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/ |
D | BaseDexReaderLeb128Test.java | 248 private void performTest(int expectedValue, byte[] buf, int expectedLength) { in performTest() argument 252 Assert.assertEquals(expectedLength, reader.getOffset()); in performTest() 256 Assert.assertEquals(expectedLength, reader.getOffset()); in performTest()
|
D | BaseDexReaderSleb128Test.java | 255 private void performTest(int expectedValue, byte[] buf, int expectedLength) { in performTest() argument 259 Assert.assertEquals(expectedLength, reader.getOffset()); in performTest()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | ECCurve.java | 240 int expectedLength = (getFieldSize() + 7) / 8; in decodePoint() local 257 if (encoded.length != (expectedLength + 1)) in decodePoint() 263 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); in decodePoint() 272 if (encoded.length != (2 * expectedLength + 1)) in decodePoint() 277 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); in decodePoint() 278 … BigInteger Y = BigIntegers.fromUnsignedByteArray(encoded, 1 + expectedLength, expectedLength); in decodePoint()
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
D | HRTFElevation.cpp | 92 size_t expectedLength = static_cast<size_t>(TotalNumberOfResponses * ResponseFrameSize); in getConcatenatedImpulseResponsesForSubject() local 95 bool isBusGood = responseLength == expectedLength && bus->numberOfChannels() == 2; in getConcatenatedImpulseResponsesForSubject() 176 size_t expectedLength = static_cast<size_t>(256 * (sampleRate / 44100.0)); in calculateKernelsForAzimuthElevation() local 179 bool isBusGood = responseLength == expectedLength && impulseResponse->numberOfChannels() == 2; in calculateKernelsForAzimuthElevation()
|
/external/icu/icu4c/source/test/cintltst/ |
D | spreptst.c | 760 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()
|
D | ccapitst.c | 2679 int32_t expectedLength; in TestConvertExFromUTF8_C5F0() local 2711 expectedLength=6; in TestConvertExFromUTF8_C5F0() 2715 expectedLength=16; in TestConvertExFromUTF8_C5F0() 2723 &target, dest+expectedLength, in TestConvertExFromUTF8_C5F0() 2728 target!=dest+expectedLength || 0!=uprv_memcmp(dest, expected, expectedLength) || in TestConvertExFromUTF8_C5F0() 2729 dest[expectedLength]!=9 in TestConvertExFromUTF8_C5F0()
|
D | cloctst.c | 5610 const int32_t expectedLength = getExpectedReturnValue(&maximizeErrors[i]); in TestLikelySubtags() local 5627 else if (length != expectedLength) { in TestLikelySubtags() 5628 …ikelySubtags(), minimal \"%s\" expected length %d, but got %d\n", minimal, expectedLength, length); in TestLikelySubtags() 5644 const int32_t expectedLength = getExpectedReturnValue(&minimizeErrors[i]); in TestLikelySubtags() local 5661 else if (length != expectedLength) { in TestLikelySubtags() 5662 …imizeSubtags(), maximal \"%s\" expected length %d, but got %d\n", maximal, expectedLength, length); in TestLikelySubtags()
|
D | capitst.c | 2407 … const int32_t expectedLength[PREFERRED_SIZE] = { 3, 3, 3, 4, 4, 9, 9, 9, 9, 9, 9, 4, 4, 3, 4, 3 }; in TestGetKeywordValuesForLocale() local 2410 …const int32_t expectedLength[PREFERRED_SIZE] = { 3, 3, 3, 4, 4, 6, 6, 6, 6, 6, 6, 4, 4, 3, 4, 3 };… in TestGetKeywordValuesForLocale() local 2432 if (size == expectedLength[i]) { in TestGetKeywordValuesForLocale() 2433 for (n = 0; n < expectedLength[i]; n++) { in TestGetKeywordValuesForLocale() 2451 …eywords (%d) does not match expected size (%d) for locale: %s\n", size, expectedLength[i], locale); in TestGetKeywordValuesForLocale()
|
D | nucnvtst.c | 1645 static const int32_t expectedLength[] ={ in TestSignatureDetection() local 1685 if(signatureLength != expectedLength[i]){ in TestSignatureDetection() 1686 …%s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLength[i]); in TestSignatureDetection() 1758 static const int32_t expectedLength[] ={ in TestSignatureDetection() local 1801 if(signatureLength != expectedLength[i]){ in TestSignatureDetection() 1802 …%s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLength[i]); in TestSignatureDetection()
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | spreptst.c | 760 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()
|
D | ccapitst.c | 2675 int32_t expectedLength; in TestConvertExFromUTF8_C5F0() local 2707 expectedLength=6; in TestConvertExFromUTF8_C5F0() 2711 expectedLength=16; in TestConvertExFromUTF8_C5F0() 2719 &target, dest+expectedLength, in TestConvertExFromUTF8_C5F0() 2724 target!=dest+expectedLength || 0!=uprv_memcmp(dest, expected, expectedLength) || in TestConvertExFromUTF8_C5F0() 2725 dest[expectedLength]!=9 in TestConvertExFromUTF8_C5F0()
|
D | cloctst.c | 5609 const int32_t expectedLength = getExpectedReturnValue(&maximizeErrors[i]); in TestLikelySubtags() local 5626 else if (length != expectedLength) { in TestLikelySubtags() 5627 …ikelySubtags(), minimal \"%s\" expected length %d, but got %d\n", minimal, expectedLength, length); in TestLikelySubtags() 5643 const int32_t expectedLength = getExpectedReturnValue(&minimizeErrors[i]); in TestLikelySubtags() local 5660 else if (length != expectedLength) { in TestLikelySubtags() 5661 …imizeSubtags(), maximal \"%s\" expected length %d, but got %d\n", maximal, expectedLength, length); in TestLikelySubtags()
|
D | capitst.c | 2356 … const int32_t expectedLength[PREFERRED_SIZE] = { 3, 3, 3, 4, 4, 9, 9, 9, 9, 9, 9, 4, 4, 3, 4, 3 }; in TestGetKeywordValuesForLocale() local 2358 … 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 2380 if (size == expectedLength[i]) { in TestGetKeywordValuesForLocale() 2381 for (n = 0; n < expectedLength[i]; n++) { in TestGetKeywordValuesForLocale() 2399 …eywords (%d) does not match expected size (%d) for locale: %s\n", size, expectedLength[i], locale); in TestGetKeywordValuesForLocale()
|
D | nucnvtst.c | 1640 static const int32_t expectedLength[] ={ in TestSignatureDetection() local 1680 if(signatureLength != expectedLength[i]){ in TestSignatureDetection() 1681 …%s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLength[i]); in TestSignatureDetection() 1753 static const int32_t expectedLength[] ={ in TestSignatureDetection() local 1796 if(signatureLength != expectedLength[i]){ in TestSignatureDetection() 1797 …%s at index :%i.Expected Length: %i. Got length: %i\n",source,i,signatureLength,expectedLength[i]); in TestSignatureDetection()
|
/external/skia/tests/ |
D | PointTest.cpp | 40 SkScalar expectedLength) { in test_length() argument 48 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(s1, expectedLength)); in test_length()
|
/external/chromium_org/third_party/skia/tests/ |
D | PointTest.cpp | 40 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/ |
D | ResourceResponse.cpp | 64 …rceResponse(const KURL& url, const AtomicString& mimeType, long long expectedLength, const AtomicS… in ResourceResponse() argument 67 , m_expectedContentLength(expectedLength) in ResourceResponse()
|
D | ResourceResponse.h | 61 …ResourceResponse(const KURL&, const AtomicString& mimeType, long long expectedLength, const Atomic…
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
D | StringImpl.cpp | 93 size_t expectedLength = std::min(string->length(), kMaxSnippetLength); in fillWithSnippet() local 94 if (expectedLength == kMaxSnippetLength) in fillWithSnippet() 95 expectedLength += 3; // For the "...". in fillWithSnippet() 96 ++expectedLength; // For the terminating '\0'. in fillWithSnippet() 97 snippet.reserveCapacity(expectedLength); in fillWithSnippet()
|