/external/cronet/third_party/protobuf/js/binary/ |
D | reader.js | 68 jspb.BinaryReader = function(opt_bytes, opt_start, opt_length) { class in jspb 112 jspb.BinaryReader.instanceCache_ = []; 124 jspb.BinaryReader.alloc = 126 if (jspb.BinaryReader.instanceCache_.length) { 127 var newReader = jspb.BinaryReader.instanceCache_.pop(); 133 return new jspb.BinaryReader(opt_bytes, opt_start, opt_length); 146 jspb.BinaryReader.prototype.alloc = jspb.BinaryReader.alloc; 152 jspb.BinaryReader.prototype.free = function() { 159 if (jspb.BinaryReader.instanceCache_.length < 100) { 160 jspb.BinaryReader.instanceCache_.push(this); [all …]
|
D | reader_test.js | 66 jspb.BinaryReader.instanceCache_ = []; 79 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 84 jspb.BinaryReader.alloc().free(); 87 assertEquals(1, jspb.BinaryReader.instanceCache_.length); 90 var reader = jspb.BinaryReader.alloc(buffer); 93 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 99 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 105 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 111 assertEquals(0, jspb.BinaryReader.instanceCache_.length); 117 assertEquals(1, jspb.BinaryReader.instanceCache_.length); [all …]
|
D | writer_test.js | 205 var reader = jspb.BinaryReader.alloc(writer.getResultBuffer()); 317 var reader = jspb.BinaryReader.alloc(writer.getResultBuffer()); 378 var reader = jspb.BinaryReader.alloc(writer.getResultBuffer()); 401 var reader = jspb.BinaryReader.alloc(writer.getResultBuffer());
|
/external/cronet/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 …]
|
/external/cronet/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 …]
|
/external/cronet/third_party/protobuf/js/commonjs/ |
D | export.js | 21 exports.BinaryReader = jspb.BinaryReader;
|
/external/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()
|
/external/cronet/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()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | AbstractSchemaTest.java | 76 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()
|
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | AbstractSchemaTest.java | 76 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()
|
/external/grpc-grpc/examples/node/static_codegen/route_guide/ |
D | route_guide_pb.js | 81 var reader = new jspb.BinaryReader(bytes); 267 var reader = new jspb.BinaryReader(bytes); 469 var reader = new jspb.BinaryReader(bytes); 663 var reader = new jspb.BinaryReader(bytes); 859 var reader = new jspb.BinaryReader(bytes);
|
/external/grpc-grpc/examples/node/static_codegen/ |
D | helloworld_pb.js | 77 var reader = new jspb.BinaryReader(bytes); 236 var reader = new jspb.BinaryReader(bytes);
|
/external/rust/crates/libz-sys/src/zlib/contrib/dotzlib/DotZLib/ |
D | UnitTests.cs | 260 BinaryReader reader = new BinaryReader(gzIn); in GZipStream_WriteRead()
|
/external/llvm/test/tools/llvm-readobj/Inputs/ |
D | relocs.py | 87 class BinaryReader: class 258 f = BinaryReader(path) 325 f = BinaryReader(path) 366 f = BinaryReader(filename)
|
/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | BinaryReader.java | 53 abstract class BinaryReader implements Reader { class 68 public static BinaryReader newInstance(ByteBuffer buffer, boolean bufferIsImmutable) { in newInstance() 78 private BinaryReader() {} in BinaryReader() method in BinaryReader 92 private static final class SafeHeapReader extends BinaryReader {
|
D | ExtensionSchemaFull.java | 535 Reader reader = BinaryReader.newInstance(ByteBuffer.wrap(data.toByteArray()), true); in parseMessageSetItem()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | BinaryReader.java | 53 abstract class BinaryReader implements Reader { class 68 public static BinaryReader newInstance(ByteBuffer buffer, boolean bufferIsImmutable) { in newInstance() 78 private BinaryReader() {} in BinaryReader() method in BinaryReader 92 private static final class SafeHeapReader extends BinaryReader {
|
D | ExtensionSchemaFull.java | 535 Reader reader = BinaryReader.newInstance(ByteBuffer.wrap(data.toByteArray()), true); in parseMessageSetItem()
|
/external/protobuf/ |
D | build.gradle | 43 include 'com/google/protobuf/BinaryReader.java'
|
D | Android.bp | 509 "java/core/src/main/java/com/google/protobuf/BinaryReader.java",
|
D | Makefile.am | 302 java/core/src/main/java/com/google/protobuf/BinaryReader.java \
|
/external/protobuf/java/core/ |
D | BUILD.bazel | 19 "src/main/java/com/google/protobuf/BinaryReader.java",
|
/external/cronet/third_party/protobuf/java/core/ |
D | BUILD | 17 "src/main/java/com/google/protobuf/BinaryReader.java",
|