Home
last modified time | relevance | path

Searched refs:BinaryReader (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Dreader.js66 jspb.BinaryReader = function(opt_bytes, opt_start, opt_length) { class in jspb
110 jspb.BinaryReader.instanceCache_ = [];
122 jspb.BinaryReader.alloc =
124 if (jspb.BinaryReader.instanceCache_.length) {
125 var newReader = jspb.BinaryReader.instanceCache_.pop();
131 return new jspb.BinaryReader(opt_bytes, opt_start, opt_length);
144 jspb.BinaryReader.prototype.alloc = jspb.BinaryReader.alloc;
150 jspb.BinaryReader.prototype.free = function() {
157 if (jspb.BinaryReader.instanceCache_.length < 100) {
158 jspb.BinaryReader.instanceCache_.push(this);
[all …]
Dreader_test.js65 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 …]
/frameworks/compile/mclinker/include/mcld/LD/
DGroupReader.h17 class BinaryReader; variable
35 BinaryReader& pBinaryReader);
61 BinaryReader& m_BinaryReader;
DBinaryReader.h21 class BinaryReader : public LDReader {
23 virtual ~BinaryReader() = 0;
DELFBinaryReader.h23 class ELFBinaryReader : public BinaryReader {
/frameworks/compile/mclinker/include/mcld/Object/
DObjectLinker.h16 class BinaryReader; variable
139 const BinaryReader* getBinaryReader() const { return m_pBinaryReader; } in getBinaryReader()
140 BinaryReader* getBinaryReader() { return m_pBinaryReader; } in getBinaryReader()
177 BinaryReader* m_pBinaryReader;
/frameworks/compile/mclinker/lib/LD/
DBinaryReader.cpp16 BinaryReader::~BinaryReader() { in ~BinaryReader()
DAndroid.bp15 "BinaryReader.cpp",
DGroupReader.cpp26 BinaryReader& pBinaryReader) in GroupReader()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/commonjs/
Dexport.js16 exports.BinaryReader = jspb.BinaryReader;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/
DProgram.cs49 var input = new BinaryReader(Console.OpenStandardInput()); in Main()
61 … private static bool RunTest(BinaryReader input, BinaryWriter output, TypeRegistry typeRegistry) in RunTest()
127 private static int? ReadInt32(BinaryReader input) in ReadInt32()
/frameworks/compile/mclinker/include/mcld/Target/
DTargetLDBackend.h23 class BinaryReader; variable
76 virtual BinaryReader* createBinaryReader(IRBuilder&) = 0;