/pkg/src/modules/bundle/ |
H A D | SolarisPackageDatastreamBundle.py | 56 # maintain a set of pre/post install/remove and class action 133 act = self.action(*data) 137 def action(self, pkgmap, ci, path): member in class:SolarisPackageDatastreamBundle
|
H A D | TarBundle.py | 54 yield self.action(*data) 56 def action(self, tarfile, tarinfo): member in class:TarBundle
|
H A D | DirectoryBundle.py | 48 caller once the action has been emitted. 79 act = self.action(*data) 83 def action(self, path): member in class:DirectoryBundle
|
H A D | SolarisPackageDirBundle.py | 52 # maintain a set of pre/post install/remove and class action 60 # A list of pkg.action.AttributeActions with pkginfo 81 act = self.action(p, None) 101 act = self.action(pkgmap[j(ci.name)], 139 act = self.action(p, os.path.join(self.filename, 155 def action(self, mapline, data): member in class:SolarisPackageDirBundle 234 """Creates a list of pkg.action.AttributeActions corresponding 238 # these keys get converted to a legacy action
|
/pkg/src/tests/perf/ |
H A D | fmribench.py | 241 action = b[3] variable 247 t = timeit.Timer(action, setup).timeit(iter)
|
/pkg/src/tests/api/ |
H A D | t_misc.py | 42 import pkg.actions as action namespace 56 act = action.fromstr("dir path={0}".format(foopath))
|
H A D | t_action.py | 35 import pkg.actions as action namespace 93 def assertAttributeValue(self, action, attr, value): 94 attrs = action.attrs[attr] 107 def assertAttributes(self, action, attrlist): 108 if sorted(action.attrs.keys()) != sorted(attrlist): 112 Actual: {1}""".format(sorted(attrlist), sorted(action.attrs.keys()))) 115 action.fromstr("file 12345 name=foo path=/tmp/foo") 116 action.fromstr("file 12345 name=foo attr=bar path=/tmp/foo") 117 action.fromstr("file 12345 name=foo attr=bar attr=bar path=/tmp/foo") 119 action [all...] |
/pkg/src/modules/ |
H A D | _varcet.c | 37 PyObject *action = NULL; local 54 static char *kwlist[] = {"facets", "action", "publisher", NULL}; 57 kwlist, &facets, &action, &publisher)) 60 if ((act_attrs = PyObject_GetAttrString(action, "attrs")) == NULL) 124 * patterns matched it, then allow the action if it is 142 * facets need to be checked; this action is not 159 * action. 185 PyObject *action = NULL; local 193 static char *kwlist[] = {"vars", "action", "publisher", NULL}; 196 kwlist, &vars, &action, [all...] |
/pkg/src/modules/actions/ |
H A D | _common.c | 42 set_invalid_action_error(const char *name, PyObject *action, argument 60 * Obtain a reference to the action exception type so that SetObject can 70 if ((val = Py_BuildValue("OO", action, key_aname)) != NULL) { 88 _generic_init_common(PyObject *action, PyObject *data, PyObject *attrs) argument 97 * Before doing anything else to the action, action attributes must be 101 if (PyObject_SetAttrString(action, "attrs", attrs) == -1) 107 if (PyObject_SetAttrString(action, "attrs", attrs) == -1) { 116 if (PyObject_SetAttrString(action, "data", Py_None) == -1) 119 PyObject *res = PyObject_CallMethod(action, "set_dat 249 PyObject *action = NULL; local 263 PyObject *action = NULL; local [all...] |
H A D | _actions.c | 53 static const char *nohash = "action type doesn't allow payload"; 145 * Note that action parsing does not support line-continuation ('\'); that 167 PyObject *action = NULL; local 206 * The action string is currently assumed to be a stream of bytes that 285 PyErr_SetString(PyExc_TypeError, "unknown action type"); 636 * Using the cached action class assigned earlier based on the type, 637 * call the action constructor, set the hash attribute, and then return 638 * the new action object. 640 action = PyObject_Call(act_class, act_args, attrs); 643 if (action [all...] |
/pkg/src/tests/cli/ |
H A D | t_pkgsign.py | 44 import pkg.actions as action namespace 1005 # Append an action to the manifest. 1028 # Append an action to the manifest. 1061 # Change the signature action. 1074 # so the signature action is skipped. 1083 # Change the signature action. 1096 # algorithm so the signature action is skipped. 1538 self.assertRaises(action.ActionDataError, sig_act.set_signature, 1541 self.assertRaises(action.ActionDataError, sig_act.set_signature, 1988 DebugValues["broken-conflicting-action [all...] |