Home
last modified time | relevance | path

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

/external/cronet/third_party/protobuf/js/binary/
Ddecoder.js66 jspb.BinaryDecoder = function(opt_bytes, opt_start, opt_length) { class in jspb
107 jspb.BinaryDecoder.instanceCache_ = [];
119 jspb.BinaryDecoder.alloc = function(opt_bytes, opt_start, opt_length) {
120 if (jspb.BinaryDecoder.instanceCache_.length) {
121 var newDecoder = jspb.BinaryDecoder.instanceCache_.pop();
127 return new jspb.BinaryDecoder(opt_bytes, opt_start, opt_length);
135 jspb.BinaryDecoder.prototype.free = function() {
137 if (jspb.BinaryDecoder.instanceCache_.length < 100) {
138 jspb.BinaryDecoder.instanceCache_.push(this);
147 jspb.BinaryDecoder.prototype.clone = function() {
[all …]
Ddecoder_test.js74 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
129 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
160 jspb.BinaryDecoder.instanceCache_ = [];
164 jspb.BinaryDecoder.alloc().free();
166 assertEquals(1, jspb.BinaryDecoder.instanceCache_.length);
171 var decoder1 = jspb.BinaryDecoder.alloc();
172 var decoder2 = jspb.BinaryDecoder.alloc();
173 var decoder3 = jspb.BinaryDecoder.alloc();
178 assertEquals(3, jspb.BinaryDecoder.instanceCache_.length);
207 decoder = jspb.BinaryDecoder.alloc(encoder.end());
[all …]
Dreader_test.js71 var decoder1 = jspb.BinaryDecoder.alloc();
72 var decoder2 = jspb.BinaryDecoder.alloc();
73 var decoder3 = jspb.BinaryDecoder.alloc();
78 assertEquals(3, jspb.BinaryDecoder.instanceCache_.length);
86 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
92 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
110 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
116 assertEquals(2, jspb.BinaryDecoder.instanceCache_.length);
915 var decoder1 = new jspb.BinaryDecoder(writer.getResultBuffer());
919 var decoder2 = new jspb.BinaryDecoder(decoder1.readBytes(blob.length + 4));
Dreader.js73 this.decoder_ = jspb.BinaryDecoder.alloc(opt_bytes, opt_start, opt_length);
606 jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(), start, length);
/external/cronet/third_party/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/cronet/third_party/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());
164 jspb.BinaryDecoder.instanceCache_ = [];
168 jspb.BinaryDecoder.alloc().free();
170 assertEquals(1, jspb.BinaryDecoder.instanceCache_.length);
175 var decoder1 = jspb.BinaryDecoder.alloc();
176 var decoder2 = jspb.BinaryDecoder.alloc();
177 var decoder3 = jspb.BinaryDecoder.alloc();
182 assertEquals(3, jspb.BinaryDecoder.instanceCache_.length);
211 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);
869 var decoder1 = new jspb.BinaryDecoder(writer.getResultBuffer());
873 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/protobuf/conformance/
DConformanceJavaLite.java97 private static class BinaryDecoder<T extends MessageLite> { class in ConformanceJavaLite
158 BinaryDecoder<T> decoder = new BinaryDecoder<>(); in parseBinary()
DConformanceJava.java101 private static class BinaryDecoder<T extends AbstractMessage> { class in ConformanceJava
159 BinaryDecoder<T> decoder = new BinaryDecoder<>(); in parseBinary()
/external/cronet/third_party/protobuf/conformance/
DConformanceJavaLite.java97 private static class BinaryDecoder<T extends MessageLite> { class in ConformanceJavaLite
158 BinaryDecoder<T> decoder = new BinaryDecoder<>(); in parseBinary()
DConformanceJava.java101 private static class BinaryDecoder<T extends AbstractMessage> { class in ConformanceJava
159 BinaryDecoder<T> decoder = new BinaryDecoder<>(); in parseBinary()
/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/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/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…