Home
last modified time | relevance | path

Searched refs:file_name (Results 1 – 25 of 92) sorted by relevance

1234

/llvm-project/libcxx/test/std/language.support/support.srcloc/
H A Dgeneral.pass.cpp37 static_assert(empty.file_name()[0] == '\0');
42 ASSERT_NOEXCEPT(empty.file_name());
46 std::same_as<const char*> auto file = empty.file_name();
55 static_assert(cur.file_name()[0] == 's' && cur.file_name()[1] == 's' && cur.file_name()[2] == '\0');
63 assert(strcmp(local.file_name(), "ss") == 0); in main()
70 assert(strcmp(local2.file_name(), cur.file_name()) == 0); in main()
77 assert(strcmp(local.file_name(), cur.file_name()) == 0); in main()
/llvm-project/mlir/utils/spirv/
H A Drefresh_inst.sh18 file_name="$(basename $file)"
19 if [[ $file_name == "SPIRVOps.td" ||
20 $file_name == "SPIRVCLOps.td" ||
21 $file_name == "SPIRVGLOps.td" ]]; then
24 if [[ $file_name =~ SPIRV.*Ops.td ]]; then
25 echo "--- refreshing $file_name ---"
26 "${current_dir}/define_inst.sh" ${file_name} Op
H A Ddefine_inst.sh22 file_name=$1
49 ${current_dir}/../../include/mlir/Dialect/SPIRV/IR/${file_name} \
/llvm-project/clang/tools/scan-build-py/tests/unit/
H A Dtest_report.py16 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)
350 file_name = os.path.join(tmpdir, "results-{}.sarif".format(idx))
351 with open(file_name, "w") as handle:
507 file_name = os.path.join(tmpdir, "results-{}.sarif".format(idx))
508 with open(file_name, "
[all...]
/llvm-project/compiler-rt/test/profile/ContinuousSyncMode/
H A Dset-file-object.c61 char *file_name = argv[2]; in main() local
64 file = fopen(file_name, "a+b"); in main()
71 char *const child_argv[] = {argv[0], "set", file_name, NULL}; in main()
73 FILE *file = fopen(file_name, "w+"); in main()
104 file = fopen(file_name, "r+b"); in main()
/llvm-project/compiler-rt/lib/asan/scripts/
H A Dasan_symbolize.py42 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
145 file_name = self.pipe.stdout.readline().rstrip()
146 file_name
[all...]
/llvm-project/lldb/test/API/commands/process/attach/attach_denied/
H A Dmain.cpp24 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/lldb/source/Interpreter/
H A DOptionValueFileColonLine.cpp88 llvm::StringRef file_name; in SetValueFromString()
91 std::tie(file_name, middle_piece) = left_of_last_piece.rsplit(':'); in SetValueFromString()
97 file_name = left_of_last_piece; in SetValueFromString()
116 m_file_spec.SetFile(file_name, FileSpec::Style::native); in SetValueFromString()
87 llvm::StringRef file_name; SetValueFromString() local
/llvm-project/llvm/utils/llvm-locstats/
H A Dllvm-locstats.py41 file_name, argument
49 self.file_name = file_name
150 label="variables of {}".format(self.file_name),
189 label="variables of {}".format(self.file_name),
197 label="variables of {}".format(locstats_to_compare.file_name),
206 "{} PC ranges covered: {}%".format(self.file_name, pc_ranges_covered),
216 locstats_to_compare.file_name, pc_ranges_covered_to_compare
/llvm-project/lldb/source/Plugins/ObjectFile/PECOFF/
H A DWindowsMiniDump.cpp32 const std::string file_name = outfile.GetPath(); in SaveMiniDump()
34 wide_name.resize(file_name.size() + 1); in SaveMiniDump()
37 if (!llvm::ConvertUTF8toWide(sizeof(wchar_t), file_name, result_ptr, in SaveMiniDump()
31 const std::string file_name = outfile.GetPath(); SaveMiniDump() local
/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_command/
H A DTestRegexpBreakCommand.py34 file_name="main.c",
45 file_name="main.c",
58 file_name="main.c",
/llvm-project/clang/utils/analyzer/
H A DSATestUtils.py41 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/compiler-rt/lib/hwasan/scripts/
H A Dhwasan_symbolize174 def __process_source_path(self, file_name):
176 file_name = re.sub(".*" + path_to_cut, "", file_name)
177 file_name = re.sub(".*hwasan_[a-z_]*.(cc|h):[0-9]*", "[hwasan_rtl]", file_name)
178 file_name = re.sub(".*asan_[a-z_]*.(cc|h):[0-9]*", "[asan_rtl]", file_name)
179 file_name = re.sub(".*crtstuff.c:0", "???:0", file_name)
180 return file_name
170 __process_source_path(self, file_name) global() argument
[all...]
/llvm-project/lldb/scripts/android/
H A Dhost_art_bt.py231 file_name = frame.EvaluateExpression(
234 file_name_data = file_name.GetValueAsUnsigned()
236 """(size_t)strlen(""" + file_name.GetName() + """)"""
239 file_name = process.ReadCStringFromMemory(
247 {"function": function, "file": file_name, "line": line}
/llvm-project/libc/test/UnitTest/
H A DCmakeFilePath.cpp18 CString libc_make_test_file_path_func(const char *file_name) { in libc_make_test_file_path_func()
19 return cpp::string(file_name);
16 libc_make_test_file_path_func(const char * file_name) libc_make_test_file_path_func() argument
H A DBazelFilePath.cpp20 CString libc_make_test_file_path_func(const char *file_name) { in libc_make_test_file_path_func()
24 return cpp::string(UNDECLARED_OUTPUTS_PATH) + file_name;
18 libc_make_test_file_path_func(const char * file_name) libc_make_test_file_path_func() argument
H A DTest.h17 #define libc_make_test_file_path(file_name) (file_name) argument
/llvm-project/lldb/source/Commands/
H A DCommandObjectSource.cpp70 file_name = std::string(option_arg); in SetOptionValue()
93 file_name.clear(); in OptionParsingStarting()
108 std::string file_name; member in CommandObjectSourceInfo::CommandOptions
485 FileSpec file_spec(m_options.file_name); in DumpLinesForFile()
486 const char *filename = m_options.file_name.c_str(); in DumpLinesForFile()
577 } else if (!m_options.file_name.empty()) { in DoExecute()
626 file_name = std::string(option_arg); in SetOptionValue()
655 file_name = value.GetFileSpec().GetPath(); in SetOptionValue()
671 file_name.clear(); in SetOptionValue()
687 std::string file_name; in OptionParsingStarting()
696 std::string file_name; global() member in CommandObjectSourceList::CommandOptions
[all...]
/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DCompileUnitIndex.cpp231 StringIdRecord file_name; in GetMainSourceFile() local
237 TypeDeserializer::deserializeAs<StringIdRecord>(file_cvt, file_name)); in GetMainSourceFile()
242 if (llvm::sys::path::is_absolute(file_name.String, style)) in GetMainSourceFile()
243 return file_name.String; in GetMainSourceFile()
246 llvm::sys::path::append(absolute_path, file_name.String); in GetMainSourceFile()
/llvm-project/mlir/test/python/
H A Ddeveloment_files.py16 for file_name in all_libs:
17 if expected_lib_name in file_name:
/llvm-project/lldb/source/Plugins/Process/Windows/Common/
H A DProcessWindows.cpp52 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()
687 const std::string file_name = GetProcessExecutableName(pid); in OnDebuggerConnected()
688 if (file_name in OnDebuggerConnected()
654 const std::string file_name = GetProcessExecutableName(pid); OnDebuggerConnected() local
[all...]
/llvm-project/lldb/utils/lui/
H A Dlldbutil.py332 file_name, argument
348 if file_name is None:
351 command = 'breakpoint set -f "%s" -l %d' % (file_name, line_number)
366 file_name=file_name,
541 file_name=None, argument
561 if file_name:
566 file_name == out_file_name,
568 % (file_name, out_file_name),
/llvm-project/lldb/test/API/functionalities/pre_run_dylibs/
H A DTestPreRunDylibs.py23 file_name = module.GetFileSpec().GetFilename()
24 if file_name.find("unlikely_name") != -1:
/llvm-project/lldb/test/API/functionalities/object-file/
H A DTestImageListMultiArchitecture.py41 file_name = os.path.abspath(
46 self.runCmd("file {}".format(file_name))
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_file.cpp129 bool ReadFileToBuffer(const char *file_name, char **buff, uptr *buff_size, in ReadFileToBuffer()
144 fd_t fd = OpenFile(file_name, RdOnly, errno_p); in ReadFileToBuffer()
173 bool ReadFileToVector(const char *file_name, in ReadFileToVector()
180 fd_t fd = OpenFile(file_name, RdOnly, errno_p); in ReadFileToVector()
127 ReadFileToBuffer(const char * file_name,char ** buff,uptr * buff_size,uptr * read_len,uptr max_len,error_t * errno_p) ReadFileToBuffer() argument
171 ReadFileToVector(const char * file_name,InternalMmapVectorNoCtor<char> * buff,uptr max_len,error_t * errno_p) ReadFileToVector() argument

1234