Searched defs:attrs (Results 1 - 3 of 3) sorted by relevance

/pkg/src/modules/actions/
H A D_common.c88 _generic_init_common(PyObject *action, PyObject *data, PyObject *attrs) argument
100 if (attrs != NULL) {
101 if (PyObject_SetAttrString(action, "attrs", attrs) == -1)
105 if ((attrs = PyDict_New()) == NULL)
107 if (PyObject_SetAttrString(action, "attrs", attrs) == -1) {
108 Py_DECREF(attrs);
111 Py_DECREF(attrs);
134 if ((key_attr = PyDict_GetItem(attrs, key_anam
247 _generic_init(PyObject *self, PyObject *args, PyObject *attrs) argument
261 _file_init(PyObject *self, PyObject *args, PyObject *attrs) argument
[all...]
H A D_actions.c56 add_to_attrs(PyObject *attrs, PyObject *key, PyObject *attr, bool concat) argument
60 PyObject *av = PyDict_GetItem(attrs, key);
63 return (PyDict_SetItem(attrs, key, attr));
104 ret = PyDict_SetItem(attrs, key, av);
117 ret = PyDict_SetItem(attrs, key, list);
169 PyObject *attrs = NULL; local
191 Py_XDECREF(attrs);\
292 if ((attrs = PyDict_New()) == NULL) {
302 if (PyDict_Size(attrs) > 0 || hash != NULL) {
510 if (add_to_attrs(attrs, ke
[all...]
/pkg/src/
H A Dclient.py2750 return a.attrs.get(a.key_attr), a.name, match
2751 return match, a.name, a.attrs.get(a.key_attr)
2760 return action.attrs.get("path")
2761 r = action.attrs.get(match)
2764 return action.attrs.get(action.key_attr)
2775 return action.attrs.get("name")
2839 attrs = []
2856 attrs.extend(arg.split(","))
2876 check_attrs(attrs, "search", reference=search_attrs,
2880 for a in attrs
3367 attrs = ["path"] variable
[all...]

Completed in 74 milliseconds