/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 | 136 def add_import(self, symbol, source_module_name, source_name, argument 155 import_str = self.format_import(source_module_name, source_name, dest_name) 178 priority += int(source_name == symbol.__name__) 204 source_name=import_from, 215 source_name=module_split[submodule_index], 281 def format_import(self, source_module_name, source_name, dest_name): argument 294 source_name) 297 if source_name == dest_name: 298 return 'from %s import %s' % (source_module_name, source_name) 300 return 'from %s import %s as %s' % (source_module_name, source_name, [all …]
|
/external/llvm-project/lldb/test/API/lang/objc/objc-dynamic-value/ |
D | TestObjCDynamicValue.py | 23 self.source_name = 'dynamic-value.m' 25 self.source_name, 28 self.source_name, '// Break here to check dynamic values.') 30 self.source_name, '// Break here to see if we can step into real method.') 51 self.source_name, self.handle_SourceBase) 57 self.source_name, self.main_before_setProperty_line) 138 self.source_name)
|
/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 | 40 trace.source_name) 170 merge_candidates.append(trace_result.TraceResult(result.source_name, 177 if not r.source_name in 178 [c.source_name for c in merge_candidates]] 201 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 | 42 if r.source_name == 'a': 44 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/perfetto/tools/ |
D | gen_amalgamated | 356 def _add_source(self, target_name, source_name): argument 357 if source_name in self._processed_sources: 359 self._processed_sources.add(source_name) 361 deps = self.source_deps[source_name] 362 full_path = os.path.join(gn_utils.repo_root(), source_name) 364 raise Error('Source file %s not found' % source_name) 371 source_name, self._process_source_includes( 374 raise Error('Failed adding source %s: %s' % (source_name, e.message)) 411 def _patch_source(self, source_name, lines): argument 414 os.path.splitext(os.path.basename(source_name))[0]) [all …]
|
/external/llvm-project/lldb/test/API/python_api/module_section/ |
D | TestModuleAndSection.py | 162 for source_name in source_name_list: 163 list = module.FindCompileUnits(lldb.SBFileSpec(source_name, False)) 167 source_name)
|
/external/llvm-project/lldb/test/API/lang/objc/objc-checker/ |
D | TestObjCCheckers.py | 24 self.source_name = 'main.m' 43 "Set a breakpoint here.", lldb.SBFileSpec(self.source_name))
|
/external/pigweed/pw_cli/py/pw_cli/ |
D | plugins.py | 112 def source_name(self) -> str: member in Plugin 234 plugin.source_name, plugin.name, plugin.target_name) 240 'ignoring registration as %s', plugin.source_name, plugin.name, 245 'Only the first registration takes effect', plugin.source_name, 269 _LOG.debug('%s: Registered plugin "%s" for %s', plugin.source_name,
|
/external/llvm-project/lldb/test/API/lang/objc/objc-property/ |
D | TestObjCProperty.py | 22 self.source_name = 'main.m' 41 "Set a breakpoint here.", lldb.SBFileSpec(self.source_name))
|
/external/oss-fuzz/infra/base-images/base-sanitizer-libs-builder/ |
D | msan_build.py | 227 source_name = version.source_name 228 local_source_name = source_name.replace('.', '_') 233 return package.Package(source_name, version)
|
/external/wayland/cursor/ |
D | convert_font.c | 477 char *target_name, *source_name; member 509 find_cursor_and_mask(interesting_cursors[i].source_name, in output_interesting_cursors() 513 interesting_cursors[i].source_name); in output_interesting_cursors() 518 interesting_cursors[i].source_name); in output_interesting_cursors()
|
/external/tensorflow/tensorflow/python/framework/ |
D | convert_to_constants.py | 307 source_name = name_elts[0] 308 if source_name[0] == "^": 309 source_name = source_name[1:] 315 return _EndPoint(self._enclosing_graph.nodes[source_name], source_index) 317 if source_index != 0 or source_name in self._function.nodes: 318 return _EndPoint(self._function.nodes[source_name], source_index) 321 return _EndPoint(self._function, inputs.index(source_name))
|
/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
|
/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()
|
/external/llvm-project/lldb/test/API/python_api/target/ |
D | TestTargetAPI.py | 277 source_name = "main.c" 283 list = target.FindCompileUnits(lldb.SBFileSpec(source_name, False)) 287 list[0].GetCompileUnit().GetFileSpec().GetFilename() == source_name)
|
/external/squashfs-tools/squashfs-tools/ |
D | mksquashfs.h | 49 char *source_name; member
|
/external/libbrillo/brillo/files/ |
D | safe_fd.cc | 406 const std::string& source_name, in Link() argument 412 SafeFD::Error err = IsValidFilename(source_name); in Link() 422 if (HANDLE_EINTR(linkat(source_dir.get(), source_name.c_str(), fd_.get(), in Link()
|