Searched refs:res (Results 1 - 25 of 881) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Dfunction-ptr-xtype.c14 int res = 0; local
16 res += ((binop_t)fn)(arg1, arg2);
17 res += ((unop_t)fn)(arg1);
18 res += ((ldef_t)fn)();
19 res += ((idef_t)fn)();
20 ((use_t)fn)(res);
21 return res;
27 int res = 0; local
29 res += ((binop_t)fn)(arg1, arg2);
30 res
[all...]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_b_clnt.c52 static char res; local
54 res = 0;
56 argp, xdr_void, &res, TIMEOUT) != RPC_SUCCESS)
58 return ((void *)&res);
64 static ypbind_resp res; local
66 (void) memset(&res, 0, sizeof (res));
69 (char *)&res, TIMEOUT) != RPC_SUCCESS)
71 return (&res);
77 static char res; local
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsecutil.c16 char *res; local
19 if ((res = (char *)calloc (aLen*2 + 1, 1 )) == NULL){
25 res[i] = hexdig[ ( *aString & 0xf0 ) >> 4 ];
26 res[i + 1] = hexdig[ *aString & 0x0f ];
31 return (res);
/illumos-gate/usr/src/cmd/amt/
H A Damt.sh37 res=$?
38 if [ $res != 0 ]; then
39 exit $res
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dctermid.c31 static char res[L_ctermid]; variable
37 return (strcpy(s != NULL ? s : res, "/dev/tty"));
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dnametokva.c10 ipfunc_resolve_t res; local
13 strncpy(res.ipfu_name, name, sizeof(res.ipfu_name));
14 res.ipfu_addr = NULL;
22 (void) (*iocfunc)(fd, SIOCFUNCL, &res);
25 if (res.ipfu_addr == NULL)
26 res.ipfu_addr = (ipfunc_t)-1;
27 return res.ipfu_addr;
H A Dkvatoname.c11 ipfunc_resolve_t res; local
14 res.ipfu_addr = func;
15 res.ipfu_name[0] = '\0';
23 (void) (*iocfunc)(fd, SIOCFUNCL, &res);
26 strncpy(funcname, res.ipfu_name, sizeof(funcname));
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dutil.c289 * res is a pointer to the scf_resources_t to be released.
292 release_scf_resources(scf_resources_t *res) argument
294 scf_entry_destroy(res->sr_ent);
295 scf_transaction_destroy(res->sr_tx);
296 scf_value_destroy(res->sr_val);
297 scf_property_destroy(res->sr_prop);
298 scf_pg_destroy(res->sr_pg);
299 scf_snapshot_destroy(res->sr_snap);
300 scf_instance_destroy(res->sr_inst);
301 (void) scf_handle_unbind(res
323 create_scf_resources(const char *fmri, scf_resources_t *res) argument
399 get_property_value(const char *fmri, const char *pg, const char *prop, boolean_t running, scf_resources_t *res) argument
441 scf_resources_t res; local
484 scf_resources_t res; local
529 scf_resources_t res; local
550 set_property_value(scf_resources_t *res, const char *propname, scf_type_t proptype) argument
600 scf_resources_t res; local
633 scf_resources_t res; local
670 scf_resources_t res; local
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Ddns_p.h25 #define maybe_ok(res, nm, ok) (((res)->options & RES_NOCHECKNAME) != 0U || \
27 #define maybe_hnok(res, hn) maybe_ok((res), (hn), res_hnok)
28 #define maybe_dnok(res, dn) maybe_ok((res), (dn), res_dnok)
35 struct __res_state *res; member in struct:dns_p
/illumos-gate/usr/src/test/util-tests/tests/demangle/
H A Dllvm-stdcxxabi.c29682 char *res = sysdemangle(pass[i].mangled, SYSDEM_LANG_CPP, NULL); local
29696 char *res = sysdemangle(fptests[i].mangled, SYSDEM_LANG_CPP, local
29716 char *res = sysdemangle(fail[i], SYSDEM_LANG_CPP, NULL); local
[all...]
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetnetent.c53 struct netent *res = 0; local
56 res = getnetbyname_r(nam, b->result, b->buffer, b->buflen);
58 return (res);
65 struct netent *res = 0; local
68 res = getnetbyaddr_r(net, type, b->result,
71 return (res);
78 struct netent *res = 0; local
81 res = getnetent_r(b->result, b->buffer, b->buflen);
83 return (res);
H A Dgetprotoent.c53 struct protoent *res = 0; local
56 res = getprotobyname_r(nam, b->result, b->buffer, b->buflen);
58 return (res);
65 struct protoent *res = 0; local
68 res = getprotobynumber_r(proto, b->result,
71 return (res);
78 struct protoent *res = 0; local
81 res = getprotoent_r(b->result, b->buffer, b->buflen);
83 return (res);
H A Dgetservent.c52 struct servent *res = 0; local
55 res = getservbyname_r(nam, proto,
58 return (res);
65 struct servent *res = 0; local
68 res = getservbyport_r(port, proto,
71 return (res);
78 struct servent *res = 0; local
81 res = getservent_r(b->result, b->buffer, b->buflen);
83 return (res);
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddtsol.c51 int res, retval; local
56 res = genent_attr(line, TNRHDB_NCOL, &ecol);
57 if (res != GENENT_OK)
58 return (res);
72 res = GENENT_CBERR;
76 return (res);
80 dump_tnrhdb(ns_ldap_result_t *res) argument
84 value = __ns_ldap_getAttr(res->entry, "ipTnetNumber");
91 value = __ns_ldap_getAttr(res->entry, "ipTnetTemplateName");
102 int res, retva local
127 dump_tnrhtp(ns_ldap_result_t *res) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dctime_r.c96 struct tm res; local
98 if (localtime_r(t, &res) == NULL)
101 if (asctime_r(&res, buffer, buflen) == NULL)
114 struct tm res; local
116 if (localtime_r(t, &res) == NULL)
119 if (__posix_asctime_r(&res, buffer) == NULL)
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/scalars/
H A Dtst.selfarray.d40 self int res;
45 self->res = self->x[self->y, self->z]++;
46 printf("The result = %d\n", self->res);
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtable.c137 TabResult res; local
142 res.zErrMsg = 0;
143 res.nResult = 0;
144 res.nRow = 0;
145 res.nColumn = 0;
146 res.nData = 1;
147 res.nAlloc = 20;
148 res.rc = SQLITE_OK;
149 res.azResult = malloc( sizeof(char*)*res
[all...]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_sparc.c232 /* initialize res to the default untrapped result and ex to the
236 info->res.type = fex_nodata;
271 info->res.type = fex_float;
272 info->res.val.f = info->op1.val.f + info->op2.val.f;
277 info->res.type = fex_double;
278 info->res.val.d = info->op1.val.d + info->op2.val.d;
283 info->res.type = fex_ldouble;
284 info->res.val.q = info->op1.val.q + info->op2.val.q;
289 info->res.type = fex_float;
290 info->res
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dzalloc_malloc.c73 Guard *res; local
81 while ((res = znalloc(&MallocPool, bytes, alignment)) == NULL) {
95 res->ga_Magic = GAMAGIC;
97 res->ga_Bytes = bytes;
99 *((signed char *)res + bytes - 1) = -2;
102 return ((char *)res + MALLOCALIGN);
111 Guard *res = (void *)((char *)ptr - MALLOCALIGN); local
116 if (res->ga_Magic == GAFREE) {
121 if (res->ga_Magic != GAMAGIC)
124 res
150 void *res; local
171 void *res; local
203 void *res; local
[all...]
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dctermid.c41 static const char res[L_ctermid] = "/dev/tty"; variable
50 return ((char *)res);
51 return (strcpy(s, res));
/illumos-gate/usr/src/cmd/unlink/
H A Dunlink.c42 int res = 0; local
58 if (res = unlink(argv[1]))
61 return (res);
/illumos-gate/usr/src/cmd/sh/
H A Dulimit.c67 int hard, soft, cnt, c, res; local
72 for (res = 0; res < RLIM_NLIMITS; res++) {
73 resources[res] = 0;
96 for (res = 0; res < RLIM_NLIMITS; res++) {
97 resources[res]++;
102 res
[all...]
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext.c75 char *res; local
79 res = _real_bindtextdomain_u(domain, binding, TP_BINDING);
81 return (res);
87 char *res; local
91 res = _real_bindtextdomain_u(domain, codeset, TP_CODESET);
93 return (res);
103 char *res; local
108 res = _textdomain_u(domain, tmp_domain);
109 if (res == NULL) {
124 char *res; local
142 char *res; local
156 char *res; local
170 char *res; local
184 char *res; local
199 char *res; local
214 char *res; local
[all...]
/illumos-gate/usr/src/lib/passwdutil/
H A D__check_history.c55 int res; local
66 res = PWU_NOT_FOUND;
69 while ((i <= REP_LAST) && (res == PWU_NOT_FOUND)) {
72 res = rops[i]->checkhistory(user, passwd, rep);
75 return (res);
H A D__get_authtoken_attr.c45 int res; local
58 res = PWU_NOT_FOUND;
61 while ((i <= REP_LAST) && (res == PWU_NOT_FOUND)) {
63 res = rops[i]->getattr(name, item, rep);
66 return (res);

Completed in 321 milliseconds

1234567891011>>