/external/python/cpython2/Lib/test/ |
D | test_linecache.py | 97 source_name = support.TESTFN + '.py' 98 self.addCleanup(support.unlink, source_name) 99 with open(source_name, 'w') as source: 101 getline(source_name, 1) 105 with open(source_name) as source: 107 self.assertEqual(line, getline(source_name, index + 1)) 110 with open(source_name, 'w') as source: 118 self.assertEqual(line, getline(source_name, index + 1)) 121 linecache.checkcache(source_name) 122 with open(source_name) as source: [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_linecache.py | 153 source_name = support.TESTFN + '.py' 154 self.addCleanup(support.unlink, source_name) 155 with open(source_name, 'w') as source: 157 getline(source_name, 1) 161 with open(source_name) as source: 163 self.assertEqual(line, getline(source_name, index + 1)) 166 with open(source_name, 'w') as source: 174 self.assertEqual(line, getline(source_name, index + 1)) 177 linecache.checkcache(source_name) 178 with open(source_name) as source: [all …]
|
/external/tensorflow/tensorflow/python/tools/api/generator/ |
D | create_python_api.py | 59 def format_import(source_module_name, source_name, dest_name): argument 71 if source_name == dest_name: 72 return 'from %s import %s' % (source_module_name, source_name) 75 source_module_name, source_name, dest_name) 77 if source_name == dest_name: 78 return 'import %s' % source_name 80 return 'import %s as %s' % (source_name, dest_name) 95 self, symbol_id, dest_module_name, source_module_name, source_name, argument 110 import_str = format_import(source_module_name, source_name, dest_name) 224 source_name, argument [all …]
|
/external/chromium-trace/catapult/systrace/systrace/ |
D | trace_result.py | 15 def __init__(self, source_name, raw_data): argument 16 self.source_name = source_name
|
D | output_generator.py | 39 trace.source_name) 157 merge_candidates.append(trace_result.TraceResult(result.source_name, 164 if not r.source_name in 165 [c.source_name for c in merge_candidates]] 188 trace_dict[trace.source_name] = trace.raw_data
|
D | tracing_controller.py | 215 if result.source_name in [r.source_name for r in all_results]: 217 result.source_name)
|
D | output_generator_unittest.py | 41 if r.source_name == 'a': 43 elif r.source_name == 'b':
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
D | profiler.py | 28 trace_results = [x for x in controller.all_results if not (x.source_name == 39 html_file = output or trace_results[0].source_name + '.html' 43 result = output or trace_results[0].source_name + '.gz' 54 result = trace_results[0].source_name
|
D | util.py | 25 trace_file = result.source_name + GetTraceTimestamp()
|
/external/v8/src/ |
D | source-position.cc | 81 Object* source_name = nullptr; in Print() local 84 source_name = script->name(); in Print() 88 if (source_name != nullptr && source_name->IsString()) { in Print() 89 out << String::cast(source_name) in Print()
|
/external/perfetto/tools/ |
D | gen_binary_descriptors | 71 _, source_name = os.path.split(source) 73 assert source_name.replace('.proto', '.descriptor.h') == target_name 84 proto_name = source_name[:-len('.proto')].title().replace("_", "")
|
/external/wayland/cursor/ |
D | convert_font.c | 477 char *target_name, *source_name; member 504 find_cursor_and_mask(interesting_cursors[i].source_name, in output_interesting_cursors() 508 interesting_cursors[i].source_name); in output_interesting_cursors() 513 interesting_cursors[i].source_name); in output_interesting_cursors()
|
/external/antlr/runtime/Ruby/lib/antlr3/ |
D | streams.rb | 528 alias source_name name alias in ANTLR3.StringStream 788 @source_name = options.fetch( :source_name ) { stream.source_name } 793 @source_name = options.fetch( :source_name ) { @token_source.source_name rescue nil }
|
D | recognizers.rb | 1066 def source_name 1067 @input.source_name 1308 def source_name 1309 @input.source_name
|
D | token.rb | 158 def source_name method 159 i = input and i.source_name
|
D | tree.rb | 119 def source_name method in ANTLR3.AST.TreeParser 120 @input.source_name 1075 def source_name method in CommonTreeNodeStream 1076 self.token_stream.source_name
|
D | error.rb | 114 @source_name = @input.source_name rescue nil
|
/external/v8/tools/ignition/ |
D | bytecode_dispatches_report.py | 120 for source_name, counter, ratio in top_sources: 121 print "{:>12d}\t{:>5.1f}%\t{}".format(counter, ratio * 100, source_name)
|
/external/v8/src/compiler/ |
D | graph-visualizer.cc | 73 Object* source_name = script->name(); in JsonPrintFunctionSource() local 75 if (source_name->IsString()) { in JsonPrintFunctionSource() 76 os << String::cast(source_name)->ToCString().get(); in JsonPrintFunctionSource() 186 Object* source_name = Script::cast(info->shared_info()->script())->name(); in GetVisualizerLogFileName() local 187 if (source_name->IsString()) { in GetVisualizerLogFileName() 188 String* str = String::cast(source_name); in GetVisualizerLogFileName()
|
/external/e2fsprogs/ext2ed/ |
D | main.c | 538 void internal_error (char *description,char *source_name,char *function_name) in internal_error() argument 540 …wprintw (command_win,"Internal error - Found by source: %s.c , function: %s\n",source_name,functio… in internal_error()
|
D | ext2ed.h | 293 extern void internal_error (char *description,char *source_name,char *function_name);
|
/external/squashfs-tools/squashfs-tools/ |
D | mksquashfs.h | 49 char *source_name; member
|
/external/antlr/runtime/Python/antlr3/ |
D | recognizers.py | 418 source_name = self.getSourceName() 419 if source_name is not None: 420 return "%s line %d:%d" % (source_name, e.line, e.charPositionInLine)
|
/external/antlr/runtime/Python3/antlr3/ |
D | recognizers.py | 410 source_name = self.getSourceName() 411 if source_name is not None: 412 return "{} line {}:{}".format(source_name, e.line, e.charPositionInLine)
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | transform_utils.cc | 509 const string& source_name = input_to_rename.first; in RenameNodeInputs() local 513 if (str_util::EndsWith(source_name, ":*")) { in RenameNodeInputs() 522 is_match = (CanonicalInputName(source_name) == in RenameNodeInputs()
|