Searched defs:force_bytes (Results 1 - 7 of 7) sorted by relevance

/pkg/src/modules/
H A Dsyscallat.py31 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 Dsysattr.py122 from pkg.misc import force_bytes namespace
142 c = force_bytes(c)
H A Dp5s.py37 from pkg.misc import force_bytes namespace
193 force_bytes(m.uri.rstrip("/"))).hexdigest()
H A Dsearch_storage.py36 from pkg.misc import PKG_FILE_BUFSIZ, force_bytes namespace
633 shasum.update(force_bytes(v))
H A Dp5p.py49 from pkg.misc import force_bytes, force_str namespace
165 self.__file.write(force_bytes(self.ENTRY_FORMAT.format(
H A Dpipeutils.py103 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 Dmisc.py2993 def force_bytes(s, encoding="utf-8", errors="strict"): function
3034 force_str = force_bytes

Completed in 29 milliseconds