Home
last modified time | relevance | path

Searched refs:file_to_parse (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/modules/audio_coding/audio_network_adaptor/
Dparse_ana_dump.py26 def GetNextMessageSize(file_to_parse): argument
27 data = file_to_parse.read(4)
33 def GetNextMessageFromFile(file_to_parse): argument
34 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)
/external/webrtc/rtc_tools/network_tester/
Dparse_packet_log.py23 def GetSize(file_to_parse): argument
24 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))