Lines Matching refs:PyString_Check
437 if (!PyString_Check(str)) { in PyString_AsDecodedObject()
482 if (!PyString_Check(v)) { in PyString_AsDecodedString()
517 if (!PyString_Check(str)) { in PyString_AsEncodedObject()
562 if (!PyString_Check(v)) { in PyString_AsEncodedString()
643 assert(PyString_Check(w)); in PyString_DecodeEscape()
785 if (!PyString_Check(op)) in PyString_Size()
793 if (!PyString_Check(op)) in PyString_AsString()
808 if (!PyString_Check(obj)) { in PyString_AsStringAndSize()
997 assert(PyString_Check(s)); in string_str()
1020 if (!PyString_Check(bb)) { in string_concat()
1158 if (!PyString_Check(sub_obj)) { in string_contains()
1200 if (!(PyString_Check(a) && PyString_Check(b))) { in string_richcompare()
1466 if (PyString_Check(subobj)) { in string_split()
1493 if (PyString_Check(sep_obj)) { in string_partition()
1524 if (PyString_Check(sep_obj)) { in string_rpartition()
1565 if (PyString_Check(subobj)) { in string_rsplit()
1626 if (!PyString_Check(item)){ in string_join()
1686 assert(sep != NULL && PyString_Check(sep)); in _PyString_Join()
1718 if (PyString_Check(subobj)) { in string_find_internal()
1893 if (PyString_Check(sep)) in do_argstrip()
2130 if (PyString_Check(sub_obj)) { in string_count()
2214 if (PyString_Check(tableobj)) { in string_translate()
2245 if (PyString_Check(delobj)) { in string_translate()
2830 if (PyString_Check(from)) { in string_replace()
2842 if (PyString_Check(to)) { in string_replace()
2874 if (PyString_Check(substr)) { in _string_tailmatch()
3019 if (!PyString_Check(v) && !PyUnicode_Check(v)) { in string_encode()
3058 if (!PyString_Check(v) && !PyUnicode_Check(v)) { in string_decode()
3611 if (!(PyString_Check(format_spec) || PyUnicode_Check(format_spec))) { in string__format__()
3722 assert(PyString_Check(tmp)); in str_subtype_new()
3746 if (!PyString_Check(v)) { in string_mod()
3863 if (w == NULL || !PyString_Check(*pv)) { in PyString_Concat()
3899 if (!PyString_Check(v) || Py_REFCNT(v) != 1 || newsize < 0 || in _PyString_Resize()
4223 if (PyString_Check(v)) { in formatchar()
4257 if (format == NULL || !PyString_Check(format) || args == NULL) { in PyString_Format()
4487 if (!PyString_Check(temp)) { in PyString_Format()
4751 if (s == NULL || !PyString_Check(s)) in PyString_InternInPlace()