Searched refs:str (Results 1 - 25 of 137) sorted by relevance

123456

/pkg/src/modules/actions/
H A D_actions.c68 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 Dattribute.py64 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 Dt_pkg_help.py50 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 Dt_change_facet.py107 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 Dt_publish_api.py67 t = trans.Transaction(durl, pkg_name=str(pf),
93 t = trans.Transaction(location, pkg_name=str(pf),
/pkg/src/tests/api/
H A Dt_misc.py149 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 Dt_pkg_api_revert.py77 (str(entry[0]), str(entry[1]))
H A Dt_version.py102 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 Dt_action.py146 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 Dt_dependencies.py1170 "\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 Dt_altroot.py138 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 Dapi_errors.py34 return str(self.data)
66 ", ".join(str(o) for o in self._opts))
H A Ddepot.py485 "{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 Delf.c65 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 Dversion.py103 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 Dmediator.py53 error = str(e)
108 error = str(e)
H A Dsearch_storage.py184 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 Dnrlock.py96 return str(self.data)
H A Dsha512_t.py74 if six.PY3 and isinstance(message, str):
/pkg/src/modules/publish/
H A Dtransaction.py63 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 Dfirmware.py73 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 Dplandesc.py115 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 Dpkgsurf.py257 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 Drepo.py502 [(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__.py279 "cannot find portable implementation class for os " + str(fragments))

Completed in 6190 milliseconds

123456