Lines Matching refs:PyBytes_GET_SIZE
521 if (PyBytes_Check(arg) && PyBytes_GET_SIZE(arg) == 1) { in byte_converter()
562 *plen = PyBytes_GET_SIZE(v); in format_obj()
587 *plen = PyBytes_GET_SIZE(result); in format_obj()
597 *plen = PyBytes_GET_SIZE(result); in format_obj()
942 len = PyBytes_GET_SIZE(temp); in _PyBytes_FormatEx()
1263 *len = PyBytes_GET_SIZE(obj); in PyBytes_AsStringAndSize()
1264 else if (strlen(*s) != (size_t)PyBytes_GET_SIZE(obj)) { in PyBytes_AsStringAndSize()
1493 return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg); in bytes_contains()
1602 i += PyBytes_GET_SIZE(self); in bytes_subscript()
1603 if (i < 0 || i >= PyBytes_GET_SIZE(self)) { in bytes_subscript()
1620 slicelength = PySlice_AdjustIndices(PyBytes_GET_SIZE(self), &start, in bytes_subscript()
1627 slicelength == PyBytes_GET_SIZE(self) && in bytes_subscript()
1712 Py_ssize_t len = PyBytes_GET_SIZE(self), n; in bytes_split_impl()
1753 PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), in bytes_partition_impl()
1780 PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), in bytes_rpartition_impl()
1797 Py_ssize_t len = PyBytes_GET_SIZE(self), n; in bytes_rsplit_impl()
1850 return _Py_bytes_find(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_find()
1856 return _Py_bytes_index(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_index()
1863 return _Py_bytes_rfind(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_rfind()
1870 return _Py_bytes_rindex(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_rindex()
1879 Py_ssize_t len = PyBytes_GET_SIZE(self); in do_xstrip()
1919 Py_ssize_t len = PyBytes_GET_SIZE(self), i, j; in do_strip()
2012 return _Py_bytes_count(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_count()
2049 tablen = PyBytes_GET_SIZE(table); in bytes_translate_impl()
2072 dellen = PyBytes_GET_SIZE(deletechars); in bytes_translate_impl()
2088 inlen = PyBytes_GET_SIZE(input_obj); in bytes_translate_impl()
2217 Py_ssize_t self_len = PyBytes_GET_SIZE(self); in bytes_removeprefix_impl()
2255 Py_ssize_t self_len = PyBytes_GET_SIZE(self); in bytes_removesuffix_impl()
2279 return _Py_bytes_startswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_startswith()
2285 return _Py_bytes_endswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), args); in bytes_endswith()
2330 PyBytes_GET_SIZE(self), keepends in bytes_splitlines_impl()
2463 Py_ssize_t arglen = PyBytes_GET_SIZE(self); in bytes_hex_impl()
2542 return _PyBytes_FormatEx(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), in bytes_mod()
2868 n = PyBytes_GET_SIZE(tmp); in bytes_subtype_new()
2961 oldsize = PyBytes_GET_SIZE(*pv); in PyBytes_Concat()
3121 if (it->it_index < PyBytes_GET_SIZE(seq)) { in striter_next()
3136 len = PyBytes_GET_SIZE(it->it_seq) - it->it_index; in striter_len()
3166 else if (index > PyBytes_GET_SIZE(it->it_seq)) in striter_setstate()
3167 index = PyBytes_GET_SIZE(it->it_seq); /* iterator exhausted */ in striter_setstate()