/opensolaris-onvv-gate/usr/src/lib/libumem/common/ |
H A D | envvar.c | 287 ulong_t result; local 298 result = strtoul(item_arg, &endptr, 10); 300 if (result == ULONG_MAX && errno == ERANGE) { 308 if ((uint_t)result != result) 311 (*item->item_uint_target) = (uint_t)result; 326 ulong_t result; local 345 result = result_arg; 350 result *= 1024; 351 if (result < result_ar 416 size_t result; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | ldap_common.c | 143 (void) __ns_ldap_freeResult(&be->result); 146 be->attrs, NULL, 0, &be->result, &error, NULL, 175 * format when argp->buf.result == NULL. 177 * ent (argp->buf.result) and buffer (argp->buf.buffer) 180 if (argp->buf.result != NULL || 190 argp->buf.result, 199 argp->returnval = argp->buf.result; 265 (void) __ns_ldap_freeResult(&be->result); 268 be->attrs, NULL, 0, &be->result, &error, NULL, 296 if (be->result ! [all...] |
H A D | tsol_getrhent.c | 80 ns_ldap_result_t *result = be->result; local 83 if (result == NULL) 86 addr = __ns_ldap_getAttr(result->entry, _TNRHDB_ADDR); 102 template = __ns_ldap_getAttr(result->entry, _TNRHDB_TNAME); 111 if (argp->buf.result != NULL) { 124 (void) __ns_ldap_freeResult(&be->result);
|
/opensolaris-onvv-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | attribute.c | 122 papi_attribute_t **result = NULL; local 133 status = papiAttributeListAddValue(&result, 142 &result, 149 papiAttributeListFree(result); 150 result = NULL; 154 return (result); 161 papi_attribute_value_t *result = NULL; local 163 if ((v != NULL) && ((result = calloc(1, sizeof (*result))) != NULL)) { 167 free(result); 208 papi_attribute_t *result = NULL; local 244 papi_status_t result; local 421 papi_attribute_t **tmp, *result; local 633 char *result = NULL; local 757 papi_status_t result = PAPI_OK; local 801 papi_status_t result = PAPI_OK; local 876 papi_status_t result = PAPI_OK; local 1051 copy_attributes(papi_attribute_t ***result, papi_attribute_t **attributes) argument [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/sys/ |
H A D | ddi_hp_impl.h | 80 #define DDIHP_CN_OPS(hdlp, op, arg, result, ret) \ 82 ret = ddihp_port_ops(hdlp, op, arg, result); \ 84 ret = ddihp_connector_ops(hdlp, op, arg, result); 138 void *arg, void *result); 140 ddi_hp_op_t op, void *arg, void *result);
|
/opensolaris-onvv-gate/usr/src/cmd/svr4pkg/pkgadm/ |
H A D | lock.c | 237 int result; local 559 result = 0; 564 result = 1; 567 result = 1; 573 result = lock_release(fd, kFlag, oFlag, qFlag); 576 result = lock_status(fd, kFlag, oFlag, qFlag); 585 return (result); 623 FINDLOCK_T result; local 650 result = _lock_acquire(a_theLock, *a_fd, a_key, a_object, 653 /* return result i 798 FINDLOCK_T result; local 1000 FINDLOCK_T result; local 1166 int result; local 1298 int result = 0; local 1738 ssize_t result; local 1799 ssize_t result; local 1914 ssize_t result; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sendmail/aux/ |
H A D | praliases.c | 237 int result; local 305 result = smdb_open_database(&database, db_name, O_RDONLY, 0, 307 if (result != SMDBE_OK) 311 db_name, sm_errstring(result)); 320 result = database->smdb_cursor(database, &cursor, 0); 321 if (result != SMDBE_OK) 325 sm_errstring(result)); 329 while ((result = cursor->smdbc_get(cursor, &db_key, &db_value, 352 if (result != SMDBE_OK && result ! [all...] |
/opensolaris-onvv-gate/usr/src/lib/libdhcpsvc/modules/util/ |
H A D | util.c | 91 char *newline, *new_result, *result = NULL; local 102 new_result = realloc(result, size); 104 free(result); 114 * `result'. 116 if (result == NULL) 119 result = new_result; 122 result = new_result; 128 * do the strrchr() on `&result[len]' so that NUL's that 131 newline = strrchr(&result[len], '\n'); 133 len = newline - result; [all...] |
/opensolaris-onvv-gate/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-dns.c | 52 LDAPHostEnt *result, char *buffer, int buflen, int *statusp, 55 int type, LDAPHostEnt *result, char *buffer, int buflen, 64 prldap_gethostbyname1(const char *name, LDAPHostEnt *result, 97 prldap_gethostbyname( const char *name, LDAPHostEnt *result, argument 108 return( prldap_convert_hostent( result, &prhent )); 114 LDAPHostEnt *result, char *buffer, int buflen, int *statusp, 130 return( prldap_convert_hostent( result, &prhent )); 311 struct hostent *result, char *buffer, int buflen, 324 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2hostent); 348 prldap_gethostbyname1(const char *name, LDAPHostEnt *result, argument 113 prldap_gethostbyaddr( const char *addr, int length, int type, LDAPHostEnt *result, char *buffer, int buflen, int *statusp, void *extradata ) argument 310 prldap_switch_gethostbyname_r(const char *name, struct hostent *result, char *buffer, int buflen, int *h_errnop) argument [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/io/1394/ |
H A D | s1394_isoch.c | 314 uint_t flags, uint32_t *old_channels, int *result) 342 *result = CMD1394_ERETRIES_EXCEEDED; 370 *result = CMD1394_EBUSRESET; 383 *result = CMD1394_EBUSRESET; 393 *result = CMD1394_ERETRIES_EXCEEDED; 403 *result = CMD1394_CMDSUCCESS; 412 *result = CMD1394_ERETRIES_EXCEEDED; 423 *result = CMD1394_EUNKNOWN_ERROR; 462 *result = CMD1394_ERETRIES_EXCEEDED; 472 *result 313 s1394_channel_alloc(s1394_hal_t *hal, uint32_t channel_mask, uint_t generation, uint_t flags, uint32_t *old_channels, int *result) argument 519 s1394_channel_free(s1394_hal_t *hal, uint32_t channel_mask, uint_t generation, uint_t flags, uint32_t *old_channels, int *result) argument 703 s1394_bandwidth_alloc(s1394_hal_t *hal, uint32_t bw_alloc_units, uint_t generation, int *result) argument 925 s1394_bandwidth_free(s1394_hal_t *hal, uint32_t bw_alloc_units, uint_t generation, int *result) argument [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/sys/1394/ |
H A D | h1394.h | 136 int *result); 138 h1394_cmd_priv_t *cmd_private, int *result); 140 h1394_cmd_priv_t *cmd_private, int *result); 142 h1394_cmd_priv_t *cmd_private, int *result); 144 h1394_cmd_priv_t *cmd_private, int *result); 148 h1394_cmd_priv_t *cmd_private, int *result); 150 h1394_cmd_priv_t *cmd_private, int *result); 153 int *result); 159 int *result); 161 int *result); [all...] |
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | numeric.c | 119 conversion flags, and I<result> should be NULL or a pointer to an NV. 125 and nothing is written to I<*result>. If the value is > UV_MAX C<grok_bin> 127 and writes the value to I<*result> (or the value is discarded if I<result> 139 Perl_grok_bin(pTHX_ char *start, STRLEN *len_p, I32 *flags, NV *result) { argument 222 if (result) 223 *result = value_nv; 233 conversion flags, and I<result> should be NULL or a pointer to an NV. 239 and nothing is written to I<*result>. If the value is > UV_MAX C<grok_hex> 241 and writes the value to I<*result> (o 253 Perl_grok_hex(pTHX_ char *start, STRLEN *len_p, I32 *flags, NV *result) argument 350 Perl_grok_oct(pTHX_ char *start, STRLEN *len_p, I32 *flags, NV *result) argument 724 NV result = 1.0; local 817 NV result[3] = {0.0, 0.0, 0.0}; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/ |
H A D | Lgrp.pm | 115 my @result; 122 @result = @children ? 125 return (wantarray ? @result : scalar @result); 141 my @result = grep { 144 return (wantarray ? @result : scalar @result);
|
/opensolaris-onvv-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | lpmove.c | 56 int result = 0; local 63 result = -1; 67 return (result); 128 char *result = NULL; local 130 result = papiServiceGetStatusMessage(svc); 132 if (result != NULL) { 137 if (strstr(result, "permission denied")
|
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_defer.c | 74 int result; local 79 result = pi_deferlist_create(mod); 80 if (result != 0) { 81 return (result); 117 int result; local 179 result = (func)(mod, mdp, mde_node, inst, t_parent, hc_name, 181 if (result != 0) {
|
/opensolaris-onvv-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_krbcontainer.c | 81 LDAPMessage *result=NULL, *ent=NULL; local 156 if ((ent = ldap_first_entry(ld, result)) != NULL) { 165 ldap_msgfree(result); 174 if ((ent = ldap_first_entry(ld, result))) { 179 ldap_msgfree(result); 189 ent=ldap_first_entry(ld, result); 195 ldap_msgfree(result);
|
/opensolaris-onvv-gate/usr/src/lib/libwrap/ |
H A D | workarounds.c | 75 * account for partial reads from e.g. sockets. The result is that fgets() 269 char *result; local 273 while ((result = strsep(&state, sep)) && result[0] == 0) 275 return (result); 294 char *result; local 306 * Skip over non-separator characters and terminate result. 308 result = state; 311 return (result);
|
/opensolaris-onvv-gate/usr/src/uts/common/sys/1394/adapters/ |
H A D | hci1394_async.h | 241 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result); 243 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result); 245 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result); 247 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result); 249 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result); 251 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result); 253 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result);
|
/opensolaris-onvv-gate/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | special.c | 231 * piMax The # of entries in the special contents result. 492 * Side effects: The contents file may change as a result of this call, 500 int result = 0; /* Assume we will succeed. Return result. */ local 521 result = 1; 537 result = -1; 546 result = -1; 557 result = 0; 565 result = 1; 573 result [all...] |
/opensolaris-onvv-gate/usr/src/lib/print/libipp-core/common/ |
H A D | write.c | 322 papi_status_t result = PAPI_OK; local 330 for (i = 0; ((attributes[i] != NULL) && (result == PAPI_OK)); i++) 331 result = ipp_write_attribute(iwrite, fd, attributes[i]); 333 return (result); 340 papi_status_t result = PAPI_OK; local 352 ((status == PAPI_OK) && (result == PAPI_OK)); 355 result = ipp_write_attribute_group(iwrite, fd, 361 result = PAPI_DEVICE_ERROR; 363 return (result); 405 papi_status_t result; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | lpd-query.c | 46 char *result = NULL; local 49 result = string + match.rm_so; 50 *(result + (match.rm_eo - match.rm_so)) = '\0'; 53 return (result); 427 papi_status_t result = PAPI_BAD_ARGUMENT; local 436 result = PAPI_OK; 438 result = PAPI_NOT_FOUND; 440 return (result); 446 papi_status_t result = PAPI_BAD_ARGUMENT; local 453 result 474 papi_status_t result = PAPI_BAD_ARGUMENT; local [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/io/comstar/port/pppt/ |
H A D | pppt_tgt.c | 137 pppt_tgt_t *result; local 155 result = lport->lport_port_private; 156 result->target_state = TS_CREATED; 158 result->target_devid = (scsi_devid_desc_t *)(result + 1); 159 bcopy(reg_port->icrp_port_id, result->target_devid, total_devid_len); 160 result->target_devid->piv = 1; 161 result->target_devid->code_set = CODE_SET_ASCII; 162 result->target_devid->association = ID_IS_TARGET_PORT; 164 mutex_init(&result 216 pppt_tgt_t *result; local 227 pppt_tgt_t *result; local 250 int result; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_inittab.c | 553 uchar_t *result = NULL; local 615 result = malloc(hlen + length); 617 if ((optstart = result) != NULL && !just_payload) 733 * will result in zero for the last component length. 744 length = (optstart - result) - hlen; 757 free(result); 769 free(result); 773 free(result); 782 free(result); 792 free(result); 1011 char *resultp, *result = NULL; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/libsasl/lib/ |
H A D | canonusr.c | 93 int result; local 118 result = _sasl_getcallback(conn, SASL_CB_CANON_USER, 120 if(result == SASL_OK && cuser_cb) { 121 result = cuser_cb(conn, context, 129 if (result != SASL_OK) return result; 137 result = _sasl_getcallback(conn, SASL_CB_GETOPT, 139 if(result == SASL_OK && getopt) { 179 result = ptr->plug->canon_user_server(ptr->plug->glob_context, 187 result 286 int result, out_version; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ntfsprogs/ |
H A D | ntfslabel.c | 219 int result = 0; local 225 result = 1; 229 return result; 282 int result = 0; local 368 result = 0; 371 return result; 385 int result = 0; local 405 result = change_label(vol, mnt_flags, opts.label, opts.force); 407 result = print_label(vol, mnt_flags); 410 return result; [all...] |