Home
last modified time | relevance | path

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

12

/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DDecoder.java201 public DataHeader readDataHeaderForPointerArray(int expectedLength) { in readDataHeaderForPointerArray() argument
202 return readDataHeaderForArray(BindingsHelper.POINTER_SIZE, expectedLength); in readDataHeaderForPointerArray()
209 public DataHeader readDataHeaderForUnionArray(int expectedLength) { in readDataHeaderForUnionArray() argument
210 return readDataHeaderForArray(BindingsHelper.UNION_SIZE, expectedLength); in readDataHeaderForUnionArray()
307 public boolean[] readBooleans(int offset, int arrayNullability, int expectedLength) { in readBooleans() argument
312 DataHeader si = d.readDataHeaderForBooleanArray(expectedLength); in readBooleans()
331 public byte[] readBytes(int offset, int arrayNullability, int expectedLength) { in readBytes() argument
336 DataHeader si = d.readDataHeaderForArray(1, expectedLength); in readBytes()
346 public short[] readShorts(int offset, int arrayNullability, int expectedLength) { in readShorts() argument
351 DataHeader si = d.readDataHeaderForArray(2, expectedLength); in readShorts()
[all …]
DEncoder.java321 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DKeyAgreementSpi.java62 int expectedLength = (p.bitLength() + 7) / 8; in bigIntToBytes() local
66 if (tmp.length == expectedLength) in bigIntToBytes()
71 if (tmp[0] == 0 && tmp.length == expectedLength + 1) in bigIntToBytes()
81 byte[] rv = new byte[expectedLength]; in bigIntToBytes()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECCurve.java366 int expectedLength = (getFieldSize() + 7) / 8; in decodePoint() local
384 if (encoded.length != (expectedLength + 1)) in decodePoint()
390 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); in decodePoint()
402 if (encoded.length != (2 * expectedLength + 1)) in decodePoint()
407 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); in decodePoint()
408 … BigInteger Y = BigIntegers.fromUnsignedByteArray(encoded, 1 + expectedLength, expectedLength); in decodePoint()
416 if (encoded.length != (2 * expectedLength + 1)) in decodePoint()
421 BigInteger X = BigIntegers.fromUnsignedByteArray(encoded, 1, expectedLength); in decodePoint()
422 … BigInteger Y = BigIntegers.fromUnsignedByteArray(encoded, 1 + expectedLength, expectedLength); in decodePoint()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/
DBaseDexReaderLeb128Test.java248 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()
/external/libese/apps/weaver/card/src/com/android/weaver/
DWeaver.java263 private void receiveData(APDU apdu, short expectedLength) { in receiveData() argument
265 if (apdu.getIncomingLength() != expectedLength || bytesRead != expectedLength) { in receiveData()
/external/icu/icu4c/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()
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/stub/command/
DFileRetrCommandHandlerTest.java87 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/
DFileRetrCommandHandlerTest.java87 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand()
89 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/stub/command/
DFileRetrCommandHandlerTest.java86 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand()
88 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/stub/command/
DFileRetrCommandHandlerTest.java86 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/
DFileRetrCommandHandlerTest.java87 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand()
89 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/stub/command/
DFileRetrCommandHandlerTest.java88 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/
DFileRetrCommandHandlerTest.java88 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/
DFileRetrCommandHandlerTest.java88 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/
DFileRetrCommandHandlerTest.java88 int expectedLength = ((Integer)expected[1]).intValue(); in testHandleCommand()
90 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/stub/command/
DFileRetrCommandHandlerTest.java88 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/
DFileRetrCommandHandlerTest.java88 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand()
90 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/
DFileRetrCommandHandlerTest.java88 int expectedLength = ((Integer)expected[1]).intValue(); in testHandleCommand()
90 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/stub/command/
DFileRetrCommandHandlerTest.java87 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand()
89 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/stub/command/
DFileRetrCommandHandlerTest.java88 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand()
90 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/stub/command/
DFileRetrCommandHandlerTest.java88 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/
DFileRetrCommandHandlerTest.java88 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/
DFileRetrCommandHandlerTest.java88 int expectedLength = ((Integer)expected[1]).intValue(); in testHandleCommand()
90 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/stub/command/
DFileRetrCommandHandlerTest.java88 int expectedLength = ((Integer) expected[1]).intValue(); in testHandleCommand()
90 …LOG.info("invocation #" + counter + " expected=" + expectedLength + " actualLength=" + actualLengt… in testHandleCommand()

12