Searched refs:suf (Results 1 – 2 of 2) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_tempfile.py | 45 def nameCheck(self, name, dir, pre, suf): argument 48 nsuf = nbase[len(nbase)-len(suf):] 55 self.assertEqual(nsuf, suf, 56 "file '%s' does not end with '%s'" % (nbase, suf)) 58 nbase = nbase[len(pre):len(nbase)-len(suf)] 204 def __init__(self, dir, pre, suf, bin): argument 208 (self.fd, self.name) = tempfile._mkstemp_inner(dir, pre, suf, flags) 217 def do_create(self, dir=None, pre="", suf="", bin=1): argument 221 file = self.mkstemped(dir, pre, suf, bin) 225 self.nameCheck(file.name, dir, pre, suf) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | tempfile.py | 219 def _mkstemp_inner(dir, pre, suf, flags): argument 226 file = _os.path.join(dir, pre + name + suf)
|