/third_party/protobuf/js/binary/ |
D | reader.js | 67 jspb.BinaryReader = function(opt_bytes, opt_start, opt_length) { class in jspb 111 jspb.BinaryReader.instanceCache_ = []; 123 jspb.BinaryReader.alloc = 125 if (jspb.BinaryReader.instanceCache_.length) { 126 var newReader = jspb.BinaryReader.instanceCache_.pop(); 132 return new jspb.BinaryReader(opt_bytes, opt_start, opt_length); 145 jspb.BinaryReader.prototype.alloc = jspb.BinaryReader.alloc; 151 jspb.BinaryReader.prototype.free = function() { 158 if (jspb.BinaryReader.instanceCache_.length < 100) { 159 jspb.BinaryReader.instanceCache_.push(this); [all …]
|
D | reader_test.js | 65 jspb.BinaryReader.instanceCache_ = []; 78 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 83 jspb.BinaryReader.alloc().free(); 86 assertEquals(1, jspb.BinaryReader.instanceCache_.length); 89 var reader = jspb.BinaryReader.alloc(buffer); 92 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 98 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 104 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 110 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 116 assertEquals(1, jspb.BinaryReader.instanceCache_.length); [all …]
|
D | writer_test.js | 162 var reader = jspb.BinaryReader.alloc(writer.getResultBuffer()); 274 var reader = jspb.BinaryReader.alloc(writer.getResultBuffer()); 335 var reader = jspb.BinaryReader.alloc(writer.getResultBuffer()); 358 var reader = jspb.BinaryReader.alloc(writer.getResultBuffer());
|
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/ |
D | reader_test.js | 65 jspb.BinaryReader.instanceCache_ = []; 78 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 83 jspb.BinaryReader.alloc().free(); 86 assertEquals(1, jspb.BinaryReader.instanceCache_.length); 89 var reader = jspb.BinaryReader.alloc(buffer); 92 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 98 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 104 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 110 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 116 assertEquals(1, jspb.BinaryReader.instanceCache_.length); [all …]
|
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/ |
D | reader_test.js | 65 jspb.BinaryReader.instanceCache_ = []; 78 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 83 jspb.BinaryReader.alloc().free(); 86 assertEquals(1, jspb.BinaryReader.instanceCache_.length); 89 var reader = jspb.BinaryReader.alloc(buffer); 92 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 98 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 104 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 110 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 116 assertEquals(1, jspb.BinaryReader.instanceCache_.length); [all …]
|
/third_party/skia/experimental/skrive/src/reader/ |
D | BinaryReader.cpp | 18 class BinaryReader final : public StreamReader { class 20 explicit BinaryReader(std::unique_ptr<SkStreamAsset> stream) in BinaryReader() function in skrive::internal::__anon9f14aa680111::BinaryReader 150 return std::make_unique<BinaryReader>(std::move(stream)); in MakeBinaryStreamReader()
|
/third_party/protobuf/js/commonjs/ |
D | export.js | 22 exports.BinaryReader = jspb.BinaryReader;
|
/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Program.cs | 49 var input = new BinaryReader(Console.OpenStandardInput()); in Main() 63 … private static bool RunTest(BinaryReader input, BinaryWriter output, TypeRegistry typeRegistry) in RunTest() 163 private static int? ReadInt32(BinaryReader input) in ReadInt32()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | AbstractSchemaTest.java | 78 Reader reader = BinaryReader.newInstance(invalidUtf8Bytes, /* bufferIsImmutable= */ true); in invalidUtf8StringParsing() 127 Reader reader = BinaryReader.newInstance(ByteBuffer.wrap(serializedBytes), true); in roundtrip()
|
D | ExperimentalSerializationUtil.java | 93 msg, BinaryReader.newInstance(ByteBuffer.wrap(data), true), extensionRegistry); in fromByteArray()
|
/third_party/zlib/contrib/dotzlib/DotZLib/ |
D | UnitTests.cs | 260 BinaryReader reader = new BinaryReader(gzIn); in GZipStream_WriteRead()
|
/third_party/skia/experimental/skrive/ |
D | skrive.gni | 23 "$_src/reader/BinaryReader.cpp",
|
D | BUILD.gn | 41 "tests/BinaryReader.cpp",
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | BinaryReader.java | 52 abstract class BinaryReader implements Reader { class 67 public static BinaryReader newInstance(ByteBuffer buffer, boolean bufferIsImmutable) { in newInstance() 77 private BinaryReader() {} in BinaryReader() method in BinaryReader 91 private static final class SafeHeapReader extends BinaryReader {
|
D | ExtensionSchemaLite.java | 532 Reader reader = BinaryReader.newInstance(ByteBuffer.wrap(data.toByteArray()), true); in parseMessageSetItem()
|
D | ExtensionSchemaFull.java | 534 Reader reader = BinaryReader.newInstance(ByteBuffer.wrap(data.toByteArray()), true); in parseMessageSetItem()
|
/third_party/protobuf/java/core/ |
D | BUILD | 12 "src/main/java/com/google/protobuf/BinaryReader.java",
|
/third_party/protobuf/ |
D | Makefile.am | 287 java/core/src/main/java/com/google/protobuf/BinaryReader.java \
|