Home
last modified time | relevance | path

Searched refs:result (Results 176 – 200 of 1462) sorted by relevance

12345678910>>...59

/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetprinter.c72 ns_ldap_result_t *result = be->result; in _nss_ldap_printers2str() local
77 if (result == NULL) in _nss_ldap_printers2str()
81 if (argp->buf.result != NULL) { in _nss_ldap_printers2str()
102 name = __ns_ldap_getAttr(result->entry, "printer-name"); in _nss_ldap_printers2str()
111 attr = __ns_ldap_getAttrStruct(result->entry, "printer-aliases"); in _nss_ldap_printers2str()
124 for (i = 0; i < result->entry->attr_count; i++) { in _nss_ldap_printers2str()
125 attr = getattr(result, i); in _nss_ldap_printers2str()
240 if (argp->buf.result != NULL) in _nss_ldap_printers2str()
244 (void) __ns_ldap_freeResult(&be->result); in _nss_ldap_printers2str()
H A Dgetnetmasks.c67 ns_ldap_result_t *result = be->result; in _nss_ldap_netmasks2str() local
70 if (result == NULL) in _nss_ldap_netmasks2str()
75 netmask = __ns_ldap_getAttr(result->entry, _N_NETMASK); in _nss_ldap_netmasks2str()
83 if (argp->buf.result != NULL) { in _nss_ldap_netmasks2str()
98 (void) __ns_ldap_freeResult(&be->result); in _nss_ldap_netmasks2str()
H A Dgetnetent.c67 ns_ldap_result_t *result = be->result; in _nss_ldap_networks2str() local
70 if (result == NULL) in _nss_ldap_networks2str()
74 if (argp->buf.result != NULL) { in _nss_ldap_networks2str()
86 names = __ns_ldap_getAttrStruct(result->entry, _N_NAME); in _nss_ldap_networks2str()
92 cname = __s_api_get_canonical_name(result->entry, names, 1); in _nss_ldap_networks2str()
109 network = __ns_ldap_getAttr(result->entry, _N_NETWORK); in _nss_ldap_networks2str()
132 if (argp->buf.result != NULL) in _nss_ldap_networks2str()
137 (void) __ns_ldap_freeResult(&be->result); in _nss_ldap_networks2str()
H A Dgetprotoent.c139 ns_ldap_result_t *result = be->result; in _nss_ldap_protocols2str() local
142 if (result == NULL) in _nss_ldap_protocols2str()
146 if (argp->buf.result != NULL) { in _nss_ldap_protocols2str()
158 names = __ns_ldap_getAttrStruct(result->entry, _P_NAME); in _nss_ldap_protocols2str()
164 cname = __s_api_get_canonical_name(result->entry, names, 1); in _nss_ldap_protocols2str()
169 number = __ns_ldap_getAttr(result->entry, _P_PROTO); in _nss_ldap_protocols2str()
201 if (argp->buf.result != NULL) in _nss_ldap_protocols2str()
206 (void) __ns_ldap_freeResult(&be->result); in _nss_ldap_protocols2str()
H A Dldap_utils.c38 printresult(ns_ldap_result_t *result) in printresult() argument
44 printf("entries_count %d\n", result->entries_count); in printresult()
45 curEntry = result->entry; in printresult()
46 for (i = 0; i < result->entries_count; i++) { in printresult()
74 getattr(ns_ldap_result_t *result, int i) in getattr() argument
82 if (result != NULL) { in getattr()
83 entry = result->entry; in getattr()
87 if (result->entries_count == 0) { in getattr()
H A Dtsol_getrhent.c78 ns_ldap_result_t *result = be->result; in _nss_ldap_tnrhdb2str() local
81 if (result == NULL) in _nss_ldap_tnrhdb2str()
84 addr = __ns_ldap_getAttr(result->entry, _TNRHDB_ADDR); in _nss_ldap_tnrhdb2str()
100 template = __ns_ldap_getAttr(result->entry, _TNRHDB_TNAME); in _nss_ldap_tnrhdb2str()
109 if (argp->buf.result != NULL) { in _nss_ldap_tnrhdb2str()
122 (void) __ns_ldap_freeResult(&be->result); in _nss_ldap_tnrhdb2str()
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_gld.c498 int result; in igb_m_multicst() local
512 return (result); in igb_m_multicst()
1417 long result; in igb_set_priv_prop() local
1425 switch (result) { in igb_set_priv_prop()
1437 if (e1000_set_eee_i350(hw, result, in igb_set_priv_prop()
1438 result) != E1000_SUCCESS) in igb_set_priv_prop()
1445 result) != E1000_SUCCESS) in igb_set_priv_prop()
1465 result > MAX_TX_COPY_THRESHOLD) in igb_set_priv_prop()
1508 result > igb->tx_ring_size) in igb_set_priv_prop()
1522 result > MAX_RX_COPY_THRESHOLD) in igb_set_priv_prop()
[all …]
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dlist.c85 list_concatenate(void ***result, void **list2) in list_concatenate() argument
92 if ((result == NULL) || ((*result == NULL) && (list2 == NULL))) { in list_concatenate()
97 list1 = *result; in list_concatenate()
109 if ((*result = (void **)calloc((new_size), sizeof (void *))) != NULL) { in list_concatenate()
114 (*result)[count++] = list1[size1]; in list_concatenate()
117 (*result)[count++] = list2[size2]; in list_concatenate()
/illumos-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_async.h239 cmd1394_cmd_t *cmd, h1394_cmd_priv_t *cmd_priv, int *result);
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);
/illumos-gate/usr/src/lib/hal/libhal-storage/common/
H A Dlibhal-storage.c160 char *result; in libhal_volume_policy_compute_size_as_string() local
168 result = NULL; in libhal_volume_policy_compute_size_as_string()
191 return result; in libhal_volume_policy_compute_size_as_string()
1306 result = NULL; in libhal_drive_from_device_file()
1347 return result; in libhal_drive_from_device_file()
1369 result = NULL; in libhal_volume_from_device_file()
1394 return result; in libhal_volume_from_device_file()
1756 char *result; in libhal_volume_crypto_get_clear_volume_udi() local
1785 char *result; in libhal_drive_policy_default_get_mount_root() local
1817 char *result; in libhal_drive_policy_default_get_managed_keyword_primary() local
[all …]
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_svc_com.c364 *result = NULL; in rpcbproc_getaddr_com()
395 *result = NULL; in rpcbproc_getaddr_com()
398 *result = NULL; in rpcbproc_getaddr_com()
419 *result = &list_rbl; in rpcbproc_dump_com()
459 (void) memset(result, 0, sizeof (*result)); in rpcbproc_uaddr2taddr_com()
463 memcpy(result, taddr, sizeof (*result)); in rpcbproc_uaddr2taddr_com()
480 *result = NULL; in rpcbproc_taddr2uaddr_com()
1172 rmtcallres result; in rpcbproc_callit_com() local
1191 rpcb_rmtcallres result; in rpcbproc_callit_com() local
1193 result.addr = fi->uaddr; in rpcbproc_callit_com()
[all …]
/illumos-gate/usr/src/uts/sun4u/excalibur/io/
H A Dxcalppm.c923 *result = DDI_SUCCESS; in xcppm_manage_cpus()
993 *result = ret; in xcppm_manage_cpus()
1148 *result = DDI_SUCCESS; in xcppm_manage_pciupa()
1162 *result = DDI_FAILURE; in xcppm_manage_pciupa()
1205 *result = retval; in xcppm_manage_pciupa()
1210 *result = retval; in xcppm_manage_pciupa()
1228 *result = retval; in xcppm_manage_pciupa()
1240 *result = retval; in xcppm_manage_pciupa()
1302 if ((*result = in xcppm_manage_1394()
1323 if ((*result = in xcppm_manage_1394()
[all …]
/illumos-gate/usr/src/boot/libsa/
H A Dpager.c137 int result; in pager_file() local
147 result = -1; in pager_file()
151 result = 0; in pager_file()
156 result = 1; in pager_file()
161 return (result); in pager_file()
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_dataset.c368 result = -1; in populate_PoolBean()
444 int result; in create_PoolBean() local
452 if (result) { in create_PoolBean()
463 int result; in create_FileSystemBean() local
471 if (result) { in create_FileSystemBean()
482 int result; in create_VolumeBean() local
490 if (result) { in create_VolumeBean()
501 int result; in create_FileSystemSnapshotBean() local
509 if (result) { in create_FileSystemSnapshotBean()
520 int result; in create_VolumeSnapshotBean() local
[all …]
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dvsc7326.c96 u32 result = 0xffff; in vsc7326_full_reset() local
110 } while (result != 0x0); in vsc7326_full_reset()
255 u32 result=0; in bist_rd() local
271 if((result & (1<<9)) != 0x0) in bist_rd()
273 else if((result & (1<<8)) != 0x0) in bist_rd()
276 return(result & 0xff); in bist_rd()
282 u32 result=0; in bist_wr() local
301 if((result & (1<<27)) != 0x0) in bist_wr()
320 int result=0; in check_bist() local
326 if ((result & 3) != 0x3) in check_bist()
[all …]
/illumos-gate/usr/src/uts/common/io/pci-ide/
H A Dpci-ide.c93 void *result);
290 void *arg, void *result) in pciide_ddi_ctlops() argument
315 *(int *)result = 3; in pciide_ddi_ctlops()
388 *(off_t *)result = tmp; in pciide_ddi_ctlops()
716 *(int *)result = DDI_INTR_TYPE_FIXED; in pciide_intr_ops()
719 *(int *)result = DDI_INTR_FLAG_LEVEL; in pciide_intr_ops()
732 *(int *)result = 0; in pciide_intr_ops()
735 *(int *)result = pri; in pciide_intr_ops()
761 rdip, intr_op, hdlp, result); in pciide_intr_ops()
813 PSM_INTR_OP_ALLOC_VECTORS, result); in pciide_alloc_intr()
[all …]
/illumos-gate/usr/src/cmd/ctrun/
H A Dctrun.c150 uint_t result = 0; in opt2bits() local
172 if (result) in opt2bits()
183 if (result & bit) in opt2bits()
187 result |= bit; in opt2bits()
191 *bits = result; in opt2bits()
241 uint_t result; in get_event() local
304 return (result); in get_event()
628 if (result == -1) in main()
717 int result; in main() local
725 if (result == 1) in main()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.index.d148 this->result = index(command[i].str, command[i].substr);
151 command[i].str, command[i].substr, this->result);
158 printf("%d\\n\");\n", this->result);
166 this->result = rindex(command[i].str, command[i].substr);
169 command[i].str, command[i].substr, this->result);
176 printf("%d\\n\");\n", this->result);
184 this->result = index(command[i].str,
188 command[i].substr, command[i].position, this->result);
195 printf("%d\\n\");\n", this->result);
203 this->result = rindex(command[i].str,
[all …]
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dpraliases.c238 int result; local
306 result = smdb_open_database(&database, db_name, O_RDONLY, 0,
308 if (result != SMDBE_OK)
312 db_name, sm_errstring(result));
321 result = database->smdb_cursor(database, &cursor, 0);
322 if (result != SMDBE_OK)
326 sm_errstring(result));
330 while ((result = cursor->smdbc_get(cursor, &db_key, &db_value,
353 if (result != SMDBE_OK && result != SMDBE_LAST_ENTRY)
357 db_name, sm_errstring(result));
/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiospnp.c113 int result; in biospnp_init() local
130 result = biospnp_f00(vsegofs(&pnp_NumNodes), vsegofs(&pnp_NodeSize)); in biospnp_init()
131 if (result != PNP_SUCCESS) { in biospnp_init()
138 result = biospnp_f40(vsegofs(&icfg)); in biospnp_init()
139 switch (result) { in biospnp_init()
159 int result; in biospnp_enumerate() local
171 result = biospnp_f01(vsegofs(&Node), vsegofs(devNodeBuffer), 0x1); in biospnp_enumerate()
172 if (result != PNP_SUCCESS) { in biospnp_enumerate()
173 printf("PnP BIOS node %d: error 0x%x\n", Node, result); in biospnp_enumerate()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_locking_andx.c251 DWORD result; in smb_com_locking_andx() local
365 result = smb_lock_range_cancel(sr, lr->off, lr->len, lr->pid); in smb_com_locking_andx()
367 if (result != NT_STATUS_SUCCESS) { in smb_com_locking_andx()
381 result = smb_unlock_range(sr, lr->off, lr->len, lr->pid); in smb_com_locking_andx()
382 if (result != NT_STATUS_SUCCESS) { in smb_com_locking_andx()
391 result = smb_lock_range(sr, lr->off, lr->len, lr->pid, in smb_com_locking_andx()
393 if (result != NT_STATUS_SUCCESS) { in smb_com_locking_andx()
403 smb_lock_range_error(sr, result); in smb_com_locking_andx()
/illumos-gate/usr/src/lib/libwrap/
H A Dworkarounds.c268 char *result; local
272 while ((result = strsep(&state, sep)) && result[0] == 0)
274 return (result);
293 char *result; local
307 result = state;
310 return (result);
/illumos-gate/usr/src/lib/iconv_modules/zh/common/
H A Dzh_TW-iso2022-CN-EXT%zh_TW-big5.c54 long result = ptr1->key - ptr2->key; in cns_big5_comp() local
55 return result == 0 ? 0 : result > 0 ? 1 : -1; in cns_big5_comp()
95 long result = ptr1->gbcode - ptr2->gbcode; in gb_big5_comp() local
96 return result == 0 ? 0 : result > 0 ? 1 : -1; in gb_big5_comp()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetgrnam.c88 ret = getgrgid_r(gid, b->result, b->buffer, b->buflen); in getgrgid()
93 ret = getgrgid_r(gid, b->result, b->buffer, b->buflen); in getgrgid()
107 ret = getgrnam_r(nam, b->result, b->buffer, b->buflen); in getgrnam()
112 ret = getgrnam_r(nam, b->result, b->buffer, b->buflen); in getgrnam()
123 getgrent_r(b->result, b->buffer, b->buflen)); in getgrent()
132 fgetgrent_r(f, b->result, b->buffer, b->buflen)); in fgetgrent()
/illumos-gate/usr/src/uts/common/syscall/
H A Dauditsys.c46 int result = 0; in auditsys() local
86 result = EINVAL; in auditsys()
96 rvp->r_vals = result; in auditsys()
97 return (result); in auditsys()
1369 int result; in auditctl() local
1431 result = getstat(data); in auditctl()
1434 result = setstat(data); in auditctl()
1443 result = getcond(data); in auditctl()
1446 result = setcond(data); in auditctl()
1464 result = EINVAL; in auditctl()
[all …]

12345678910>>...59