Searched refs:isWebUrl (Results 1 – 1 of 1) sorted by relevance
/frameworks/ex/common/tools/ |
D | make-iana-tld-pattern.py | 35 def dump(self, isWebUrl=False, isFirst=False, isLast=False): argument 45 if isWebUrl: 55 if isWebUrl: 111 def makePattern(prefix, suffix, buckets, isWebUrl=False): argument 114 output += getBucket(buckets, 'a').dump(isFirst=True, isWebUrl=isWebUrl) 117 output += getBucket(buckets, chr(letter)).dump(isWebUrl=isWebUrl) 119 output += getBucket(buckets, 'z').dump(isLast=True, isWebUrl=isWebUrl) 121 if isWebUrl: 149 makePattern(TLD_PREFIX, TLD_SUFFIX, buckets, isWebUrl=False) 150 makePattern(URL_PREFIX, URL_SUFFIX, buckets, isWebUrl=True)
|