Searched refs:ap (Results 401 - 425 of 1147) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/uts/intel/sys/acpi/platform/
H A Daccygwin.h100 vsnprintf (char *s, size_t n, const char *format, va_list ap);
/illumos-gate/usr/src/lib/libadutils/common/
H A Dadutils.c1046 adutils_attr_t *ap; local
1055 ap = &entry->attr_nvpairs[i];
1056 if (ap->attr_name == NULL) {
1057 ldap_value_free(ap->attr_values);
1060 if (check_for_binary_attrs(ap->attr_name) >= 0) {
1061 free(ap->attr_name);
1062 if (ap->attr_values == NULL)
1064 for (j = 0; j < ap->num_values; j++)
1065 free(ap->attr_values[j]);
1066 free(ap
1113 adutils_attr_t *ap; local
1145 adutils_attr_t *ap; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_io.c145 #define VA_ARG(ap, type) ((ap->val_type == VAT_VARARGS) ? \
146 va_arg(ap->val_valist, type) : (type)vec_arg(&ap->val_argv))
147 #define VA_PTRARG(ap) ((ap->val_type == VAT_VARARGS) ? \
148 (void *)va_arg(ap->val_valist, uintptr_t) : \
149 (void *)(uintptr_t)vec_arg(&ap->val_argv))
773 iob_int2str(varglist_t *ap, intsize_t size, int base, uint_t flags, int *zero, argument
781 i = (u_longlong_t)VA_ARG(ap, u_longlong_
884 iob_bytes2str(varglist_t *ap, intsize_t size) argument
1171 iob_doprnt(mdb_iob_t *iob, const char *format, varglist_t *ap) argument
1579 varglist_t ap = { VAT_VARARGS }; local
1587 varglist_t ap = { VAT_ARGVEC }; local
1715 varglist_t ap = { VAT_VARARGS }; local
1739 varglist_t ap = { VAT_ARGVEC }; local
2302 varglist_t ap = { VAT_VARARGS }; local
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dcache.c74 static int match_alias(alias_t *ap, alias_t *listp);
257 alias_t *ap; local
269 ap = dp->aliases;
270 while (ap != NULL) {
273 nextp = ap->next;
274 cache_free_alias(ap);
275 ap = nextp;
591 alias_t *ap; local
593 for (ap = listp->aliases; ap; a
715 match_alias(alias_t *ap, alias_t *listp) argument
734 alias_t *ap; local
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppop.c332 va_list ap; local
350 va_start(ap, op);
361 if ((p = va_arg(ap, char*)) && *p)
372 pp.builtin = va_arg(ap, PPBUILTIN);
375 p = va_arg(ap, char*);
376 c = va_arg(ap, int);
407 if (p = va_arg(ap, char*))
431 if (pp.comment = va_arg(ap, PPCOMMENT))
437 set(&pp.state, COMPATIBILITY, va_arg(ap, int));
456 if (kp = va_arg(ap, struc
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Dencode.c564 va_list ap; local
570 va_start( ap, fmt );
583 i = va_arg( ap, int );
588 i = va_arg( ap, int );
593 i = va_arg( ap, int );
602 s = va_arg( ap, char * );
603 len = va_arg( ap, int );
608 if( ( bval = va_arg( ap, struct berval * ) ) == NULL )
619 s = va_arg( ap, char * );
624 s = va_arg( ap, cha
[all...]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dvfscanf.c103 ** ap -- vectors for memory location for storing data units
111 sm_vfscanf(fp, timeout, fmt0, ap)
115 va_list SM_NONVOLATILE ap;
312 *SM_VA_ARG(ap, short *) = nread;
314 *SM_VA_ARG(ap, long *) = nread;
316 *SM_VA_ARG(ap, int *) = nread;
400 (void *) SM_VA_ARG(ap, char *),
436 p0 = p = SM_VA_ARG(ap, char *);
480 p0 = p = SM_VA_ARG(ap, char *);
635 *SM_VA_ARG(ap, voi
[all...]
H A Dvasprintf.c45 ** ap -- variable argument list
58 sm_vasprintf(str, fmt, ap)
84 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
H A Dvsnprintf.c33 ** ap -- data unit vectors for use by 'fmt'
43 sm_vsnprintf(str, n, fmt, ap)
77 ret = sm_io_vfprintf(&fake, SM_TIME_FOREVER, fmt, ap);
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgstr.c225 va_list ap; local
237 va_start(ap, a_format);
238 vres = vsnprintf(a_buf, a_bufLen-1, a_format, ap);
239 va_end(ap);
268 va_list ap; local
280 va_start(ap, a_format);
281 vres = vsnprintf(bfr, 1, a_format, ap);
282 va_end(ap);
297 va_start(ap, a_format);
298 vres = vsnprintf(rstr, vres+1, a_format, ap);
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Demul64.c79 static int emul64_scsi_start(struct scsi_address *ap, struct scsi_pkt *pkt);
81 static int emul64_scsi_abort(struct scsi_address *ap, struct scsi_pkt *pkt);
82 static int emul64_scsi_reset(struct scsi_address *ap, int level);
83 static int emul64_scsi_getcap(struct scsi_address *ap, char *cap, int whom);
84 static int emul64_scsi_setcap(struct scsi_address *ap, char *cap, int value,
86 static struct scsi_pkt *emul64_scsi_init_pkt(struct scsi_address *ap,
89 static void emul64_scsi_destroy_pkt(struct scsi_address *ap,
91 static void emul64_scsi_dmafree(struct scsi_address *ap, struct scsi_pkt *pkt);
92 static void emul64_scsi_sync_pkt(struct scsi_address *ap, struct scsi_pkt *pkt);
93 static int emul64_scsi_reset_notify(struct scsi_address *ap, in
660 emul64_scsi_getcap(struct scsi_address *ap, char *cap, int whom) argument
734 emul64_scsi_setcap(struct scsi_address *ap, char *cap, int value, int whom) argument
809 emul64_scsi_init_pkt(struct scsi_address *ap, struct scsi_pkt *pkt, struct buf *bp, int cmdlen, int statuslen, int tgtlen, int flags, int (*callback)(), caddr_t arg) argument
885 emul64_scsi_destroy_pkt(struct scsi_address *ap, struct scsi_pkt *pkt) argument
917 emul64_scsi_dmafree(struct scsi_address *ap, struct scsi_pkt *pkt) argument
932 emul64_scsi_sync_pkt(struct scsi_address *ap, struct scsi_pkt *pkt) argument
940 emul64_scsi_reset_notify(struct scsi_address *ap, int flag, void (*callback)(caddr_t), caddr_t arg) argument
998 emul64_scsi_start(struct scsi_address *ap, struct scsi_pkt *pkt) argument
1358 emul64_scsi_abort(struct scsi_address *ap, struct scsi_pkt *pkt) argument
1365 emul64_scsi_reset(struct scsi_address *ap, int level) argument
1608 va_list ap; local
1622 emul64_debug_dump_cdb(struct scsi_address *ap, struct scsi_pkt *pkt) argument
[all...]
/illumos-gate/usr/src/cmd/saf/
H A Dsacadm.c742 register struct admcmd *ap = &cmd; /* and a pointer to it */ local
744 ap->ac_mtype = AC_START;
745 (void) strcpy(ap->ac_tag, tag);
746 ap->ac_pid = getpid();
747 sendcmd(ap, NULL, tag);
763 register struct admcmd *ap = &cmd; /* and a pointer to it */ local
765 ap->ac_mtype = AC_KILL;
766 (void) strcpy(ap->ac_tag, tag);
767 ap->ac_pid = getpid();
768 sendcmd(ap, NUL
784 register struct admcmd *ap = &cmd; /* and a pointer to it */ local
805 register struct admcmd *ap = &cmd; /* and a pointer to it */ local
827 register struct admcmd *ap = &cmd; /* and a pointer to it */ local
854 register struct admcmd *ap = &acmd; /* and a pointer to it */ local
[all...]
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_snap.c177 libscsi_action_t *ap; local
204 ap = libscsi_action_alloc(tp->st_scsi_hdl,
208 if (ap == NULL)
213 libscsi_action_get_cdb(ap);
220 if (libscsi_exec(ap, tp->st_target) != 0) {
221 libscsi_action_free(ap);
226 if (libscsi_action_get_status(ap) != 0) {
227 (void) ses_scsi_error(ap,
229 libscsi_action_free(ap);
233 (void) libscsi_action_get_buffer(ap,
279 libscsi_action_t *ap; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dnvtree.c307 Namarr_t *ap = nv_arrayptr(nq); local
308 if(ap && (ap->nelem&ARRAY_SCAN) && nv_nextsub(nq))
340 Namarr_t *ap = nv_arrayptr(np);
341 if(ap && (ap->nelem&ARRAY_UNDEF))
475 Namarr_t *ap = nv_arrayptr(np); local
477 if(ap && array_assoc(ap))
484 if((ap
547 Namarr_t *ap = nv_arrayptr(np); local
831 Namarr_t *ap=0; local
904 register struct argnod *ap=0; local
1044 struct Namarray *ap; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c275 struct active *alist, *ap; local
345 ap = (struct active *)malloc(sizeof (struct active));
346 if (ap == NULL) {
350 ap->rdev = (char *)strdup(name);
351 if (ap->rdev == NULL) {
355 ap->nxt = alist;
356 alist = ap;
357 switch (ap->pid = fork()) {
393 struct active *ap, *lap; local
403 for (lap = NULL, ap
[all...]
/illumos-gate/usr/src/lib/pam_modules/authtok_store/
H A Dauthtok_store.c46 va_list ap; local
49 va_start(ap, fmt);
50 (void) vsnprintf(messages[0], sizeof (messages[0]), fmt, ap);
54 va_end(ap);
61 va_list ap; local
64 va_start(ap, fmt);
65 (void) vsnprintf(messages[0], sizeof (messages[0]), fmt, ap);
69 va_end(ap);
/illumos-gate/usr/src/lib/scsi/plugins/smp/sas2/common/
H A Dsas2_functions.c49 sas2_rq_dataoff(smp_action_t *ap, smp_target_t *tp) argument
53 smp_action_get_request_frame(ap, NULL, &len);
62 sas2_rq_setframe(smp_action_t *ap, smp_target_t *tp) argument
64 const smp_function_def_t *dp = smp_action_get_function_def(ap);
71 smp_action_get_request_frame(ap, (void *)&fp, &rqlen);
72 smp_action_get_response_frame(ap, NULL, &rslen);
107 sas2_rs_datalen(smp_action_t *ap, smp_target_t *tp) argument
112 smp_action_get_response_frame(ap, (void **)&fp, &len);
129 sas2_rs_dataoff(smp_action_t *ap, smp_target_t *tp) argument
133 smp_action_get_response_frame(ap, NUL
142 sas2_rs_getparams(smp_action_t *ap, smp_target_t *tp) argument
167 sas2_report_general_rs_datalen(smp_action_t *ap, smp_target_t *tp) argument
191 sas2_report_manufacturer_info_rs_datalen(smp_action_t *ap, smp_target_t *tp) argument
275 sas2_discover_rs_datalen(smp_action_t *ap, smp_target_t *tp) argument
311 sas2_report_phy_error_log_rs_datalen(smp_action_t *ap, smp_target_t *tp) argument
347 sas2_report_phy_sata_rs_datalen(smp_action_t *ap, smp_target_t *tp) argument
383 sas2_report_route_info_rs_datalen(smp_action_t *ap, smp_target_t *tp) argument
[all...]
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A DsunFM_impl.h44 extern void sunFm_vpanic(const char *format, va_list ap) __NORETURN;
49 extern void sunFm_vpanic(const char *format, va_list ap);
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dsubr.c126 va_list ap; local
131 va_start(ap, error);
132 vfprintf(stderr, fmt, ap);
133 va_end(ap);
295 va_list ap; local
297 va_start(ap, fmt);
301 vfprintf(stderr, fmt, ap);
304 va_end(ap);
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dty_alnum.c71 make_alnum(va_list *ap) argument
76 *width = va_arg(*ap, int);
H A Dty_alpha.c71 make_alpha(va_list *ap) argument
76 *width = va_arg(*ap, int);
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-public.c114 va_list ap; local
125 va_start( ap, option );
128 rc = prldap_set_io_max_timeout( prsessp, va_arg( ap, int ));
133 va_end( ap );
156 va_list ap; local
167 va_start( ap, option );
170 rc = prldap_get_io_max_timeout( prsessp, va_arg( ap, int * ));
175 va_end( ap );
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Dfcgp2.c139 gp2_fc_ops_alloc_handle(dev_info_t *ap, dev_info_t *child, argument
147 rp->next_handle = fc_ops_alloc_handle(ap, child, fcode, fcode_size,
149 rp->ap = ap;
223 gp2_fc_ops(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
234 if (fc_ops(ap, rp->next_handle, cp) == 0) {
237 return (pv->f(ap, rp, cp));
243 return (pv->f(ap, rp, cp));
254 gfc_map_in(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
307 return (fc_success_op(ap, r
314 gfc_map_out(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
361 gfc_register_fetch(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
468 gfc_register_store(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
561 gfc_master_intr(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
589 gfc_claim_address(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
657 gfc_claim_memory(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
727 gfc_release_memory(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
781 gfc_vtop(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
826 gfc_config_child(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
845 gfc_get_fcode(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
896 gfc_get_fcode_size(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/postcomm/
H A Dpostcomm.c169 va_list ap;
171 va_start(ap, mesg);
172 vfprintf(fp_log, mesg, ap);
173 va_end(ap);
201 va_list ap;
204 va_start(ap, mesg);
205 vfprintf(fp_log, mesg, ap);
206 va_end(ap);
168 va_list ap; local
199 va_list ap; local
/illumos-gate/usr/src/cmd/plockstat/
H A Dplockstat.c376 verror(const char *fmt, va_list ap) argument
381 (void) vfprintf(stderr, fmt, ap);
391 va_list ap; local
393 va_start(ap, fmt);
394 verror(fmt, ap);
395 va_end(ap);
407 va_list ap; local
409 va_start(ap, fmt);
413 (void) vfprintf(stderr, fmt, ap);
415 va_end(ap);
437 va_list ap; local
[all...]

Completed in 161 milliseconds

<<11121314151617181920>>