Home
last modified time | relevance | path

Searched refs:strobj (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_marshal.py475 strobj = "abcde"*3
476 self.helper(strobj)
477 self.helper3(strobj)
553 strobj = "this is an interned string" variable in InterningTestCase
554 strobj = sys.intern(strobj) variable in InterningTestCase
557 s = marshal.loads(marshal.dumps(self.strobj))
558 self.assertEqual(s, self.strobj)
559 self.assertEqual(id(s), id(self.strobj))
564 s = marshal.loads(marshal.dumps(self.strobj,
[all...]
/third_party/python/Modules/cjkcodecs/clinic/
H A Dmultibytecodec.c.h479 "write($self, strobj, /)\n"
489 PyObject *strobj);
498 PyObject *strobj; in _multibytecodec_MultibyteStreamWriter_write() local
504 strobj = args[0]; in _multibytecodec_MultibyteStreamWriter_write()
505 return_value = _multibytecodec_MultibyteStreamWriter_write_impl(self, cls, strobj); in _multibytecodec_MultibyteStreamWriter_write()
/third_party/python/Modules/cjkcodecs/
H A Dmultibytecodec.c1737 strobj: object
1744 PyObject *strobj) in _multibytecodec_MultibyteStreamWriter_write_impl()
1749 if (mbstreamwriter_iwrite(self, strobj, state->str_write)) { in _multibytecodec_MultibyteStreamWriter_write_impl()
1769 PyObject *strobj; in _multibytecodec_MultibyteStreamWriter_writelines_impl() local
1782 strobj = PySequence_GetItem(lines, i); in _multibytecodec_MultibyteStreamWriter_writelines_impl()
1783 if (strobj == NULL) in _multibytecodec_MultibyteStreamWriter_writelines_impl()
1786 r = mbstreamwriter_iwrite(self, strobj, state->str_write); in _multibytecodec_MultibyteStreamWriter_writelines_impl()
1787 Py_DECREF(strobj); in _multibytecodec_MultibyteStreamWriter_writelines_impl()
1742 _multibytecodec_MultibyteStreamWriter_write_impl(MultibyteStreamWriterObject *self, PyTypeObject *cls, PyObject *strobj) _multibytecodec_MultibyteStreamWriter_write_impl() argument
/third_party/python/Objects/
H A Dlongobject.c2275 PyObject *strobj; in PyLong_FromString() local
2626 strobj = PyUnicode_FromStringAndSize(orig_str, slen); in PyLong_FromString()
2627 if (strobj == NULL) { in PyLong_FromString()
2632 base, strobj); in PyLong_FromString()
2633 Py_DECREF(strobj); in PyLong_FromString()
2645 PyObject *result, *strobj; in _PyLong_FromBytes() local
2652 strobj = PyBytes_FromStringAndSize(s, Py_MIN(len, 200)); in _PyLong_FromBytes()
2653 if (strobj != NULL) { in _PyLong_FromBytes()
2656 base, strobj); in _PyLong_FromBytes()
2657 Py_DECREF(strobj); in _PyLong_FromBytes()
[all...]
/third_party/python/Modules/
H A D_xxsubinterpretersmodule.c15 _copy_raw_string(PyObject *strobj) in _copy_raw_string() argument
17 const char *str = PyUnicode_AsUTF8(strobj); in _copy_raw_string()

Completed in 13 milliseconds