| /third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/profiler/parser/ |
| D | minddata_parser.py | 91 def execute(source_path, output_path, job_id, device_id): argument 96 source_path (str): the source file path, eg: profiler. 101 if MinddataParser._is_legacy_aicpu_data(source_path, job_id): 104 … MinddataParser._execute_legacy(os.path.join(source_path, job_id), output_path, device_id) 107 MinddataParser._execute(source_path, output_path, job_id, device_id) 110 def _is_legacy_aicpu_data(source_path, job_id) -> bool: argument 115 source_path (str): the source file path, eg: profiler. 120 legacy_files = glob.glob(os.path.join(source_path, job_id, "data", "DATA_PREPROCESS.*")) 124 def _execute(source_path, output_path, job_id, device_id): argument 129 source_path (str): the source file path, eg: profiler. [all …]
|
| /third_party/python/Lib/test/ |
| D | test_py_compile.py | 57 self.source_path = os.path.join(self.directory, '_test.py') 58 self.pyc_path = self.source_path + 'c' 59 self.cache_path = importlib.util.cache_from_source(self.source_path) 62 # current working directory path and the 'self.source_path' might be 65 drive = os.path.splitdrive(self.source_path)[0] 68 with open(self.source_path, 'w') as file: 77 py_compile.compile(self.source_path, self.pyc_path) 91 py_compile.compile(self.source_path, self.pyc_path) 99 py_compile.compile(self.source_path, os.devnull) 102 py_compile.compile(self.source_path) [all …]
|
| D | test_compileall.py | 57 self.source_path = os.path.join(self.directory, '_test.py') 58 self.bc_path = importlib.util.cache_from_source(self.source_path) 59 with open(self.source_path, 'w', encoding="utf-8") as file: 63 shutil.copyfile(self.source_path, self.source_path2) 67 shutil.copyfile(self.source_path, self.source_path3) 80 mtime = int(os.stat(self.source_path).st_mtime) 89 os.utime(self.source_path, (2**32 - 1, 2**32 - 1)) 93 self.assertTrue(compileall.compile_file(self.source_path)) 99 os.utime(self.source_path, (2**35, 2**35)) 103 self.assertTrue(compileall.compile_file(self.source_path)) [all …]
|
| D | test_modulefinder.py | 385 source_path = base_path + importlib.machinery.SOURCE_SUFFIXES[0] 387 with open_file(source_path) as file: 389 py_compile.compile(source_path, cfile=bytecode_path) 390 os.remove(source_path)
|
| /third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/profiler/parser/ascend_analysis/ |
| D | fwk_file_parser.py | 36 def __init__(self, source_path: str, rank_id: int): 38 source_path: The path of PROF_* directory 42 self.__init_framework_path(source_path) 75 def __init_framework_path(self, source_path: str): 77 source_path = validate_and_normalize_path(source_path) 78 if not os.path.exists(source_path): 79 raise FileNotFoundError("Input source_path does not exist!") 80 device_name = os.path.basename(source_path) 81 if not device_name.startswith("device") and not os.path.isdir(source_path): 82 raise RuntimeError("Input source_path is invalid!") [all …]
|
| D | profiler_info_parser.py | 42 def init_source_path(cls, source_path: str): 44 source_path = validate_and_normalize_path(source_path) 45 prof_path = os.path.dirname(source_path) 46 dir_name = os.path.basename(source_path) 47 if not dir_name.startswith("device") or not os.path.exists(source_path):
|
| D | fwk_cann_parser.py | 35 def __init__(self, source_path: str, msprof_data: List, rank_id: int, step_list=None): 36 source_path = validate_and_normalize_path(source_path) 37 ProfilerInfoParser.init_source_path(source_path) 39 fwk_parser = FwkFileParser(source_path, rank_id)
|
| D | file_manager.py | 132 def get_csv_file_list_by_start_name(cls, source_path: str, start_name: str): 135 for file_name in os.listdir(source_path): 137 file_list.append(os.path.join(source_path, file_name))
|
| /third_party/glfw/CMake/ |
| D | GenerateMappings.cmake | 5 set(source_path "${CMAKE_CURRENT_BINARY_DIR}/gamecontrollerdb.txt") variable 13 file(DOWNLOAD "${source_url}" "${source_path}" 24 file(STRINGS "${source_path}" lines) 47 file(REMOVE "${source_path}")
|
| /third_party/unity/examples/example_3/ |
| D | target_gcc_32.yml | 6 source_path: &source_path 'src/' 19 - *source_path
|
| /third_party/rust/rust/tests/ui/test-attrs/ |
| D | tests-listing-format-json.run.stdout | 2 …discovered", "name": "a_test", "ignore": false, "ignore_message": "", "source_path": "$DIR/tests-l… 3 …discovered", "name": "m_test", "ignore": false, "ignore_message": "", "source_path": "$DIR/tests-l… 4 …": "z_test", "ignore": true, "ignore_message": "not yet implemented", "source_path": "$DIR/tests-l…
|
| /third_party/skia/third_party/externals/angle2/tools/android/modularization/convenience/ |
| D | lookup_dep.py | 215 source_path = pathlib.Path(source_line.strip()) 216 java_class = self._parse_full_java_class(source_path) 288 def _parse_full_java_class(source_path: pathlib.Path) -> str: 290 if source_path.suffix != '.java': 291 logging.warning(f'"{source_path}" does not have the .java suffix') 294 directory_path: pathlib.Path = source_path.parent 303 logging.debug(f'File {source_path} not in a subdir of "org" or "com", ' 308 class_name = source_path.stem
|
| /third_party/opencl-headers/tests/ |
| D | CMakeLists.txt | 30 set(SOURCE_PATH "${CPP_SOURCE_PATH}") variable 33 set(SOURCE_PATH "../${SOURCE}") variable 40 add_executable(${TEST_EXE} "${SOURCE_PATH}")
|
| /third_party/python/Lib/distutils/command/ |
| D | check.py | 126 source_path = self.distribution.script_name or 'setup.py' 132 reporter = SilentReporter(source_path, 140 document = nodes.document(settings, reporter, source=source_path) 141 document.note_source(source_path, -1)
|
| /third_party/curl/projects/ |
| D | build-openssl.bat | 35 set SOURCE_PATH= variable 245 set "SOURCE_PATH=%CD%" 258 set "TMP_BUILD_PATH=%SOURCE_PATH%" 259 set "TMP_INSTALL_PATH=%SOURCE_PATH%" 261 set "TMP_BUILD_PATH=%SOURCE_PATH%\build\tmp_build" 262 set "TMP_INSTALL_PATH=%SOURCE_PATH%\build\tmp_install" 441 perl "%SOURCE_PATH%\Configure" %options% "--prefix=%TMP_INSTALL_PATH%" 502 cd /d "%SOURCE_PATH%" || (echo Error: Failed cd source & exit /B 1) 572 cd /d "%SOURCE_PATH%" || (echo Error: Failed cd source & exit /B 1) 642 if not "%SOURCE_PATH%" == "%TMP_BUILD_PATH%" ( [all …]
|
| /third_party/skia/tools/ |
| D | imgcvt.cpp | 22 const char* source_path = argc > 1 ? argv[1] : nullptr; in main() local 23 if (!source_path) { in main() 40 auto blob = SkData::MakeFromFileName(source_path); in main() 76 SkDebugf("Couldn't decode %s as an SkImage or an ICC profile.\n", source_path); in main()
|
| /third_party/skia/m133/tools/ |
| D | imgcvt.cpp | 24 const char* source_path = argc > 1 ? argv[1] : nullptr; in main() local 25 if (!source_path) { in main() 42 auto blob = SkData::MakeFromFileName(source_path); in main() 78 SkDebugf("Couldn't decode %s as an SkImage or an ICC profile.\n", source_path); in main()
|
| /third_party/python/Lib/importlib/ |
| D | _bootstrap_external.py | 561 source_path = source_from_cache(bytecode_path) 563 source_path = bytecode_path[:-1] 564 return source_path if _path_isfile(source_path) else bytecode_path 727 def _compile_bytecode(data, name=None, bytecode_path=None, source_path=None): argument 732 if source_path is not None: 733 _imp._fix_co_filename(code, source_path) 972 def _cache_bytecode(self, source_path, cache_path, data): argument 1014 source_path = self.get_filename(fullname) 1021 bytecode_path = cache_from_source(source_path) 1026 st = self.path_stats(source_path) [all …]
|
| /third_party/json/tools/amalgamate/ |
| D | amalgamate.py | 45 # Prepends self.source_path to file_path if needed. 48 file_path = os.path.join(self.source_path, file_path) 72 self.source_path = args.source_path 288 argsparser.add_argument("-s", "--source", dest="source_path",
|
| /third_party/typescript/ |
| D | compile_typescript.py | 50 source_path = args[0] 52 run_pack(source_path, dest_out_path)
|
| /third_party/ffmpeg/ffbuild/ |
| D | pkgconfig_generate.sh | 47 includedir=${source_path} 53 includedir=${source_path}
|
| /third_party/rust/rust/library/std/src/sys/unix/kernel_copy/ |
| D | tests.rs | 14 let source_path = tmp_path.join("copy-spec.source"); in copy_specialization() localVariable 23 .open(&source_path)?; in copy_specialization() 62 let rm1 = crate::fs::remove_file(source_path); in copy_specialization() 71 let source_path = tmp_path.join("copies_append_mode.source"); in copies_append_mode_sink() localVariable 74 OpenOptions::new().create(true).truncate(true).write(true).read(true).open(&source_path)?; in copies_append_mode_sink()
|
| /third_party/gn/src/gn/ |
| D | xcode_object.cc | 594 const std::string& source_path) { in AddSourceFile() argument 596 DCHECK(!source_path.empty()); in AddSourceFile() 637 return group->AddSourceFile(navigator_path.substr(sep + 1), source_path); in AddSourceFile() 696 PBXMainGroup::PBXMainGroup(const std::string& source_path) in PBXMainGroup() argument 697 : PBXGroup(source_path, std::string()) {} in PBXMainGroup() 778 const std::string& source_path, in PBXProject() argument 781 main_group_ = std::make_unique<PBXMainGroup>(source_path); in PBXProject() 792 const std::string& source_path) { in AddSourceFileToIndexingTarget() argument 796 AddSourceFile(navigator_path, source_path, target_for_indexing_); in AddSourceFileToIndexingTarget() 800 const std::string& source_path, in AddSourceFile() argument [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/profiler/ |
| D | profiling.py | 1244 def _minddata_aicpu_analyse(self, source_path, job_id): argument 1252 MinddataParser.execute(source_path, self._output_path, job_id, store_id) 1331 …def _ascend_timeline_analyse(self, op_summary, steptrace, source_path, mindstudio_profiler_output)… argument 1335 …timeline_analyser = AscendTimelineGenerator(self._output_path, source_path, mindstudio_profiler_ou… 1399 def _ascend_ms_analyze(self, source_path): argument 1427 os.path.join(source_path, os.path.pardir, 'mindstudio_profiler_output')) 1434 self._ascend_graph_cluster_analyse(source_path, ascend_profiler_output_path) 1435 self._ascend_graph_communicate_analyse(source_path, ascend_profiler_output_path) 1436 AscendIntegrateGenerator(source_path, ascend_profiler_output_path).parse() 1437 …AscendMemoryGenerator(self._output_path, self._rank_id, source_path, ascend_profiler_output_path).… [all …]
|
| /third_party/rust/rust/tests/ui/proc-macro/auxiliary/ |
| D | macro-only-syntax.rs | 86 let source_path = span.source_file().path(); in check_useful_span() localVariable 87 let filename = source_path.components().last().unwrap(); in check_useful_span()
|