Home
last modified time | relevance | path

Searched refs:BinaryDecoder (Results 1 – 18 of 18) sorted by relevance

/external/protobuf/js/binary/
Ddecoder.js224 jspb.BinaryDecoder = function(opt_bytes, opt_start, opt_length) { class in jspb
279 jspb.BinaryDecoder.instanceCache_ = [];
291 jspb.BinaryDecoder.alloc = function(opt_bytes, opt_start, opt_length) {
292 if (jspb.BinaryDecoder.instanceCache_.length) {
293 var newDecoder = jspb.BinaryDecoder.instanceCache_.pop();
299 return new jspb.BinaryDecoder(opt_bytes, opt_start, opt_length);
307 jspb.BinaryDecoder.prototype.free = function() {
309 if (jspb.BinaryDecoder.instanceCache_.length < 100) {
310 jspb.BinaryDecoder.instanceCache_.push(this);
319 jspb.BinaryDecoder.prototype.clone = function() {
[all …]
Ddecoder_test.js73 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
128 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
153 jspb.BinaryDecoder.instanceCache_ = [];
157 jspb.BinaryDecoder.alloc().free();
159 assertEquals(1, jspb.BinaryDecoder.instanceCache_.length);
164 var decoder1 = jspb.BinaryDecoder.alloc();
165 var decoder2 = jspb.BinaryDecoder.alloc();
166 var decoder3 = jspb.BinaryDecoder.alloc();
171 assertEquals(3, jspb.BinaryDecoder.instanceCache_.length);
200 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
[all …]
Dreader_test.js70 var decoder1 = jspb.BinaryDecoder.alloc();
71 var decoder2 = jspb.BinaryDecoder.alloc();
72 var decoder3 = jspb.BinaryDecoder.alloc();
77 assertEquals(3, jspb.BinaryDecoder.instanceCache_.length);
85 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
91 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
109 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
115 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
860 var decoder1 = new jspb.BinaryDecoder(writer.getResultBuffer());
864 var decoder2 = new jspb.BinaryDecoder(decoder1.readBytes(blob.length + 4));
Dreader.js71 this.decoder_ = jspb.BinaryDecoder.alloc(opt_bytes, opt_start, opt_length);
595 jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(), start, length);
/external/protobuf/js/compatibility_tests/v3.0.0/binary/
Ddecoder_test.js73 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
128 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
153 jspb.BinaryDecoder.instanceCache_ = [];
157 jspb.BinaryDecoder.alloc().free();
159 assertEquals(1, jspb.BinaryDecoder.instanceCache_.length);
164 var decoder1 = jspb.BinaryDecoder.alloc();
165 var decoder2 = jspb.BinaryDecoder.alloc();
166 var decoder3 = jspb.BinaryDecoder.alloc();
171 assertEquals(3, jspb.BinaryDecoder.instanceCache_.length);
200 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
[all …]
Dreader_test.js70 var decoder1 = jspb.BinaryDecoder.alloc();
71 var decoder2 = jspb.BinaryDecoder.alloc();
72 var decoder3 = jspb.BinaryDecoder.alloc();
77 assertEquals(3, jspb.BinaryDecoder.instanceCache_.length);
85 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
91 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
109 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
115 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
845 var decoder1 = new jspb.BinaryDecoder(writer.getResultBuffer());
849 var decoder2 = new jspb.BinaryDecoder(decoder1.readBytes(blob.length + 4));
/external/protobuf/js/compatibility_tests/v3.1.0/binary/
Ddecoder_test.js73 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
128 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
153 jspb.BinaryDecoder.instanceCache_ = [];
157 jspb.BinaryDecoder.alloc().free();
159 assertEquals(1, jspb.BinaryDecoder.instanceCache_.length);
164 var decoder1 = jspb.BinaryDecoder.alloc();
165 var decoder2 = jspb.BinaryDecoder.alloc();
166 var decoder3 = jspb.BinaryDecoder.alloc();
171 assertEquals(3, jspb.BinaryDecoder.instanceCache_.length);
200 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
[all …]
Dreader_test.js70 var decoder1 = jspb.BinaryDecoder.alloc();
71 var decoder2 = jspb.BinaryDecoder.alloc();
72 var decoder3 = jspb.BinaryDecoder.alloc();
77 assertEquals(3, jspb.BinaryDecoder.instanceCache_.length);
85 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
91 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
109 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
115 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
845 var decoder1 = new jspb.BinaryDecoder(writer.getResultBuffer());
849 var decoder2 = new jspb.BinaryDecoder(decoder1.readBytes(blob.length + 4));
/external/apache-http/src/org/apache/commons/codec/binary/
DHex.java19 import org.apache.commons.codec.BinaryDecoder;
36 public class Hex implements BinaryEncoder, BinaryDecoder {
DBinaryCodec.java19 import org.apache.commons.codec.BinaryDecoder;
40 public class BinaryCodec implements BinaryDecoder, BinaryEncoder {
DBase64.java19 import org.apache.commons.codec.BinaryDecoder;
41 public class Base64 implements BinaryEncoder, BinaryDecoder {
/external/sl4a/Common/src/org/apache/commons/codec/
DBinaryDecoder.java25 public interface BinaryDecoder extends Decoder { interface
/external/apache-http/src/org/apache/commons/codec/
DBinaryDecoder.java30 public interface BinaryDecoder extends Decoder { interface
/external/apache-http/src/org/apache/commons/codec/net/
DQuotedPrintableCodec.java22 import org.apache.commons.codec.BinaryDecoder;
64 public class QuotedPrintableCodec implements BinaryEncoder, BinaryDecoder, StringEncoder, StringDec…
DURLCodec.java23 import org.apache.commons.codec.BinaryDecoder;
55 public class URLCodec implements BinaryEncoder, BinaryDecoder, StringEncoder, StringDecoder {
/external/protobuf/conformance/
DConformanceJava.java71 private static class BinaryDecoder <MessageType extends AbstractMessage> { class in ConformanceJava
143 BinaryDecoder <MessageType> decoder = new BinaryDecoder <MessageType> (); in parseBinary()
/external/sl4a/Common/src/org/apache/commons/codec/binary/
DBase64Codec.java22 import org.apache.commons.codec.BinaryDecoder;
52 public class Base64Codec implements BinaryEncoder, BinaryDecoder {
/external/apache-http/api/
Dcurrent.txt404 @Deprecated public interface BinaryDecoder extends org.apache.commons.codec.Decoder {
446 …@Deprecated public class Base64 implements org.apache.commons.codec.BinaryDecoder org.apache.commo…
459 …@Deprecated public class BinaryCodec implements org.apache.commons.codec.BinaryDecoder org.apache.…
473 …@Deprecated public class Hex implements org.apache.commons.codec.BinaryDecoder org.apache.commons.…
587 …@Deprecated public class QuotedPrintableCodec implements org.apache.commons.codec.BinaryDecoder or…
603 …@Deprecated public class URLCodec implements org.apache.commons.codec.BinaryDecoder org.apache.com…