Searched refs:force_text (Results 1 - 9 of 9) 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 Dfacet.py114 [misc.force_text(k), v, True]
117 [misc.force_text(k), v, False]
H A Dmisc.py3013 def force_text(s, encoding="utf-8", errors="strict"): function
3036 force_str = force_text
H A Dconfig.py280 return misc.force_text(self.value)
/pkg/src/tests/cli/
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...]
H A Dt_pkg_help.py35 from pkg.misc import force_text namespace
128 cmd_out = force_text(err, encoding="eucJP")
/pkg/src/tests/api/
H A Dt_catalog.py111 lines = misc.force_text(
1103 contents = misc.force_text(
/pkg/src/
H A Dpkgrepo.py2122 info_table.align[misc.force_text(_("Publisher"),

Completed in 139 milliseconds