Searched refs:status (Results 1 - 24 of 24) sorted by relevance

/pkg/src/
H A Dpydates50 status = repo.status(match=matchfn)
57 for f in status[0] + status[1]:
81 s = repo.status()
H A Dpull.py889 status = []
890 status.append((_("Packages to add:"), str(len(matches))))
891 status.append((_("Files to retrieve:"), str(get_files)))
892 status.append((_("Estimated transfer size:"),
895 rjust_status = max(len(s[0]) for s in status)
896 rjust_value = max(len(s[1]) for s in status)
897 for s in status:
1206 status = []
1207 status.append((_("Packages to add:"), str(len(to_add))))
1208 status
[all...]
H A Ddepot-config.py77 DEPOT_STATUS_DIRNAME = ["status", "0"]
94 status 0
380 def _write_status_response(status, htdocs_path, repo_prefix):
381 """Writes a status status/0 response for the depot."""
387 status_file.write(json.dumps(status, ensure_ascii=False,
391 _("Unable to write status response: {0}").format(err))
551 publishers, default_pub, status = \
559 _write_status_response(status, htdocs_path,
953 # Establish a specific exit status whic
[all...]
H A Dclient.py528 errors = _generate_error_messages(out_json["status"], errors,
551 status = ""
559 status += st
577 msg(fmt_str.format(pfmri, status))
591 msg(fmt_str.format(pf, sver, status))
594 _generate_error_messages(out_json["status"], errors)
596 return out_json["status"]
696 status = [] variable
702 status.append((s1, s2.format(v)))
722 status
[all...]
/pkg/src/util/apache2/sysrepo/
H A Dsysrepo_p5p.py105 def log_exception(self, status=SERVER_ERROR_STATUS):
112 # we only want error_log output if our status is not 4xx
113 if status != SERVER_NOTFOUND_STATUS and \
114 status != SERVER_BADREQUEST_STATUS:
116 self.start_response(status, response_headers,
178 self.log_exception(status=SERVER_NOTFOUND_STATUS)
209 status=SERVER_NOTFOUND_STATUS)
231 self.log_exception(status=SERVER_NOTFOUND_STATUS)
233 self.log_exception(status=SERVER_NOTFOUND_STATUS)
361 status
[all...]
/pkg/src/modules/
H A Dsmf.py69 return "Cmd {0} exited with status {1:d}, and output '{2}'".format(
108 status = props.get("general_ovr/enabled", None)
109 if status is not None:
110 if "true" in status:
113 status = props.get("general/enabled", None)
114 if status is not None and "true" in status:
H A Ddepotcontroller.py312 status = self.__depot_handle.poll()
313 if status != None:
504 # exit status
516 # exit status
569 status = dc.stop()
570 if status is None:
571 print(" Result: Exited {0}".format(status), end=" ")
572 elif status == 0:
574 elif status < 0:
575 print(" Result: Signal {0:d}".format(-1 * status), en
[all...]
H A Delfextract.c686 struct stat status; local
702 if ((fstat(fd, &status) == -1) ||
703 ((hdata.base = mmap(NULL, status.st_size, PROT_READ, MAP_PRIVATE,
846 munmap(hdata.base, status.st_size);
H A Dconfig.py1804 status, result = p.returncode, misc.force_str(out)
1805 if status:
/pkg/src/util/publish/
H A Dpkgsurf.py575 status = []
577 status.append((_("WARNING: Signature changes in file content "
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)))
585 status.append((_("Packages with successors in "
590 status.append((_("Packages not to be reversioned by user "
592 status.append((_("Packages with no content change:"),
594 status.append((_("Packages which only have dependency change:"),
596 status
[all...]
/pkg/src/zoneproxy/zoneproxy-client/
H A Dzoneproxy-client.c282 daemonize_ready(char status) argument
287 (void) write(g_pipe_fd, &status, 1);
295 int status; local
317 /* forward ready code via exit status */
320 status = -1;
321 (void) wait4(pid, &status, 0, NULL);
323 if (WIFEXITED(status)) {
325 exit(WEXITSTATUS(status));
/pkg/src/util/apache2/depot/
H A Ddepot_index.py659 status=http_client.SERVICE_UNAVAILABLE,
698 def default_error_page(status=http_client.NOT_FOUND, message="oops",
712 if (status == http_client.INTERNAL_SERVER_ERROR or
713 status.startswith("500 ")):
718 {"status": http_client.NOT_FOUND,
728 {"status": http_client.NOT_FOUND, "message": message,
804 status=http_client.INTERNAL_SERVER_ERROR,
/pkg/src/zoneproxy/zoneproxyd/
H A Dzoneproxyd.c1593 daemonize_ready(char status) argument
1598 (void) write(g_pipe_fd, &status, 1);
1609 int status; local
1640 /* forward ready code via exit status */
1643 status = -1;
1644 (void) wait4(pid, &status, 0, NULL);
1646 if (WIFEXITED(status)) {
1648 exit(WEXITSTATUS(status));
/pkg/src/svc/
H A Dsvc-pkg-mirror313 while read publisher sticky syspub enabled ptype status \
/pkg/src/modules/solver/
H A Dsolver.c1167 lbool status = l_Undef; local
1196 while (status == l_Undef){
1212 status = solver_search(s,(int)nof_conflicts, (int)nof_learnts);
1220 return status != l_False;
/pkg/src/modules/client/
H A Drad_pkg.py117 ret_json = {"status": UNANTICIPATED, "errors": [{"reason":
236 status = property(get_any("_status"), set_any("_status")) variable in class:PkgSource
394 elif "status" in out_json:
397 return {"status": ERROR, "errors": [{"reason":
401 return {"status": ERROR, "errors": [{"reason": str(ex)}
421 ret_json = {"status": ERROR, "errors":
442 return {"status": UNANTICIPATED, "errors": [{"reason":
450 out_json = {"status": ERROR, "errors": [{"reason":
453 if out_json["status"] not in [SUCCEED, NO_OP,
455 err_code = out_json["status"]
[all...]
H A Dapi.py308 will be called if the cancellable status of an operation
2955 """Sets the license status for the given package FMRI and
2960 None leaves accepted status unchanged
2961 False sets accepted status to False
2962 True sets accepted status to True
2966 None leaves displayed status unchanged
2967 False sets displayed status to False
2968 True sets displayed status to True"""
4530 def __set_can_be_canceled(self, status):
4537 if self.__can_be_canceled == status
[all...]
H A Dclient_api.py118 props = {"status": {"type": "number"},
123 required = ["status"]
523 def __prepare_json(status, op=None, schema=None, data=None, errors=None):
526 ret_json = {"status": status}
540 newret_json = {"status": EXIT_OOPS,
1040 stat = rval["status"]
1253 if ret["status"] != EXIT_OK:
1363 """Determine verify exit status."""
1402 if ret["status"] !
[all...]
/pkg/src/modules/publish/
H A Dtransaction.py98 if "status" in self._args:
100 "'{trans_id}'; status '{status}': "
103 status=self._args["status"],
/pkg/src/tests/cli/
H A Dt_sysrepo.py1035 def start_response(status, response_headers, exc_info=None):
1037 self.http_status = status
H A Dt_pkg_refresh.py129 host, user, req_time, req, status, clen, ref, agent = \
/pkg/src/tests/
H A Dpkg5unittest.py2343 str += " Expected exit status: {0}. Got: {1:d}.".format(
3243 status = self.get_repo(repodir).get_status()
3244 rdata = status.get("repository", {})
3245 repo_status = rdata.get("status", "")
3249 if pubdata.get("status", "") != "online":
3296 # update license status
3628 status = 0
3630 status = dc.kill()
3634 if status:
3635 self.debug("depot: {0}".format(status))
[all...]
/pkg/src/modules/server/
H A Ddepot.py117 "status",
130 "status",
137 "status",
538 cherrypy.response.status = http_client.NO_CONTENT
1680 response.status = http_client.UNAUTHORIZED
H A Drepository.py634 """Return a dictionary of status information about the
662 "status": rstatus,
851 # if this represents a change in status of the server.
2402 'status_code' an int status code, corresponding to REPO_FIX_*
2501 status = REPO_FIX_ITEM
2507 status = REPO_FIX_FAILED
2511 yield(status, path, message, reason)
3234 """Return a dictionary of status information about the
3252 "status": rstatus, # Overall repository state.
3255 "version": 1, # Version of status structur
[all...]

Completed in 106 milliseconds