Searched defs:force_bytes (Results 1 - 7 of 7) sorted by relevance
/pkg/src/modules/ |
H A D | syscallat.py | 31 from pkg.misc import force_bytes namespace 44 rv = lib.mkdirat(fd, force_bytes(path), mode) 61 rv = lib.openat(fildes, force_bytes(path), oflag, mode) 79 rv = lib.renameat(fromfd, force_bytes(old), tofd, force_bytes(new)) 94 rv = lib.unlinkat(dirfd, force_bytes(path), flag)
|
H A D | sysattr.py | 122 from pkg.misc import force_bytes namespace 142 c = force_bytes(c)
|
H A D | p5s.py | 37 from pkg.misc import force_bytes namespace 193 force_bytes(m.uri.rstrip("/"))).hexdigest()
|
H A D | search_storage.py | 36 from pkg.misc import PKG_FILE_BUFSIZ, force_bytes namespace 633 shasum.update(force_bytes(v))
|
H A D | p5p.py | 49 from pkg.misc import force_bytes, force_str namespace 165 self.__file.write(force_bytes(self.ENTRY_FORMAT.format(
|
H A D | pipeutils.py | 103 from pkg.misc import force_bytes, force_str namespace 204 return force_bytes(data, "iso-8859-1") 246 view[:len(data)] = force_bytes(data)
|
H A D | misc.py | 2993 def force_bytes(s, encoding="utf-8", errors="strict"): function 3034 force_str = force_bytes
|
Completed in 27 milliseconds