Home
last modified time | relevance | path

Searched refs:Serializer (Results 1 – 25 of 76) sorted by relevance

1234

/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/
DMapSerializer.java35 import com.jme3.network.serializing.Serializer;
46 public class MapSerializer extends Serializer {
94 Serializer keySerial = null; in readObject()
95 Serializer valSerial = null; in readObject()
97 SerializerRegistration reg = Serializer.readClass(data); in readObject()
102 SerializerRegistration reg = Serializer.readClass(data); in readObject()
111 key = Serializer.readClassAndObject(data); in readObject()
116 value = Serializer.readClassAndObject(data); in readObject()
165 Serializer keySerial = null, valSerial = null; in writeObject()
167 Serializer.writeClass(buffer, keyClass); in writeObject()
[all …]
DCollectionSerializer.java35 import com.jme3.network.serializing.Serializer;
49 public class CollectionSerializer extends Serializer {
66 SerializerRegistration reg = Serializer.readClass(data); in readObject()
68 Serializer serializer = reg.getSerializer(); in readObject()
75 collection.add(Serializer.readClassAndObject(data)); in readObject()
101 Serializer.writeClass(buffer, elementClass); in writeObject()
102 Serializer serializer = Serializer.getSerializer(elementClass); in writeObject()
110 Serializer.writeClassAndObject(buffer, elem); in writeObject()
DArraySerializer.java35 import com.jme3.network.serializing.Serializer;
47 public class ArraySerializer extends Serializer {
80 Serializer elementSerializer = null;
86 …if (Modifier.isFinal(elementClass.getModifiers())) elementSerializer = Serializer.getSerializer(el…
102 Serializer elementSerializer = null;
109 …if (Modifier.isFinal(elementClass.getModifiers())) elementSerializer = Serializer.getSerializer(el…
113 …private void writeArray(Serializer elementSerializer, ByteBuffer buffer, Object array, int dimensi…
128 Serializer.writeClassAndObject(buffer, element);
133 …private void readArray (Serializer elementSerializer, Class elementClass, ByteBuffer buffer, Objec…
151 Array.set(array, i, Serializer.readClassAndObject(buffer));
DFieldSerializer.java35 import com.jme3.network.serializing.Serializer;
50 public class FieldSerializer extends Serializer {
99 cachedField.serializer = Serializer.getSerializer(field.getType(), false); in initialize()
133 Serializer serializer = savedField.serializer; in readObject()
139 value = Serializer.readClassAndObject(data); in readObject()
171 Serializer serializer = savedField.serializer; in writeObject()
177 Serializer.writeClassAndObject(buffer, val); in writeObject()
189 public Serializer serializer;
DGZIPSerializer.java37 import com.jme3.network.serializing.Serializer;
50 public class GZIPSerializer extends Serializer {
72 … result.setMessage((Message)Serializer.readClassAndObject(ByteBuffer.wrap(out.toByteArray()))); in readObject()
86 Serializer.writeClassAndObject(tempBuffer, message); in writeObject()
DZIPSerializer.java37 import com.jme3.network.serializing.Serializer;
51 public class ZIPSerializer extends Serializer {
78 … result.setMessage((Message)Serializer.readClassAndObject(ByteBuffer.wrap(out.toByteArray()))); in readObject()
93 Serializer.writeClassAndObject(tempBuffer, message); in writeObject()
DSerializableSerializer.java35 import com.jme3.network.serializing.Serializer;
47 public class SerializableSerializer extends Serializer {
DBooleanSerializer.java35 import com.jme3.network.serializing.Serializer;
45 public class BooleanSerializer extends Serializer {
DFloatSerializer.java35 import com.jme3.network.serializing.Serializer;
45 public class FloatSerializer extends Serializer {
DShortSerializer.java35 import com.jme3.network.serializing.Serializer;
45 public class ShortSerializer extends Serializer {
DIntSerializer.java35 import com.jme3.network.serializing.Serializer;
45 public class IntSerializer extends Serializer {
DCharSerializer.java35 import com.jme3.network.serializing.Serializer;
45 public class CharSerializer extends Serializer {
DLongSerializer.java35 import com.jme3.network.serializing.Serializer;
45 public class LongSerializer extends Serializer {
DByteSerializer.java35 import com.jme3.network.serializing.Serializer;
45 public class ByteSerializer extends Serializer {
DDoubleSerializer.java35 import com.jme3.network.serializing.Serializer;
45 public class DoubleSerializer extends Serializer {
DDateSerializer.java35 import com.jme3.network.serializing.Serializer;
46 public class DateSerializer extends Serializer {
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DSerializerSwitcher.java30 import org.apache.xml.serializer.Serializer;
86 Serializer oldSerializer = null; in switchSerializerIfHTML()
90 Serializer serializer = in switchSerializerIfHTML()
149 public static Serializer switchSerializerIfHTML( in switchSerializerIfHTML()
150 String ns, String localName, Properties props, Serializer oldSerializer) in switchSerializerIfHTML()
153 Serializer newSerializer = oldSerializer; in switchSerializerIfHTML()
180 Serializer serializer = in switchSerializerIfHTML()
/external/v8/src/
Dserialize.h457 class Serializer : public SerializerDeserializer {
459 explicit Serializer(SnapshotByteSink* sink);
460 ~Serializer();
498 ObjectSerializer(Serializer* serializer, in ObjectSerializer()
529 Serializer* serializer_;
581 DISALLOW_COPY_AND_ASSIGN(Serializer);
585 class PartialSerializer : public Serializer {
587 PartialSerializer(Serializer* startup_snapshot_serializer, in PartialSerializer()
589 : Serializer(sink), in PartialSerializer()
615 Serializer* startup_serializer_;
[all …]
Dserialize.cc581 bool Serializer::serialization_enabled_ = false;
582 bool Serializer::too_late_to_enable_now_ = false;
1115 Serializer::Serializer(SnapshotByteSink* sink) in Serializer() function in v8::internal::Serializer
1131 Serializer::~Serializer() { in ~Serializer()
1171 void Serializer::VisitPointers(Object** start, Object** end) { in VisitPointers()
1246 int Serializer::RootIndex(HeapObject* heap_object, HowToCode from) { in RootIndex()
1272 void Serializer::SerializeReferenceToPreviousObject( in SerializeReferenceToPreviousObject()
1350 void Serializer::PutRoot(int root_index, in PutRoot()
1427 void Serializer::ObjectSerializer::Serialize() { in Serialize()
1428 int space = Serializer::SpaceOfObject(object_); in Serialize()
[all …]
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/
DSerializerRegistration.java42 private Serializer serializer;
46 public SerializerRegistration(Serializer serializer, Class cls, short id) { in SerializerRegistration()
57 public Serializer getSerializer() { in getSerializer()
DSerializer.java60 public abstract class Serializer { class
61 protected static final Logger log = Logger.getLogger(Serializer.class.getName());
68 …private static final Serializer fieldSerializer = new FieldSeriali…
69 …private static final Serializer serializableSerializer = new Serializable…
70 …private static final Serializer arraySerializer = new ArraySeriali…
187 Serializer serializer = getSerializer(serializerClass, false); in registerClass()
259 public static SerializerRegistration registerClass(Class cls, Serializer serializer) { in registerClass()
280 public static Serializer getExactSerializer(Class cls) { in getExactSerializer()
284 public static Serializer getSerializer(Class cls) { in getSerializer()
288 public static Serializer getSerializer(Class cls, boolean failOnMiss) { in getSerializer()
/external/jmonkeyengine/engine/src/networking/com/jme3/network/rmi/
DRmiSerializer.java35 import com.jme3.network.serializing.Serializer;
49 public class RmiSerializer extends Serializer {
82 SerializerRegistration reg = Serializer.getSerializerRegistration(clazz); in writeType()
92 SerializerRegistration reg = Serializer.readClass(buffer); in readType()
193 Serializer.writeClassAndObject(buffer, obj); in writeMethodCall()
211 args[i] = Serializer.readClassAndObject(buffer); in readMethodCall()
223 Serializer.writeClassAndObject(buffer, ret.retVal); in writeMethodReturn()
233 ret.retVal = Serializer.readClassAndObject(buffer); in readMethodReturn()
/external/jmonkeyengine/engine/src/test/jme3test/network/
DTestMessages.java37 import com.jme3.network.serializing.Serializer;
68 Serializer.registerClass(PingMessage.class); in main()
69 Serializer.registerClass(PongMessage.class); in main()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DSerializerFactory.java90 public static Serializer getSerializer(Properties format) in getSerializer()
92 Serializer ser; in getSerializer()
138 ser = (Serializer) cls.newInstance(); in getSerializer()
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/
DMessageProtocol.java36 import com.jme3.network.serializing.Serializer;
74 Serializer.writeClassAndObject( buffer, message ); in messageToBuffer()
181 Object obj = Serializer.readClassAndObject( buffer ); in createMessage()

1234