Home
last modified time | relevance | path

Searched refs:IoUtils (Results 1 – 25 of 44) sorted by relevance

12

/libcore/support/src/test/java/libcore/tlswire/handshake/
DServerNameHelloExtension.java19 import libcore.tlswire.util.IoUtils;
36 byte[] serverNameListBytes = IoUtils.readTlsVariableLengthByteVector( in parseData()
46 byte[] hostnameBytes = IoUtils.readTlsVariableLengthByteVector(in, 0xffff); in parseData()
DClientHello.java20 import libcore.tlswire.util.IoUtils;
48 sessionId = IoUtils.readTlsVariableLengthByteVector(in, 32); in parseBody()
49 int[] cipherSuiteCodes = IoUtils.readTlsVariableLengthUnsignedShortVector(in, 0xfffe); in parseBody()
54 byte[] compressionMethodCodes = IoUtils.readTlsVariableLengthByteVector(in, 0xff); in parseBody()
DHandshakeMessage.java19 import libcore.tlswire.util.IoUtils;
49 int bodyLength = IoUtils.readUnsignedInt24(in); in read()
DEllipticCurvesHelloExtension.java19 import libcore.tlswire.util.IoUtils;
35 byte[] ellipticCurvesListBytes = IoUtils.readTlsVariableLengthByteVector( in parseData()
DHelloExtension.java19 import libcore.tlswire.util.IoUtils;
91 result.data = IoUtils.readTlsVariableLengthByteVector(in, 0xffff); in read()
/libcore/ojluni/src/main/java/java/io/
DPipedReader.java29 import libcore.io.IoUtils;
191 IoUtils.throwInterruptedIoException(); in receive()
264 IoUtils.throwInterruptedIoException(); in read()
DPipedInputStream.java29 import libcore.io.IoUtils;
280 IoUtils.throwInterruptedIoException(); in awaitSpace()
335 IoUtils.throwInterruptedIoException(); in read()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatReader.java22 import libcore.io.IoUtils;
269 IoUtils.closeQuietly(reader); in parse()
281 IoUtils.closeQuietly(in); in parse()
296 IoUtils.closeQuietly(in); in parse()
DExpatParser.java25 import libcore.io.IoUtils;
348 IoUtils.closeQuietly(reader); in parseExternalEntity()
363 IoUtils.closeQuietly(in); in parseExternalEntity()
384 IoUtils.closeQuietly(in); in parseExternalEntity()
/libcore/luni/src/test/java/libcore/java/io/
DFileInputStreamTest.java34 import libcore.io.IoUtils;
66 IoUtils.closeQuietly(fos); in run()
67 IoUtils.close(mOutFd); in run()
95 IoUtils.closeQuietly(pipe[0]); in testSkipInPipes()
236 File phile = IoUtils.createTemporaryDirectory("test_bug_25695227"); in testFdLeakWhenOpeningDirectory()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldFilePreferencesImplTest.java25 import libcore.io.IoUtils;
34 File tmpDir = IoUtils.createTemporaryDirectory("OldFilePreferencesImplTest"); in setUp()
DPreferencesTest.java27 import libcore.io.IoUtils;
63 temporaryDirectory = IoUtils.createTemporaryDirectory("PreferencesTest"); in setUp()
DOldPreferenceChangeEventTest.java28 import libcore.io.IoUtils;
37 File tmpDir = IoUtils.createTemporaryDirectory("OldPreferenceChangeEventTest"); in setUp()
DOldNodeChangeEventTest.java29 import libcore.io.IoUtils;
38 File tmpDir = IoUtils.createTemporaryDirectory("OldNodeChangeEventTest"); in setUp()
/libcore/luni/src/main/java/libcore/io/
DIoUtils.java32 public final class IoUtils { class
33 private IoUtils() { in IoUtils() method in IoUtils
69 IoUtils.close(fd); in closeQuietly()
/libcore/luni/src/test/java/libcore/java/util/zip/
DGZIPInputStreamTest.java32 import libcore.io.IoUtils;
188 IoUtils.closeQuietly(gzos); in testMultipleMembersWithCustomBufferSize()
201 IoUtils.closeQuietly(gzip); in testMultipleMembersWithCustomBufferSize()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DFilePreferencesImplTest.java25 import libcore.io.IoUtils;
34 File tmpDir = IoUtils.createTemporaryDirectory("FilePreferencesImplTest"); in setUp()
/libcore/support/src/test/java/libcore/tlswire/util/
DIoUtils.java22 public class IoUtils { class
/libcore/tzdata/shared2/src/test/libcore/tzdata/shared2/
DTimeZoneDistroTest.java32 import libcore.io.IoUtils;
135 File tempDir = IoUtils.createTemporaryDirectory(tempPrefix); in createTempDir()
/libcore/luni/src/main/java/javax/xml/datatype/
DFactoryFinder.java30 import libcore.io.IoUtils;
269 IoUtils.closeQuietly(rd); in findJarServiceProvider()
/libcore/luni/src/test/java/libcore/net/
DNetworkSecurityPolicyTest.java20 import libcore.io.IoUtils;
275 IoUtils.closeQuietly(mSocket); in CapturingServerSocket()
292 IoUtils.closeQuietly(mSocket); in close()
/libcore/ojluni/src/main/java/java/net/
DNetworkInterface.java41 import libcore.io.IoUtils;
535 IoUtils.closeQuietly(fd); in getMTU()
566 IoUtils.closeQuietly(fd); in getFlags()
DPlainSocketImpl.java37 import libcore.io.IoUtils;
119 IoUtils.setBlocking(fd, false); in socketCreate()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DFileChannelTest.java39 import libcore.io.IoUtils;
118 assertEquals("abcdABCD", new String(IoUtils.readFileAsString(tmp.getPath()))); in test_writev()
134 assertEquals("hello world", new String(IoUtils.readFileAsString(tmp.getPath()))); in test_append()
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathFactoryFinder.java33 import libcore.io.IoUtils;
317 IoUtils.closeQuietly(rd); in loadFromServicesFile()

12