Searched refs:bytes_to_str (Results 1 – 6 of 6) sorted by relevance
/system/extras/simpleperf/scripts/ |
D | simpleperf_report_lib.py | 29 from simpleperf_utils import (bytes_to_str, get_host_binary_path, is_windows, str_to_bytes, 44 return bytes_to_str(char_pt) 115 while length < max_len and bytes_to_str(data[offset + length]) != '\x00': 117 return bytes_to_str(data[offset: offset + length]) 123 while length < self.elem_count and bytes_to_str(data[self.offset + length]) != '\x00': 125 return bytes_to_str(data[self.offset: self.offset + length]) 461 c = bytes_to_str(char_p[j]) 480 c = bytes_to_str(char_p[i]) 502 c = bytes_to_str(data[i])
|
D | simpleperf_utils.py | 66 def bytes_to_str(bytes_value: Optional[bytes]) -> str: function 296 stdout_data = bytes_to_str(stdout_data) 297 stderr_data = bytes_to_str(stderr_data) 434 items = bytes_to_str(line).strip().split('=') 613 stdoutdata = bytes_to_str(stdoutdata) 831 stdoutdata = bytes_to_str(stdoutdata) 869 output = bytes_to_str(output) 887 output = bytes_to_str(output) 923 output = bytes_to_str(output)
|
D | app_profiler.py | 33 AdbHelper, BaseArgumentParser, bytes_to_str, extant_dir, get_script_dir, get_target_binary_path, 145 line = bytes_to_str(line).strip()
|
D | report.py | 307 stdoutdata = bytes_to_str(stdoutdata)
|
/system/extras/simpleperf/scripts/test/ |
D | test_utils.py | 32 from simpleperf_utils import remove, get_script_dir, AdbHelper, is_windows, bytes_to_str 99 output = bytes_to_str(output) 182 output_data = bytes_to_str(stdout_data)
|
D | app_profiler_test.py | 20 from simpleperf_utils import str_to_bytes, bytes_to_str, remove 106 self.assertEqual(bytes_to_str(fh.read()),
|