Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/source/Utility/
H A DArgs.cpp625 OptionsWithRaw::OptionsWithRaw(llvm::StringRef arg_string) { in OptionsWithRaw() argument
626 SetFromString(arg_string); in OptionsWithRaw()
629 void OptionsWithRaw::SetFromString(llvm::StringRef arg_string) { in SetFromString() argument
630 const llvm::StringRef original_args = arg_string; in SetFromString()
632 arg_string = ltrimForArgs(arg_string); in SetFromString()
638 if (!arg_string.startswith("-")) { in SetFromString()
644 while (!arg_string.empty()) { in SetFromString()
649 std::tie(arg, quote, arg_string) = ParseSingleArgument(arg_string); in SetFromString()
658 m_suffix = std::string(arg_string); in SetFromString()
662 std::size_t prefix_length = original_args.size() - arg_string.size(); in SetFromString()
[all …]
/llvm-project-15.0.7/polly/utils/
H A Dargparse.py1759 if arg_string == '--':
1973 for arg_string in arg_strings:
2037 def _parse_optional(self, arg_string): argument
2039 if not arg_string:
2052 if len(arg_string) == 1:
2056 if '=' in arg_string:
2070 tup = arg_string, options
2087 if ' ' in arg_string:
2092 return None, arg_string, None
2209 arg_string, = arg_strings
[all …]
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/src/
H A Dgmock.cc151 const std::string arg_string = StreamableToString(argv[i]); in InitGoogleMockImpl() local
152 const char* const arg = arg_string.c_str(); in InitGoogleMockImpl()
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DArgs.h371 void SetFromString(llvm::StringRef arg_string);
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectThread.cpp148 llvm::StringRef arg_string = copy_args[idx].ref(); in GetRepeatCommand() local
149 if (arg_string.equals("-c") || count_opt.startswith(arg_string)) { in GetRepeatCommand()
156 } else if (arg_string.equals("-s") || start_opt.startswith(arg_string)) { in GetRepeatCommand()
/llvm-project-15.0.7/llvm/utils/UpdateTestChecks/
H A Dcommon.py1199 def find_arg_in_test(test_info, get_arg_to_check, arg_string, is_global): argument
1215 print('WARNING: Found {} in line following test start: '.format(arg_string)
1217 print('WARNING: Consider moving {} to top of file'.format(arg_string),
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest.cc5998 const std::string arg_string = StreamableToString(argv[i]); in ParseGoogleTestFlagsOnlyImpl() local
5999 const char* const arg = arg_string.c_str(); in ParseGoogleTestFlagsOnlyImpl()
6013 } else if (arg_string == "--help" || arg_string == "-h" || in ParseGoogleTestFlagsOnlyImpl()
6014 arg_string == "-?" || arg_string == "/?" || in ParseGoogleTestFlagsOnlyImpl()
/llvm-project-15.0.7/clang/tools/c-index-test/
H A Dc-index-test.c247 const char *arg_string = argv[arg_indices[i]] + prefix_len; in parse_remapped_files_with_opt() local
252 const char *sep = strchr(arg_string, ','); in parse_remapped_files_with_opt()
298 filename_len = sep - arg_string; in parse_remapped_files_with_opt()
301 memcpy(filename, arg_string, filename_len); in parse_remapped_files_with_opt()