Home
last modified time | relevance | path

Searched defs:length (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/libcore/luni/src/main/java/java/nio/charset/
DCharsets.java48 public static native byte[] toAsciiBytes(char[] chars, int offset, int length); in toAsciiBytes()
54 public static native byte[] toIsoLatin1Bytes(char[] chars, int offset, int length); in toIsoLatin1Bytes()
60 public static native byte[] toUtf8Bytes(char[] chars, int offset, int length); in toUtf8Bytes()
70 public static native void asciiBytesToChars(byte[] bytes, int offset, int length, char[] chars); in asciiBytesToChars()
79 …public static native void isoLatin1BytesToChars(byte[] bytes, int offset, int length, char[] chars… in isoLatin1BytesToChars()
DCoderResult.java85 private final int length; field in CoderResult
95 private CoderResult(int type, int length) { in CoderResult()
112 public static synchronized CoderResult malformedForLength(int length) in malformedForLength()
140 public static synchronized CoderResult unmappableForLength(int length) in unmappableForLength()
212 public int length() throws UnsupportedOperationException { in length() method in CoderResult
/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
DOSFileSystem.java39 private final void validateLockArgs(int type, long start, long length) { in validateLockArgs()
56 private native int lockImpl(int fd, long start, long length, int type, boolean wait); in lockImpl()
65 public native long length(int fd); in length() method in OSFileSystem
67 public boolean lock(int fd, long start, long length, int type, boolean waitFlag) in lock()
75 private native void unlockImpl(int fd, long start, long length) throws IOException; in unlockImpl()
77 public void unlock(int fd, long start, long length) throws IOException { in unlock()
93 public native long readDirect(int fd, int address, int offset, int length); in readDirect()
95 public native long writeDirect(int fd, int address, int offset, int length); in writeDirect()
100 public native long read(int fd, byte[] bytes, int offset, int length) throws IOException; in read()
102 public native long write(int fd, byte[] bytes, int offset, int length) throws IOException; in write()
DIFileSystem.java64 public long read(int fileDescriptor, byte[] bytes, int offset, int length) in read()
67 public long write(int fileDescriptor, byte[] bytes, int offset, int length) in write()
78 int length) throws IOException; in readDirect()
81 int length) throws IOException; in writeDirect()
83 public long length(int fd); in length() method
85 public boolean lock(int fileDescriptor, long start, long length, int type, in lock()
88 public void unlock(int fileDescriptor, long start, long length) in unlock()
/libcore/luni/src/main/java/java/net/
DDatagramPacket.java35 int length; field in DatagramPacket
59 public DatagramPacket(byte[] data, int length) { in DatagramPacket()
74 public DatagramPacket(byte[] data, int offset, int length) { in DatagramPacket()
96 public DatagramPacket(byte[] data, int offset, int length, in DatagramPacket()
118 public DatagramPacket(byte[] data, int length, InetAddress host, int port) { in DatagramPacket()
280 public DatagramPacket(byte[] data, int length, SocketAddress sockAddr) in DatagramPacket()
303 public DatagramPacket(byte[] data, int offset, int length, in DatagramPacket()
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
DHelloRequest.java44 public HelloRequest(HandshakeIODataStream in, int length) in HelloRequest()
60 public int length() { in length() method in HelloRequest
DServerHelloDone.java44 public ServerHelloDone(HandshakeIODataStream in, int length) in ServerHelloDone()
64 public int length() { in length() method in ServerHelloDone
DMessage.java32 protected int length; field in Message
44 public int length() { in length() method in Message
DSSLEngineDataStream.java42 protected void setSourceBuffers(ByteBuffer[] srcs, int offset, int length) { in setSourceBuffers()
65 public byte[] getData(int length) { in getData()
DHandshakeIODataStream.java152 public byte[] read(int length) throws IOException { in read()
163 public int read(byte[] dst, int offset, int length) throws IOException { in read()
191 private void append(byte[] src, int from, int length) { in append()
241 private void check(int length) { in check()
355 public byte[] getData(int length) { in getData()
DDataStream.java39 public byte[] getData(int length); in getData()
/libcore/luni/src/main/java/org/apache/xml/utils/
DFastStringBuffer.java278 public final int length() in length() method in FastStringBuffer
401 int length = (m_lastChunk << m_chunkBits) + m_firstFree; in toString() local
644 public final void append(char[] chars, int start, int length) in append()
824 public boolean isWhitespace(int start, int length) in isWhitespace()
862 public String getString(int start, int length) in getString()
874 int length) { in getOneChunkString()
884 StringBuffer getString(StringBuffer sb, int start, int length) in getString()
914 int length) in getString()
978 org.xml.sax.ContentHandler ch, int start, int length) in sendSAXcharacters()
1038 org.xml.sax.ContentHandler ch, int start, int length) in sendNormalizedSAXcharacters()
[all …]
DXMLStringFactory.java50 int length); in newstr()
63 int length); in newstr()
/libcore/luni/src/main/java/org/apache/harmony/luni/util/
DFloatingPointParser.java94 private static StringExponentPair initialParse(String s, int length) { in initialParse()
192 private static double parseDblName(String namedDouble, int length) { in parseDblName()
224 private static float parseFltName(String namedFloat, int length) { in parseFltName()
264 int length = s.length(); in parseDouble() local
302 int length = s.length(); in parseFloat() local
/libcore/luni/src/main/java/org/apache/xml/serializer/
DToTextStream.java195 public void characters(char ch[], int start, int length) in characters()
242 public void charactersRaw(char ch[], int start, int length) in charactersRaw()
273 final int length, in writeNormalizedChars()
377 public void cdata(char ch[], int start, int length) in cdata()
418 public void ignorableWhitespace(char ch[], int start, int length) in ignorableWhitespace()
472 final int length = data.length(); in comment() local
493 public void comment(char ch[], int start, int length) in comment()
573 final int length = characters.length(); in characters() local
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DClassTest2.java61 int length = stream.read(buffer); in testGetResourceAsStream1() local
84 int length = stream.read(buffer); in testGetResourceAsStream2() local
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DChunk.java35 public int offset, length; // position within "data" field in Chunk
45 public Chunk(int type, byte[] data, int offset, int length) { in Chunk()
/libcore/luni/src/main/java/org/apache/xpath/objects/
DXMLStringFactoryImpl.java71 public XMLString newstr(FastStringBuffer fsb, int start, int length) in newstr()
86 public XMLString newstr(char[] string, int start, int length) in newstr()
/libcore/luni/src/main/java/java/sql/
DBlob.java54 public InputStream getBinaryStream(long pos, long length) throws SQLException; in getBinaryStream()
69 public byte[] getBytes(long pos, int length) throws SQLException; in getBytes()
79 public long length() throws SQLException; in length() method
DClob.java68 public String getSubString(long pos, int length) throws SQLException; in getSubString()
77 public long length() throws SQLException; in length() method
193 public Reader getCharacterStream(long pos, long length) throws SQLException; in getCharacterStream()
DPreparedStatement.java167 int length) throws SQLException; in setAsciiStream()
206 int length) throws SQLException; in setBinaryStream()
288 public void setCharacterStream(int parameterIndex, Reader reader, int length) in setCharacterStream()
673 InputStream theInputStream, int length) throws SQLException; in setUnicodeStream()
729 …public void setNCharacterStream(int parameterIndex, Reader reader, long length) throws SQLExceptio… in setNCharacterStream()
755 public void setClob(int parameterIndex, Reader reader, long length) throws SQLException; in setClob()
768 … public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException; in setBlob()
781 public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException; in setNClob()
805 …public void setAsciiStream(int parameterIndex, InputStream inputStream, long length) throws SQLExc… in setAsciiStream()
818 …public void setBinaryStream(int parameterIndex, InputStream inputStream, long length) throws SQLEx… in setBinaryStream()
[all …]
/libcore/luni/src/main/native/
Dcbigint.cpp113 simpleAddHighPrecision (uint64_t * arg1, int32_t length, uint64_t arg2) in simpleAddHighPrecision()
193 static uint32_t simpleMultiplyHighPrecision(uint64_t* arg1, int32_t length, uint64_t arg2) { in simpleMultiplyHighPrecision()
216 simpleMultiplyAddHighPrecision (uint64_t * arg1, int32_t length, uint64_t arg2, in simpleMultiplyAddHighPrecision()
253 void simpleMultiplyAddHighPrecisionBigEndianFix(uint64_t* arg1, int32_t length, uint64_t arg2, uint… in simpleMultiplyAddHighPrecisionBigEndianFix()
281 multiplyHighPrecision (uint64_t * arg1, int32_t length1, uint64_t * arg2, int32_t length2, in multiplyHighPrecision()
317 simpleAppendDecimalDigitHighPrecision (uint64_t * arg1, int32_t length, uint64_t digit) in simpleAppendDecimalDigitHighPrecision()
340 simpleShiftLeftHighPrecision (uint64_t * arg1, int32_t length, int32_t arg2) in simpleShiftLeftHighPrecision()
513 highestSetBitHighPrecision (uint64_t * arg, int32_t length) in highestSetBitHighPrecision()
528 lowestSetBitHighPrecision (uint64_t * arg, int32_t length) in lowestSetBitHighPrecision()
568 toDoubleHighPrecision (uint64_t * arg, int32_t length) in toDoubleHighPrecision()
[all …]
Djava_nio_charset_Charsets.cpp108 …iiBytesToChars(JNIEnv* env, jclass, jbyteArray javaBytes, jint offset, jint length, jcharArray jav… in Charsets_asciiBytesToChars()
127 …n1BytesToChars(JNIEnv* env, jclass, jbyteArray javaBytes, jint offset, jint length, jcharArray jav… in Charsets_isoLatin1BytesToChars()
149 static jbyteArray charsToBytes(JNIEnv* env, jcharArray javaChars, jint offset, jint length, jchar m… in charsToBytes()
174 …eArray Charsets_toAsciiBytes(JNIEnv* env, jclass, jcharArray javaChars, jint offset, jint length) { in Charsets_toAsciiBytes()
178 …ay Charsets_toIsoLatin1Bytes(JNIEnv* env, jclass, jcharArray javaChars, jint offset, jint length) { in Charsets_toIsoLatin1Bytes()
182 …teArray Charsets_toUtf8Bytes(JNIEnv* env, jclass, jcharArray javaChars, jint offset, jint length) { in Charsets_toUtf8Bytes()
/libcore/luni/src/main/java/org/apache/harmony/archive/util/
DUtil.java37 int length = suffix.length(); in asciiEndsWithIgnoreCase() local
101 int length = s1.length(); in asciiEqualsIgnoreCase() local
/libcore/luni/src/main/java/java/io/
DByteArrayInputStream.java73 public ByteArrayInputStream(byte[] buf, int offset, int length) { in ByteArrayInputStream()
167 public synchronized int read(byte[] buffer, int offset, int length) { in read()

12345678910>>...14