Home
last modified time | relevance | path

Searched refs:openStream (Results 1 – 25 of 2487) sorted by relevance

12345678910>>...100

/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/io/InputStream/
H A DNullInputStream.java40 private static InputStream openStream; field in NullInputStream
44 public static void openStream() { in openStream() method in NullInputStream
45 openStream = InputStream.nullInputStream(); in openStream()
61 openStream.close(); in closeStream()
103 assertEquals(0, openStream.readAllBytes().length, in testReadAllBytes()
123 assertEquals(0, openStream.readNBytes(-1).length, in testReadNBytesWithLength()
131 assertEquals(0, openStream.readNBytes(0).length, in testReadNBytesWithLength()
133 assertEquals(0, openStream.readNBytes(1).length, in testReadNBytesWithLength()
152 openStream.skipNBytes(-1); in testSkipNBytes()
153 openStream.skipNBytes(0); in testSkipNBytes()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/io/InputStream/
H A DNullInputStream.java40 private static InputStream openStream; field in NullInputStream
44 public static void openStream() { in openStream() method in NullInputStream
45 openStream = InputStream.nullInputStream(); in openStream()
61 openStream.close(); in closeStream()
103 assertEquals(0, openStream.readAllBytes().length, in testReadAllBytes()
123 assertEquals(0, openStream.readNBytes(-1).length, in testReadNBytesWithLength()
131 assertEquals(0, openStream.readNBytes(0).length, in testReadNBytesWithLength()
133 assertEquals(0, openStream.readNBytes(1).length, in testReadNBytesWithLength()
152 openStream.skipNBytes(-1); in testSkipNBytes()
153 openStream.skipNBytes(0); in testSkipNBytes()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/io/InputStream/
H A DNullInputStream.java40 private static InputStream openStream; field in NullInputStream
44 public static void openStream() { in openStream() method in NullInputStream
45 openStream = InputStream.nullInputStream(); in openStream()
61 openStream.close(); in closeStream()
103 assertEquals(0, openStream.readAllBytes().length, in testReadAllBytes()
123 assertEquals(0, openStream.readNBytes(-1).length, in testReadNBytesWithLength()
131 assertEquals(0, openStream.readNBytes(0).length, in testReadNBytesWithLength()
133 assertEquals(0, openStream.readNBytes(1).length, in testReadNBytesWithLength()
152 openStream.skipNBytes(-1); in testSkipNBytes()
153 openStream.skipNBytes(0); in testSkipNBytes()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/io/InputStream/
H A DNullInputStream.java40 private static InputStream openStream; field in NullInputStream
44 public static void openStream() { in openStream() method in NullInputStream
45 openStream = InputStream.nullInputStream(); in openStream()
61 openStream.close(); in closeStream()
103 assertEquals(0, openStream.readAllBytes().length, in testReadAllBytes()
123 assertEquals(0, openStream.readNBytes(-1).length, in testReadNBytesWithLength()
131 assertEquals(0, openStream.readNBytes(0).length, in testReadNBytesWithLength()
133 assertEquals(0, openStream.readNBytes(1).length, in testReadNBytesWithLength()
152 openStream.skipNBytes(-1); in testSkipNBytes()
153 openStream.skipNBytes(0); in testSkipNBytes()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/io/InputStream/
H A DNullInputStream.java40 private static InputStream openStream; field in NullInputStream
44 public static void openStream() { in openStream() method in NullInputStream
45 openStream = InputStream.nullInputStream(); in openStream()
61 openStream.close(); in closeStream()
103 assertEquals(0, openStream.readAllBytes().length, in testReadAllBytes()
123 assertEquals(0, openStream.readNBytes(-1).length, in testReadNBytesWithLength()
131 assertEquals(0, openStream.readNBytes(0).length, in testReadNBytesWithLength()
133 assertEquals(0, openStream.readNBytes(1).length, in testReadNBytesWithLength()
152 openStream.skipNBytes(-1); in testSkipNBytes()
153 openStream.skipNBytes(0); in testSkipNBytes()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/io/InputStream/
H A DNullInputStream.java42 private static InputStream openStream; field in NullInputStream
47 openStream = InputStream.nullInputStream(); in setup()
59 openStream.close(); in closeStream()
82 assertEquals(-1, openStream.read(), "read() != -1"); in testRead()
101 assertEquals(0, openStream.readAllBytes().length, in testReadAllBytes()
121 assertEquals(0, openStream.readNBytes(-1).length, in testReadNBytesWithLength()
129 assertEquals(0, openStream.readNBytes(0).length, in testReadNBytesWithLength()
131 assertEquals(0, openStream.readNBytes(1).length, in testReadNBytesWithLength()
150 openStream.skipNBytes(-1); in testSkipNBytes()
151 openStream.skipNBytes(0); in testSkipNBytes()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/io/InputStream/
H A DNullInputStream.java39 private static InputStream openStream; field in NullInputStream
43 public static void openStream() { in openStream() method in NullInputStream
44 openStream = InputStream.nullInputStream(); in openStream()
60 openStream.close(); in closeStream()
83 assertEquals(-1, openStream.read(), "read() != -1"); in testRead()
92 assertEquals(-1, openStream.read(new byte[1], 0, 1), in testReadBII()
102 assertEquals(0, openStream.readAllBytes().length, in testReadAllBytes()
122 assertEquals(0, openStream.readNBytes(-1).length, in testReadNBytesWithLength()
130 assertEquals(0, openStream.readNBytes(0).length, in testReadNBytesWithLength()
132 assertEquals(0, openStream.readNBytes(1).length, in testReadNBytesWithLength()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/io/InputStream/
H A DNullInputStream.java39 private static InputStream openStream; field in NullInputStream
43 public static void openStream() { in openStream() method in NullInputStream
44 openStream = InputStream.nullInputStream(); in openStream()
60 openStream.close(); in closeStream()
83 assertEquals(-1, openStream.read(), "read() != -1"); in testRead()
92 assertEquals(-1, openStream.read(new byte[1], 0, 1), in testReadBII()
102 assertEquals(0, openStream.readAllBytes().length, in testReadAllBytes()
122 assertEquals(0, openStream.readNBytes(-1).length, in testReadNBytesWithLength()
130 assertEquals(0, openStream.readNBytes(0).length, in testReadNBytesWithLength()
132 assertEquals(0, openStream.readNBytes(1).length, in testReadNBytesWithLength()
[all …]
/dports/audio/faust/faust-2.37.3/architecture/smartKeyboard/android/app/oboe/tests/
H A DtestStreamOpen.cpp40 bool openStream() { in openStream() function in StreamOpen
71 ASSERT_TRUE(openStream()); in checkSampleRateConversionAdvancing()
105 ASSERT_TRUE(openStream()); in TEST_F()
116 ASSERT_TRUE(openStream()); in TEST_F()
125 ASSERT_TRUE(openStream()); in TEST_F()
136 ASSERT_TRUE(openStream()); in TEST_F()
147 ASSERT_TRUE(openStream()); in TEST_F()
186 ASSERT_TRUE(openStream()); in TEST_F()
296 ASSERT_TRUE(openStream()); in TEST_F()
359 ASSERT_TRUE(openStream()); in TEST_F()
[all …]
H A DtestStreamWaitState.cpp34 bool openStream(Direction direction, PerformanceMode perfMode) { in openStream() function in TestStreamWaitState
37 Result r = mBuilder.openStream(&mStream); in openStream()
47 bool openStream(AudioStreamBuilder &builder) { in openStream() function in TestStreamWaitState
48 Result r = builder.openStream(&mStream); in openStream()
140 ASSERT_TRUE(openStream(builder)); in TEST_F()
149 ASSERT_TRUE(openStream(builder)); in TEST_F()
171 ASSERT_TRUE(openStream(builder)); in TEST_F()
180 ASSERT_TRUE(openStream(builder)); in TEST_F()
202 ASSERT_TRUE(openStream(builder)); in TEST_F()
236 ASSERT_TRUE(openStream(builder)); in TEST_F()
[all …]
H A DtestStreamClosedMethods.cpp33 bool openStream() { in openStream() function in StreamClosedReturnValues
97 ASSERT_TRUE(openStream()); in TEST_F()
105 ASSERT_TRUE(openStream()); in TEST_F()
113 ASSERT_TRUE(openStream()); in TEST_F()
121 ASSERT_TRUE(openStream()); in TEST_F()
129 ASSERT_TRUE(openStream()); in TEST_F()
146 ASSERT_TRUE(openStream()); in TEST_F()
153 ASSERT_TRUE(openStream()); in TEST_F()
160 ASSERT_TRUE(openStream()); in TEST_F()
167 ASSERT_TRUE(openStream()); in TEST_F()
[all …]
H A DtestStreamStates.cpp35 bool openStream(Direction direction) { in openStream() function in StreamStates
48 bool openStream() { in openStream() function in StreamStates
49 return openStream(Direction::Output); in openStream()
53 return openStream(Direction::Input); in openInputStream()
63 ASSERT_TRUE(openStream(direction)); in checkStreamStateIsStartedAfterStartingTwice()
84 ASSERT_TRUE(openStream(direction)); in checkStreamStateIsStoppedAfterStoppingTwice()
134 ASSERT_TRUE(openStream()); in TEST_F()
144 ASSERT_TRUE(openStream()); in TEST_F()
159 ASSERT_TRUE(openStream()); in TEST_F()
178 ASSERT_TRUE(openStream()); in TEST_F()
[all …]
H A DtestXRunBehaviour.cpp35 bool openStream() { in openStream() function in XRunBehaviour
36 Result r = mBuilder.openStream(&mStream); in openStream()
56 ASSERT_TRUE(openStream()); in TEST_F()
67 ASSERT_TRUE(openStream()); in TEST_F()
76 ASSERT_TRUE(openStream()); in TEST_F()
/dports/devel/hadoop/jetty-6.1.14/examples/tests/src/test/java/org/mortbay/jetty/
H A DWebAppTest.java108 IO.toString(url.openStream()); in testDoGet()
111 String s1=IO.toString(url.openStream()); in testDoGet()
113 String s2=IO.toString(url.openStream()); in testDoGet()
117 assertTrue(IO.toString(url.openStream()).startsWith("0000")); in testDoGet()
120 String result = IO.toString(url.openStream()); in testDoGet()
137 assertTrue(IO.toString(url.openStream()).startsWith("<H1>")); in testDoGet()
190 IO.toString(url.openStream()); in testSecurity()
205 IO.toString(url.openStream()); in testSecurity()
221 IO.toString(url.openStream()); in testSecurity()
278 try{IO.toString(url.openStream());} catch(IOException e){} in testUnavailable()
[all …]
/dports/devel/hadoop2/jetty-6.1.14/examples/tests/src/test/java/org/mortbay/jetty/
H A DWebAppTest.java108 IO.toString(url.openStream()); in testDoGet()
111 String s1=IO.toString(url.openStream()); in testDoGet()
113 String s2=IO.toString(url.openStream()); in testDoGet()
117 assertTrue(IO.toString(url.openStream()).startsWith("0000")); in testDoGet()
120 String result = IO.toString(url.openStream()); in testDoGet()
137 assertTrue(IO.toString(url.openStream()).startsWith("<H1>")); in testDoGet()
190 IO.toString(url.openStream()); in testSecurity()
205 IO.toString(url.openStream()); in testSecurity()
221 IO.toString(url.openStream()); in testSecurity()
278 try{IO.toString(url.openStream());} catch(IOException e){} in testUnavailable()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/io/OutputStream/
H A DNullOutputStream.java38 private static OutputStream openStream; field in NullOutputStream
42 public static void openStream() { in openStream() method in NullOutputStream
43 openStream = OutputStream.nullOutputStream(); in openStream()
59 openStream.close(); in closeStream()
67 assertNotNull(openStream, in testOpen()
74 openStream.write(62832); in testWrite()
83 openStream.write(new byte[] {(byte)6}, 0, 1); in testWriteBII()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/io/OutputStream/
H A DNullOutputStream.java38 private static OutputStream openStream; field in NullOutputStream
42 public static void openStream() { in openStream() method in NullOutputStream
43 openStream = OutputStream.nullOutputStream(); in openStream()
59 openStream.close(); in closeStream()
67 assertNotNull(openStream, in testOpen()
74 openStream.write(62832); in testWrite()
83 openStream.write(new byte[] {(byte)6}, 0, 1); in testWriteBII()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/io/OutputStream/
H A DNullOutputStream.java38 private static OutputStream openStream; field in NullOutputStream
42 public static void openStream() { in openStream() method in NullOutputStream
43 openStream = OutputStream.nullOutputStream(); in openStream()
59 openStream.close(); in closeStream()
67 assertNotNull(openStream, in testOpen()
74 openStream.write(62832); in testWrite()
83 openStream.write(new byte[] {(byte)6}, 0, 1); in testWriteBII()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/io/OutputStream/
H A DNullOutputStream.java38 private static OutputStream openStream; field in NullOutputStream
42 public static void openStream() { in openStream() method in NullOutputStream
43 openStream = OutputStream.nullOutputStream(); in openStream()
59 openStream.close(); in closeStream()
67 assertNotNull(openStream, in testOpen()
74 openStream.write(62832); in testWrite()
83 openStream.write(new byte[] {(byte)6}, 0, 1); in testWriteBII()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/io/OutputStream/
H A DNullOutputStream.java38 private static OutputStream openStream; field in NullOutputStream
42 public static void openStream() { in openStream() method in NullOutputStream
43 openStream = OutputStream.nullOutputStream(); in openStream()
59 openStream.close(); in closeStream()
67 assertNotNull(openStream, in testOpen()
74 openStream.write(62832); in testWrite()
83 openStream.write(new byte[] {(byte)6}, 0, 1); in testWriteBII()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/io/OutputStream/
H A DNullOutputStream.java38 private static OutputStream openStream; field in NullOutputStream
42 public static void openStream() { in openStream() method in NullOutputStream
43 openStream = OutputStream.nullOutputStream(); in openStream()
59 openStream.close(); in closeStream()
67 assertNotNull(openStream, in testOpen()
74 openStream.write(62832); in testWrite()
83 openStream.write(new byte[] {(byte)6}, 0, 1); in testWriteBII()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/io/OutputStream/
H A DNullOutputStream.java38 private static OutputStream openStream; field in NullOutputStream
42 public static void openStream() { in openStream() method in NullOutputStream
43 openStream = OutputStream.nullOutputStream(); in openStream()
59 openStream.close(); in closeStream()
67 assertNotNull(openStream, in testOpen()
74 openStream.write(62832); in testWrite()
83 openStream.write(new byte[] {(byte)6}, 0, 1); in testWriteBII()
/dports/net/libcharon/libCharon-4.8.0/tests/filetypes/
H A DTestOpenPackagingConvention.py43 result.openStream(io.BytesIO(), "application/x-opc", OpenMode.WriteOnly)
78 package.openStream(stream, mode = OpenMode.WriteOnly)
84 package.openStream(stream)
100 package.openStream(stream, mode = OpenMode.WriteOnly)
107 package.openStream(stream)
121 package.openStream(stream, mode = OpenMode.WriteOnly)
128 package.openStream(stream)
165 package.openStream(stream, mode = OpenMode.WriteOnly)
171 package.openStream(stream)
182 package.openStream(stream, mode = OpenMode.WriteOnly)
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/io/OutputStream/
H A DNullOutputStream.java41 private static OutputStream openStream; field in NullOutputStream
46 openStream = OutputStream.nullOutputStream(); in setup()
58 openStream.close(); in closeStream()
66 assertNotNull(openStream, in testOpen()
73 openStream.write(62832); in testWrite()
82 openStream.write(new byte[] {(byte)6}, 0, 1); in testWriteBII()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/ui/src/controller/
H A Dadb_jsdomtest.ts76 const openStream = jest.fn(); constant
77 adb.openStream = openStream;
80 expect(openStream).toBeCalledWith('shell:test');

12345678910>>...100