Lines Matching defs:names
295 PyObject *names;
311 self->names = PyList_New(0);
313 if (!self->names || !self->groups || !self->category) {
325 Py_CLEAR(self->names);
342 Py_VISIT(self->names);
348 hbac_rule_element_set_names(HbacRuleElement *self, PyObject *names,
360 const char * const kwlist[] = { "names", "groups", "category", NULL };
361 PyObject *names = NULL;
369 &names, &groups, &category)) {
373 if (names) {
374 if (hbac_rule_element_set_names(self, names, NULL) != 0) {
406 PyObject *names,
409 CHECK_ATTRIBUTE_DELETE(names, "names");
411 if (!verify_sequence(names, "names")) {
415 SAFE_SET(self->names, names);
422 Py_INCREF(self->names);
423 return self->names;
501 format = PyUnicode_FromString("<category %lu names [%s] groups [%s]>");
506 strnames = str_concat_sequence(self->names,
537 "(sequence of strings) A list of object names this element applies to");
539 "(sequence of strings) A list of group names this element applies to");
544 { discard_const_p(char, "names"),
568 "HbacRuleElement([names], [groups], [category]) -> optionally, provide\n"
569 "names and/or groups and/or category\n");
591 free_string_list(el->names);
618 el->names = sequence_as_string_list(pyel->names, "names");
620 if (!el->names || !el->groups || ret == -1) {
1328 "(list of strings) A list of group names this element applies to");