Searched refs:result (Results 1 - 25 of 26) sorted by relevance

12

/pkg/src/modules/
H A Dchoose.py16 result = []
25 result.append(name)
26 return result
H A Dp5i.py101 result = []
114 result.append((pub, pkglist))
139 result.append((None, pkglist))
142 return result
H A Dcpiofile.py378 result = []
382 result.append(line)
383 return result
H A Dconfig.py710 result = []
731 result.append(v)
732 return result
1804 status, result = p.returncode, misc.force_str(out)
1807 "{cmd}: {result}".format(**locals()))
1811 for line in result.split("\n"):
H A Dmisc.py2077 # save the result
2303 # save the result
2667 def result(self): member in class:AsyncCall
2814 The "last_res" parameter is a seed to compare the first result against
/pkg/src/tests/api/
H A Dt_async_rpc.py70 ac.result()
75 rv = ac.result()
81 rv = ac.result()
90 ac.result)
94 ac.result)
99 ac.result)
104 ac.result)
113 ac.result)
172 rv = ac.result()
244 self.assertRaises(AsyncCallException, ac.result)
[all...]
H A Dt_progress.py291 result = progress.format_pair(formatstr, item,
293 self.assertEqual(result, expresult,
294 "expected: {0} != result: {1}".format(expresult, result))
H A Dt_history.py167 "result": history.RESULT_SUCCEEDED,
172 "result": history.RESULT_FAILED_UNKNOWN,
177 "result": history.RESULT_CANCELED,
190 h.log_operation_end(result=op_data["result"])
203 "result": he.operation_result
272 # for comparison and verify the expected result was set for
389 result="Failed, Out of Memory" start_time="20090409T165520Z" userid="101"
/pkg/src/modules/client/
H A Dhistory.py43 # Constants for the (outcome, reason) combination for operation result
123 "new_be_exists", "new_be_uuid", "result", "release_notes",
130 if name not in ("result", "errors", "be", "be_uuid",
160 """.format(self.name, self.result, self.start_time, self.end_time,
188 # The new boot environment that was created as a result of the operation
192 # The uuid of the boot environment that was created as a result of the
203 # The result of the operation (must be a list indicating (outcome,
205 result = None variable
213 operation result of the form (outcome, reason)."""
239 if not self.start_time or not self.result
[all...]
H A Dpkgremote.py471 def result(self): member in class:PkgRemote
472 """Public interface to get the result of a remote packaging
487 self.__debug_msg("result()")
492 rvtuple = self.__async_rpc_caller.result()
H A Dclient_api.py647 # invalid as a result of publisher information
712 result=RESULT_NOTHING_TO_DO)
720 result=RESULT_NOTHING_TO_DO)
737 result=RESULT_NOTHING_TO_DO)
740 result=RESULT_NOTHING_TO_DO)
762 result=RESULT_FAILED_BAD_REQUEST)
823 api_inst.log_operation_end(result=RESULT_NOTHING_TO_DO)
1666 information. This is likely the result of a repository configuration
1724 # When multiple publishers result from a single -p
3012 result
[all...]
H A Dapi.py122 # History result constants.
425 # result is a composite of the package data already known
591 that should result in a call to self.log_operation_end()
737 def abort(self, result=RESULT_FAILED_UNKNOWN):
749 self._img.history.abort(result)
1090 will result in a call to self.log_operation_end() before
1101 result=RESULT_CONFLICTING_ACTIONS)
1524 result=RESULT_NOTHING_TO_DO)
2382 image name objects and the values are the result of the
2383 specified operation on the associated child image. The result
[all...]
H A Dimageplan.py1616 verify result."""
1773 result = "OK"
1781 # an overall success/failure result and then the
1794 result = "ERROR"
1813 result = "WARNING"
1825 msg_level, _("{pkg_name:70} {result:>7}").format(
1827 result=result))
3410 # result of _check_preserve().
4578 # repairs may result i
[all...]
H A Dimage.py1241 # in result, and temporarily enable any
2875 result=history.RESULT_NOTHING_TO_DO)
2940 result=history.RESULT_NOTHING_TO_DO)
3146 # offsets files and the result of loading it isn't
/pkg/src/svc/
H A Dsvc-pkg-mirror473 result=$SMF_EXIT_OK
476 result=$SMF_EXIT_ERR_FATAL
483 result=$SMF_EXIT_OK
486 result=$SMF_EXIT_ERR_FATAL
537 result=$SMF_EXIT_OK
542 result=$SMF_EXIT_ERR_FATAL
547 exit $result
H A Dsvc-pkg-repositories-setup33 result=$SMF_EXIT_ERR_FATAL
/pkg/src/tests/
H A Dbaseline.py36 """Test result baseline recording and checking. """
48 # List of tuples (name, result) for failed tests
50 # dict of "test name" -> "result"
54 """Add a result if we're generating the baseline file,
55 otherwise check it against the current result set.
56 Returns a value to indicate whether the result matched
70 # have a result in baseline, is that the test should pass.
81 and their result.
90 for name, result in lst:
91 print("{0}: {1}".format(name, result), fil
[all...]
H A Dpkg5unittest.py718 def run(self, result=None):
720 if result is None:
721 result = self.defaultTestResult()
723 result.startTest(self)
725 if getattr(result, "coverage", None) is not None:
726 self.coverage_cmd, self.coverage_env = result.coverage
747 result.addError(self, sys.exc_info())
756 result.addFailure(self, sys.exc_info())
761 result.addSkip(self, err)
764 result
[all...]
/pkg/src/modules/server/
H A Dapi.py483 for result in results:
488 if result[1] == qp.Query.RETURN_PACKAGES:
489 pfmri = result[2]
490 elif result[1] == qp.Query.RETURN_ACTIONS:
491 pfmri = result[2][0]
498 result[1] == qp.Query.RETURN_PACKAGES:
502 stem = result[2].pkg_name
510 yield result
514 result = next(results)
518 return_type = result[
[all...]
/pkg/src/modules/actions/
H A D_common.c265 PyObject *result = NULL; local
270 if ((result = _generic_init_common(action, data, attrs)) != NULL)
271 Py_DECREF(result);
/pkg/src/util/apache2/sysrepo/
H A Dsysrepo_p5p.py384 result = sysrepo.execute()
385 return result, sysrepo
420 result, closeable = self.__application(environ, start_response)
421 return CloseGenerator(result, closeable)
/pkg/src/
H A Dclient.py1209 msg(_("{pkg_name:70} {result:>7}").format(
1211 result=_("STATUS")))
1243 msg(_("{pkg_name:70} {result:>7}"
1245 result=_("STATUS")))
1337 # Message print for package verification result.
2778 """Given a result from search, massages the information into a form
2791 the result was obtained."""
2801 error(_("The repository returned a malformed result.\n"
2945 "result:{0!r}").format(
3413 result variable
3423 result=RESULT_FAILED_BAD_REQUEST) variable
3430 result=RESULT_NOTHING_TO_DO) variable
[all...]
H A Dsysrepo.py607 result = urlparse(val)
608 if result.scheme != "http":
611 if not result.netloc:
/pkg/src/tests/cli/
H A Dt_pkgrepo.py938 result = list(e for e in [r for r in repo.search([query])][0])
948 # result has to be stringified.
949 result = [list(e) for e in expected]
950 for e in result:
953 self.assertEqualDiff(expected, result)
977 result = list(
1147 result = list(e for e in [r for r in repo.search([query])][0])
1157 # result has to be stringified.
1158 result = [list(e) for e in expected]
1159 for e in result
[all...]
/pkg/src/zoneproxy/zoneproxyd/
H A Dzoneproxyd.c1027 ctid_t result; local
1040 result = ct_status_get_id(st);
1047 *id = result;

Completed in 114 milliseconds

12