Home
last modified time | relevance | path

Searched refs:oos (Results 1 – 25 of 58) 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.java1404 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject() argument
1405 writeObjectImpl(oos); in writeObject()
1408 /* package-private */ void writeObjectImpl(ObjectOutputStream oos) throws IOException { in writeObjectImpl() argument
1409 oos.defaultWriteObject(); in writeObjectImpl()
1412 oos.writeInt(0); in writeObjectImpl()
1443 oos.writeInt(count); in writeObjectImpl()
1449 oos.writeObject(field.getName()); in writeObjectImpl()
1450 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/openjdk/src/test/java/org/conscrypt/
DOpenSSLX509CertificateTest.java59 ObjectOutputStream oos = new ObjectOutputStream(baos); in testSerialization_NoContextDeserialization() local
60 oos.writeObject(new ZpenSSLX509Certificate(0xA5A5A5A5A5A5A5A5L)); in testSerialization_NoContextDeserialization()
61 oos.close(); in testSerialization_NoContextDeserialization()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DOpenSSLX509CertificateTest.java63 ObjectOutputStream oos = new ObjectOutputStream(baos); in testSerialization_NoContextDeserialization() local
64 oos.writeObject(new ZpenSSLX509Certificate(0xA5A5A5A5A5A5A5A5L)); in testSerialization_NoContextDeserialization()
65 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/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DICUTestCase.java154 ObjectOutputStream oos = new ObjectOutputStream(bos); in testEHCS() local
155 oos.writeObject(clone); in testEHCS()
156 oos.close(); in testEHCS()
/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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTestUtility.java860 ObjectOutputStream oos = new ObjectOutputStream(bos); in getSerializedBytes() local
861 oos.writeObject(objectsOut); in getSerializedBytes()
864 oos.close(); in getSerializedBytes()
958 ObjectOutputStream oos = new ObjectOutputStream(fos); in serializeObjects() local
959 oos.writeObject(objectsOut); in serializeObjects()
961 oos.close(); in serializeObjects()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTestUtility.java863 ObjectOutputStream oos = new ObjectOutputStream(bos); in getSerializedBytes() local
864 oos.writeObject(objectsOut); in getSerializedBytes()
867 oos.close(); in getSerializedBytes()
961 ObjectOutputStream oos = new ObjectOutputStream(fos); in serializeObjects() local
962 oos.writeObject(objectsOut); in serializeObjects()
964 oos.close(); in serializeObjects()
/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/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();
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestSSLContext.java164 HostnameRewritingObjectOutputStream oos = in getLoopbackAsHostname() local
166 oos.writeObject(addr); in getLoopbackAsHostname()
167 oos.close(); in getLoopbackAsHostname()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DTestSSLContext.java166 HostnameRewritingObjectOutputStream oos = in getLoopbackAsHostname() local
168 oos.writeObject(addr); in getLoopbackAsHostname()
169 oos.close(); in getLoopbackAsHostname()
/external/skqp/src/pathops/
DSkOpCoincidence.cpp805 const SkOpPtT* oos = outer->oppPtTStart(); in addMissing() local
806 if (oos->deleted()) { in addMissing()
809 const SkOpSegment* outerOpp = oos->segment(); in addMissing()
865 if (this->overlap(oos, ooe, ics, ice, &overS, &overE)) { in addMissing()
866 FAIL_IF(!this->addIfMissing(oos->starter(ooe), ics->starter(ice), in addMissing()
868 SkDEBUGPARAMS(oos->debugEnder(ooe)) in addMissing()
879 if (this->overlap(oos, ooe, ios, ioe, &overS, &overE)) { in addMissing()
880 FAIL_IF(!this->addIfMissing(oos->starter(ooe), ios->starter(ioe), in addMissing()
882 SkDEBUGPARAMS(oos->debugEnder(ooe)) in addMissing()

123