Searched defs:force_text (Results 1 - 5 of 5) sorted by relevance

/pkg/src/modules/
H A Darch.py74 from pkg.misc import force_text namespace
77 buf1 = force_text(ffi.string(ffi.cast("char *", buf1)))
78 buf2 = force_text(ffi.string(ffi.cast("char *", buf2)))
81 buf = force_text(ffi.string(ffi.cast("char *", buf)))
92 from pkg.misc import force_text namespace
93 return force_text(ffi.string(ffi.cast("char *", buf)))
101 from pkg.misc import force_text namespace
102 return force_text(ffi.string(ffi.cast("char *", buf)))
H A Dsysattr.py52 from pkg.misc import force_text namespace
97 string = force_text(ffi.string(name))
103 cattrs = force_text(ffi.string(cattrs))
184 from pkg.misc import force_text namespace
189 key = force_text(ffi.string(lib.attr_to_name(i)))
190 value = force_text(ffi.string(lib.attr_to_option(i)))
H A Dmisc.py3013 def force_text(s, encoding="utf-8", errors="strict"): function
3036 force_str = force_text
/pkg/src/tests/cli/
H A Dt_pkg_help.py35 from pkg.misc import force_text namespace
128 cmd_out = force_text(err, encoding="eucJP")
H A Dt_actuators.py35 from pkg.misc import force_text namespace
716 force_text(self.output, "utf-8").index(u"Моё судно на воздушной подушке полно угрей")
717 force_text(self.output, "utf-8").index(u"Eels are best smoked")
719 force_text(self.output, "utf-8").index(u"Моё судно на воздушной подушке полно угрей")
720 force_text(self.output, "utf-8").index(u"Eels are best smoked")
727 force_text(self.output, "utf-8").index(u"Моё судно на воздушной подушке полно угрей")
728 force_text(self.output, "utf-8").index(u"Eels are best smoked")
735 uni_out = force_text(self.output, "utf-8")
751 uni_out = force_text(self.output, "utf-8")
769 for field in force_text(sel
[all...]

Completed in 21 milliseconds