Searched refs:isWebUrl (Results 1 – 1 of 1) sorted by relevance
/frameworks/ex/common/tools/ |
D | make-iana-tld-pattern.py | 58 def dump(self, isWebUrl=False, isFirst=False, isLast=False): argument 68 if isWebUrl: 78 if isWebUrl: 134 def makePattern(prefix, suffix, buckets, isWebUrl=False): argument 137 output += getBucket(buckets, 'a').dump(isFirst=True, isWebUrl=isWebUrl) 140 output += getBucket(buckets, chr(letter)).dump(isWebUrl=isWebUrl) 142 output += getBucket(buckets, 'z').dump(isLast=True, isWebUrl=isWebUrl) 144 if isWebUrl: 172 makePattern(TLD_PREFIX, TLD_SUFFIX, buckets, isWebUrl=False) 173 makePattern(URL_PREFIX, URL_SUFFIX, buckets, isWebUrl=True)
|