| /llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/taco/ |
| H A D | unit_test_tensor_io.py | 42 file_name = os.path.join(test_dir, "data.mtx") 43 with open(file_name, "w") as file: 45 a = mlir_pytaco_io.read(file_name, _FORMAT) 62 file_name = os.path.join(test_dir, "data.mtx") 63 with open(file_name, "w") as file: 65 a = mlir_pytaco_io.read(file_name, _FORMAT) 94 with open(file_name, "w") as file: 96 a = mlir_pytaco_io.read(file_name, _FORMAT) 119 mlir_pytaco_io.write(file_name, a) 137 mlir_pytaco_io.write(file_name, b) [all …]
|
| H A D | unit_test_tensor_utils.py | 72 file_name = os.path.join(test_dir, "data.tns") 73 with open(file_name, "w") as file: 78 file_name, sparsity_codes, "f64")
|
| /llvm-project-15.0.7/clang/tools/scan-build-py/tests/unit/ |
| H A D | test_report.py | 16 file_name = os.path.join(tmpdir, 'test.html') 17 with open(file_name, 'w') as handle: 19 for bug in sut.parse_bug_html(file_name): 25 file_name = os.path.join(tmpdir, preproc + '.info.txt') 26 with open(file_name, 'w') as handle: 28 return sut.parse_crash(file_name) 363 file_name = os.path.join(tmpdir, 'results-{}.sarif'.format(idx)) 364 with open(file_name, 'w') as handle: 520 file_name = os.path.join(tmpdir, 'results-{}.sarif'.format(idx)) 521 with open(file_name, 'w') as handle: [all …]
|
| /llvm-project-15.0.7/lldb/test/API/commands/process/attach/attach_denied/ |
| H A D | main.cpp | 24 bool writePid (const char* file_name, const pid_t pid) in writePid() argument 26 char *tmp_file_name = (char *)malloc(strlen(file_name) + 16); in writePid() 27 strcpy(tmp_file_name, file_name); in writePid() 47 if (rename (tmp_file_name, file_name) == -1) in writePid() 49 fprintf (stderr, "rename(%s, %s) failed: %s\n", tmp_file_name, file_name, strerror (errno)); in writePid()
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/scripts/ |
| H A D | asan_symbolize.py | 42 def fix_filename(file_name): argument 45 file_name = re.sub('.*' + path_to_cut, '', file_name) 46 file_name = re.sub('.*asan_[a-z_]*.(cc|cpp):[0-9]*', '_asan_rtl_', file_name) 47 file_name = re.sub('.*crtstuff.c:0', '???:0', file_name) 48 return file_name 124 file_name = fix_filename(file_name) 126 not file_name.startswith('??')): 195 assert file_name == '??:0', file_name 199 assert not file_name, file_name 205 file_name = '??:0' [all …]
|
| /llvm-project-15.0.7/lldb/source/Interpreter/ |
| H A D | OptionValueFileColonLine.cpp | 87 llvm::StringRef file_name; in SetValueFromString() local 90 std::tie(file_name, middle_piece) = left_of_last_piece.rsplit(':'); in SetValueFromString() 96 file_name = left_of_last_piece; in SetValueFromString() 115 m_file_spec.SetFile(file_name, FileSpec::Style::native); in SetValueFromString()
|
| /llvm-project-15.0.7/llvm/utils/llvm-locstats/ |
| H A D | llvm-locstats.py | 37 def __init__(self, file_name, variables_total, variables_total_locstats, argument 40 self.file_name = file_name 120 label='variables of {}'.format(self.file_name)) 149 label='variables of {}'.format(self.file_name)) 153 label='variables of {}'.format(locstats_to_compare.file_name)) 160 format(self.file_name, pc_ranges_covered), 165 format(locstats_to_compare.file_name,
|
| /llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/PECOFF/ |
| H A D | WindowsMiniDump.cpp | 31 const std::string file_name = outfile.GetCString(); in SaveMiniDump() local 33 wide_name.resize(file_name.size() + 1); in SaveMiniDump() 36 if (!llvm::ConvertUTF8toWide(sizeof(wchar_t), file_name, result_ptr, in SaveMiniDump()
|
| /llvm-project-15.0.7/compiler-rt/test/profile/ContinuousSyncMode/ |
| H A D | set-file-object.c | 54 char *file_name = argv[2]; in main() local 55 FILE *file = fopen(file_name, "a+b"); in main() 62 char *const child_argv[] = {argv[0], "set", file_name, NULL}; in main()
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_command/ |
| H A D | TestRegexpBreakCommand.py | 39 file_name='main.c', 48 file_name='main.c', 59 file_name='main.c',
|
| /llvm-project-15.0.7/clang/utils/analyzer/ |
| H A D | SATestUtils.py | 41 def has_no_extension(file_name: str) -> bool: 42 root, ext = os.path.splitext(file_name) 46 def is_valid_single_input_file(file_name: str) -> bool: 47 root, ext = os.path.splitext(file_name)
|
| /llvm-project-15.0.7/compiler-rt/lib/hwasan/scripts/ |
| H A D | hwasan_symbolize | 170 def __process_source_path(self, file_name): argument 172 file_name = re.sub(".*" + path_to_cut, "", file_name) 173 file_name = re.sub(".*hwasan_[a-z_]*.(cc|h):[0-9]*", "[hwasan_rtl]", file_name) 174 file_name = re.sub(".*asan_[a-z_]*.(cc|h):[0-9]*", "[asan_rtl]", file_name) 175 file_name = re.sub(".*crtstuff.c:0", "???:0", file_name) 176 return file_name
|
| /llvm-project-15.0.7/lldb/scripts/android/ |
| H A D | host_art_bt.py | 184 file_name = frame.EvaluateExpression( 186 file_name_data = file_name.GetValueAsUnsigned() 188 """(size_t)strlen(""" + file_name.GetName() + """)""").GetValueAsUnsigned() 190 file_name = process.ReadCStringFromMemory( 198 'file': file_name,
|
| /llvm-project-15.0.7/mlir/test/python/ |
| H A D | develoment_files.py | 16 for file_name in all_libs: 17 if expected_lib_name in file_name: found_lib = True
|
| /llvm-project-15.0.7/mlir/utils/spirv/ |
| H A D | define_inst.sh | 22 file_name=$1 45 ${current_dir}/../../include/mlir/Dialect/SPIRV/IR/${file_name} \
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | CompileUnitIndex.cpp | 227 StringIdRecord file_name; in GetMainSourceFile() local 233 TypeDeserializer::deserializeAs<StringIdRecord>(file_cvt, file_name)); in GetMainSourceFile() 238 if (llvm::sys::path::is_absolute(file_name.String, style)) in GetMainSourceFile() 239 return file_name.String; in GetMainSourceFile() 242 llvm::sys::path::append(absolute_path, file_name.String); in GetMainSourceFile()
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/pre_run_dylibs/ |
| H A D | TestPreRunDylibs.py | 24 file_name = module.GetFileSpec().GetFilename() 25 if file_name.find("unlikely_name") != -1:
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandObjectSource.cpp | 68 file_name = std::string(option_arg); in SetOptionValue() 91 file_name.clear(); in OptionParsingStarting() 106 std::string file_name; member in CommandObjectSourceInfo::CommandOptions 491 FileSpec file_spec(m_options.file_name); in DumpLinesForFile() 591 } else if (!m_options.file_name.empty()) { in DoExecute() 641 file_name = std::string(option_arg); in SetOptionValue() 671 file_name = value.GetFileSpec().GetPath(); in SetOptionValue() 687 file_name.clear(); in OptionParsingStarting() 703 std::string file_name; member in CommandObjectSourceList::CommandOptions 1098 } else if (m_options.file_name.empty()) { in DoExecute() [all …]
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/object-file/ |
| H A D | TestImageListMultiArchitecture.py | 33 file_name = os.path.abspath( 40 self.runCmd("file {}".format(file_name))
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/ |
| H A D | ProcessWindows.cpp | 52 std::vector<wchar_t> file_name; in GetProcessExecutableName() local 57 file_name.resize(file_name_size); in GetProcessExecutableName() 58 copied = ::GetModuleFileNameExW(process_handle, NULL, file_name.data(), in GetProcessExecutableName() 61 file_name.resize(copied); in GetProcessExecutableName() 63 llvm::convertWideToUTF8(file_name.data(), result); in GetProcessExecutableName() 68 std::string file_name; in GetProcessExecutableName() local 72 file_name = GetProcessExecutableName(process_handle); in GetProcessExecutableName() 75 return file_name; in GetProcessExecutableName() 660 const std::string file_name = GetProcessExecutableName(pid); in OnDebuggerConnected() local 661 if (file_name.empty()) { in OnDebuggerConnected() [all …]
|
| /llvm-project-15.0.7/lldb/utils/lui/ |
| H A D | lldbutil.py | 323 file_name, argument 337 if file_name is None: 340 command = 'breakpoint set -f "%s" -l %d' % (file_name, line_number) 355 file_name=file_name, 540 file_name=None, argument 560 if file_name: 565 file_name == out_file_name, 567 (file_name,
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_file.cpp | 127 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size, in ReadFileToBuffer() argument 142 fd_t fd = OpenFile(file_name, RdOnly, errno_p); in ReadFileToBuffer() 171 bool ReadFileToVector(const char *file_name, in ReadFileToVector() argument 178 fd_t fd = OpenFile(file_name, RdOnly, errno_p); in ReadFileToVector()
|
| /llvm-project-15.0.7/openmp/runtime/test/env/ |
| H A D | omp_thread_limit.c | 17 void verify(const char* file_name, int line_number, int team_size) { in verify() argument 23 snprintf(label, sizeof(label), "%s:%d", file_name, line_number); in verify()
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-lipo/ |
| H A D | replace-invalid-input.test | 6 # MISSING_ARG: error: replace is missing an argument: expects -replace arch_type file_name 24 # ARCH_NOT_IN_INPUT: error: -replace arm64 <file_name> specified but fat file: {{.*}} does not cont… 30 # ARCH_DUPLICATE: error: -replace i386 <file_name> specified multiple times:
|
| /llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/tools/clang_opt_bisect/ |
| H A D | Tool.py | 201 file_name = '-'.join( 209 file_name = ''.join( 210 c for c in file_name 215 '{}.txt'.format(file_name)) 223 '{}.dextIR'.format(file_name))
|