Lines Matching defs:len
450 Py_ssize_t len;
452 len = PyUnicode_GetLength(filename);
453 if (len < 0)
456 if (len == 0)
463 if (len >= 3 &&
464 PyUnicode_READ(kind, data, len-3) == '.' &&
465 PyUnicode_READ(kind, data, len-2) == 'p' &&
466 PyUnicode_READ(kind, data, len-1) == 'y')
468 module = PyUnicode_Substring(filename, 0, len-3);
534 Py_ssize_t i, len;
543 len = PyUnicode_GET_LENGTH(sourceline);
544 for (i=0; i<len; i++) {
550 truncated = PyUnicode_Substring(sourceline, i, len);