Home
last modified time | relevance | path

Searched refs:result (Results 76 – 100 of 1462) sorted by relevance

12345678910>>...59

/illumos-gate/usr/src/cmd/lp/lib/printers/
H A Dputprinter.c549 int result = 0; in addPrintersPPD() local
561 result = -1; in addPrintersPPD()
575 result = -1; in addPrintersPPD()
591 result = -1; in addPrintersPPD()
627 result = -1; in addPrintersPPD()
662 return (result); in addPrintersPPD()
677 int result = 0; in copyPPDFile() local
687 result = -1; in copyPPDFile()
695 result = -1; in copyPPDFile()
711 result = -1; in copyPPDFile()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetpwnam_r.c56 _uncached_getpwuid_r(uid_t uid, struct passwd *result, char *buffer,
76 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2passwd); in getpwnam_r()
92 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2passwd); in getpwuid_r()
106 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2passwd); in _uncached_getpwuid_r()
120 size_t bufsize, struct passwd **result) in __posix_getpwuid_r() argument
126 if ((*result = getpwuid_r(uid, pwd, buffer, (uintptr_t)bufsize)) in __posix_getpwuid_r()
140 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2passwd); in _uncached_getpwnam_r()
153 size_t bufsize, struct passwd **result) in __posix_getpwnam_r() argument
181 getpwent_r(struct passwd *result, char *buffer, int buflen) in getpwent_r() argument
189 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2passwd); in getpwent_r()
[all …]
H A Dgetgrnam_r.c82 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2group); in getgrnam_r()
98 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2group); in getgrgid_r()
111 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2group); in _uncached_getgrgid_r()
124 size_t bufsize, struct group **result) in __posix_getgrgid_r() argument
130 if ((*result = getgrgid_r(gid, grp, buffer, (uintptr_t)bufsize)) in __posix_getgrgid_r()
144 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2group); in _uncached_getgrnam_r()
157 size_t bufsize, struct group **result) in __posix_getgrnam_r() argument
184 getgrent_r(struct group *result, char *buffer, int buflen) in getgrent_r() argument
192 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2group); in getgrent_r()
211 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2group); in fgetgrent_r()
[all …]
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi.c159 int result; in scsi_mode_select() local
205 if (result != 0) in scsi_mode_select()
208 return (result); in scsi_mode_select()
216 int result; in scsi_mode_sense() local
261 int result; in scsi_request_sense() local
285 int result; in scsi_log_sense() local
345 int result; in load_modepages() local
542 int result; in load_logpages() local
817 int result; in load_ie_modepage() local
958 int result; in clear_gltsd() local
[all …]
/illumos-gate/usr/src/lib/sasl_plugins/plain/
H A Dplain.c109 int result; in plain_server_mech_step() local
184 if (result != SASL_OK) { in plain_server_mech_step()
186 return result; in plain_server_mech_step()
196 if (result != SASL_OK) { in plain_server_mech_step()
204 return result; in plain_server_mech_step()
212 if (result != SASL_OK) return result; in plain_server_mech_step()
317 int result; in plain_client_mech_step() local
369 result = in plain_client_mech_step()
401 if (result != SASL_OK) goto cleanup; in plain_client_mech_step()
453 result = SASL_OK; in plain_client_mech_step()
[all …]
/illumos-gate/usr/src/lib/print/libipp-listener/common/
H A Dcommon.c52 char *result = NULL; in destination_from_printer_uri() local
55 result = strrchr(uri, '/'); in destination_from_printer_uri()
57 if (result == NULL) in destination_from_printer_uri()
58 result = uri; in destination_from_printer_uri()
60 result++; in destination_from_printer_uri()
62 return (result); in destination_from_printer_uri()
68 papi_status_t result; in get_printer_id() local
82 if (result != PAPI_OK) { in get_printer_id()
85 if (result == PAPI_OK) in get_printer_id()
100 papi_status_t result; in get_string_list() local
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/rp_basic/
H A Dlibnfs_basic.c98 fs_locations4 *result = NULL; in get_fs_locations() local
149 result = calloc(1, sizeof (fs_locations4)); in get_fs_locations()
150 if (result == NULL) in get_fs_locations()
154 free(result); in get_fs_locations()
155 result = NULL; in get_fs_locations()
160 result->fs_root.pathname4_len = 0; in get_fs_locations()
161 result->fs_root.pathname4_val = NULL; in get_fs_locations()
200 free(result); in get_fs_locations()
201 result = NULL; in get_fs_locations()
257 free(result); in get_fs_locations()
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnxgldv3.c797 long result; in bnx_set_priv_prop() local
807 if (result != 1 && result != 0) { in bnx_set_priv_prop()
812 (uint32_t)result; in bnx_set_priv_prop()
814 (uint32_t)result; in bnx_set_priv_prop()
824 switch (result) { in bnx_set_priv_prop()
870 result / MAX_BD_PER_PAGE; in bnx_set_priv_prop()
871 if (result % MAX_BD_PER_PAGE) { in bnx_set_priv_prop()
890 result = (result * BNX_RECV_MAX_FRAGS) / MAX_BD_PER_PAGE; in bnx_set_priv_prop()
892 if (result % MAX_BD_PER_PAGE) { in bnx_set_priv_prop()
906 if (result < USER_OPTION_TICKS_MIN || in bnx_set_priv_prop()
[all …]
/illumos-gate/usr/src/common/bignum/
H A Dbignumimpl.c495 int i, result; in big_is_zero() local
497 result = 1; in big_is_zero()
500 result = 0; in big_is_zero()
503 return (result); in big_is_zero()
783 result->len--; in big_half_pos()
982 result->value[result->len - 1] = cy; in big_shiftleft()
1010 result->value[result->len - 1] = cy; in big_shiftright()
1768 result = 0; in big_n0()
1772 result = (result >> 1) | BIG_CHUNK_HIGHBIT; in big_n0()
1775 result = (result >> 1); in big_n0()
[all …]
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgethostbyname_r.c72 struct hostent *result, char *buffer, int buflen, int *h_errnop);
76 _uncached_gethostbyname_r(const char *nam, struct hostent *result, in _uncached_gethostbyname_r() argument
79 return (_switch_gethostbyname_r(nam, result, in _uncached_gethostbyname_r()
85 struct hostent *result, char *buffer, int buflen, int *h_errnop) in _uncached_gethostbyaddr_r() argument
88 result, buffer, buflen, h_errnop)); in _uncached_gethostbyaddr_r()
94 gethostbyname_r(const char *nam, struct hostent *result, char *buffer,
99 struct hostent *result, char *buffer, int buflen, int *h_errnop);
102 gethostbyname_r(const char *nam, struct hostent *result, char *buffer, in gethostbyname_r() argument
129 nssout.nss.host.hent = result; in gethostbyname_r()
146 struct hostent *result, char *buffer, int buflen, int *h_errnop) in gethostbyaddr_r() argument
[all …]
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c760 free(result); in inittab_encode_e()
772 free(result); in inittab_encode_e()
776 free(result); in inittab_encode_e()
795 free(result); in inittab_encode_e()
809 free(result); in inittab_encode_e()
885 free(result); in inittab_encode_e()
902 free(result); in inittab_encode_e()
957 free(result); in inittab_encode_e()
971 free(result); in inittab_encode_e()
1216 resultp = result + strlen(result); in inittab_decode_e()
[all …]
/illumos-gate/usr/src/lib/libproject/common/
H A Dgetprojent.c102 _getprojbyid(projid_t projid, struct project *result, in _getprojbyid() argument
115 _getprojbyname(const char *name, struct project *result, in _getprojbyname() argument
221 if ((result = NSS_XbyY_FINI(&arg)) != NULL) { in _getdefaultproj()
223 return (result); in _getdefaultproj()
236 if ((result = NSS_XbyY_FINI(&arg)) != NULL && in _getdefaultproj()
237 ismember(result, user, p.pw_gid, DEFAULT_PROJECT)) in _getdefaultproj()
238 return (result); in _getdefaultproj()
244 if ((result = NSS_XbyY_FINI(&arg)) != NULL && in _getdefaultproj()
246 return (result); in _getdefaultproj()
251 if ((result = NSS_XbyY_FINI(&arg)) != NULL && in _getdefaultproj()
[all …]
/illumos-gate/usr/src/boot/common/
H A Ddevopen.c38 int result; in devopen() local
40 result = archsw.arch_getdev((void **)&dev, fname, file); in devopen()
41 if (result) in devopen()
42 return (result); in devopen()
47 result = dev->d_dev->dv_open(f, dev); in devopen()
48 if (result != 0) { in devopen()
54 return (result); in devopen()
H A Dinterp_forth.c79 int argc, result; in bf_command() local
143 result = (cmd)(argc, argv); in bf_command()
146 result = BF_PARSE; in bf_command()
149 switch (result) { in bf_command()
163 if (result != CMD_OK) in bf_command()
164 ficlVmThrow(vm, result); in bf_command()
339 int result; in bf_run() local
343 result = ficlVmExecuteString(bf_vm, s); in bf_run()
346 switch (result) { in bf_run()
369 if (result == FICL_VM_STATUS_USER_EXIT) in bf_run()
[all …]
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_cr_6789247_printf_hexfloat_rounding.sh101 float result
106 result=$(printf "%.0a\n" r) || err_exit "printf returned non-zero exit code"
107 (( result == 2.0 )) || err_exit "result expected to be 2.0, got ${result}"
112 result=$(printf "%.0A\n" r) || err_exit "printf returned non-zero exit code"
113 (( result == 2.0 )) || err_exit "result expected to be 2.0, got ${result}"
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetspent.c77 ns_ldap_result_t *result = be->result; in _nss_ldap_shadow2str() local
83 if (result == NULL) in _nss_ldap_shadow2str()
90 uid = __ns_ldap_getAttr(result->entry, _S_UID); in _nss_ldap_shadow2str()
146 last = __ns_ldap_getAttr(result->entry, _S_LASTCHANGE); in _nss_ldap_shadow2str()
153 smin = __ns_ldap_getAttr(result->entry, _S_MIN); in _nss_ldap_shadow2str()
160 smax = __ns_ldap_getAttr(result->entry, _S_MAX); in _nss_ldap_shadow2str()
181 expire = __ns_ldap_getAttr(result->entry, _S_EXPIRE); in _nss_ldap_shadow2str()
189 flag = __ns_ldap_getAttr(result->entry, _S_FLAG); in _nss_ldap_shadow2str()
203 if (argp->buf.result != NULL) { in _nss_ldap_shadow2str()
223 if (argp->buf.result != NULL) in _nss_ldap_shadow2str()
[all …]
H A Dgetauthattr.c68 ns_ldap_result_t *result = be->result; in _nss_ldap_auth2str() local
73 if (result == NULL) in _nss_ldap_auth2str()
80 name = __ns_ldap_getAttr(result->entry, _AUTH_NAME); in _nss_ldap_auth2str()
86 res1 = __ns_ldap_getAttr(result->entry, _AUTH_RES1); in _nss_ldap_auth2str()
92 res2 = __ns_ldap_getAttr(result->entry, _AUTH_RES2); in _nss_ldap_auth2str()
98 sdes = __ns_ldap_getAttr(result->entry, _AUTH_SHORTDES); in _nss_ldap_auth2str()
104 ldes = __ns_ldap_getAttr(result->entry, _AUTH_LONGDES); in _nss_ldap_auth2str()
110 attr = __ns_ldap_getAttr(result->entry, _AUTH_ATTRS); in _nss_ldap_auth2str()
123 if (argp->buf.result != NULL) { in _nss_ldap_auth2str()
135 if (argp->buf.result != NULL) in _nss_ldap_auth2str()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/
H A Dbnxe_gld.c1874 if ((result > 1) || (result < 0)) in BnxeSetPrivateProperty()
1890 if ((result > 1) || (result < 0)) in BnxeSetPrivateProperty()
1906 if ((result > 1) || (result < 0)) in BnxeSetPrivateProperty()
1922 if ((result > 1) || (result < 0)) in BnxeSetPrivateProperty()
2112 if ((result > 1) || (result < 0)) in BnxeSetPrivateProperty()
2171 if ((result > 1) || (result < 0)) in BnxeSetPrivateProperty()
2190 if ((result > 1) || (result < 0)) in BnxeSetPrivateProperty()
2204 if ((result > 1) || (result < 0)) in BnxeSetPrivateProperty()
2224 if ((result > 1) || (result < 0)) in BnxeSetPrivateProperty()
2238 if ((result > 1) || (result < 0)) in BnxeSetPrivateProperty()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dassertions.c52 const char *result; in assertion_type_to_text() local
56 result = "REQUIRE"; in assertion_type_to_text()
59 result = "ENSURE"; in assertion_type_to_text()
62 result = "INSIST"; in assertion_type_to_text()
65 result = "INVARIANT"; in assertion_type_to_text()
68 result = NULL; in assertion_type_to_text()
70 return (result); in assertion_type_to_text()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dfault_iso.c207 resp_msg.result = FMA_CPU_RESP_FAILURE; in cpu_data_handler()
218 resp_msg.result = FMA_CPU_RESP_FAILURE; in cpu_data_handler()
224 resp_msg.result = FMA_CPU_RESP_FAILURE; in cpu_data_handler()
235 resp_msg.result = FMA_CPU_RESP_FAILURE; in cpu_data_handler()
241 resp_msg.result = FMA_CPU_RESP_FAILURE; in cpu_data_handler()
272 resp_msg.result = FMA_CPU_RESP_OK; in cpu_data_handler()
331 resp_msg.result = FMA_MEM_RESP_OK; in mem_data_handler()
336 resp_msg.result = FMA_MEM_RESP_FAILURE; in mem_data_handler()
341 resp_msg.result = FMA_MEM_RESP_OK; in mem_data_handler()
361 resp_msg.result = FMA_MEM_RESP_OK; in mem_data_handler()
[all …]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_node.c78 void *result) in prom_walk_devs() argument
108 switch ((*cb)(curnode, arg, result)) { in prom_walk_devs()
140 bytype_cb(pnode_t node, void *arg, void *result) in bytype_cb() argument
143 *((pnode_t *)result) = node; in bytype_cb()
152 pnode_t result = OBP_NONODE; in prom_findnode_bydevtype() local
154 return (result); in prom_findnode_bydevtype()
163 byname_cb(pnode_t node, void *arg, void *result) in byname_cb() argument
166 *((pnode_t *)result) = node; in byname_cb()
175 pnode_t result = OBP_NONODE; in prom_findnode_byname() local
176 prom_walk_devs(node, byname_cb, name, &result); in prom_findnode_byname()
[all …]
H A Dprom_key.c46 int result; in prom_set_security_key() local
111 result = p1275_cell2int(ci[6]); in prom_set_security_key()
112 if (result >= 0) { in prom_set_security_key()
113 *reslen = result; in prom_set_security_key()
117 *status = result; in prom_set_security_key()
128 int result; in prom_get_security_key() local
189 result = p1275_cell2int(ci[6]); in prom_get_security_key()
190 if (result > 0) { in prom_get_security_key()
191 *keylen = result; in prom_get_security_key()
195 *status = result; in prom_get_security_key()
/illumos-gate/usr/src/lib/librcm/
H A Dlibrcm_event.c115 if ((error == 0) && result) { in get_event_service()
119 *result = NULL; in get_event_service()
180 struct door_result *result; in add_door_result() local
185 result = malloc(sizeof (*result)); in add_door_result()
186 while (result == NULL) { in add_door_result()
188 result = malloc(sizeof (*result)); in add_door_result()
190 result->next = NULL; in add_door_result()
191 result->data = data; in add_door_result()
192 result->seq_num = seq_num; in add_door_result()
199 cook->results = result; in add_door_result()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_csr.c93 int result; in s1394_setup_CSR_space() local
120 if (result != DDI_SUCCESS) { in s1394_setup_CSR_space()
139 if (result != DDI_SUCCESS) { in s1394_setup_CSR_space()
158 if (result != DDI_SUCCESS) { in s1394_setup_CSR_space()
177 if (result != DDI_SUCCESS) { in s1394_setup_CSR_space()
450 int result; in s1394_CSR_state_clear() local
556 int result; in s1394_CSR_state_set() local
805 int result; in s1394_CSR_cycle_time() local
882 int result; in s1394_CSR_bus_time() local
991 int result; in s1394_CSR_IRM_regs() local
[all …]
/illumos-gate/usr/src/lib/lib9p/common/
H A Drfuncs.c255 struct passwd *result = NULL; in r_getpwuid() local
263 pg->r_pgbuf, pg->r_pgbufsize, &result); in r_getpwuid()
266 return (error ? NULL : result); in r_getpwuid()
272 struct group *result = NULL; in r_getgrgid() local
280 pg->r_pgbuf, pg->r_pgbufsize, &result); in r_getgrgid()
283 return (error ? NULL : result); in r_getgrgid()
290 struct passwd *result = NULL; in r_cap_getpwuid() local
298 pg->r_pgbuf, pg->r_pgbufsize, &result); in r_cap_getpwuid()
301 return (error ? NULL : result); in r_cap_getpwuid()
307 struct group *result = NULL; in r_cap_getgrgid() local
[all …]

12345678910>>...59