Lines Matching refs:stream
49 def concat_int(cls, stream, integer): argument
60 new_content = stream.content + struct.pack(stream.format + 'I',
62 s = MockStream(stream.magic, stream.format)
64 s.cursor = stream.cursor
68 def concat_int64(cls, stream, integer): argument
81 new_content = stream.content + struct.pack(stream.format + 'II', lo,
83 s = MockStream(stream.magic, stream.format)
85 s.cursor = stream.cursor
89 def concat_string(cls, stream, string): argument
108 new_content = stream.content + struct.pack(
109 stream.format + 'I', word_count) + bytes(string + padding)
110 s = MockStream(stream.magic, stream.format)
112 s.cursor = stream.cursor
140 self.stream = MockStream()
147 p = parser.GcovStreamParserUtil(self.stream, MAGIC)
155 self.stream = MockStream(format='>')
156 p = parser.GcovStreamParserUtil(self.stream, MAGIC)
165 self.stream = MockStream.concat_int(self.stream, integer)
166 p = parser.GcovStreamParserUtil(self.stream, MAGIC)
172 p = parser.GcovStreamParserUtil(self.stream, MAGIC)
179 self.stream = MockStream.concat_int64(self.stream, number)
180 p = parser.GcovStreamParserUtil(self.stream, MAGIC)
183 self.stream = MockStream(format='>')
184 self.stream = MockStream.concat_int64(self.stream, number)
185 p = parser.GcovStreamParserUtil(self.stream, MAGIC)
194 self.stream = MockStream.concat_string(self.stream, test_string)
195 p = parser.GcovStreamParserUtil(self.stream, MAGIC)
210 self.stream.content += content
211 p = parser.GcovStreamParserUtil(self.stream, MAGIC)