Lines Matching defs:len
1348 Py_ssize_t len = PyTuple_GET_SIZE(o);
1349 for (Py_ssize_t i = 0; i < len; i++) {
1381 Py_ssize_t len = PySet_GET_SIZE(o);
1382 if (len == 0) { // empty frozenset should not be re-created.
1385 PyObject *tuple = PyTuple_New(len);
3883 Py_ssize_t len = PyUnicode_GET_LENGTH(name);
3884 Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0, len, 1);
3892 dot = PyUnicode_FindChar(name, '.', pos, len, 1);
3895 attr = PyUnicode_Substring(name, pos, (dot != -1) ? dot : len);
4830 int len = (int)PyUnicode_GET_LENGTH(attr->v.Attribute.attr);
4831 if (len <= attr->end_col_offset) {
4832 c->u->u_col_offset = attr->end_col_offset - len;
6939 // No star: len(subject) == size
6946 // Star: len(subject) >= size - 1
7477 Py_ssize_t len = PyBytes_GET_SIZE(a->a_except_table);
7478 if (a->a_except_table_off + MAX_SIZE_OF_ENTRY >= len) {
7479 if (_PyBytes_Resize(&a->a_except_table, len * 2) < 0)
7621 Py_ssize_t len = PyBytes_GET_SIZE(a->a_linetable);
7622 if (a->a_location_off + THEORETICAL_MAX_ENTRY_SIZE >= len) {
7623 assert(len > THEORETICAL_MAX_ENTRY_SIZE);
7624 if (_PyBytes_Resize(&a->a_linetable, len*2) < 0) {
7681 Py_ssize_t len = PyBytes_GET_SIZE(a->a_bytecode);
7685 if (a->a_offset + size >= len / (int)sizeof(_Py_CODEUNIT)) {
7686 if (len > PY_SSIZE_T_MAX / 2)
7688 if (_PyBytes_Resize(&a->a_bytecode, len * 2) < 0)
8610 int len = 0;
8613 while (++len < limit) {
8614 int opcode = instructions[len].i_opcode;
8616 depth = Py_MAX(depth, instructions[len].i_oparg);
8638 for (int i = 0; i < len; i++) {
8654 int current = len - 1;
8691 *ix += len - 1;