Searched defs:res (Results 376 - 400 of 764) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libnsl/key/
H A Dpublickey.c234 char *res; local
246 while ((res = fgets(buf, WORKBUFSIZE, fd)) != NULL) {
248 if ((res[0] == '#') || (res[0] == '\n'))
553 int needfree = 1, res, err; local
570 res = getkeys_ldap_g(&err, (char *)netname,
576 res = getkeys_nis(&err, (char *)netname, pkey,
580 res = getkeys_files(&err, (char *)netname, pkey,
586 res = 0;
595 return ((res
636 int needfree = 1, res, err; local
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_dg.c278 int res; /* result of operations */ local
499 res = t_rcvudata(cu->cu_fd, cu->cu_tr_data, &moreflag);
506 res = -1;
515 } while (res < 0 && (t_errno == TSYSERR && errno == EINTR));
516 if (res < 0) {
/illumos-gate/usr/src/lib/libproject/common/
H A Dsetproject.c766 int res; local
771 res = __init_suid_priv(0, taskpriv, rctlpriv, poolpriv,
774 res = __init_suid_priv(0, taskpriv, rctlpriv, (char *)NULL);
777 if (res != 0)
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Ddns_nw.c65 struct __res_state * res; member in struct:pvt
86 struct __res_state *res,
141 if (pvt->res && pvt->free_res)
142 (*pvt->free_res)(pvt->res);
161 RES_SET_H_ERRNO(pvt->res, NETDB_INTERNAL);
179 RES_SET_H_ERRNO(pvt->res, NETDB_INTERNAL);
202 if (pvt->res)
203 res_nclose(pvt->res);
210 if (!pvt->res) {
211 struct __res_state *res; local
225 nw_res_set(struct irs_nw *this, struct __res_state *res, void (*free_res)(void *)) argument
[all...]
H A Dlcl_ho.c113 struct __res_state *res; member in struct:pvt
138 struct __res_state *res,
195 if (pvt->res && pvt->free_res)
196 (*pvt->free_res)(pvt->res);
209 if (pvt->res->options & RES_USE_INET6) {
245 RES_SET_H_ERRNO(pvt->res, HOST_NOT_FOUND);
248 RES_SET_H_ERRNO(pvt->res, NETDB_SUCCESS);
280 RES_SET_H_ERRNO(pvt->res, NETDB_INTERNAL);
285 RES_SET_H_ERRNO(pvt->res, NETDB_INTERNAL);
316 RES_SET_H_ERRNO(pvt->res, HOST_NOT_FOUN
461 struct __res_state *res; local
475 ho_res_set(struct irs_ho *this, struct __res_state *res, void (*free_res)(void *)) argument
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dhsearch.c150 ENTRY *res; /* Result of hsearch */ local
188 res = hsearch(*new, ENTER);
190 if(res == (ENTRY *) 0)
194 printf("Key = %s, Value = %d\n", res->key, *res->data);
376 int res; /* Result of string comparison */ local
391 while(p != NULL && (res = STRCMP(item.key, p->item.key))) {
397 if(p != NULL && res == 0) /* Item has been found */
/illumos-gate/usr/src/lib/libc/amd64/unwind/
H A Dunwind.c180 _Unwind_Reason_Code res = _URC_CONTINUE_UNWIND; local
187 return (res);
294 _Unwind_Reason_Code res; local
301 res = (*ctx_who(ctx))(1, phase,
304 if (res != _URC_CONTINUE_UNWIND)
309 switch (res) {
314 return (res);
329 res = (*ctx_who(ctx))(1, phase,
332 if ((phase & _UA_HANDLER_FRAME) && res != _URC_INSTALL_CONTEXT)
334 if (res !
367 _Unwind_Reason_Code res; local
484 uint64_t res = 0; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dhsearch.c151 ENTRY *res; /* Result of hsearch */ local
188 res = hsearch(*new, ENTER);
190 if (res == (ENTRY *) 0)
194 printf("Key = %s, Value = %d\n", res->key, *res->data);
418 int res; /* Result of string comparison */ local
433 while (p != NULL && (res = STRCMP(item.key, p->item.key))) {
439 if (p != NULL && res == 0) /* Item has been found */
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/
H A Dclientinit.c873 LDAPMessage *res; local
880 rc = ldap_result( ld, msgid, 1, (struct timeval *) NULL, &res );
886 ldap_msgfree( res );
891 rc = ldap_parse_extended_result( ld, res, &extresp_oid, &extresp_data, 0 );
894 ldap_msgfree( res );
903 ldap_msgfree( res );
913 rc = ldap_parse_result( ld, res, NULL, NULL, NULL, referralsp, NULL, 0 );
915 ldap_msgfree( res );
943 ldap_msgfree( res );
/illumos-gate/usr/src/lib/libmapid/common/
H A Dmapid.c188 struct __res_state res; local
198 res = s_res;
201 len = strlen(res.defdname) + 1;
204 (void) snprintf(s_dname, len, "%s", res.defdname);
208 (void) snprintf(sysdns_domain, len, "%s", res.defdname);
229 struct __res_state res; local
234 res = s_res;
242 if ((len = res_nsearch(&res, NFSMAPID_DNS_RR, class, type,
/illumos-gate/usr/src/cmd/ypcmd/mknetid/
H A Dmknetid.c340 int res; local
342 if (!sscanf(str, "%d", &res)) {
345 return (res);
/illumos-gate/usr/src/common/crypto/modes/
H A Dgcm.c58 extern void gcm_mul_pclmulqdq(uint64_t *x_in, uint64_t *y, uint64_t *res);
71 * multiply operator) on *x_in and *y and place the result in *res.
73 * Byte swap the input (*x_in and *y) and the output (*res).
75 * Note: x_in, y, and res all point to 16-byte numbers (an array of two
79 gcm_mul(uint64_t *x_in, uint64_t *y, uint64_t *res) argument
84 gcm_mul_pclmulqdq(x_in, y, res);
114 res[0] = htonll(z.a);
115 res[1] = htonll(z.b);
/illumos-gate/usr/src/head/
H A Dfenv.h180 fex_numeric_t op1, op2, res; /* operands and result */ member in struct:__anon2256
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_nswconfig.c774 nss_backend_constr_t res = NULL; local
796 res = (nss_backend_constr_t)sym;
799 return (res);
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dfuncs.c112 const char *res; local
134 (res = keys[i].check(value)) != NULL) {
135 errmsg(M_INVALID, res, keys[i].errstr);
396 const char *res; local
398 tmp = priv_str_to_set(pset, ",", &res);
401 res = NULL;
403 } else if (res == NULL)
404 res = strerror(errno);
406 return (res);
/illumos-gate/usr/src/cmd/pfexecd/
H A Dpfexecd.c238 priv_set_t *res; local
240 if ((res = priv_str_to_set(s, ",", NULL)) == NULL) {
245 return (res);
252 priv_set_t *res = vres; local
263 priv_union(tmp, res);
278 priv_set_t *res; local
285 res = priv_allocset();
286 if (res == NULL)
289 priv_emptyset(res);
291 (void) _enum_profs(pwd->pw_name, ggp_callback, NULL, res);
302 void *res = alloca(setsz); local
338 uint32_t res; local
352 pfexec_reply_t *res = alloca(repsz); local
[all...]
/illumos-gate/usr/src/cmd/powertop/common/
H A Ddisplay.c403 double total_pstates = 0.0, avg, res; local
409 res = (((double)g_cstate_info[0].total_time / g_total_c_time))
411 (void) sprintf(c, "C0 (cpu running)\t\t(%.1f%%)\n", (float)res);
425 res = ((double)g_cstate_info[i].total_time/
429 i, (float)avg, (float)res);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Doutput.c110 int res; local
179 res = sendtoif(rip_sock, buf, size, flags, &sin, ifindex);
180 if (res < 0 && (ifp == NULL || !(ifp->int_state & IS_BROKE))) {
189 return (res);
251 struct auth *ap, *res = NULL; local
272 if (res == NULL ||
273 (((ulong_t)ap->end > (ulong_t)res->end)) &&
274 ((ulong_t)res->end < (ulong_t)clk.tv_sec))
275 res = ap;
280 if (res
[all...]
/illumos-gate/usr/src/cmd/lvm/rpc.mdcommd/
H A Dmdmn_subr.c245 md_mn_result_t *res)
247 mdmn_master_table[setno][class].wtm_result = res;
459 dump_result(uint_t dbc, char *prefix, md_mn_result_t *res) argument
461 commd_debug(dbc, "%s &res = 0x%x\n", prefix, (int)res);
463 MSGID_ELEMS(res->mmr_msgid));
464 commd_debug(dbc, "%s setno = %d\n", prefix, res->mmr_setno);
465 commd_debug(dbc, "%s type = %d\n", prefix, res->mmr_msgtype);
466 commd_debug(dbc, "%s flags = 0x%x\n", prefix, res->mmr_flags);
467 commd_debug(dbc, "%s comm_state= %d\n", prefix, res
244 mdmn_set_master_table_res(set_t setno, md_mn_msgclass_t class, md_mn_result_t *res) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_dpi.c227 work_results_t *res = arg; local
242 if (kmdb_module_loaded(dlr) && res != NULL) {
243 (void) mdb_nv_insert(&res->res_loads,
286 if (kmdb_module_unloaded(dur) && res != NULL) {
287 (void) mdb_nv_insert(&res->res_unloads,
333 work_results_t res; local
335 (void) mdb_nv_create(&res.res_loads, UM_SLEEP);
336 (void) mdb_nv_create(&res.res_unloads, UM_SLEEP);
339 (void) kmdb_wr_debugger_process(kmdb_dbgnotify_cb, &res);
341 if (mdb_nv_size(&res
[all...]
/illumos-gate/usr/src/cmd/modload/
H A Dplcysubr.c537 char *res; local
545 res = malloc(sz);
548 if (res == NULL || ds == NULL) {
553 *res = '\0';
562 free(res);
565 if (*res != '\0' && add2str(&res, "\n", &sz) != 0)
575 free(res);
585 free(res);
589 if (add2str(&res, drive
[all...]
/illumos-gate/usr/src/cmd/eject/
H A Deject.c112 int res; local
161 res = work(argv[optind], rmmount_opt);
162 if (res == EJECT_MAN_EJ) {
164 } else if (res != EJECT_OK) {
170 excode = res;
464 boolean_t res = B_FALSE; /* return value */ local
519 res = B_TRUE;
531 res ? "B_TRUE" : "B_FALSE");
534 return (res);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c342 int i, res; local
377 res = call_fork_exec(fstype, "mount", newargv, verbose);
378 if (res == 0 && trace > 1) {
386 return (res);
396 int res; local
405 res = EINVAL;
406 door_return((char *)&res, sizeof (res), NULL, 0);
412 res = errno;
456 res
483 int res = 0; local
548 int res; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dworker.c647 int res; local
652 res = mi_engine(ctx);
654 ("worker %d: mi_engine returned %d", t_id, res));
657 if (res != MI_CONTINUE)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dccp.c606 int res; local
621 res = ccp_test(f->unit, p, CILEN_DEFLATE, 0);
622 if (res > 0) {
626 if (res < 0 || go->deflate_size <= DEFLATE_MIN_SIZE+1) {
650 res = ccp_test(f->unit, p, CILEN_BSD_COMPRESS, 0);
651 if (res > 0) {
655 if (res < 0 || go->bsd_bits <= BSD_MIN_BITS) {
937 int ret, newret, res; local
1004 res = ccp_test(f->unit, pv, CILEN_DEFLATE, 1);
1005 if (res >
[all...]

Completed in 1505 milliseconds

<<11121314151617181920>>