Lines Matching refs:NULL
47 if (v == NULL)
48 return NULL;
50 if ((w = PyList_New(0)) == NULL) {
52 return NULL;
54 for (member = p->gr_mem; *member != NULL; member++) {
56 if (x == NULL || PyList_Append(w, x) != 0) {
60 return NULL;
79 return NULL;
105 return NULL;
111 return NULL;
115 return NULL;
118 return NULL;
123 if ((p = getgrgid(gid)) == NULL) {
125 if (gid_obj == NULL)
126 return NULL;
129 return NULL;
150 PyObject *bytes, *retval = NULL;
152 if ((bytes = PyUnicode_EncodeFSDefault(name)) == NULL)
153 return NULL;
154 if (PyBytes_AsStringAndSize(bytes, &name_chars, NULL) == -1)
157 if ((p = getgrnam(name_chars)) == NULL) {
183 if ((d = PyList_New(0)) == NULL)
184 return NULL;
186 while ((p = getgrent()) != NULL) {
188 if (v == NULL || PyList_Append(d, v) != 0) {
192 return NULL;
204 {NULL, NULL}
231 NULL,
232 NULL,
233 NULL,
234 NULL
242 if (m == NULL)
243 return NULL;
248 return NULL;
252 return NULL;