/pkg/src/modules/ |
H A D | mediator.py | 147 res = misc.cmp(aprio, bprio) 148 if res != 0: 149 return res 153 res = misc.cmp(aver, bver) 154 if res != 0: 156 return res * -1 160 res = misc.cmp(aimpl, bimpl) 161 if res != 0: 162 return res 164 res [all...] |
H A D | p5s.py | 54 res = [] 74 res.append(r) 75 return res 172 res = [] 177 res.append(m.uri) 184 res.append(m.uri) 190 res.append("http://{0}/{1}/{2}".format( 208 for item in res:
|
H A D | variant.py | 127 res = self.difference(var) 128 return not res.type_diffs and not res.value_diffs 131 res = VCTDifference([], []) 134 res.type_diffs.append(k) 137 res.value_diffs.append((k, v)) 138 return res 225 res = set(self.__combinations) 227 self.__sat_set = res 229 self.__not_sat_set = res [all...] |
H A D | search_storage.py | 268 res = [] 294 res.append((action_type, at_res)) 295 return tok, res 325 res = "{0}".format(quote(str(token))) 328 res += "{0}{1}".format(sep_chars[0], action_type) 331 res += "{0}{1}".format(sep_chars[1], subtype) 334 res += "{0}{1}".format(sep_chars[2], 338 res += "{0}{1}".format(sep_chars[3], 341 res += "{0}{1}".format( 344 return res [all...] |
H A D | _varcet.c | 45 PyObject *res = NULL; local 70 if ((res = PyObject_GetAttrString(facets, "_Facets__res")) == NULL) { 79 Py_DECREF(res); 98 PyObject *re = PyDict_GetItem(res, key);
|
H A D | indexer.py | 192 res = ss.consistent_open(self._data_dict.values(), directory, 195 if res == None: 199 self.file_version_number = res 515 res = None 524 if res is None: 525 res = new_info 527 self.__splice(res, 541 assert res is not None 549 yield min_token, res 839 res [all...] |
H A D | fmri.py | 377 res = names[-1:] 379 res.append("{0}/{1}".format(n, res[-1])) 380 return res
|
/pkg/src/modules/client/ |
H A D | indexer.py | 59 res = \ 62 if res is not None and \ 65 res = None 69 return res is not None
|
H A D | api_errors.py | 454 res = [] 459 res += [s] 460 res += ["\t{0}".format(p) for p in self.unmatched_fmris] 465 res.append(s.format(p)) 467 res.append("\t{0}".format(pfmri)) 471 res += [ s.format(p) for p in self.illegal ] 476 res += [s] 478 res += [ 483 return "\n".join(res) 556 res [all...] |
H A D | imageconfig.py | 1330 res = {} 1332 res[p] = sys_cfg.publishers[p] 1335 if p.prefix in res: 1337 srepo = res[p.prefix].repository 1351 res[p.prefix] = p 1361 added_pubs = [res[p] for p in added_pubs] 1370 return (res, added_pubs, removed_pubs, modified_pubs) 1457 res = self.sys_cfg.get_property(section, name) 1459 p for p in res 1467 p for p in res [all...] |
/pkg/src/tests/api/ |
H A D | t_misc.py | 162 res = int(subprocess.check_output(['python2.7', tmpfile])) 164 res *= 1024 167 self.debug("proc size: " + str(res)) 169 self.assertTrue(res < mem_cap + mem_tol, 171 self.assertTrue(res > mem_cap - mem_tol, 176 res = int(subprocess.check_output(['python2.7', tmpfile])) 177 res *= 1024 180 self.debug("proc size: " + str(res)) 182 self.assertTrue(res < mem_cap * 2 + mem_tol, 184 self.assertTrue(res > mem_ca [all...] |
H A D | t_api_info.py | 171 res = pis[0] 172 self.assertTrue(api.PackageInfo.INSTALLED in res.states) 173 self.assertTrue(len(res.category_info_list) == 1) 174 self.assertEqual(res.summary, "Ye Olde Summary") 175 self.assertEqual(res.description, None) 182 res = pis[0] 183 self.assertTrue(api.PackageInfo.INSTALLED not in res.states) 184 self.assertTrue(len(res.category_info_list) == 0) 185 self.assertEqual(res.summary, "Amber's Actual Summary") 186 self.assertEqual(res [all...] |
H A D | t_api_refresh.py | 83 res = api_obj.get_pkg_list(LIST_ALL) 84 self.assertEqual(len(list(res)), 0) 139 res = api_obj.get_pkg_list(LIST_ALL) 140 self.assertEqual(len(list(res)), 0) 154 res = api_obj.get_pkg_list(LIST_ALL) 155 self.assertEqual(len(list(res)), 1) 166 res = api_obj.get_pkg_list(LIST_ALL) 167 self.assertEqual(len(list(res)), 0) 177 res = api_obj.get_pkg_list(LIST_ALL) 178 self.assertEqual(len(list(res)), [all...] |
H A D | t_dependencies.py | 1166 def _check_results(res): 1167 ds, es, ms, pkg_attrs = res 1232 def _check_res(res): 1233 ds, es, ms, pkg_attrs = res 1303 def _check_res(res): 1304 ds, es, ms, pkg_attrs = res 1336 def _check_all_res(res): 1337 ds, es, ms, pkg_attrs = res 1375 def _check_all_res(res): 1376 ds, es, ms, pkg_attrs = res [all...] |
/pkg/src/modules/flavor/ |
H A D | depthlimitedmf.py | 190 res = [] 196 res.extend(self.scan_code(co, m)) 203 return res 208 res = [] 229 res.extend(self._safe_import_hook(name, m, 234 res.extend(self._safe_import_hook(name, 239 res.extend(self._safe_import_hook( 249 res.extend(self.scan_code(c, m)) 250 return res 257 res [all...] |
H A D | elf.py | 122 res = [] 143 res.extend(rec_res) 146 res.append(p) 147 return res, elist 245 res = [] 265 res.append(ElfDependency(action, fn, pathlist, pkg_vars, 268 return res, elist, {}
|
H A D | base.py | 351 res = [] 359 res = [] 369 res.append((p, res_vc)) 370 return res 376 res.extend(process_path(path_to_check)) 385 res.extend(process_path(path_to_check)) 386 return res
|
/pkg/src/zoneproxy/zoneproxy-client/ |
H A D | zoneproxy-client.c | 101 zp_perror(int res) argument 103 if (res == ZP_STATUS_PERMISSION) { 106 } else if (res == ZP_STATUS_INVALID) { 109 } else if (res == ZP_STATUS_ERROR) { 112 } else if (res == ZP_STATUS_UNKNOWN) { 115 } else if (res != ZP_STATUS_OK) { 125 int *res; local 161 res = (int *)dparam.data_ptr; 163 if (res[1] != ZP_STATUS_OK) { 164 zp_perror(res[ 176 int *res; local 220 int *res; local [all...] |
/pkg/src/modules/portable/ |
H A D | os_sunos.py | 61 res = subprocess.Popen(["/usr/bin/file", "-f", t_path], 64 assert(len(actions) == len(res)) 65 for i, file_out in enumerate(res):
|
/pkg/src/modules/publish/ |
H A D | dependencies.py | 293 res = [] 305 res.extend(tmp) 306 return res 322 res = [] 362 res.append(d) 363 return res, errs 872 res = [] 936 res.append((actions.depend.DependencyAction(**attrs), vc)) 938 res.extend(link_deps) 941 for d, v in res [all...] |
/pkg/src/util/publish/ |
H A D | pkgdiff.py | 251 res = misc.cmp(a.attrs[a.key_attr], b.attrs[b.key_attr]) 252 if res: 253 return res 255 res = misc.cmp(sorted(list(a.get_variant_template())), 257 if res: 258 return res 260 res = misc.cmp(a.ordinality, b.ordinality) 261 if res: 262 return res
|
/pkg/src/modules/actions/ |
H A D | signature.py | 189 res = generic.Action.get_size(self) 191 res += int(s) 192 return res 195 res = 0 197 res += int(s) 198 return res 546 res = [] 548 res.append((self.name, "certificate", self.hash, 550 res.append((self.name, "algorithm", 552 res [all...] |
H A D | _common.c | 119 PyObject *res = PyObject_CallMethod(action, "set_data", "(O)", local 121 if (res == NULL) 123 Py_DECREF(res);
|
/pkg/src/tests/ |
H A D | pkg5unittest.py | 532 res = wrapper.wrap(" ".join(cmdline).strip()) 534 res = wrapper.wrap(cmdline.strip()) 535 self.debug(" \\\n".join(res)) 1114 def __init__(self, res): 1115 self.errors = [(str(test), err) for test, err in res.errors] 1116 self.failures = [(str(test), err) for test, err in res.failures] 1117 self.mismatches = len(res.mismatches) 1118 self.num_successes = len(res.success) 1119 self.skips = res.skips 1120 self.testsRun = res [all...] |
H A D | run.py | 339 res = 0 341 res += pkg5unittest.Pkg5TestRunner.\ 345 return res 504 res = runner.run(suite_list, jobs, port, variable 515 if res.mismatches:
|