Did I find the right examples for you? yes no

All Samples(14)  |  Call(14)  |  Derive(0)  |  Import(0)

src/s/y/Sypy-HEAD/rpython/llinterp.py   Sypy(Download)
    def op_oounicode(self, obj, base):
        try:
            return ootype.oounicode(obj, base)
        except UnicodeDecodeError:
            self.make_llexception()

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/llinterp.py   plexnet(Download)
    def op_oounicode(self, obj, base):
        try:
            return ootype.oounicode(obj, base)
        except UnicodeDecodeError:
            self.make_llexception()

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/support.py   plexnet(Download)
    def _ll_2_oounicode_signed_foldable(n, base):
        return ootype.oounicode(n, base)
 
    def _ll_1_oounicode_unichar_foldable(ch):
        return ootype.oounicode(ch, -1)
 
    def _ll_1_oounicode_string_foldable(s):
        return ootype.oounicode(s, -1)

src/s/y/Sypy-HEAD/jit/codewriter/support.py   Sypy(Download)
    def _ll_2_oounicode_signed_foldable(n, base):
        return ootype.oounicode(n, base)
 
    def _ll_1_oounicode_unichar_foldable(ch):
        return ootype.oounicode(ch, -1)
 
    def _ll_1_oounicode_string_foldable(s):
        return ootype.oounicode(s, -1)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/module/support.py   plexnet(Download)
    def to_runicode(u):
        return ootype.oounicode(u, -1)
    to_runicode = staticmethod(to_runicode)
 
    def from_rstr(rs):

src/s/y/Sypy-HEAD/rpython/module/support.py   Sypy(Download)
    def to_runicode(u):
        return ootype.oounicode(u, -1)
    to_runicode = staticmethod(to_runicode)
 
    def from_rstr(rs):

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/rpython/ootypesystem/test/test_oostring.py   plexnet(Download)
def test_oounicode():
    u = ootype.oounicode(u'a', -1)
    assert isinstance(u, ootype._string)
    assert ootype.typeOf(u) is ootype.Unicode
 
    s = ootype.make_string('a string')
    u = ootype.oounicode(s, -1)

src/s/y/Sypy-HEAD/rpython/ootypesystem/test/test_oostring.py   Sypy(Download)
def test_oounicode():
    u = ootype.oounicode(u'a', -1)
    assert isinstance(u, ootype._string)
    assert ootype.typeOf(u) is ootype.Unicode
 
    s = ootype.make_string('a string')
    u = ootype.oounicode(s, -1)