Searched refs:sorted_keys (Results 1 – 2 of 2) sorted by relevance
35 char **sorted_keys; local58 sorted_keys = xmalloc(key_count * sizeof(char *));60 sorted_keys[i++] = key;61 qsort(sorted_keys, key_count, sizeof(char *), qstrcmp);66 key = sorted_keys[i];90 free(sorted_keys);
513 PyObject *sorted_keys; in dictbytype() local524 sorted_keys = PyDict_Keys(src); in dictbytype()525 if (sorted_keys == NULL) in dictbytype()527 if (PyList_Sort(sorted_keys) != 0) { in dictbytype()528 Py_DECREF(sorted_keys); in dictbytype()531 num_keys = PyList_GET_SIZE(sorted_keys); in dictbytype()536 k = PyList_GET_ITEM(sorted_keys, key_i); in dictbytype()545 Py_DECREF(sorted_keys); in dictbytype()551 Py_DECREF(sorted_keys); in dictbytype()559 Py_DECREF(sorted_keys); in dictbytype()