Home
last modified time | relevance | path

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

/external/protobuf/js/binary/
Ddecoder.js223 jspb.BinaryDecoder = function(opt_bytes, opt_start, opt_length) { class in jspb
278 jspb.BinaryDecoder.instanceCache_ = [];
290 jspb.BinaryDecoder.alloc = function(opt_bytes, opt_start, opt_length) {
291 if (jspb.BinaryDecoder.instanceCache_.length) {
292 var newDecoder = jspb.BinaryDecoder.instanceCache_.pop();
298 return new jspb.BinaryDecoder(opt_bytes, opt_start, opt_length);
306 jspb.BinaryDecoder.prototype.free = function() {
308 if (jspb.BinaryDecoder.instanceCache_.length < 100) {
309 jspb.BinaryDecoder.instanceCache_.push(this);
318 jspb.BinaryDecoder.prototype.clone = function() {
[all …]
Ddecoder_test.js73 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
128 var decoder = jspb.BinaryDecoder.alloc(encoder.end());
154 jspb.BinaryDecoder.instanceCache_ = [];
158 jspb.BinaryDecoder.alloc().free();
160 assertEquals(1, jspb.BinaryDecoder.instanceCache_.length);
165 var decoder1 = jspb.BinaryDecoder.alloc();
166 var decoder2 = jspb.BinaryDecoder.alloc();
167 var decoder3 = jspb.BinaryDecoder.alloc();
172 assertEquals(3, jspb.BinaryDecoder.instanceCache_.length);
201 var 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);
796 var decoder1 = new jspb.BinaryDecoder(writer.getResultBuffer());
800 var decoder2 = new jspb.BinaryDecoder(decoder1.readBytes(blob.length + 4));
Dreader.js71 this.decoder_ = jspb.BinaryDecoder.alloc(opt_bytes, opt_start, opt_length);
596 jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(), start, length);
/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/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.txt398 @Deprecated public interface BinaryDecoder extends org.apache.commons.codec.Decoder {
440 …@Deprecated public class Base64 implements org.apache.commons.codec.BinaryDecoder org.apache.commo…
453 …@Deprecated public class BinaryCodec implements org.apache.commons.codec.BinaryDecoder org.apache.…
467 …@Deprecated public class Hex implements org.apache.commons.codec.BinaryDecoder org.apache.commons.…
581 …@Deprecated public class QuotedPrintableCodec implements org.apache.commons.codec.BinaryDecoder or…
597 …@Deprecated public class URLCodec implements org.apache.commons.codec.BinaryDecoder org.apache.com…