Searched refs:result (Results 201 - 225 of 1411) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/ucblib/libtermcap/
H A Dtgoto.c78 static char result[MAXRETURNSIZE]; local
81 char *dp = result;
211 return (result);
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_dev.c88 void **result)
92 *result = aggr_dip;
95 *result = 0;
87 aggr_getinfo(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument
/illumos-gate/usr/src/uts/common/io/
H A Detheraddr.c38 localetheraddr(struct ether_addr *hint, struct ether_addr *result) argument
54 if (result != NULL)
55 *result = addr;
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_thread.c246 boolean_t result; local
251 result = smb_thread_continue_timedwait_locked(thread, 0);
254 return (result);
260 boolean_t result; local
269 result = smb_thread_continue_timedwait_locked(thread, -1);
272 return (result);
278 boolean_t result; local
283 result = smb_thread_continue_timedwait_locked(thread,
287 return (result);
299 boolean_t result; local
[all...]
H A Dsmb_locking_andx.c120 * request which were successfully locked as a result of this protocol will
182 * user's data buffer as a result of this notification crossing on the wire
241 DWORD result; local
324 result = smb_unlock_range(sr, sr->fid_ofile->f_node,
326 if (result != NT_STATUS_SUCCESS) {
342 result = smb_lock_range(sr, offset64, length64, timeout,
344 if (result != NT_STATUS_SUCCESS) {
345 smb_lock_range_error(sr, result);
359 result = smb_unlock_range(sr, sr->fid_ofile->f_node,
361 if (result !
[all...]
/illumos-gate/usr/src/cmd/ptools/ptime/
H A Dptime.c50 static void tsadd(timestruc_t *result, timestruc_t *a, timestruc_t *b);
51 static void tssub(timestruc_t *result, timestruc_t *a, timestruc_t *b);
286 tsadd(timestruc_t *result, timestruc_t *a, timestruc_t *b) argument
288 result->tv_sec = a->tv_sec + b->tv_sec;
289 if ((result->tv_nsec = a->tv_nsec + b->tv_nsec) >= 1000000000) {
290 result->tv_nsec -= 1000000000;
291 result->tv_sec += 1;
296 tssub(timestruc_t *result, timestruc_t *a, timestruc_t *b) argument
298 result->tv_sec = a->tv_sec - b->tv_sec;
299 if ((result
[all...]
/illumos-gate/usr/src/lib/libproject/common/
H A Dgetprojent.c83 _getprojent(struct project *result, void *buffer, size_t buflen) argument
87 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2project);
93 _fgetprojent(FILE *f, struct project *result, void *buffer, size_t buflen) argument
98 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2project);
104 _getprojbyid(projid_t projid, struct project *result, argument
109 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2project);
117 _getprojbyname(const char *name, struct project *result, argument
121 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2project);
197 _getdefaultproj(const char *user, struct project *result, argument
207 NSS_XbyY_INIT(&arg, result, buffe
[all...]
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dcommon.c387 int result = -1; local
401 result = 0;
406 return (result);
419 **result; local
431 if ((result = (char **)calloc(length+1, sizeof (char *))) != NULL)
432 (void) memcpy(result, list, length * sizeof (char *));
434 return (result);
505 char **result = NULL; local
520 list_append(&result, strdup(value));
525 return (result);
534 char **result = NULL; local
560 static char **result; local
575 static char *result; local
[all...]
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dcommon.c274 int result; local
289 result = sasl_encodev(conn, &tmp, 1, output, outputlen);
291 RETURN(conn, result);
301 int result = SASL_FAIL; local
303 int result;
339 result = _iovec_to_buf(conn->gctx, invec, numiov, &conn->encode_buf);
341 result = _iovec_to_buf(invec, numiov, &conn->encode_buf);
343 if(result != SASL_OK) INTERROR(conn, result);
353 result
365 int result; local
511 int result = SASL_OK; local
589 int result; local
624 int result; local
649 int result; local
730 int result = SASL_OK; local
880 int result = SASL_OK; local
1344 _sasl_global_getopt(void *context, const char *plugin_name, const char *option, const char ** result, unsigned *len) argument
1405 _sasl_conn_getopt(void *context, const char *plugin_name, const char *option, const char ** result, unsigned *len) argument
1482 _sasl_getsimple(void *context, int id, const char ** result, size_t *len) argument
1710 int result; local
1732 int result; local
1773 int result; local
2509 sasl_listmech(sasl_conn_t *conn, const char *user, const char *prefix, const char *sep, const char *suffix, const char **result, unsigned *plen, int *pcount) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_ldap.c329 ns_ldap_result_t *result = NULL; local
360 NULL, NULL, 0, &result, &errp, NULL, NULL);
388 if (result)
389 __ns_ldap_freeResult(&result);
393 if (res == NS_LDAP_NOTFOUND || result == NULL ||
394 result->entries_count == 0 || result->entry->attr_count == 0) {
399 if (result)
400 __ns_ldap_freeResult(&result);
420 entry = result
477 ns_ldap_result_t *result = NULL; local
546 ns_ldap_result_t *result = NULL; local
832 ns_ldap_result_t *result = NULL; local
[all...]
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dldap_common.c143 (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 Dtsol_getrhent.c80 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);
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dattribute.c122 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...]
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgetauuser.c119 _getauuserent(au_user_str_t *result, char *buffer, int buflen, int *h_errnop) argument
124 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2auuser);
133 _getauusernam(const char *name, au_user_str_t *result, char *buffer, argument
139 if (result == NULL) {
143 NSS_XbyY_INIT(&arg, result, buffer, buflen, str2auuser);
/illumos-gate/usr/src/common/lvm/
H A Dmd_crc.c74 * during the crc computation. The result area of the record is also ignored
86 uint_t *result, /* put check-sum here(really u_long) */
144 /* Skip the result pointer */
145 if (record == (uchar_t *)result) {
164 /* If we are checking, we either get a 0 - OK, or 1 - Not OK result */
166 if (*((uint_t *)result) == newcrc)
172 * If we are generating, we stuff the result, if we have a result
175 if (result != NULL)
176 *((uint_t *)result)
83 crcfunc( uint_t check, uchar_t *record, uint_t *result, size_t size, crc_skip_t *skip ) argument
[all...]
/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetaonline.c157 int result; local
158 result = meta_mn_send_command(sp, origargc, origargv,
167 if (result == 0) {
168 if ((result = meta_mn_send_resync_starting(mirnp, ep))
172 md_exit(sp, result);
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dutil.c440 int result = -1; local
451 return (result);
457 result = 0;
460 return (result);
483 int result = -1; local
498 return (result);
504 result = 0;
507 return (result);
528 int result = -1; local
538 return (result);
553 int result = -1; local
671 int result = -1; local
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dddi_hp_impl.h80 #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);
/illumos-gate/usr/src/lib/libadutils/common/
H A Dlibadutils.h64 * This callback routine is used to process the result of
69 * qid - Query ID that corresponds to the result.
156 extern void adutils_freeresult(adutils_result_t **result);
160 adutils_result_t **result);
164 adutils_result_t *result);
169 extern boolean_t adutils_bv_uint(BerValue *bval, unsigned int *result);
181 const char *edomain, adutils_result_t **result,
/illumos-gate/usr/src/lib/libumem/common/
H A Denvvar.c303 ulong_t result; local
314 result = strtoul(item_arg, &endptr, 10);
316 if (result == ULONG_MAX && errno == ERANGE) {
324 if ((uint_t)result != result)
327 (*item->item_uint_target) = (uint_t)result;
342 ulong_t result; local
361 result = result_arg;
366 result *= 1024;
367 if (result < result_ar
432 size_t result; local
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dlock.c237 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...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-dns.c52 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...]
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dpraliases.c237 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...]
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_isoch.c314 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...]
/illumos-gate/usr/src/uts/common/sys/1394/
H A Dh1394.h136 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...]

Completed in 1067 milliseconds

1234567891011>>