Searched refs:file_to_parse (Results 1 – 2 of 2) sorted by relevance
26 def GetNextMessageSize(file_to_parse): argument27 data = file_to_parse.read(4)33 def GetNextMessageFromFile(file_to_parse): argument34 message_size = GetNextMessageSize(file_to_parse)39 event.ParseFromString(file_to_parse.read(message_size))63 with open(dump_file_to_parse, 'rb') as file_to_parse:68 event = GetNextMessageFromFile(file_to_parse)
23 def GetSize(file_to_parse): argument24 data = file_to_parse.read(1)32 with open(packet_log_file_to_parse, 'rb') as file_to_parse:34 size = GetSize(file_to_parse)39 packet.ParseFromString(file_to_parse.read(size))