Home
last modified time | relevance | path

Searched refs:input_string (Results 1 – 20 of 20) sorted by relevance

/third_party/libphonenumber/cpp/src/phonenumbers/
Dregexp_adapter.h61 virtual bool Consume(RegExpInput* input_string,
72 inline bool Consume(RegExpInput* input_string, string* matched_string1, in Consume() argument
78 return Consume(input_string, true, matched_string1, matched_string2, in Consume()
83 inline bool Consume(RegExpInput* input_string, string* matched_string1, in Consume() argument
88 return Consume(input_string, true, matched_string1, matched_string2, in Consume()
92 inline bool Consume(RegExpInput* input_string, string* matched_string1, in Consume() argument
96 return Consume(input_string, true, matched_string1, matched_string2, in Consume()
103 inline bool Consume(RegExpInput* input_string, in Consume() argument
107 return Consume(input_string, true, matched_string1, matched_string2, in Consume()
111 inline bool Consume(RegExpInput* input_string, in Consume() argument
[all …]
Dregexp_adapter_re2.cc99 virtual bool Consume(RegExpInput* input_string, in Consume() argument
107 DCHECK(input_string); in Consume()
109 static_cast<RE2RegExpInput*>(input_string)->Data(); in Consume()
124 virtual bool Match(const string& input_string, in Match() argument
128 return DispatchRE2Call(RE2::FullMatchN, input_string, utf8_regexp_, in Match()
131 return DispatchRE2Call(RE2::PartialMatchN, input_string, utf8_regexp_, in Match()
Dregexp_adapter_icu.cc118 virtual bool Consume(RegExpInput* input_string, in Consume() argument
126 DCHECK(input_string); in Consume()
130 IcuRegExpInput* const input = static_cast<IcuRegExpInput*>(input_string); in Consume()
159 bool Match(const string& input_string, in Match() argument
165 IcuRegExpInput input(input_string); in Match()
/third_party/mindspore/mindspore/lite/tools/common/
Dstring_util.cc24 int EraseBlankSpaceAndLineBreak(std::string *input_string) { in EraseBlankSpaceAndLineBreak() argument
25 if (input_string == nullptr) { in EraseBlankSpaceAndLineBreak()
29input_string->erase(std::remove(input_string->begin(), input_string->end(), ' '), input_string->en… in EraseBlankSpaceAndLineBreak()
30input_string->erase(std::remove(input_string->begin(), input_string->end(), '\r'), input_string->e… in EraseBlankSpaceAndLineBreak()
31input_string->erase(std::remove(input_string->begin(), input_string->end(), '\n'), input_string->e… in EraseBlankSpaceAndLineBreak()
35 int EraseQuotes(std::string *input_string) { in EraseQuotes() argument
36 if (input_string == nullptr) { in EraseQuotes()
40 if (!input_string->empty()) { in EraseQuotes()
42 pos = input_string->find('\"', pos); in EraseQuotes()
44 input_string->erase(pos, 1); in EraseQuotes()
[all …]
Dstring_util.h30 int EraseBlankSpaceAndLineBreak(std::string *input_string);
32 int EraseQuotes(std::string *input_string);
/third_party/gn/src/gn/
Dfunction_get_path_info.cc36 const std::string& input_string = input.string_value(); in DirForInput() local
38 if (!input_string.empty() && input_string[input_string.size() - 1] == '/') { in DirForInput()
58 const std::string& input_string = input.string_value(); in GetOnePathInfo() local
59 if (input_string.empty()) { in GetOnePathInfo()
66 return std::string(FindFilename(&input_string)); in GetOnePathInfo()
69 std::string file(FindFilename(&input_string)); in GetOnePathInfo()
77 return std::string(FindExtension(&input_string)); in GetOnePathInfo()
80 std::string_view dir_incl_slash = FindDir(&input_string); in GetOnePathInfo()
104 !input_string.empty() && input_string[input_string.size() - 1] == '/'; in GetOnePathInfo()
108 &input_string); in GetOnePathInfo()
Dsource_dir.cc96 const std::string& input_string = p.string_value(); in ResolveRelativeFile() local
97 if (!ValidateResolveInput(true, p, input_string, err)) in ResolveRelativeFile()
100 ret.SetValue(ResolveRelative(input_string, value_.str(), true, source_root)); in ResolveRelativeFile()
/third_party/libpsl/msvc/
Dreplace.py73 input_string = ''
86 input_string = args.removeprefix + args.instring
93 input_string = '@' + args.var + '@'
100 input_string = args.instring
107 input_string = args.instring
110 replace(args.input, args.output, input_string, output_string)
/third_party/cef/tools/
Dexec_util.py10 def exec_cmd(cmd, path, input_string=None): argument
17 if input_string is None:
34 out, err = process.communicate(input=input_string)
/third_party/python/Lib/test/test_json/
Dtest_encode_basestring_ascii.py23 for input_string, expect in CASES:
24 result = self.json.encoder.encode_basestring_ascii(input_string)
27 result, expect, fname, input_string))
/third_party/skia/tools/
Dmisc_utils.py46 def search_within_string(input_string, pattern, default=None): argument
57 match = re.search(pattern, input_string)
/third_party/flutter/skia/tools/
Dmisc_utils.py46 def search_within_string(input_string, pattern, default=None): argument
57 match = re.search(pattern, input_string)
/third_party/glslang/
Dbuild_info.py147 input_string = None
158 input_string = sys.argv[i]
179 "input_string": input_string,
/third_party/protobuf/src/google/protobuf/util/internal/
Dutility.cc247 std::string input_string(input); in EnumValueNameToLowerCamelCase() local
248 std::transform(input_string.begin(), input_string.end(), input_string.begin(), in EnumValueNameToLowerCamelCase()
250 return ToCamelCase(input_string); in EnumValueNameToLowerCamelCase()
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dxcode_ninja.py46 input_string = input_file.read()
47 if input_string == output_string:
Dxcodeproj_file.py195 def ConvertVariablesToShellSyntax(input_string): argument
196 return re.sub(r'\$\((.*?)\)', '${\\1}', input_string)
/third_party/node/tools/gyp/pylib/gyp/
Dxcode_ninja.py47 input_string = input_file.read()
48 if input_string == output_string:
Dxcodeproj_file.py198 def ConvertVariablesToShellSyntax(input_string): argument
199 return re.sub(r"\$\((.*?)\)", "${\\1}", input_string)
/third_party/node/src/
Dspawn_sync.cc911 js_stdio_option->Get(context, env()->input_string()).ToLocalChecked(); in ParseStdioOption()
Denv.h274 V(input_string, "input") \