Home
last modified time | relevance | path

Searched refs:rest (Results 1 – 25 of 68) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dupdate.py44 def process(self, lineno, rest): argument
47 self.filename, lineno, rest),
52 self.filename, lineno, rest),
54 if self.lines[i] == rest:
56 self.filename, lineno, rest),
63 self.lines[i] = rest
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DCGIHTTPServer.py107 dir, rest = self.cgi_info
116 dir, rest = nextdir, nextrest
122 i = rest.rfind('?')
124 rest, query = rest[:i], rest[i+1:]
130 i = rest.find('/')
132 script, rest = rest[:i], rest[i:]
134 script, rest = rest, ''
165 uqrest = urllib.unquote(rest)
DConfigParser.py688 def _interpolate_some(self, option, accum, rest, section, map, depth): argument
690 raise InterpolationDepthError(option, section, rest)
691 while rest:
692 p = rest.find("%")
694 accum.append(rest)
697 accum.append(rest[:p])
698 rest = rest[p:]
700 c = rest[1:2]
703 rest = rest[2:]
705 m = self._interpvar_re.match(rest)
[all …]
Dftplib.py309 def ntransfercmd(self, cmd, rest=None): argument
328 if rest is not None:
329 self.sendcmd("REST %s" % rest)
343 if rest is not None:
344 self.sendcmd("REST %s" % rest)
359 def transfercmd(self, cmd, rest=None): argument
361 return self.ntransfercmd(cmd, rest)[0]
384 def retrbinary(self, cmd, callback, blocksize=8192, rest=None): argument
399 conn = self.transfercmd(cmd, rest)
438 def storbinary(self, cmd, fp, blocksize=8192, callback=None, rest=None): argument
[all …]
D_LWPCookieJar.py121 rest = {}
138 rest[k] = v
158 rest)
Dntpath.py224 unc, rest = splitunc(path)
226 return rest in ("", "/", "\\")
488 prefix, rest = splitunc(abs)
491 prefix, rest = splitdrive(abs)
492 return is_unc, prefix, [x for x in rest.split(sep) if x]
Dbinhex.py413 rest = self._read(1+4+4+2+4+4)
416 type = rest[1:5]
417 creator = rest[5:9]
418 flags = struct.unpack('>h', rest[9:11])[0]
419 self.dlen = struct.unpack('>l', rest[11:15])[0]
420 self.rlen = struct.unpack('>l', rest[15:19])[0]
Dmailcap.py105 key, view, rest = fields[0], fields[1], fields[2:]
107 for field in rest:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
Dbitvec.py173 def __cmp__(self, other, *rest): argument
176 other = apply(bitvec, (other, ) + rest)
237 def __setslice__(self, i, j, sequence, *rest): argument
241 sequence = apply(bitvec, (sequence, ) + rest)
284 def __and__(self, otherseq, *rest): argument
287 otherseq = apply(bitvec, (otherseq, ) + rest)
293 def __xor__(self, otherseq, *rest): argument
296 otherseq = apply(bitvec, (otherseq, ) + rest)
302 def __or__(self, otherseq, *rest): argument
305 otherseq = apply(bitvec, (otherseq, ) + rest)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
Drrcs.py16 opts, rest = getopt.getopt(sys.argv[1:], 'h:p:d:qvL')
17 if not rest:
20 cmd, rest = rest[0], rest[1:]
24 copts, files = getopt.getopt(rest, coptset)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dfixps.py22 rest = f.read()
29 f.write(rest)
Dfindnocoding.py66 rest = infile.read()
69 if has_correct_encoding(line1+line2+rest, "ascii"):
Dtexi2html.py1239 [category, name], rest = words[:2], words[2:]
1241 for word in rest: self.expand(' ' + makevar(word))
1267 [category, name], rest = words[:2], words[2:]
1270 for word in rest: self.expand(' ' + word)
1294 [category, datatype, name], rest = words[:3], words[3:]
1296 for word in rest: self.expand(' ' + makevar(word))
1315 [category, datatype, name], rest = words[:3], words[3:]
1318 for word in rest: self.expand(' ' + word)
1340 [category, classname, name], rest = words[:3], words[3:]
1343 for word in rest: self.expand(' ' + word)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/data/
Dpy2_test_grammar.py172 def v0(*rest): pass argument
173 def v1(a, *rest): pass argument
174 def v2(a, b, *rest): pass argument
175 def v3(a, (b, c), *rest): return a, b, c, rest argument
240 def d01v(a=1, *rest): pass argument
247 def d11v(a, b=1, *rest): pass argument
251 def d21v(a, b, c=1, *rest): pass argument
257 def d02v(a=1, b=2, *rest): pass argument
264 def d12v(a, b=1, c=2, *rest): pass argument
272 def d22v(a, b, c=1, d=2, *rest): pass argument
Dpy3_test_grammar.py172 def v0(*rest): pass argument
173 def v1(a, *rest): pass argument
174 def v2(a, b, *rest): pass argument
228 def d01v(a=1, *rest): pass argument
235 def d11v(a, b=1, *rest): pass argument
239 def d21v(a, b, c=1, *rest): pass argument
245 def d02v(a=1, b=2, *rest): pass argument
252 def d12v(a, b=1, c=2, *rest): pass argument
260 def d22v(a, b, c=1, d=2, *rest): pass argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_ftplib.py67 self.rest = None
183 self.rest = arg
188 if self.rest is not None:
189 offset = int(self.rest)
194 self.rest = None
492 for rest in (0, 10, 20):
494 self.client.retrbinary('retr', received.append, rest=rest)
495 self.assertEqual(''.join(received), RETR_DATA[rest:],
496 msg='rest test case %d %d %d' % (rest,
498 len(RETR_DATA[rest:])))
[all …]
Dtest_grammar.py168 def v0(*rest): pass argument
169 def v1(a, *rest): pass argument
170 def v2(a, b, *rest): pass argument
237 def d01v(a=1, *rest): pass argument
244 def d11v(a, b=1, *rest): pass argument
248 def d21v(a, b, c=1, *rest): pass argument
254 def d02v(a=1, b=2, *rest): pass argument
261 def d12v(a, b=1, c=2, *rest): pass argument
269 def d22v(a, b, c=1, d=2, *rest): pass argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
Dtest_check.py61 rest = 'title\n=====\n\ntest'
62 msgs = cmd._check_rst_data(rest)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
Dntpath.py229 unc, rest = splitunc(path)
231 return rest in ("", "/", "\\")
493 prefix, rest = splitunc(abs)
496 prefix, rest = splitdrive(abs)
497 return is_unc, prefix, [x for x in rest.split(sep) if x]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
Dntpath.py252 unc, rest = splitunc(path)
254 return rest in ("", "/", "\\")
523 prefix, rest = splitunc(abs)
526 prefix, rest = splitdrive(abs)
527 return is_unc, prefix, [x for x in rest.split(sep) if x]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/
Dconfig.py412 rest = value
413 m = self.WORD_PATTERN.match(rest)
417 rest = rest[m.end():]
420 while rest:
421 m = self.DOT_PATTERN.match(rest)
425 m = self.INDEX_PATTERN.match(rest)
437 rest = rest[m.end():]
440 '%r at %r' % (value, rest))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dbinhex.py419 rest = self._read(1+4+4+2+4+4)
422 type = rest[1:5]
423 creator = rest[5:9]
424 flags = struct.unpack('>h', rest[9:11])[0]
425 self.dlen = struct.unpack('>l', rest[11:15])[0]
426 self.rlen = struct.unpack('>l', rest[15:19])[0]
Durlparse.py205 rest = url[i+1:]
206 if not rest or any(c not in '0123456789' for c in rest):
208 scheme, url = url[:i].lower(), rest
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/
Dwebsucker.py90 type, rest = urllib.splittype(url)
91 host, path = urllib.splithost(rest)
DREADME12 Skip Montanaro; the rest is original work by Guido van Rossum.

123