Searched defs:ok (Results 1 - 25 of 94) sorted by relevance

1234

/illumos-gate/usr/src/lib/libgen/common/
H A Dgmatch.c76 int ok; local
80 ok = 0;
97 ok++;
106 ok++;
115 ok++;
122 ok++;
126 return (ok ? gmatch(s, p) : 0);
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlc_pacct.c27 ok(int argc, char *argv[], int index, struct acct *acp) function
89 if (argc > index && !ok(argc, argv, index, acp))
H A Dlc_exacct.c47 ok(int argc, char *argv[], int index, uid_t uid, dev_t tty, char *command) function
145 if (argc > index && !ok(argc, argv, index, uid, tty, command))
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dsetenviron.c31 * environ==0 is ok
49 static char ok[] = ""; /* delete/optimization ok return*/ local
117 return ok;
132 return ok;
142 return ok;
/illumos-gate/usr/src/boot/lib/libstand/
H A Duuid_from_string.c52 fromhex(const char *s, int len, int *ok) argument
57 if (!*ok)
63 *ok = 0;
90 int ok = 1; local
106 u->time_low = fromhex(s , 8, &ok);
107 u->time_mid = fromhex(s + 9, 4, &ok);
108 u->time_hi_and_version = fromhex(s + 14, 4, &ok);
110 u->clock_seq_hi_and_reserved = fromhex(s + 19, 2, &ok);
111 u->clock_seq_low = fromhex(s + 21, 2, &ok);
112 u->node[0] = fromhex(s + 24, 2, &ok);
[all...]
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_failfast.c233 uint_t i, ok, cnt; local
243 for (ok = cnt = 0, i = 0; (i < dlp->dl_ndrive); ++i) {
253 ++ok;
257 if ((cnt == 0) || (ok >= ((cnt / 2) + 1))) {
266 mhd_eprintf("%s: failed majority cnt %d ok %d\n",
267 sp->sr_name, cnt, ok);
H A Dmhd_set.c553 uint_t retry, i, ok; local
592 ok = 0;
597 ++ok;
604 if (ok == 0) {
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dutil.c42 bool ok; local
48 ok = true;
54 ok = false;
59 ok = false;
62 if (ok)
/illumos-gate/usr/src/lib/libast/common/cdt/
H A Ddtview.c40 Void_t *o, *n, *ok, *nk; local
66 ok = _DTKEY(o,ky,sz);
69 { cmp = _DTCMP(d,ok,nk,d->disc,cmpf,sz);
77 nk = ok;
149 /* ok */
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dfnmatch.c223 int negate, ok; local
246 ok = 0;
286 ok = 1;
288 ok = 1;
292 return (ok == negate ? RANGE_NOMATCH : RANGE_MATCH);
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DpmOKCancelDialog.java49 public pmOKCancelDialog(Frame f, String title, String msg, boolean ok) { argument
50 this(f, title, msg, null, null, ok);
59 pmTop t, String h, boolean ok) {
64 defaultIsOK = ok;
58 pmOKCancelDialog(Frame f, String title, String msg, pmTop t, String h, boolean ok) argument
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dv3451.c31 int ok; local
93 ok = expect("ON LINE");
95 if (!ok) {
/illumos-gate/usr/src/uts/intel/io/ipmi/
H A Dipmi_kcs.c316 cmn_err(CE_NOTE, "KCS: WRITE_START... ok");
452 int i, ok; local
457 ok = 0;
458 for (i = 0; i < 3 && !ok; i++)
459 ok = kcs_polled_request(sc, req);
460 if (ok)
/illumos-gate/usr/src/cmd/mandoc/
H A Dman_validate.c207 int ok; local
212 ok = 0;
223 ok = 1;
227 ok = 1;
231 ok = 1;
237 if (0 == ok) {
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_eventq.c145 int ok; local
163 if ((ok = eq->eq_size < eq->eq_limit || evt != FMD_EVT_PROTOCOL) != 0) {
174 if (!ok)
184 int ok; local
217 if ((ok = eq->eq_size < eq->eq_limit || evt != FMD_EVT_PROTOCOL) != 0) {
231 if (!ok)
/illumos-gate/usr/src/cmd/acctadm/
H A Dres.c299 int i, j, id, ok; local
316 for (ok = 0, i = 0; (g = ac_groups[i].ag_name) != NULL; i++) {
321 ok = 1;
325 if (ok == 0) {
347 int i, j, ok, id; local
363 ok = 1;
365 ok = 0;
369 if (ok) { /* buf contains this resource group */
377 ok = 0;
/illumos-gate/usr/src/ucbcmd/vipw/
H A Dvipw.c70 int ok = 0; local
111 ok++;
151 ok++;
188 return (ok ? 0 : 1);
256 * return 0 if ok, 1 otherwise
261 int i, ok = 0; local
380 ok++;
383 if (ok)
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_ndd.c430 boolean_t ok; local
453 ok = nd_getset(wq, adapter->nd_data_p, mp);
454 DPRINTF(1, (CE_WARN, "unm_nd_ioctl: get %s", ok ? "OK" :
456 return (ok ? IOC_REPLY : IOC_INVAL);
468 ok = nd_getset(wq, adapter->nd_data_p, mp);
484 ok ? "OK" : "FAIL", iocp->ioc_error,
487 if (!ok)
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_ndd.c410 boolean_t ok; local
436 ok = nd_getset(wq, rgep->nd_data_p, mp);
437 RGE_DEBUG(("rge_nd_ioctl: get %s", ok ? "OK" : "FAIL"));
438 return (ok ? IOC_REPLY : IOC_INVAL);
458 ok = nd_getset(wq, rgep->nd_data_p, mp);
473 ok ? "OK" : "FAIL", iocp->ioc_error,
475 if (!ok)
/illumos-gate/usr/src/lib/passwdutil/
H A Dnis_attr.c462 int ok; local
506 (char *)&yppasswd, xdr_int, (char *)&ok, timeout);
524 switch (ok) {
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauth_des.c405 int ok; local
409 ok = __rpc_get_time_offset(&ad->ad_timediff, ad->ad_nis_srvr,
412 if (!ok) {
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmon.c364 int ok; local
388 ok = (write(fd, (char *)&sum, sizeof (sum)) == sizeof (sum));
390 if (ok) { /* if the hdr went out ok.. */
395 for (ap = &firstAnchor; ok && ap != NULL; ap = ap->next) {
399 ok = (write(fd, p, amt) == amt);
403 if (ok) {
408 ok = (write(fd, p, amt) == amt);
415 return (ok); /* indicate success */
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv.c156 int ok; /* Registered successfully ? */ member in struct:__anon1927
339 service[i].ok = 1;
360 if (service[i].ok == 0 &&
/illumos-gate/usr/src/cmd/eeprom/sparc/
H A Dopenprom.c526 int insist = 0, ok, flags; local
549 ok = 0;
563 ok = 1;
565 ok = 1;
567 ok = 1;
568 if (!ok && insist < 2) {
/illumos-gate/usr/src/cmd/setuname/
H A Dsetuname.c203 int ok; /* Flag, everything okay? */
280 ok = TRUE;
281 for (p = s_arg ; ok && *p ; p++) {
282 if (!isalnum(*p) && (*p != '-') && (*p != '_')) ok = FALSE;
284 if (!ok || (p == s_arg)) {
303 ok = TRUE;
304 for (p = n_arg ; ok && *p ; p++) {
305 if (!isalnum(*p) && (*p != '-') && (*p != '_')) ok = FALSE;
307 if (!ok || (p == n_arg)) {
201 int ok; /* Flag, everything okay? */ local

Completed in 65 milliseconds

1234