/illumos-gate/usr/src/common/ficl/emu/ |
H A D | loader_emu.c | 496 int argc, result; in bf_command() local 566 if (result != 0) in bf_command() 807 int result; in bf_run() local 836 return (result); in bf_run() 1444 int result; in page_file() local 1453 return (result); in page_file() 1466 int result, ch; in command_ls() local 1844 free(result); in file_lookup() 1853 char *result; in file_search() local 1877 result = NULL; in file_search() [all …]
|
/illumos-gate/usr/src/cmd/acct/lib/ |
H A D | substr.c | 43 register char *s, *result; local 46 result = aresult; 48 while (--len && (*result++ = *s++)) ; 50 *result = 0;
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | files_attr.c | 169 (void) memset(result, 0, sizeof (*result)); in private_getpwnam_r() 173 return (result); in private_getpwnam_r() 207 (void) memset(result, 0, sizeof (*result)); in private_getspnam_r() 210 return (result); in private_getspnam_r() 910 int result = -1; in files_update_shadow() local 957 if (result != 0) { in files_update_shadow() 1014 int result; in files_update_passwd() local 1048 if (result != 0) { in files_update_passwd() 1099 int result = PWU_SUCCESS; in files_putpwnam() local 1112 if (result == PWU_SUCCESS) { in files_putpwnam() [all …]
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | lpmove.c | 56 int result = 0; in move_job() local 63 result = -1; in move_job() 67 return (result); in move_job() 128 char *result = NULL; in main() local 130 result = papiServiceGetStatusMessage(svc); in main() 132 if (result != NULL) { in main() 137 if (strstr(result, "permission denied") in main()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_krbcontainer.c | 79 LDAPMessage *result=NULL, *ent=NULL; in krb5_ldap_read_krbcontainer_params() local 154 if ((ent = ldap_first_entry(ld, result)) != NULL) { in krb5_ldap_read_krbcontainer_params() 163 ldap_msgfree(result); in krb5_ldap_read_krbcontainer_params() 172 if ((ent = ldap_first_entry(ld, result))) { in krb5_ldap_read_krbcontainer_params() 177 ldap_msgfree(result); in krb5_ldap_read_krbcontainer_params() 187 ent=ldap_first_entry(ld, result); in krb5_ldap_read_krbcontainer_params() 193 ldap_msgfree(result); in krb5_ldap_read_krbcontainer_params()
|
/illumos-gate/usr/src/test/test-runner/cmd/ |
H A D | run | 94 self.result = '' 179 self.result = Result() 275 self.result.stdout, self.result.stderr = self.collect_output(proc) 291 self.result.stdout = self.result.stderr = [] 295 self.result.result = 'SKIP' 313 msgb = '[%s] [%s]' % (self.result.runtime, self.result.result) 321 elif self.result.result != 'PASS': 326 lines = sorted(self.result.stdout + self.result.stderr, 346 if len(self.result.stdout) and len(self.result.stderr): 427 cont = pretest.result.result == 'PASS' [all …]
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_value.c | 65 pool_value_get_uint64(const pool_value_t *pv, uint64_t *result) in pool_value_get_uint64() argument 71 *result = pv->pv_u.u; in pool_value_get_uint64() 80 pool_value_get_int64(const pool_value_t *pv, int64_t *result) in pool_value_get_int64() argument 86 *result = pv->pv_u.i; in pool_value_get_int64() 96 pool_value_get_double(const pool_value_t *pv, double *result) in pool_value_get_double() argument 102 *result = pv->pv_u.d; in pool_value_get_double() 111 pool_value_get_bool(const pool_value_t *pv, uchar_t *result) in pool_value_get_bool() argument 117 *result = pv->pv_u.b; in pool_value_get_bool() 126 pool_value_get_string(const pool_value_t *pv, const char **result) in pool_value_get_string() argument 132 *result = pv->pv_u.s; in pool_value_get_string()
|
/illumos-gate/usr/src/test/util-tests/tests/demangle/ |
H A D | gcc-libstdc++.c | 8661 char *result = sysdemangle(tests[i].mangled, SYSDEM_LANG_CPP, in main() local 8664 VERIFY3P(result, !=, NULL); in main() 8665 VERIFY3S(strcmp(tests[i].demangled, result), ==, 0); in main() 8666 free(result); in main()
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | sbrk.c | 61 void *result; in sbrk() local 68 result = _sbrk_unlocked(addend); in sbrk() 71 return (result); in sbrk() 173 intptr_t result; in brk() local 194 if ((result = _brk_unlocked(new_brk)) == 0) in brk() 198 return (result); in brk()
|
/illumos-gate/usr/src/lib/pam_modules/sample/ |
H A D | sample_authenticate.c | 72 int err, result = PAM_AUTH_ERR; in pam_sm_authenticate() local 129 result = PAM_SUCCESS; in pam_sm_authenticate() 150 result = err; in pam_sm_authenticate() 157 result = PAM_AUTH_ERR; in pam_sm_authenticate() 164 result = PAM_SUCCESS; in pam_sm_authenticate() 184 return (result); in pam_sm_authenticate()
|
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibmf/ |
H A D | ibmf_saa.h | 78 char *result, 358 void **result); 413 sa_path_record_t **result); 455 sa_path_record_t **result); 494 sa_service_record_t **result); 533 sa_service_record_t **result);
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | dr_cpu.c | 123 uint32_t result; member 488 int result; in dr_cpu_list_wrk() local 506 res[idx].result = result; in dr_cpu_list_wrk() 568 res[idx].result = DR_CPU_RES_OK; in dr_cpu_res_array_init() 683 resp_stat[idx].result = res[idx].result; in dr_cpu_pack_response() 947 return (res->result); in dr_cpu_check_bound_thr() 957 int result; in dr_cpu_list_status() local 997 stat[idx].result = result; in dr_cpu_list_status() 1627 return (result); in dr_cpu_find_node_md() 1647 result = listp[idx]; in dr_cpu_find_node_md() [all …]
|
/illumos-gate/usr/src/lib/libnsl/nss/ |
H A D | gethostby_door.c | 40 _door_gethostbyname_r(const char *name, struct hostent *result, char *buffer, in _door_gethostbyname_r() argument 44 result, buffer, buflen, h_errnop)); in _door_gethostbyname_r() 49 struct hostent *result, char *buffer, int buflen, int *h_errnop) in _door_gethostbyaddr_r() argument 52 length, type, result, buffer, buflen, h_errnop)); in _door_gethostbyaddr_r()
|
H A D | getipnodeby_door.c | 41 _door_getipnodebyname_r(const char *name, struct hostent *result, char *buffer, in _door_getipnodebyname_r() argument 45 result, buffer, buflen, af_family, flags, h_errnop)); in _door_getipnodebyname_r() 50 struct hostent *result, char *buffer, int buflen, int *h_errnop) in _door_getipnodebyaddr_r() argument 53 length, type, result, buffer, buflen, h_errnop)); in _door_getipnodebyaddr_r()
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldaptool-sasl.c | 89 if (interact->result == NULL) { in ldaptool_sasl_interact() 120 interact->result = (char *)malloc(strlen(defvalue)+1); in get_default() 121 if ((char *)interact->result != NULL) { in get_default() 122 strcpy((char *)interact->result,defvalue); in get_default() 123 interact->len = strlen((char *)(interact->result)); in get_default() 132 if ((char *)interact->result == NULL) { in get_default() 203 interact->result = (char *) strdup(newvalue); 205 if (interact->result == NULL)
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | share.c | 261 int result = 0; in is_match_for_del() local 278 result = (nlmid1 == nlmid2); in is_match_for_del() 284 result = (nlmid1 == nlmid2 && in is_match_for_del() 288 result = ((shr->s_sysid == 0 && in is_match_for_del() 293 return (result); in is_match_for_del() 400 int result = 0; in is_match_for_has_remote() local 408 result = (sysid1 == sysid2); in is_match_for_has_remote() 421 return (result); in is_match_for_has_remote() 438 int result = 0; in shr_has_remote_shares() local 445 result = 1; in shr_has_remote_shares() [all …]
|
H A D | ipc.c | 644 ipc_service_t *result; in ipcs_create() local 649 result->ipcs_count = 0; in ipcs_create() 652 result->ipcs_table = in ipcs_create() 654 result->ipcs_ssize = size; in ipcs_create() 656 result->ipcs_dtor = dtor; in ipcs_create() 657 result->ipcs_rmid = rmid; in ipcs_create() 660 result->ipcs_atype = audit_type; in ipcs_create() 666 return (result); in ipcs_create() 786 kipc_perm_t *result; in ipc_lookup() local 797 if (result == NULL || result->ipc_id != (uint_t)id || in ipc_lookup() [all …]
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | certgetsetop.c | 1307 *result = NULL; in kmf_get_cert_version_str() 1339 *result = NULL; in kmf_get_cert_subject_str() 1372 *result = NULL; in kmf_get_cert_issuer_str() 1403 *result = NULL; in kmf_get_cert_serial_str() 1434 *result = NULL; in kmf_get_cert_start_date_str() 1442 char **result) in kmf_get_cert_end_date_str() argument 1465 *result = NULL; in kmf_get_cert_end_date_str() 1496 *result = NULL; in kmf_get_cert_pubkey_alg_str() 1527 *result = NULL; in kmf_get_cert_sig_alg_str() 1558 *result = NULL; in kmf_get_cert_pubkey_str() [all …]
|
/illumos-gate/usr/src/lib/pam_modules/unix_account/ |
H A D | unix_acct.c | 293 int result; in pam_sm_acct_mgmt() local 351 result = __get_authtoken_attr(user, pwu_rep, attr_pw); in pam_sm_acct_mgmt() 353 if (result == PWU_NOT_FOUND) { in pam_sm_acct_mgmt() 356 } else if (result == PWU_DENIED) { in pam_sm_acct_mgmt() 359 } else if (result == PWU_NOMEM) { in pam_sm_acct_mgmt() 362 } else if (result != PWU_SUCCESS) { in pam_sm_acct_mgmt() 394 if (result == PWU_SUCCESS) { in pam_sm_acct_mgmt() 415 if (result == PWU_DENIED) { in pam_sm_acct_mgmt() 434 if (result == PWU_NOT_FOUND) { in pam_sm_acct_mgmt() 437 } else if (result == PWU_NOMEM) { in pam_sm_acct_mgmt() [all …]
|
/illumos-gate/usr/src/cmd/svc/svcadm/ |
H A D | synch.c | 303 int r, result; in fmri_has_potential() local 319 result = in fmri_has_potential() 337 result = good; in fmri_has_potential() 351 result = good; in fmri_has_potential() 372 result = good; in fmri_has_potential() 384 return (result); in fmri_has_potential() 459 int result = B_TRUE, r; in has_potential() local 488 result = B_FALSE; in has_potential() 493 result = B_FALSE; in has_potential() 568 result = B_FALSE; in has_potential() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ssldap/ |
H A D | clientinit.c | 282 char *result; in buildDBName() local 302 PL_strcpy( result, basename ); in buildDBName() 307 PL_strcpy(result+pathlen, dbname); in buildDBName() 313 return result; in buildDBName() 343 char *result; in GetDBName() local 352 result = ldapssl_strdup(dbname); in GetDBName() 360 if (( result = ldapssl_malloc( len )) != NULL ) { in GetDBName() 361 PL_strcpy( result, path ); in GetDBName() 363 *(result+pathlen) = '/'; /* replaces '\0' */ in GetDBName() 366 PL_strcpy(result+pathlen, dbname); in GetDBName() [all …]
|
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/ |
H A D | srpt_ioc.c | 1382 srpt_vmem_pool_t *result; in srpt_vmem_create() local 1388 result->svp_ioc = ioc; in srpt_vmem_create() 1407 return (result); in srpt_vmem_create() 1439 void *result; in srpt_vmem_alloc() local 1448 if (result != NULL) { in srpt_vmem_alloc() 1450 return (result); in srpt_vmem_alloc() 1488 return (result); in srpt_vmem_alloc() 1556 if (result == NULL) { in srpt_vmem_chunk_alloc() 1563 return (result); in srpt_vmem_chunk_alloc() 1586 if (result == NULL) { in srpt_reg_mem() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpcsys.c | 51 int result; in rpcsys() local 57 result = sec_clnt_revoke(STRUCT_FGET(nra, rpcsec_flavor_1), in rpcsys() 61 return ((result != 0) ? set_errno(result) : 0); in rpcsys()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getvalues.c | 150 _SubStringIndex *result = NULL; in parse_subtypes() local 200 result = (_SubStringIndex *)NSLDAPI_MALLOC( sizeof(*result) in parse_subtypes() 202 if (result == NULL) { in parse_subtypes() 205 memset( result, 0, sizeof(*result) * nSubtypes ); in parse_subtypes() 227 if (result != NULL) in parse_subtypes() 228 NSLDAPI_FREE(result); in parse_subtypes() 236 result[nSubtypes].start = thisToken - target; in parse_subtypes() 237 result[nSubtypes].length = len; in parse_subtypes() 241 *subs = result; in parse_subtypes()
|
/illumos-gate/usr/src/common/ficl/ficlplatform/ |
H A D | pager.c | 157 int result; in pager_file() local 167 result = -1; in pager_file() 171 result = 0; in pager_file() 176 result = 1; in pager_file() 181 return (result); in pager_file()
|