Home
last modified time | relevance | path

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

/third_party/ltp/scripts/
Dcheckbashisms.pl137 my $quote_string = "";
193 && $quote_string eq ''
206 if ($quote_string eq "'");
208 if ($quote_string eq '"');
287 if ($quote_string ne "") {
288 my $otherquote = ($quote_string eq "\"" ? "\'" : "\"");
290 if ($line =~ /(?:^|^.*?[^\\])$quote_string(.*)$/) {
296 =~ s/(^|[^\\])$otherquote[^$quote_string]*?[^\\]$otherquote/$1/g;
300 =~ s/(^|[^\\])$otherquote.*?$quote_string.*?[^\\]$otherquote/$1/g;
303 =~ s/(^|[^\\])$quote_string\\$quote_string$quote_string/$1/g;
[all …]
/third_party/gn/src/gn/
Dvalue.cc159 std::string Value::ToString(bool quote_string) const { in ToString()
168 if (quote_string) { in ToString()
/third_party/python/Lib/email/
Dheaderregistry.py75 lp = parser.quote_string(lp)
90 disp = parser.quote_string(disp)
142 disp = parser.quote_string(disp)
D_header_value_parser.py96 def quote_string(value): function
256 return quote_string(''.join(str(x) for x in self))
441 return quote_string(x.local_part) + x.addr_spec
542 lp = quote_string(self.local_part)
593 return pre+quote_string(self.display_name)+post
800 params.append('{}={}'.format(name, quote_string(value)))
2970 tstr = '{}={}'.format(name, quote_string(value))
/third_party/nghttp2/src/
Dutil_test.cc174 util::quote_string(balloc, StringRef::from_lit("alpha"))); in test_util_quote_string()
175 CU_ASSERT("" == util::quote_string(balloc, StringRef::from_lit(""))); in test_util_quote_string()
177 util::quote_string(balloc, StringRef::from_lit("\"alpha\""))); in test_util_quote_string()
Dshrpx_http.cc255 p = util::quote_string(p, altsvc.host); in create_altsvc_header_value()
Dutil.h167 StringRef quote_string(BlockAllocator &balloc, const StringRef &target);
170 OutputIt quote_string(OutputIt it, const StringRef &target) { in quote_string() function
Dutil.cc193 StringRef quote_string(BlockAllocator &balloc, const StringRef &target) { in quote_string() function
201 auto p = quote_string(iov.base, target); in quote_string()