/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
robotparser.py | 144 return entry.allowance(url)
147 return self.default_entry.allowance(url)
157 """A rule line is a single "Allow:" (allowance==True) or "Disallow:"
158 (allowance==False) followed by a path."""
159 def __init__(self, path, allowance):
160 if path == '' and not allowance:
162 allowance = True
164 self.allowance = allowance
170 return (self.allowance and "Allow" or "Disallow") + ": " + self.path 200 def allowance(self, filename): member in class:Entry [all...] |
/external/python/cpython2/Lib/ |
robotparser.py | 154 return entry.allowance(url) 157 return self.default_entry.allowance(url) 167 """A rule line is a single "Allow:" (allowance==True) or "Disallow:" 168 (allowance==False) followed by a path.""" 169 def __init__(self, path, allowance): 170 if path == '' and not allowance: 172 allowance = True 175 self.allowance = allowance 181 return (self.allowance and "Allow" or "Disallow") + ": " + self.pat 211 def allowance(self, filename): member in class:Entry [all...] |
/external/python/cpython3/Lib/urllib/ |
robotparser.py | 170 return entry.allowance(url) 173 return self.default_entry.allowance(url) 198 """A rule line is a single "Allow:" (allowance==True) or "Disallow:" 199 (allowance==False) followed by a path.""" 200 def __init__(self, path, allowance): 201 if path == '' and not allowance: 203 allowance = True 206 self.allowance = allowance 212 return ("Allow" if self.allowance else "Disallow") + ": " + self.pat 244 def allowance(self, filename): member in class:Entry [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
robotparser.py | 144 return entry.allowance(url) 147 return self.default_entry.allowance(url) 157 """A rule line is a single "Allow:" (allowance==True) or "Disallow:" 158 (allowance==False) followed by a path.""" 159 def __init__(self, path, allowance): 160 if path == '' and not allowance: 162 allowance = True 164 self.allowance = allowance 170 return (self.allowance and "Allow" or "Disallow") + ": " + self.pat 200 def allowance(self, filename): member in class:Entry [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
robotparser.py | 144 return entry.allowance(url) 147 return self.default_entry.allowance(url) 157 """A rule line is a single "Allow:" (allowance==True) or "Disallow:" 158 (allowance==False) followed by a path.""" 159 def __init__(self, path, allowance): 160 if path == '' and not allowance: 162 allowance = True 164 self.allowance = allowance 170 return (self.allowance and "Allow" or "Disallow") + ": " + self.pat 200 def allowance(self, filename): member in class:Entry [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
robotparser.py | 144 return entry.allowance(url) 147 return self.default_entry.allowance(url) 157 """A rule line is a single "Allow:" (allowance==True) or "Disallow:" 158 (allowance==False) followed by a path.""" 159 def __init__(self, path, allowance): 160 if path == '' and not allowance: 162 allowance = True 164 self.allowance = allowance 170 return (self.allowance and "Allow" or "Disallow") + ": " + self.pat 200 def allowance(self, filename): member in class:Entry [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
robotparser.py | 144 return entry.allowance(url) 147 return self.default_entry.allowance(url) 157 """A rule line is a single "Allow:" (allowance==True) or "Disallow:" 158 (allowance==False) followed by a path.""" 159 def __init__(self, path, allowance): 160 if path == '' and not allowance: 162 allowance = True 164 self.allowance = allowance 170 return (self.allowance and "Allow" or "Disallow") + ": " + self.pat 200 def allowance(self, filename): member in class:Entry [all...] |
/frameworks/base/core/java/android/util/apk/ |
ApkVerityBuilder.java | 202 int allowance = (int) Math.min(remaining, BUFFER_SIZE - mBytesDigestedSinceReset); local 204 buffer.limit(buffer.position() + allowance); 206 offset += allowance; 207 remaining -= allowance; 208 mBytesDigestedSinceReset += allowance;
|
/external/python/cpython2/Mac/Modules/qt/ |
_Qtmodule.c | 23107 Size allowance; local 23127 Size allowance; local [all...] |
/external/zxing/core/ |
core.jar | |