/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Decoder.java | 222 public DataHeader readDataHeaderForPointerArray(int expectedLength) { in readDataHeaderForPointerArray() argument 223 return readDataHeaderForArray(BindingsHelper.POINTER_SIZE, expectedLength); in readDataHeaderForPointerArray() 230 public DataHeader readDataHeaderForUnionArray(int expectedLength) { in readDataHeaderForUnionArray() argument 231 return readDataHeaderForArray(BindingsHelper.UNION_SIZE, expectedLength); in readDataHeaderForUnionArray() 328 public boolean[] readBooleans(int offset, int arrayNullability, int expectedLength) { in readBooleans() argument 333 DataHeader si = d.readDataHeaderForBooleanArray(expectedLength); in readBooleans() 352 public byte[] readBytes(int offset, int arrayNullability, int expectedLength) { in readBytes() argument 357 DataHeader si = d.readDataHeaderForArray(1, expectedLength); in readBytes() 367 public short[] readShorts(int offset, int arrayNullability, int expectedLength) { in readShorts() argument 372 DataHeader si = d.readDataHeaderForArray(2, expectedLength); in readShorts() [all …]
|
D | Encoder.java | 321 public Encoder encodePointerArray(int length, int offset, int expectedLength) { in encodePointerArray() argument 322 return encoderForArray(BindingsHelper.POINTER_SIZE, length, offset, expectedLength); in encodePointerArray() 328 public Encoder encodeUnionArray(int length, int offset, int expectedLength) { in encodeUnionArray() argument 329 return encoderForArray(BindingsHelper.UNION_SIZE, length, offset, expectedLength); in encodeUnionArray() 335 public void encode(boolean[] v, int offset, int arrayNullability, int expectedLength) { in encode() argument 340 if (expectedLength != BindingsHelper.UNSPECIFIED_ARRAY_LENGTH in encode() 341 && expectedLength != v.length) { in encode() 359 public void encode(byte[] v, int offset, int arrayNullability, int expectedLength) { in encode() argument 364 if (expectedLength != BindingsHelper.UNSPECIFIED_ARRAY_LENGTH in encode() 365 && expectedLength != v.length) { in encode() [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() 259 Assert.assertEquals(expectedLength, reader.peekSmallUleb128Size()); 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() 262 Assert.assertEquals(expectedLength, reader.peekSleb128Size()); in performTest()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/ |
D | IOUtils.java | 192 final int expectedLength = b.remaining(); in readFully() local 194 while (read < expectedLength) { in readFully() 201 if (read < expectedLength) { in readFully()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | ECCurve.java | 392 int expectedLength = (getFieldSize() + 7) / 8; in decodePoint() local 410 if (encoded.length != (expectedLength + 1)) in decodePoint() 416 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); in decodePoint() 428 if (encoded.length != (2 * expectedLength + 1)) in decodePoint() 433 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); in decodePoint() 434 … BigInteger Y = BigIntegers.fromUnsignedByteArray(encoded, 1 + expectedLength, expectedLength); in decodePoint() 442 if (encoded.length != (2 * expectedLength + 1)) in decodePoint() 447 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); in decodePoint() 448 … BigInteger Y = BigIntegers.fromUnsignedByteArray(encoded, 1 + expectedLength, expectedLength); in decodePoint()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/ |
D | ECCurve.java | 397 int expectedLength = (getFieldSize() + 7) / 8; in decodePoint() local 415 if (encoded.length != (expectedLength + 1)) in decodePoint() 421 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); in decodePoint() 433 if (encoded.length != (2 * expectedLength + 1)) in decodePoint() 438 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); in decodePoint() 439 … BigInteger Y = BigIntegers.fromUnsignedByteArray(encoded, 1 + expectedLength, expectedLength); in decodePoint() 447 if (encoded.length != (2 * expectedLength + 1)) in decodePoint() 452 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); in decodePoint() 453 … BigInteger Y = BigIntegers.fromUnsignedByteArray(encoded, 1 + expectedLength, expectedLength); in decodePoint()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | KeyAgreementSpi.java | 116 int expectedLength = (p.bitLength() + 7) / 8; in bigIntToBytes() local 120 if (tmp.length == expectedLength) in bigIntToBytes() 125 if (tmp[0] == 0 && tmp.length == expectedLength + 1) in bigIntToBytes() 135 byte[] rv = new byte[expectedLength]; in bigIntToBytes()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
D | KeyAgreementSpi.java | 118 int expectedLength = (p.bitLength() + 7) / 8; in bigIntToBytes() local 122 if (tmp.length == expectedLength) in bigIntToBytes() 127 if (tmp[0] == 0 && tmp.length == expectedLength + 1) in bigIntToBytes() 137 byte[] rv = new byte[expectedLength]; in bigIntToBytes()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowMergeCursorTest.java | 125 private void assertBounds( Cursor[] cursors, int expectedLength ) { in assertBounds() argument 128 assertThat(cursor.getCount()).isEqualTo(expectedLength); in assertBounds() 131 for ( int i = 0; i < expectedLength; i++ ) { in assertBounds() 137 assertThat(cursor.moveToPosition(expectedLength)).isFalse(); in assertBounds()
|
/external/libese/apps/weaver/card/src/com/android/weaver/ |
D | Weaver.java | 263 private void receiveData(APDU apdu, short expectedLength) { in receiveData() argument 265 if (apdu.getIncomingLength() != expectedLength || bytesRead != expectedLength) { in receiveData()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | Zip64ExtendedInformationExtraField.java | 230 final int expectedLength = (hasUncompressedSize ? DWORD : 0) in reparseCentralDirectoryData() local 234 if (rawCentralDirectoryData.length < expectedLength) { in reparseCentralDirectoryData() 239 + expectedLength + " but is " in reparseCentralDirectoryData()
|
/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()
|
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/stub/command/ |
D | FileRetrCommandHandlerTest.java | 86 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand() 88 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
|
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/stub/command/ |
D | FileRetrCommandHandlerTest.java | 87 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand() 89 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
|
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/stub/command/ |
D | FileRetrCommandHandlerTest.java | 86 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand() 88 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
|
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/stub/command/ |
D | FileRetrCommandHandlerTest.java | 87 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand() 89 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
D | FileRetrCommandHandlerTest.java | 87 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand() 89 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
|
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/stub/command/ |
D | FileRetrCommandHandlerTest.java | 88 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand() 90 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
|
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/stub/command/ |
D | FileRetrCommandHandlerTest.java | 88 int expectedLength = ((Integer)expected[1]).intValue(); in testHandleCommand() 90 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
|
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/stub/command/ |
D | FileRetrCommandHandlerTest.java | 88 int expectedLength = ((Integer)expected[1]).intValue(); in testHandleCommand() 90 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
|
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/stub/command/ |
D | FileRetrCommandHandlerTest.java | 88 int expectedLength = ((Integer)expected[1]).intValue(); in testHandleCommand() 90 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/stub/command/ |
D | FileRetrCommandHandlerTest.java | 88 int expectedLength = ((Integer)expected[1]).intValue(); in testHandleCommand() 90 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
|
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/stub/command/ |
D | FileRetrCommandHandlerTest.java | 88 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand() 90 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
|
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/stub/command/ |
D | FileRetrCommandHandlerTest.java | 88 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand() 90 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
|