Lines Matching defs:len
87 size_t len = strlen(string);
91 if (len > PY_SSIZE_T_MAX) {
96 encoding = PyMem_Malloc(len + 1);
100 if (!_Py_normalize_encoding(string, encoding, len + 1))
160 const Py_ssize_t len = PyList_Size(interp->codec_search_path);
161 if (len < 0)
163 if (len == 0) {
171 for (i = 0; i < len; i++) {
192 if (i == len) {
701 Py_ssize_t start, end, i, len;
710 len = end - start;
711 res = PyUnicode_New(len, '?');
716 for (i = 0; i < len; ++i)
735 len = end - start;
736 res = PyUnicode_New(len, Py_UNICODE_REPLACEMENT_CHARACTER);
741 for (i = 0; i < len; i++)