Home
last modified time | relevance | path

Searched refs:quoter (Results 1 – 6 of 6) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DUnicodeSetPrettyPrinter.java41 private StringTransform quoter = null; field in UnicodeSetPrettyPrinter
50 return quoter; in getQuoter()
53 public UnicodeSetPrettyPrinter setQuoter(StringTransform quoter) { in setQuoter() argument
54 this.quoter = quoter; in setQuoter()
225 if (toQuote.containsSome(s) && quoter != null) { in appendQuoted()
226 target.append(quoter.transform(s)); in appendQuoted()
239 if (quoter != null) { in appendQuoted()
240 target.append(quoter.transform(UTF16.valueOf(codePoint))); in appendQuoted()
DPick.java26 private Quoter quoter; field in Pick.Target
28 public static Target make(Pick pick, Random random, Quoter quoter) { in make() argument
32 result.quoter = quoter; in make()
37 quoter.clear(); in next()
43 return quoter.toString(); in get()
51 quoter.clear(); in clear()
58 quoter.append(codepoint); in append()
63 quoter.append(s); in append()
449 target.quoter.setQuoting(true); in addTo()
451 target.quoter.setQuoting(false); in addTo()
DBNF.java25 private Quoter quoter; field in BNF
61 public BNF(Random random, Quoter quoter) { in BNF() argument
63 this.quoter = quoter; in BNF()
123 target = Pick.Target.make(pick, random, quoter); in complete()
/external/python/cpython3/Lib/urllib/
Dparse.py860 quoter = _safe_quoters[safe]
862 _safe_quoters[safe] = quoter = Quoter(safe).__getitem__
863 return ''.join([quoter(char) for char in bs])
/external/python/cpython2/Lib/
Durllib.py1289 (quoter, safe) = _safe_quoters[cachekey]
1293 quoter = safe_map.__getitem__
1295 _safe_quoters[cachekey] = (quoter, safe)
1298 return ''.join(map(quoter, s))
/external/python/cpython3/Lib/test/
Dtest_urlparse.py970 quoter = urllib.parse.Quoter(urllib.parse._ALWAYS_SAFE)
971 self.assertIn('Quoter', repr(quoter))