Home
last modified time | relevance | path

Searched refs:arg_string (Results 1 – 9 of 9) sorted by relevance

/llvm-project/lldb/source/Utility/
H A DArgs.cpp641 OptionsWithRaw::OptionsWithRaw(llvm::StringRef arg_string) { in SetFromString()
642 SetFromString(arg_string); in SetFromString()
645 void OptionsWithRaw::SetFromString(llvm::StringRef arg_string) { in SetFromString()
646 const llvm::StringRef original_args = arg_string; in SetFromString()
649 arg_string = ltrimForArgs(arg_string, shift); in SetFromString()
655 if (!arg_string.starts_with("-")) { in SetFromString()
661 while (!arg_string.empty()) { in SetFromString()
663 std::size_t prev_prefix_length = original_args.size() - arg_string.size(); in SetFromString()
666 std::tie(arg, quote, arg_string) in SetFromString()
631 OptionsWithRaw(llvm::StringRef arg_string) OptionsWithRaw() argument
635 SetFromString(llvm::StringRef arg_string) SetFromString() argument
[all...]
/llvm-project/polly/utils/
H A Dargparse.py1748 for i, arg_string in enumerate(arg_strings_iter):
1751 if arg_string == "--":
1753 for arg_string in arg_strings_iter:
1759 option_tuple = self._parse_optional(arg_string)
1966 for arg_string in arg_strings:
1969 if arg_string[0] not in self.fromfile_prefix_chars:
1970 new_arg_strings.append(arg_string)
1975 args_file = open(arg_string[1:])
2031 def _parse_optional(self, arg_string): argument
2033 if not arg_string:
[all …]
/llvm-project/third-party/unittest/googlemock/src/
H A Dgmock.cc152 const std::string arg_string = StreamableToString(argv[i]); in InitGoogleMockImpl() local
153 const char* const arg = arg_string.c_str(); in InitGoogleMockImpl()
/llvm-project/lldb/include/lldb/Utility/
H A DArgs.h371 void SetFromString(llvm::StringRef arg_string);
/llvm-project/lldb/source/Commands/
H A DCommandObjectThread.cpp161 llvm::StringRef arg_string = copy_args[idx].ref(); in GetRepeatCommand()
162 if (arg_string == "-c" || count_opt.starts_with(arg_string)) { in GetRepeatCommand()
169 } else if (arg_string == "-s" || start_opt.starts_with(arg_string)) { in GetRepeatCommand()
153 llvm::StringRef arg_string = copy_args[idx].ref(); GetRepeatCommand() local
/llvm-project/lldb/bindings/python/
H A Dpython-wrapper.swig1035 std::string arg_string = *arg;
1036 PyObject *py_string = PyUnicode_FromStringAndSize(arg_string.c_str(), arg_string.size());
/llvm-project/llvm/utils/UpdateTestChecks/
H A Dcommon.py2547 def find_arg_in_test(test_info, get_arg_to_check, arg_string, is_global):
2565 arg_string
2571 "WARNING: Consider moving {} to top of file".format(arg_string),
2449 find_arg_in_test(test_info, get_arg_to_check, arg_string, is_global) global() argument
/llvm-project/clang/tools/c-index-test/
H A Dc-index-test.c291 const char *arg_string = argv[arg_indices[i]] + prefix_len; in parse_remapped_files_with_opt() local
296 const char *sep = strchr(arg_string, ','); in parse_remapped_files_with_opt()
342 filename_len = sep - arg_string; in parse_remapped_files_with_opt()
345 memcpy(filename, arg_string, filename_len); in parse_remapped_files_with_opt()
/llvm-project/third-party/unittest/googletest/src/
H A Dgtest.cc6633 const std::string arg_string = StreamableToString(argv[i]); in ParseGoogleTestFlagsOnlyImpl() local
6634 const char* const arg = arg_string.c_str(); in ParseGoogleTestFlagsOnlyImpl()
6647 } else if (arg_string == "--help" || HasGoogleTestFlagPrefix(arg)) { in ParseGoogleTestFlagsOnlyImpl()