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.java90 ObjectOutputStream oos = new ObjectOutputStream(out); in testJavaSerialization() local
91 oos.writeObject(stringUnderTest); in testJavaSerialization()
92 oos.close(); in testJavaSerialization()
DRopeByteStringTest.java179 ObjectOutputStream oos = new ObjectOutputStream(out); in testJavaSerialization() local
180 oos.writeObject(stringUnderTest); in testJavaSerialization()
181 oos.close(); in testJavaSerialization()
/external/apache-harmony/support/src/test/java/tests/util/
DSerializationTester.java70 ObjectOutputStream oos = new ObjectOutputStream(bos); in getDeserilizedObject() local
71 oos.writeObject(inputObject); in getDeserilizedObject()
72 oos.close(); in getDeserilizedObject()
/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/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.java1394 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject() argument
1395 writeObjectImpl(oos); in writeObject()
1398 /* package-private */ void writeObjectImpl(ObjectOutputStream oos) throws IOException { in writeObjectImpl() argument
1399 oos.defaultWriteObject(); in writeObjectImpl()
1402 oos.writeInt(0); in writeObjectImpl()
1433 oos.writeInt(count); in writeObjectImpl()
1439 oos.writeObject(field.getName()); in writeObjectImpl()
1440 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.java1389 private void writeObject(ObjectOutputStream oos) throws IOException { in writeObject() argument
1390 writeObjectImpl(oos); in writeObject()
1393 /* package-private */ void writeObjectImpl(ObjectOutputStream oos) throws IOException { in writeObjectImpl() argument
1394 oos.defaultWriteObject(); in writeObjectImpl()
1397 oos.writeInt(0); in writeObjectImpl()
1428 oos.writeInt(count); in writeObjectImpl()
1434 oos.writeObject(field.getName()); in writeObjectImpl()
1435 oos.writeObject(value); in writeObjectImpl()
/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/apache-harmony/support/src/test/java/org/apache/harmony/testframework/serialization/
DSerializationTest.java196 ObjectOutputStream oos = new ObjectOutputStream(os); in putObjectToStream() local
197 oos.writeObject(obj); in putObjectToStream()
198 oos.flush(); in putObjectToStream()
199 oos.close(); in putObjectToStream()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DJSR166TestCase.java1217 ObjectOutputStream oos = new ObjectOutputStream(bos);
1218 oos.writeObject(o);
1219 oos.flush();
1220 oos.close();
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTestUtility.java861 ObjectOutputStream oos = new ObjectOutputStream(bos); in getSerializedBytes() local
862 oos.writeObject(objectsOut); in getSerializedBytes()
865 oos.close(); in getSerializedBytes()
966 ObjectOutputStream oos = new ObjectOutputStream(fos); in serializeObjects() local
967 oos.writeObject(objectsOut); in serializeObjects()
969 oos.close(); in serializeObjects()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTestUtility.java858 ObjectOutputStream oos = new ObjectOutputStream(bos); in getSerializedBytes() local
859 oos.writeObject(objectsOut); in getSerializedBytes()
862 oos.close(); in getSerializedBytes()
963 ObjectOutputStream oos = new ObjectOutputStream(fos); in serializeObjects() local
964 oos.writeObject(objectsOut); in serializeObjects()
966 oos.close(); in serializeObjects()
/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/number/
DPropertiesTest.java331 ObjectOutputStream oos = new ObjectOutputStream(baos); in TestBasicSerializationRoundTrip() local
332 oos.writeObject(props0); in TestBasicSerializationRoundTrip()
333 oos.flush(); in TestBasicSerializationRoundTrip()
/external/skia/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()
/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