Lines Matching defs:list
554 /* Use a list copy in case register_at_fork() is called from
4038 _listdir_windows_no_opendir(path_t *path, PyObject *list)
4071 if ((list = PyList_New(0)) == NULL) {
4081 Py_DECREF(list);
4082 list = path_error(path);
4095 Py_DECREF(list);
4096 list = NULL;
4099 if (PyList_Append(list, v) != 0) {
4101 Py_DECREF(list);
4102 list = NULL;
4113 Py_DECREF(list);
4114 list = path_error(path);
4122 if (list != NULL) {
4123 Py_DECREF(list);
4124 list = path_error(path);
4130 return list;
4136 _posix_listdir(path_t *path, PyObject *list)
4186 list = path_error(path);
4196 if ((list = PyList_New(0)) == NULL) {
4208 Py_DECREF(list);
4209 list = path_error(path);
4222 Py_CLEAR(list);
4225 if (PyList_Append(list, v) != 0) {
4227 Py_CLEAR(list);
4244 return list;
4254 Return a list containing the names of the files in the directory.
4264 The list is in arbitrary order. It does not include the special
5754 "env.keys() or env.values() is not a list");
5863 Tuple or list of strings.
5877 argv is a list or tuple of strings. */
5881 "execv() arg 2 must be a tuple or list");
5927 Tuple or list of strings.
5943 argv is a list or tuple of strings and env is a dictionary
5948 "execve: argv must be a tuple or list");
6292 argv is a list or tuple of strings and env is a dictionary
6297 "%s: argv must be a tuple or list", func_name);
6405 Tuple or list of strings.
6451 Tuple or list of strings.
6531 Tuple or list of strings.
6548 argv is a list or tuple of strings. */
6560 "spawnv() arg 2 must be a tuple or list");
6631 Tuple or list of strings.
6653 argv is a list or tuple of strings and env is a dictionary
6666 "spawnve() arg 2 must be a tuple or list");
7640 Returns a list of groups to which a user belongs.
7656 Returns a list of groups to which a user belongs.
7665 PyObject *list;
7698 /* getgrouplist() fails if the group list is too small */
7702 /* If the group list is too small, the glibc implementation of
7707 /* Double the group list size */
7714 /* Retry getgrouplist() with a larger group list */
7723 list = PyList_New(ngroups);
7724 if (list == NULL) {
7736 Py_DECREF(list);
7740 PyList_SET_ITEM(list, i, o);
7745 return list;
7754 Return list of supplemental group IDs for the process.
7814 Initialize the group access list.
7816 Call the system initgroups() to initialize the group access list with all of
7832 Initialize the group access list.
7834 Call the system initgroups() to initialize the group access list with all of
8306 Set the groups of the current process to list.
13079 Return a list of extended attributes on path.
16009 * provide list of locally available functions
16012 PyObject *list = PyList_New(0);
16013 if (!list) {
16022 if (PyList_Append(list, unicode))
16027 PyModule_AddObject(m, "_have_functions", list);