/pkg/src/modules/actions/ |
H A D | _actions.c | 68 PyObject *str, *oldstr; local 76 * object in str with a new reference, which we must 80 oldstr = str = PyList_GET_ITEM(av, len - 1); 84 str = PyUnicode_Concat(str, attr); 86 PyString_Concat(&str, attr); 88 if (str == NULL) 90 return (PyList_SetItem(av, len - 1, str)); 123 set_malformederr(const char *str, int pos, const char *msg) argument 127 if ((val = Py_BuildValue("sis", str, po 134 set_invaliderr(const char *str, const char *msg) argument 154 char *str = NULL; local [all...] |
H A D | attribute.py | 64 raise pkg.actions.InvalidActionError(str(self), 104 str(fmri_obj.version.build_release), 105 str(fmri_obj.version.release), 106 str(fmri_obj.version.timestr) 174 errors.append((name, str(e)))
|
/pkg/src/tests/cli/ |
H A D | t_pkg_help.py | 50 for str in expected: 51 if str not in msg: 53 str, msg)) 54 for str in unexpected: 55 if str in msg: 57 str, msg))
|
H A D | t_change_facet.py | 107 file_path = os.path.join(self.get_img_path(), str(path)) 366 self.assert_file_is_there(str(i)) 368 self.assert_file_is_there(str(i), negate=True) 380 self.assert_file_is_there(str(i)) 382 self.assert_file_is_there(str(i), negate=True) 395 self.assert_file_is_there(str(i)) 407 self.assert_file_is_there(str(i)) 409 self.assert_file_is_there(str(i), negate=True) 420 self.assert_file_is_there(str(i)) 422 self.assert_file_is_there(str( [all...] |
H A D | t_publish_api.py | 67 t = trans.Transaction(durl, pkg_name=str(pf), 93 t = trans.Transaction(location, pkg_name=str(pf),
|
/pkg/src/tests/api/ |
H A D | t_misc.py | 149 str(os.getpid())]).strip() 150 """.format(str(mem_cap)) 166 self.debug("mem_cap: " + str(mem_cap)) 167 self.debug("proc size: " + str(res)) 175 os.environ["PKG_CLIENT_MAX_PROCESS_SIZE"] = str(mem_cap * 2) 179 self.debug("mem_cap: " + str(mem_cap)) 180 self.debug("proc size: " + str(res)) 192 self.debug("mem_cap: " + str(mem_cap)) 193 self.debug("proc size: " + str(res))
|
H A D | t_pkg_api_revert.py | 77 (str(entry[0]), str(entry[1]))
|
H A D | t_version.py | 102 self.assertTrue(str(self.v1) == "5.5.1,5.5.1-10:20051122T000000Z") 103 self.assertTrue(str(self.v2) == "5.5.1,5.5.1-10:20070318T123456Z") 104 self.assertTrue(str(self.v3) == "5.5.1,5.5-10") 105 self.assertTrue(str(self.v4) == "5.5.1,5.4-6") 106 self.assertTrue(str(self.v5) == "5.6,1") 107 self.assertTrue(str(self.v6) == "5.7,5.4") 108 self.assertTrue(str(self.v7) == "5.10,5.5.1") 109 self.assertTrue(str(self.v8) == "5.10.1,5.5.1") 110 self.assertTrue(str(self.v9) == "5.11,5.5.1") 111 self.assertTrue(str(sel [all...] |
H A D | t_action.py | 146 self.assertEqual(str(a), str(a2)) 232 a = action.fromstr(r'set name=pkg.description value="Sphinx is a tool that makes it easy to create intelligent \"and beautiful documentation f\"or Python projects (or \"other documents consisting of\" multiple reStructuredText so\"urces), written by Georg Bran\"dl. It was originally created\" to translate the new Python \"documentation, but has now be\"en cleaned up in the hope tha\"t it will be useful to many o\"ther projects. Sphinx uses re\"StructuredText as its markup \"language, and many of its str\"engths come from the power an\"d straightforwardness of reSt\"ructuredText and its parsing \"and translating suite, the Do\"cutils. Although it is still \"under constant development, t\"he following features are alr\"eady present, work fine and c\"an be seen \"in action\" \"in the Python docs: * Output \"formats: HTML (including Wind\"ows HTML Help) and LaTeX, for\" printable PDF versions * Ext\"ensive cross-references: sema\"ntic markup and automatic lin\"ks for functions, classes, gl\"ossary terms and similar piec\"es of information * Hierarchi\"cal structure: easy definitio\"n of a document tree, with au\"tomatic links to siblings, pa\"rents and children * Automati\"c indices: general index as w\"ell as a module index * Code \"handling: automatic highlight\"ing using the Pygments highli\"ghter * Various extensions ar\"e available, e.g. for automat\"ic testing of snippets and in\"clusion of appropriately formatted docstrings."') 272 self.assertEqualDiff(expected, str(act)) 282 self.debug(str(s)) 284 s2 = str(a) 287 self.debug("a1 " + str(a)) 288 self.debug("a2 " + str(a2)) 298 s2 = str(a) 317 self.assertTrue(action.fromstr(str( [all...] |
H A D | t_dependencies.py | 1170 "\n".join([str(s) for s in es])) 1207 "\n".join([str(s) for s in es])) 1217 "\n".join([str(s) for s in es])) 1236 "\n".join([str(s) for s in es])) 1268 "\n".join([str(s) for s in es])) 1307 "\n".join([str(s) for s in es])) 1340 "\n".join([str(s) for s in es])) 1362 "\n".join([str(s) for s in es])) 1394 "\n".join([str(s) for s in es])) 1413 [str( [all...] |
H A D | t_altroot.py | 138 e_str = str(None) 142 args = ", ".join([str(a) for a in args]) 190 args = ", ".join([str(a) for a in args]) 195 func.__name__, args, str(rv)))
|
/pkg/src/modules/server/ |
H A D | api_errors.py | 34 return str(self.data) 66 ", ".join(str(o) for o in self._opts))
|
H A D | depot.py | 485 "{0} {1}".format(op, " ".join(str(v) for v in vers)) 515 raise cherrypy.HTTPError(http_client.BAD_REQUEST, str(e)) 518 str(e)) 523 cherrypy.log("Request failed: {0}".format(str(e))) 524 raise cherrypy.HTTPError(http_client.NOT_FOUND, str(e)) 588 cherrypy.log("Request failed: {0}".format(str(e))) 589 raise cherrypy.HTTPError(http_client.NOT_FOUND, str(e)) 606 raise cherrypy.HTTPError(http_client.BAD_REQUEST, str(e)) 630 raise cherrypy.HTTPError(http_client.BAD_REQUEST, str(e)) 635 cherrypy.log("Request failed: {0}".format(str( [all...] |
/pkg/src/modules/ |
H A D | elf.c | 65 char *str; local 67 if ((str = elf_strptr(dyn->elf, dyn->dynstr, n->nameoff)) == NULL) { 72 ent = Py_BuildValue("s", str); 86 char *str; local 94 if ((str = elf_strptr(dyn->elf, dyn->dynstr, n->nameoff)) == NULL) { 99 if ((ent = Py_BuildValue("[s,O]", str, pverlist)) == NULL) { 117 char *str; local 119 if ((str = elf_strptr(dyn->elf, dyn->dynstr, n->nameoff)) == NULL) { 124 ent = Py_BuildValue("s", str); 444 char *str; local 470 char *str; local [all...] |
H A D | version.py | 103 return ".".join(map(str, self)) 218 if str(self) == "*" or str(other) == "*": 348 return str(obj) 357 outstr = str(self.release) + "," + str(self.build_release) 359 outstr += "-" + str(self.branch) 370 outstr = str(self.release) + "," + str(self.build_release) 372 outstr = str(sel [all...] |
H A D | mediator.py | 53 error = str(e) 108 error = str(e)
|
H A D | search_storage.py | 184 file_handle.write(version_string + str(version_num) + "\n") 186 file_handle.write(str(name) + "\n") 325 res = "{0}".format(quote(str(token))) 335 quote(str(full_value))) 564 def __quote(str): 565 if " " in str: 566 return "1" + quote(str) 568 return "0" + str 596 self._file_handle.write(self.__quote(str(entity)) + " " + 597 str(my_i [all...] |
H A D | nrlock.py | 96 return str(self.data)
|
H A D | sha512_t.py | 74 if six.PY3 and isinstance(message, str):
|
/pkg/src/modules/publish/ |
H A D | transaction.py | 63 return str(self.data) 157 trans_id=self.trans_id, msg=str(e)) 166 trans_id=self.trans_id, msg=str(_("The file to " 253 msg=str(e)) 264 raise TransactionRepositoryConfigError(str(e)) 266 raise TransactionRepositoryInvalidError(str(e)) 269 msg=str(e)) 284 trans_id=self.trans_id, msg=str(e)) 294 msg = str(e) 298 str(actio [all...] |
/pkg/src/modules/client/ |
H A D | firmware.py | 73 if str(args) not in self._cache: 94 " ".join(args), str(e))) 147 key = str(args) 195 format(str(ret), 198 key = str(args)
|
H A D | plandesc.py | 115 str: { 124 str: { 131 "_rm_aliases": { str: set() }, 133 "moved": [[str, str]], 134 "removed": [[str]], 135 "installed": [[str]], 136 "updated": [[str]], 141 "_pkg_actuators": { str: { str [all...] |
/pkg/src/util/publish/ |
H A D | pkgsurf.py | 257 file=path, err=str(e), rroot=repo.root)) 371 nact = actions.fromstr(str(act)) 579 status.append((_("Packages to process:"), str(len(latest_pkgs)))) 580 status.append((_("New packages:"), str(new_p))) 581 status.append((_("Unmodified packages:"), str(dups))) 586 "reference repo:"), str(sucs))) 591 "request:"), str(nrevs))) 593 str(len(reversioned_pkgs) - dep_revs))) 595 str(len(depend_changes)))) 597 str(dep_rev [all...] |
/pkg/src/modules/client/transport/ |
H A D | repo.py | 502 [(i, str(q)) for i, q in enumerate(data)]) 508 str(data[0]), safe='')) 1278 reason=str(e), repourl=self._url) 1283 reason=str(e), repourl=self._url) 1339 reason=str(e), repourl=self._url) 1344 reason=str(e), repourl=self._url) 1366 yield str(sqp.Query.VALIDATION_STRING[1]) 1410 errno.EPROTO, reason=str(e), 1461 reason=str(e), repourl=self._url, request=fhash) 1466 reason=str( [all...] |
/pkg/src/modules/portable/ |
H A D | __init__.py | 279 "cannot find portable implementation class for os " + str(fragments))
|