Searched refs:source_lines (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_source_encoding.py | 48 source_lines = [encoding_line.encode('utf-8')] 49 source_lines.append(self.source_line.encode(encoding)) 50 return b'\n'.join(source_lines) 125 source_lines = [b"a = 42", b"b = -13", b''] 126 source = line_ending.join(source_lines)
|
/external/python/cpython3/Lib/ |
D | doctest.py | 701 source_lines = m.group('source').split('\n') 702 self._check_prompt_blank(source_lines, indent, name, lineno) 703 self._check_prefix(source_lines[1:], ' '*indent + '.', name, lineno) 704 source = '\n'.join([sl[indent+4:] for sl in source_lines]) 714 lineno + len(source_lines)) 895 source_lines = None 903 source_lines = None 909 source_lines = linecache.getlines(file, module.__dict__) 913 source_lines = linecache.getlines(file) 914 if not source_lines: [all …]
|
/external/python/cpython2/Lib/ |
D | doctest.py | 704 source_lines = m.group('source').split('\n') 705 self._check_prompt_blank(source_lines, indent, name, lineno) 706 self._check_prefix(source_lines[1:], ' '*indent + '.', name, lineno) 707 source = '\n'.join([sl[indent+4:] for sl in source_lines]) 717 lineno + len(source_lines)) 901 source_lines = linecache.getlines(file, module.__dict__) 905 source_lines = linecache.getlines(file) 906 if not source_lines: 907 source_lines = None 909 source_lines = None [all …]
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | source_utils.py | 88 source_lines = source_text.split("\n") 89 line_num_width = int(np.ceil(np.log10(len(source_lines)))) + 3 90 return source_lines, line_num_width
|
/external/v8/tools/turbolizer/src/ |
D | disassembly-view.ts | 153 let source_lines = sourceText.split("\n"); variable 154 for (let i = 1; i < source_lines.length; i++) { 156 current += source_lines[i - 1].length + 1;
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | origin_info.py | 192 source_lines = source.split('\n') 199 source_code_line = source_lines[n.lineno - 1]
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | profile_analyzer_cli.py | 649 source_lines, line_num_width = source_utils.load_source( 681 for i, line in enumerate(source_lines):
|
D | analyzer_cli.py | 1124 source_lines, line_num_width = source_utils.load_source( 1129 for i, line in enumerate(source_lines):
|