Searched defs:force_text (Results 1 - 5 of 5) sorted by relevance
/pkg/src/modules/ |
H A D | arch.py | 74 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 D | sysattr.py | 52 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 D | misc.py | 3013 def force_text(s, encoding="utf-8", errors="strict"): function 3036 force_str = force_text
|
/pkg/src/tests/cli/ |
H A D | t_pkg_help.py | 35 from pkg.misc import force_text namespace 128 cmd_out = force_text(err, encoding="eucJP")
|
H A D | t_actuators.py | 35 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 20 milliseconds