Searched refs:outbuf (Results 76 - 100 of 139) sorted by relevance

123456

/illumos-gate/usr/src/lib/libumem/common/
H A Denvvar.c621 char outbuf[ENV_SHORT_BYTES + 1]; local
625 (void) strncpy(outbuf, beg, ENV_SHORT_BYTES);
626 outbuf[ENV_SHORT_BYTES] = 0;
629 outbuf);
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c403 validate_size_and_cvt_val(void *outbuf, size_t size, int type, char *val) argument
426 (void) memcpy(outbuf, &llval, size);
432 (void) memcpy(outbuf, &intval, size);
438 (void) memcpy(outbuf, &sval, size);
444 (void) memcpy(outbuf, &cval, size);
456 (void) memcpy(outbuf, &ullval, size);
462 (void) memcpy(outbuf, &uintval, size);
468 (void) memcpy(outbuf, &usval, size);
474 (void) memcpy(outbuf, &ucval, size);
486 (void) memcpy(outbuf,
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dfwd_tgt.c41 krb5_fwd_tgt_creds(krb5_context context, krb5_auth_context auth_context, char *rhost, krb5_principal client, krb5_principal server, krb5_ccache cc, int forwardable, krb5_data *outbuf) argument
207 *outbuf = *scratch;
H A Dmk_req_ext.c41 Formats a KRB_AP_REQ message into outbuf, with more complete options than
44 outbuf, ap_req_options, checksum, and ccache are used in the
63 The outbuf buffer storage is allocated, and should be freed by the
132 krb5_creds *in_creds, krb5_data *outbuf)
255 *outbuf = *toutbuf;
130 krb5_mk_req_extended(krb5_context context, krb5_auth_context *auth_context, krb5_flags ap_req_options, krb5_data *in_data, krb5_creds *in_creds, krb5_data *outbuf) argument
H A Dsend_tgs.c56 krb5_send_tgs_basic(krb5_context context, krb5_data *in_data, krb5_creds *in_cred, krb5_data *outbuf) argument
112 *outbuf = *toutbuf;
/illumos-gate/usr/src/lib/libpp/common/
H A Dppfsm.h237 if ((pp.in->flags & IN_flush) && pp.level == 1 && !INMACRO(rp) && (!pp.comment || !INCOMMENT(rp)) && (c = op - pp.outbuf) > 0 && *(op - 1) == '\n') \
240 op = tp = pp.outp = pp.outbuf; \
H A Dpplex.c58 #define LASTOUT() ((op>pp.outbuf)?*(op-1):pp.lastout)
69 #define PPCHECKOUT() do{if(op>xp){{PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;xp=pp.oute+=PPBUFSIZ;}else{pp.outbuf-=PPBUFSIZ;memcpy(pp.outbuf,xp,op-xp);xp=pp.oute-=PPBUFSIZ;op-=2*PPBUFSIZ;}}}}while(0)
70 #define PPCHECKOUTSP() do{if(op>xp){if(sp)op=sp;else{PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;xp=pp.oute+=PPBUFSIZ;}else{pp.outbuf-=PPBUFSIZ;memcpy(pp.outbuf,xp,op-xp);xp=pp.oute-=PPBUFSIZ;op-=2*PPBUFSIZ;}}}}while(0)
71 #define PPCHECKOUTTP() do{if(op>xp){{PPWRITE(PPBUFSIZ);if(pp.outbuf
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyp_b_subr.c680 struct netbuf *outbuf; local
684 if ((outbuf =
687 if ((outbuf->buf = malloc(inbuf->len)) == NULL) {
688 free(outbuf);
691 outbuf->len = inbuf->len;
692 outbuf->maxlen = inbuf->len;
693 (void) memcpy(outbuf->buf, inbuf->buf, inbuf->len);
694 return (outbuf);
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dreadbuf.c901 nfslog_opaque_print_buf(void *buf, int len, char *outbuf, int *outbufoffsetp, argument
909 outbufoffset += sprintf(&outbuf[outbufoffset], " \"");
913 outbufoffset += sprintf(&outbuf[outbufoffset],
924 outbufoffset += sprintf(&outbuf[outbufoffset],
931 outbufoffset += sprintf(&outbuf[outbufoffset], " %08x", *ip);
937 outbufoffset += sprintf(&outbuf[outbufoffset], " ");
939 outbufoffset += sprintf(&outbuf[outbufoffset],
944 outbufoffset += sprintf(&outbuf[outbufoffset], "\"");
/illumos-gate/usr/src/uts/common/os/
H A Dkiconv.c183 kiconv_to_sb(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, argument
225 ob = (uchar_t *)*outbuf;
349 *outbuf = (char *)ob;
360 kiconv_fr_sb(void *kcd, char **inbuf, size_t *inbytesleft, char **outbuf, argument
387 ob = (uchar_t *)*outbuf;
443 *outbuf = (char *)ob;
1303 char **outbuf, size_t *outbytesleft, int *errno)
1312 outbuf, outbytesleft, errno));
1302 kiconv(kiconv_t kcd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int *errno) argument
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dio.c213 fmt_manf_id(unsigned int encoded_id, char *outbuf) argument
225 (void) sprintf(outbuf, "%s %d, version %d", "Brooktree",
230 (void) sprintf(outbuf, "%s %x, version %d", "Mitsubishi",
235 (void) sprintf(outbuf, "JED code %d, Part num 0x%x, version %d",
238 return (outbuf);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c130 char outbuf[UDPMSGSIZE], inbuf[UDPMSGSIZE]; local
309 xdrmem_create(xdrs, outbuf, sizeof (outbuf), XDR_ENCODE);
318 t_udata.udata.buf = outbuf;
350 *((ulong_t *)outbuf) =
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dzcons.c626 char outbuf[BUFSIZ]; local
684 (void) snprintf(outbuf, sizeof (outbuf), "\r\n[%s]\r\n", lstr);
685 (void) write(clifd, outbuf, strlen(outbuf));
/illumos-gate/usr/src/lib/gss_mechs/mech_spnego/mech/
H A Dspnego_mech.c1160 gss_cred_id_t cred, gss_buffer_t *outbuf)
1174 *outbuf = GSS_C_NO_BUFFER;
1277 *outbuf = (gss_buffer_t)malloc(sizeof(gss_buffer_desc));
1278 if (*outbuf == NULL) {
1282 (*outbuf)->value = (void *)t;
1283 (*outbuf)->length = ptr - t;
3376 gss_buffer_t outbuf)
3389 if (outbuf == GSS_C_NO_BUFFER)
3392 outbuf->length = 0;
3393 outbuf
1159 make_NegHints(OM_uint32 *minor_status, gss_cred_id_t cred, gss_buffer_t *outbuf) argument
3372 make_spnego_tokenInit_msg(spnego_gss_ctx_id_t spnego_ctx, int negHintsCompat, gss_buffer_t mechListMIC, OM_uint32 req_flags, gss_buffer_t data, send_token_flag sendtoken, gss_buffer_t outbuf) argument
3538 make_spnego_tokenTarg_msg(OM_uint32 status, gss_OID mech_wanted, gss_buffer_t data, gss_buffer_t mechListMIC, send_token_flag sendtoken, gss_buffer_t outbuf) argument
[all...]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DRequestHandler.java287 byte[] outbuf = baos.toByteArray();
293 if (outbuf != null && outbuf.length > 0) {
294 sendDatagramReply(outbuf);
429 private void sendDatagramReply(byte[] outbuf) { argument
442 new DatagramPacket(outbuf, outbuf.length, clientAddr, port);
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dctf.c560 caddr_t outbuf; local
563 outbuf = xmalloc(sizeof (ctf_header_t) + (buf->ctb_ptr - buf->ctb_base)
566 bufpos = outbuf;
571 *resszp = bufpos - outbuf;
572 return (outbuf);
606 caddr_t outbuf; local
652 outbuf = write_compressed_buffer(&h, buf, resszp);
654 outbuf = write_buffer(&h, buf, resszp);
657 return (outbuf);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Dhuron.c387 huron_get_first_compatible_value(picl_nodehdl_t nodeh, char **outbuf) argument
410 *outbuf = pval;
440 *outbuf = pval;
H A Dontario.c76 char **outbuf);
603 ontario_get_first_compatible_value(picl_nodehdl_t nodeh, char **outbuf) argument
626 *outbuf = pval;
656 *outbuf = pval;
H A Dstpaul.c64 char **outbuf);
458 stpaul_get_first_compatible_value(picl_nodehdl_t nodeh, char **outbuf) argument
481 *outbuf = pval;
511 *outbuf = pval;
/illumos-gate/usr/src/cmd/refer/
H A Dhunt6.c22 char *outbuf = 0; variable
/illumos-gate/usr/src/cmd/avs/nsctl/
H A Dnskernd.c323 char outbuf[CFG_MAX_BUF]; local
412 (void) snprintf(outbuf, CFG_MAX_BUF, "%s %s %s %s %s %s %s %s",
414 if (cfg_put_cstring(cfg, key, outbuf, CFG_MAX_BUF) < 0) {
415 (void) printf("Failed to put [%s]\n", outbuf);
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c983 * envp. data from stdout and stderr are placed in outbuf and errbuf,
990 char *outbuf, size_t outbuflen, char *errbuf, size_t errbuflen)
1061 if (read(outpipe[0], outbuf, outbuflen) <= 0) {
1072 * handle case where outbuf is not properly
1077 if (outbuf[count - 1] != '\0' &&
1078 outbuf[count - 1] != '\n')
1079 outbuf[count] = '\0';
1306 * use rather short buffers. only the first string on outbuf[] is
1310 char outbuf[256], errbuf[512]; local
1355 outbuf[
989 forkandexecve(const char *path, char *const argv[], char *const envp[], char *outbuf, size_t outbuflen, char *errbuf, size_t errbuflen) argument
[all...]
/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c795 char *outbuf; local
811 outbuf = malloc(OUTPUT_BUF_SIZE);
812 if (outbuf == NULL) {
818 rc = filter(input, sequence, outbuf, in_len, maxavail);
822 LOG_AUDIT, LOG_NOTICE, outbuf);
837 free(outbuf);
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dauxprop.c508 * outbuf -- output buffer
514 char *outbuf, unsigned outmax, unsigned *outlen)
519 if(!ctx || !outbuf) return SASL_BADPARAM;
532 *outbuf = '\0';
539 strncat(outbuf, sep, seplen);
543 strcat(outbuf, val->name);
513 prop_format(struct propctx *ctx, const char *sep, int seplen, char *outbuf, unsigned outmax, unsigned *outlen) argument
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c801 CK_BYTE outbuf[MAX_SHA2_DIGEST_LENGTH + local
803 CK_ULONG outlen = sizeof (outbuf);
818 tobesigned->Length, outbuf, &outlen);
854 (void) memcpy(output->Data + pfxlen, outbuf, outlen);
857 (void) memcpy(output->Data, outbuf, outlen);

Completed in 208 milliseconds

123456