Home
last modified time | relevance | path

Searched refs:ui (Results 1 – 25 of 58) sorted by relevance

123

/titanic_50/usr/src/tools/onbld/hgext/
H A Dcdm.py113 def yes_no(ui, msg, default): argument
122 index = ui.promptchoice(msg + prompt, ['&yes', '&no'],
126 resp = ui.prompt(msg + prompt, ['&yes', '&no'], default=defanswer)
208 def reposetup(ui, repo): argument
212 if ui.interactive() and sys.stdin.isatty():
213 ui.setconfig('hooks', 'preoutgoing.cdm_pbconfirm',
217 def pbconfirm(ui, repo, hooktype, source): argument
222 if not yes_no(ui, "Are you sure you wish to push?", False):
232 def cdm_pdiffs(ui, repo, *pats, **opts): argument
256 opts = patch.diffopts(ui, opts)
[all …]
/titanic_50/usr/src/lib/libast/common/features/
H A Dlimits.c91 unsigned int ui; in main() local
122 ui = 0; in main()
123 ui = ~ui; in main()
190 if (ui == us) in main()
207 val = ui; in main()
216 val = (unsigned int)(ui >> 1) + 1; in main()
217 if (ui == ul) printf("#define INT_MIN (-%lu-1)\n", val - 1); in main()
222 val = (unsigned int)(ui >> 1); in main()
227 if (ul == ui) in main()
/titanic_50/usr/src/cmd/isns/isnsd/
H A Ddd.c111 len = lcp->data[1].ui; in cb_update_ds_attr()
143 attr->value.ui != lcp->data[1].ui) { in cb_update_ds_attr()
146 attr->value.ui = lcp->data[1].ui; in cb_update_ds_attr()
244 if (attr1->tag != 0 && attr1->value.ui != 0) { in get_member_info()
245 *m_id = attr1->value.ui; in get_member_info()
248 lc.data[i].ui = *m_id; in get_member_info()
300 attr1->value.ui = tmp_id; in get_member_info()
677 return (DDS_ENABLED(attr->value.ui) ? 1 : 0); in cb_get_dds_status()
878 lcp->data[i].ui = attr->value.ui; in cb_clone_attrs()
907 lcp->data[i].ui = attr->value.ui; in cb_clone_attrs()
[all …]
H A Dadmintf.c168 switch (attr->value.ui) { in cb_get_node_info()
209 if (IS_SCN_INIT_SELF_INFO_ONLY(attr->value.ui)) { in cb_get_node_info()
216 if (IS_SCN_TARGET_SELF_INFO_ONLY(attr->value.ui)) { in cb_get_node_info()
223 if (IS_SCN_MGMT_REG(attr->value.ui)) { in cb_get_node_info()
230 if (IS_SCN_OBJ_REMOVED(attr->value.ui)) { in cb_get_node_info()
237 if (IS_SCN_OBJ_ADDED(attr->value.ui)) { in cb_get_node_info()
244 if (IS_SCN_OBJ_UPDATED(attr->value.ui)) { in cb_get_node_info()
251 if (IS_SCN_MEMBER_REMOVED(attr->value.ui)) { in cb_get_node_info()
258 if (IS_SCN_MEMBER_ADDED(attr->value.ui)) { in cb_get_node_info()
313 (void) sprintf(numbuf, "%u", attr->value.ui); in cb_get_entity_info()
[all …]
H A Dobj.c455 (ISNS_PORTAL_PORT_ATTR_ID)].value.ui; in portal_hval()
460 port = lcp->data[1].ui; in portal_hval()
513 (ISNS_PG_PORTAL_PORT_ATTR_ID)].value.ui; in pg_hval()
526 port = lcp->data[1].ui; in pg_hval()
665 uint32_t uid = attr->value.ui; in get_obj_uid()
693 attr->value.ui = uid; in set_obj_uid()
1231 match = (lcp->data[i].ui == attr->value.ui); in key_cmp()
1282 lcp->data[i].ui = obj->attrs[id].value.ui; in set_lookup_ctrl()
1373 if (attr->value.ui != 0) { in assign_attr()
1393 attr->value.ui = tmp->value.ui; in assign_attr()
[all …]
H A Desi.c236 if (attr->tag != 0 && attr->value.ui != 0) { in cb_portal_uids()
237 lcp->data[2].ui = attr->value.ui; in cb_portal_uids()
240 lcp->data[2].ui = INFINITY - 1; in cb_portal_uids()
279 esip = lcp->data[2].ui; in cb_esi_portal()
283 lcp->data[0].ui = attr->value.ui; in cb_esi_portal()
286 if (attr->tag != 0 && attr->value.ui != 0) { in cb_esi_portal()
287 intval = attr->value.ui; in cb_esi_portal()
330 lc.data[2].ui = INFINITY - 1; in extract_esi_portal()
335 *intval = lc.data[2].ui; in extract_esi_portal()
343 lc.data[0].ui = uid; in extract_esi_portal()
[all …]
H A Dqry.c165 isns_type_t type = lcp->data[1].ui; in cb_qry_child_uids()
202 lcp->data[1].ui = type; in e2c()
222 lcp->data[1].ui = 0; in e2c()
266 uint32_t ds_id = lcp->data[0].ui; in qry_ds2m()
312 uid = lcp->data[0].ui; in qry_slf()
354 lc.data[0].ui = uid; in qry_e2g()
357 if (puid == lcp->data[0].ui) { in qry_e2g()
423 uint32_t uid = lcp->data[0].ui; in qry_i2d()
460 lc.data[1].ui = lcp->data[2].ui; in qry_p2g()
479 lcp->data[2].ui = 0; in qry_p2g()
[all …]
H A Dcache.c368 (lcp->op[0] == OP_INTEGER) ? lcp->data[0].ui : 0, in cache_lookup()
396 (lcp->op[0] == OP_INTEGER) ? lcp->data[0].ui : 0, in cache_rekey()
448 (lcp->op[0] == OP_INTEGER) ? lcp->data[0].ui : 0, in cache_remove()
H A Disns_server.h158 uint32_t ui; member
168 (LCP)->data[0].ui = UID;\
176 (LCP)->data[0].ui = UID;\
188 uint32_t ui; member
/titanic_50/usr/src/cmd/lp/lib/papi/
H A Dppd.c95 int ui = 0; in PPDFileToAttributesList() local
133 ui = 1; in PPDFileToAttributesList()
137 ui = 0; in PPDFileToAttributesList()
151 } else if ((strncasecmp(key, "Default", 7) == 0) && ui) { in PPDFileToAttributesList()
155 } else if ((strcasecmp(key, capability) == 0) && ui) { in PPDFileToAttributesList()
/titanic_50/usr/src/lib/librpcsvc/common/
H A Drusersxdr.c93 xdr_utmpidle(xdrsp, ui) in xdr_utmpidle() argument
95 struct utmpidle *ui;
97 if (xdr_ru_utmp(xdrsp, &ui->ui_utmp) == FALSE)
99 if (xdr_u_int(xdrsp, &ui->ui_idle) == FALSE)
/titanic_50/usr/src/cmd/svr4pkg/pkgadm/
H A Daddcert.c454 UI *ui = NULL; in verify_trust() local
465 if ((ui = UI_new()) == NULL) { in verify_trust()
476 if (UI_add_input_boolean(ui, MSG_VERIFY_TRUST, in verify_trust()
485 if (UI_process(ui) != 0) { in verify_trust()
501 UI_free(ui); in verify_trust()
502 if ((ui = UI_new()) == NULL) { in verify_trust()
508 if (UI_add_input_boolean(ui, in verify_trust()
517 if (UI_process(ui) != 0) { in verify_trust()
530 if (ui != NULL) in verify_trust()
531 UI_free(ui); in verify_trust()
/titanic_50/usr/src/tools/onbld/Scm/
H A DWorkSpace.py594 self.ui = self.repo.ui
605 return self.ui.expandpath(spec)
607 p = self.ui.expandpath('default')
637 self.ui.warn('The current branch has more than one head, '
697 self.ui.pushbuffer()
700 ui = self.ui
702 ui = cmdutil.remoteui(ui, {})
703 pws = hg.repository(ui, parent)
709 self.ui.warn("Warning: Parent workspace '%s' is not "
714 self.ui.popbuffer()
[all …]
H A DBackup.py231 self.ws.ui.warn('Workspace has no parent, committed changes will '
433 fuzz = patch.patch(diff, self.ws.ui, strip=1,
442 cmdutil.updatedir(self.ws.ui, self.ws.repo, files)
444 patch.updatedir(self.ws.ui, self.ws.repo, files)
786 def __init__(self, ui, ws, name): argument
788 self.ui = ui
819 if self.ui.config('cdm', 'backupdir'):
820 backupbase = os.path.expanduser(self.ui.config('cdm', 'backupdir'))
920 self.ws.ui.warn("Interrupted\n")
922 self.ws.ui.warn("Error: %s\n" % e)
[all …]
/titanic_50/usr/src/cmd/tzreload/
H A Dtzreload.c285 uint_t ui, nzents, onzents; in walk_zones() local
342 for (ui = 0; ui < nzents; ui++) { in walk_zones()
343 if (zone_getattr(zids[ui], ZONE_ATTR_BRAND, zbrand, in walk_zones()
352 if (getzonenamebyid(zids[ui], zname, sizeof (zname)) < 0) { in walk_zones()
358 if (zids[ui] == GLOBAL_ZONEID) { in walk_zones()
/titanic_50/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/
H A Dkeyspan_dsd.c2799 uint_t ui; in keyspan_build_cmd_msg_usa19hs() local
2833 ui = pe->val.ui; in keyspan_build_cmd_msg_usa19hs()
2839 if ((ui >= NELEM(keyspan_speedtab_usa19hs)) || in keyspan_build_cmd_msg_usa19hs()
2840 ((ui > 0) && (keyspan_speedtab_usa19hs[ui] == 0))) { in keyspan_build_cmd_msg_usa19hs()
2844 " bad baud %d", ui); in keyspan_build_cmd_msg_usa19hs()
2850 if (kp->kp_baud == keyspan_speedtab_usa19hs[ui]) { in keyspan_build_cmd_msg_usa19hs()
2855 keyspan_speed2baud[ui]); in keyspan_build_cmd_msg_usa19hs()
2863 ctrl_msg->baudLo = keyspan_speedtab_usa19hs[ui] & 0xff; in keyspan_build_cmd_msg_usa19hs()
2864 ctrl_msg->baudHi = (keyspan_speedtab_usa19hs[ui] >> 8) in keyspan_build_cmd_msg_usa19hs()
2872 keyspan_speed2baud[ui]); in keyspan_build_cmd_msg_usa19hs()
[all …]
/titanic_50/usr/src/uts/common/io/usb/clients/hidparser/
H A Dhidparser.c173 hidparser_usage_info_t *ui,
922 hidparser_usage_info_t *ui; in hidparser_get_usage_list_in_order_internal() local
1051 ui = &(rpt->usage_descr[i]); in hidparser_get_usage_list_in_order_internal()
1053 hidparser_fill_usage_info(ui, in hidparser_get_usage_list_in_order_internal()
1056 ui->rptcnt /= found_usage; in hidparser_get_usage_list_in_order_internal()
1057 ui->collection_usage = collection_usage; in hidparser_get_usage_list_in_order_internal()
1058 ui->usage_id = HID_USAGE_ID( in hidparser_get_usage_list_in_order_internal()
1068 ui->usage_page = in hidparser_get_usage_list_in_order_internal()
1087 ui->usage_min = HID_USAGE_ID( in hidparser_get_usage_list_in_order_internal()
1089 ui->usage_max = HID_USAGE_ID( in hidparser_get_usage_list_in_order_internal()
[all …]
/titanic_50/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_parse.c65 uint64_t ui; in tf_rdata_new() local
82 if (xmlattr_to_int(mp, n, Min, &ui) < 0) in tf_rdata_new()
84 r->rd_min = (int)ui; in tf_rdata_new()
85 if (xmlattr_to_int(mp, n, Max, &ui) < 0) in tf_rdata_new()
87 r->rd_max = (int)ui; in tf_rdata_new()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute_aux.c198 struct udpiphdr *ui; in send_probe() local
285 ui = (struct udpiphdr *)outip; in send_probe()
286 ui->ui_next = 0; in send_probe()
287 ui->ui_prev = 0; in send_probe()
288 ui->ui_x1 = 0; in send_probe()
289 ui->ui_len = outudp->uh_ulen; in send_probe()
291 outudp->uh_sum = in_cksum((ushort_t *)ui, packlen); in send_probe()
/titanic_50/usr/src/cmd/sh/
H A Dblok.c200 uint32_t *ui, *eui; in fill_pat() local
204 for (ui = (uint32_t *)(ptr + 1); ui < eui; ui++) in fill_pat()
205 *ui = pat; in fill_pat()
/titanic_50/usr/src/tools/scripts/
H A Dhg-active.py47 from mercurial import error, hg, ui, util
80 repository = hg.repository(ui.ui(), wspath)
/titanic_50/usr/src/common/hdcrc/
H A Dhd_crc.h255 uint_t ui = 0; in hd_crc32_avail()
257 (void) getisax(&ui, 1); in hd_crc32_avail()
259 if (!(ui & AV_386_SSE4_2)) { in hd_crc32_avail()
/titanic_50/usr/src/common/crypto/arcfour/
H A Darcfour_crypt.c245 uint_t ui; in arcfour_crypt_on_intel()
247 (void) getisax(&ui, 1); in arcfour_crypt_on_intel()
248 cached_result = ((ui & AV_386_AMD_MMX) == 0); in arcfour_crypt_on_intel()
/titanic_50/usr/src/lib/libnsl/rpc/
H A Dxdr.c219 uint32_t ui; in xdr_u_long() local
227 ui = (uint32_t)*ulp; in xdr_u_long()
228 return (XDR_PUTINT32(xdrs, (int32_t *)&ui)); in xdr_u_long()
230 if (!XDR_GETINT32(xdrs, (int32_t *)&ui)) in xdr_u_long()
232 *ulp = (ulong_t)ui; in xdr_u_long()
/titanic_50/usr/src/cmd/luxadm/
H A Dlux_util.c983 if (inq.inq_SIP_1 || inq.ui.inq_3.inq_SIP_2 || in print_inq_data()
984 inq.ui.inq_3.inq_SIP_3) { in print_inq_data()
986 inq.inq_SIP_1, inq.ui.inq_3.inq_SIP_2, in print_inq_data()
987 inq.ui.inq_3.inq_SIP_3); in print_inq_data()
993 if (inq.ui.inq_2.inq_2_reladdr) { in print_inq_data()
1001 if (inq.ui.inq_2.inq_wbus32) { in print_inq_data()
1008 if (inq.ui.inq_2.inq_wbus16) { in print_inq_data()
1015 if (inq.ui.inq_2.inq_sync) { in print_inq_data()
1023 if (inq.ui.inq_2.inq_linked) { in print_inq_data()
1032 if (inq.ui.inq_3.inq_trandis != NULL) { in print_inq_data()
[all …]

123