Home
last modified time | relevance | path

Searched refs:oos (Results 1 – 25 of 62) sorted by relevance

123

/external/testng/src/test/java/test/
DSerializationTest.java15 ObjectOutputStream oos = new ObjectOutputStream(out); in iSuiteShouldBeSerializable() local
16 oos.writeObject(context.getSuite()); in iSuiteShouldBeSerializable()
17 oos.close(); in iSuiteShouldBeSerializable()
23 ObjectOutputStream oos = new ObjectOutputStream(out); in testngMethodShouldBeSerializable() local
24 oos.writeObject(context.getAllTestMethods()[0]); in testngMethodShouldBeSerializable()
25 oos.close(); in testngMethodShouldBeSerializable()
/external/slf4j/jcl-over-slf4j/src/test/java/org/apache/commons/logging/impl/
DSerializationTest.java44 ObjectOutputStream oos; field in SerializationTest
51 oos = new ObjectOutputStream(baos); in setUp()
57 oos.close(); in tearDown()
73 oos.writeObject(log); in testSLF4JLog()
79 oos.writeObject(log); in testSmoke()
86 oos.writeObject(log); in testLocationAware()
/external/testng/src/main/java/org/testng/remote/strprotocol/
DSerializedMessageSender.java24 ObjectOutputStream oos = new ObjectOutputStream(m_outStream); in sendMessage() local
25 oos.writeObject(message); in sendMessage()
26 oos.flush(); in sendMessage()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/
DLinearObjectiveFunction.java130 private void writeObject(ObjectOutputStream oos) in writeObject() argument
132 oos.defaultWriteObject(); in writeObject()
133 MatrixUtils.serializeRealVector(coefficients, oos); in writeObject()
DLinearConstraint.java216 private void writeObject(ObjectOutputStream oos) in writeObject() argument
218 oos.defaultWriteObject(); in writeObject()
219 MatrixUtils.serializeRealVector(coefficients, oos); in writeObject()
DSimplexTableau.java572 private void writeObject(ObjectOutputStream oos) in writeObject() argument
574 oos.defaultWriteObject(); in writeObject()
575 MatrixUtils.serializeRealMatrix(tableau, oos); in writeObject()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DBoundedByteStringTest.java98 ObjectOutputStream oos = new ObjectOutputStream(out); in testJavaSerialization() local
99 oos.writeObject(stringUnderTest); in testJavaSerialization()
100 oos.close(); in testJavaSerialization()
DRopeByteStringTest.java207 ObjectOutputStream oos = new ObjectOutputStream(out); in testJavaSerialization() local
208 oos.writeObject(stringUnderTest); in testJavaSerialization()
209 oos.close(); in testJavaSerialization()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DProperties.java34 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject() argument
38 instance.writeObjectImpl(oos); in writeObject()
DDecimalFormatProperties.java1401 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject() argument
1402 writeObjectImpl(oos); in writeObject()
1405 /* package-private */ void writeObjectImpl(ObjectOutputStream oos) throws IOException { in writeObjectImpl() argument
1406 oos.defaultWriteObject(); in writeObjectImpl()
1409 oos.writeInt(0); in writeObjectImpl()
1440 oos.writeInt(count); in writeObjectImpl()
1446 oos.writeObject(field.getName()); in writeObjectImpl()
1447 oos.writeObject(value); in writeObjectImpl()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DProperties.java32 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject() argument
36 instance.writeObjectImpl(oos); in writeObject()
DDecimalFormatProperties.java1396 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject() argument
1397 writeObjectImpl(oos); in writeObject()
1400 /* package-private */ void writeObjectImpl(ObjectOutputStream oos) throws IOException { in writeObjectImpl() argument
1401 oos.defaultWriteObject(); in writeObjectImpl()
1404 oos.writeInt(0); in writeObjectImpl()
1435 oos.writeInt(count); in writeObjectImpl()
1441 oos.writeObject(field.getName()); in writeObjectImpl()
1442 oos.writeObject(value); in writeObjectImpl()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DOpenSSLX509CertificateTest.java84 ObjectOutputStream oos = new ObjectOutputStream(baos); in testSerialization_NoContextDeserialization() local
85 oos.writeObject(new ZpenSSLX509Certificate(0xA5A5A5A5A5A5A5A5L)); in testSerialization_NoContextDeserialization()
86 oos.close(); in testSerialization_NoContextDeserialization()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DOpenSSLX509CertificateTest.java79 ObjectOutputStream oos = new ObjectOutputStream(baos); in testSerialization_NoContextDeserialization() local
80 oos.writeObject(new ZpenSSLX509Certificate(0xA5A5A5A5A5A5A5A5L)); in testSerialization_NoContextDeserialization()
81 oos.close(); in testSerialization_NoContextDeserialization()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DMatrixUtils.java788 final ObjectOutputStream oos) in serializeRealVector() argument
791 oos.writeInt(n); in serializeRealVector()
793 oos.writeDouble(vector.getEntry(i)); in serializeRealVector()
889 final ObjectOutputStream oos) in serializeRealMatrix() argument
893 oos.writeInt(n); in serializeRealMatrix()
894 oos.writeInt(m); in serializeRealMatrix()
897 oos.writeDouble(matrix.getEntry(i, j)); in serializeRealMatrix()
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableMapTest.java887 ObjectOutputStream oos = new ObjectOutputStream(bytes); in ignore_testSerializationNoDuplication_regularImmutableMap() local
888 oos.writeObject(map); in ignore_testSerializationNoDuplication_regularImmutableMap()
889 oos.flush(); in ignore_testSerializationNoDuplication_regularImmutableMap()
892 oos.writeObject(keySet); in ignore_testSerializationNoDuplication_regularImmutableMap()
893 oos.writeObject(values); in ignore_testSerializationNoDuplication_regularImmutableMap()
894 oos.close(); in ignore_testSerializationNoDuplication_regularImmutableMap()
918 ObjectOutputStream oos = new ObjectOutputStream(bytes); in ignore_testSerializationNoDuplication_jdkBackedImmutableMap() local
919 oos.writeObject(map); in ignore_testSerializationNoDuplication_jdkBackedImmutableMap()
920 oos.flush(); in ignore_testSerializationNoDuplication_jdkBackedImmutableMap()
923 oos.writeObject(keySet); in ignore_testSerializationNoDuplication_jdkBackedImmutableMap()
[all …]
/external/libwebsockets/lib/tls/
Dtls-network.c227 uint8_t *oos = os, *plen = NULL; in lws_alpn_comma_to_openssl() local
257 return lws_ptr_diff(os, oos); in lws_alpn_comma_to_openssl()
/external/javassist/src/test/javassist/proxyfactory/
DProxyFactoryTest.java47 ObjectOutputStream oos = new ObjectOutputStream(baos); in testSerialize() local
48 oos.writeObject(myCls); in testSerialize()
/external/guava/android/guava-tests/test/com/google/common/collect/
DImmutableMapTest.java813 ObjectOutputStream oos = new ObjectOutputStream(bytes); in ignore_testSerializationNoDuplication_regularImmutableMap() local
814 oos.writeObject(map); in ignore_testSerializationNoDuplication_regularImmutableMap()
815 oos.flush(); in ignore_testSerializationNoDuplication_regularImmutableMap()
818 oos.writeObject(keySet); in ignore_testSerializationNoDuplication_regularImmutableMap()
819 oos.writeObject(values); in ignore_testSerializationNoDuplication_regularImmutableMap()
820 oos.close(); in ignore_testSerializationNoDuplication_regularImmutableMap()
/external/javassist/src/test/test/javassist/proxy/
DProxySimpleTest.java71 ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(fileName)); in testReadWrite() local
72 oos.writeObject(data); in testReadWrite()
73 oos.close(); in testReadWrite()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DJSR166TestCase.java1166 ObjectOutputStream oos = new ObjectOutputStream(bos);
1167 oos.writeObject(o);
1168 oos.flush();
1169 oos.close();
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DPropertiesTest.java331 ObjectOutputStream oos = new ObjectOutputStream(baos); in TestBasicSerializationRoundTrip() local
332 oos.writeObject(props0); in TestBasicSerializationRoundTrip()
333 oos.flush(); in TestBasicSerializationRoundTrip()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DPropertiesTest.java328 ObjectOutputStream oos = new ObjectOutputStream(baos); in TestBasicSerializationRoundTrip() local
329 oos.writeObject(props0); in TestBasicSerializationRoundTrip()
330 oos.flush(); in TestBasicSerializationRoundTrip()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTestUtility.java879 ObjectOutputStream oos = new ObjectOutputStream(bos); in getSerializedBytes() local
880 oos.writeObject(objectsOut); in getSerializedBytes()
883 oos.close(); in getSerializedBytes()
977 ObjectOutputStream oos = new ObjectOutputStream(fos); in serializeObjects() local
978 oos.writeObject(objectsOut); in serializeObjects()
980 oos.close(); in serializeObjects()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DJSR166TestCase.java1207 ObjectOutputStream oos = new ObjectOutputStream(bos);
1208 oos.writeObject(o);
1209 oos.flush();
1210 oos.close();

123