/external/protobuf/js/binary/ |
D | decoder.js | 224 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 …]
|
D | decoder_test.js | 73 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 …]
|
D | reader_test.js | 70 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));
|
D | reader.js | 71 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/ |
D | decoder_test.js | 73 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 …]
|
D | reader_test.js | 70 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/ |
D | decoder_test.js | 73 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 …]
|
D | reader_test.js | 70 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/ |
D | Hex.java | 19 import org.apache.commons.codec.BinaryDecoder; 36 public class Hex implements BinaryEncoder, BinaryDecoder {
|
D | BinaryCodec.java | 19 import org.apache.commons.codec.BinaryDecoder; 40 public class BinaryCodec implements BinaryDecoder, BinaryEncoder {
|
D | Base64.java | 19 import org.apache.commons.codec.BinaryDecoder; 41 public class Base64 implements BinaryEncoder, BinaryDecoder {
|
/external/sl4a/Common/src/org/apache/commons/codec/ |
D | BinaryDecoder.java | 25 public interface BinaryDecoder extends Decoder { interface
|
/external/apache-http/src/org/apache/commons/codec/ |
D | BinaryDecoder.java | 30 public interface BinaryDecoder extends Decoder { interface
|
/external/apache-http/src/org/apache/commons/codec/net/ |
D | QuotedPrintableCodec.java | 22 import org.apache.commons.codec.BinaryDecoder; 64 public class QuotedPrintableCodec implements BinaryEncoder, BinaryDecoder, StringEncoder, StringDec…
|
D | URLCodec.java | 23 import org.apache.commons.codec.BinaryDecoder; 55 public class URLCodec implements BinaryEncoder, BinaryDecoder, StringEncoder, StringDecoder {
|
/external/protobuf/conformance/ |
D | ConformanceJava.java | 71 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/ |
D | Base64Codec.java | 22 import org.apache.commons.codec.BinaryDecoder; 52 public class Base64Codec implements BinaryEncoder, BinaryDecoder {
|
/external/apache-http/api/ |
D | current.txt | 404 @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…
|