/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | an_to_ln.c | 285 do_replacement(char *regexp, char *repl, int doall, char *in, char *out) argument 297 op = out; 307 strncpy(op, repl, MAX_FORMAT_BUFFER - 1 - (op - out)); 312 strncpy(op, cp, MAX_FORMAT_BUFFER - 1 - (op - out)); 318 strncpy(op, cp, MAX_FORMAT_BUFFER - 1 - (op - out)); 335 op = out; 347 strncpy(op, repl, MAX_FORMAT_BUFFER - 1 - (op - out)); 352 strncpy(op, cp, MAX_FORMAT_BUFFER - 1 - (op - out)); 358 strncpy(op, cp, MAX_FORMAT_BUFFER - 1 - (op - out)); 363 memcpy(out, i 386 char *out; local [all...] |
/illumos-gate/usr/src/lib/krb5/kadm5/ |
H A D | alt_prof.c | 187 string_to_boolean (const char *string, krb5_boolean *out) argument 195 *out = 1; 200 *out = 0;
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | dlopen.c | 279 * out should be a buffer of size PATH_MAX 285 static int _parse_la(const char *prefix, const char *in, char *out) argument 292 if(!in || !out || !prefix || out == in) return SASL_BADPARAM; 295 *out = '\0'; 314 strcpy(out, prefix); 315 strcat(out, in); 355 strcpy(out, prefix); 356 strcat(out, ntmp); 369 if(!(*out)) { [all...] |
H A D | saslutil.c | 114 * out -- output buffer (will be NUL terminated) 126 unsigned char *out = (unsigned char *)_out; local 149 blah=(char *) out; 153 *out++ = basis_64[in[0] >> 2]; 154 *out++ = basis_64[((in[0] << 4) & 0x30) | (in[1] >> 4)]; 155 *out++ = basis_64[((in[1] << 2) & 0x3c) | (in[2] >> 6)]; 156 *out++ = basis_64[in[2] & 0x3f]; 162 *out++ = basis_64[in[0] >> 2]; 165 *out++ = basis_64[oval]; 166 *out 189 sasl_decode64(const char *in, unsigned inlen, char *out, unsigned outmax, unsigned *outlen) argument [all...] |
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_list.c | 308 uu_panic("uu_list_insert(%p, %p, %p): out-of-date " 316 uu_list_find(uu_list_t *lp, void *elem, void *private, uu_list_index_t *out) argument 325 if (out != NULL) 326 *out = 0; 335 if (out != NULL) 336 *out = NODE_TO_INDEX(lp, np); 340 if (out != NULL) 341 *out = NODE_TO_INDEX(lp, np); 345 if (out != NULL) 346 *out [all...] |
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | setup.c | 97 * Take the real command character out of the CC environment variable 374 setupterm(char *term, int out, int *err) argument 378 code = __m_setupterm(term, STDIN_FILENO, out, err);
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | memcluster.c | 493 * Print the stats[] on the stream "out" with suitable formatting. 496 memstats(FILE *out) { argument 513 fprintf(out, "%s%5lu: %11lu gets, %11lu rem", 517 fprintf(out, " (%lu bl, %lu ff)", 519 fputc('\n', out); 522 fprintf(out, "Active Memory:\n"); 526 fprintf(out, "%s:%d %p:%lu\n",
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | tail.c | 66 "[L:log?When a \b--forever\b file times out via \b--timeout\b, verify that " 203 register Sfio_t* out; local 213 out = tmp[0] = sftmp(a); 216 while ((n = sfmove(infile, out, number, delim)) > 0) 218 offset[fno] = sftell(out); 221 out = tmp[fno= !fno]; 222 sfseek(out, (Sfoff_t)0, SEEK_SET); 385 error(2, "-%c: %s: invalid numeric argument -- out of range", o, s); 387 error(2, "%s: invalid numeric argument -- out of range", s); 614 error(ERROR_system(1), "out o [all...] |
/illumos-gate/usr/src/common/crypto/modes/ |
H A D | ccm.c | 49 crypto_data_t *out, size_t block_size, 78 if (out != NULL) 79 crypto_init_ptrs(out, &iov_or_mp, &offset); 131 if (out == NULL) { 139 crypto_get_ptrs(out, &iov_or_mp, &offset, &out_data_1, 154 out->cd_offset += block_size; 172 goto out; 178 out: 207 ccm_encrypt_final(ccm_ctx_t *ctx, crypto_data_t *out, size_t block_size, argument 219 if (out 48 ccm_mode_encrypt_contiguous_blocks(ccm_ctx_t *ctx, char *data, size_t length, crypto_data_t *out, size_t block_size, int (*encrypt_block)(const void *, const uint8_t *, uint8_t *), void (*copy_block)(uint8_t *, uint8_t *), void (*xor_block)(uint8_t *, uint8_t *)) argument 359 ccm_mode_decrypt_contiguous_blocks(ccm_ctx_t *ctx, char *data, size_t length, crypto_data_t *out, size_t block_size, int (*encrypt_block)(const void *, const uint8_t *, uint8_t *), void (*copy_block)(uint8_t *, uint8_t *), void (*xor_block)(uint8_t *, uint8_t *)) argument 527 ccm_decrypt_final(ccm_ctx_t *ctx, crypto_data_t *out, size_t block_size, int (*encrypt_block)(const void *, const uint8_t *, uint8_t *), void (*copy_block)(uint8_t *, uint8_t *), void (*xor_block)(uint8_t *, uint8_t *)) argument [all...] |
H A D | gcm.c | 132 crypto_data_t *out, size_t block_size, 161 if (out != NULL) 162 crypto_init_ptrs(out, &iov_or_mp, &offset); 197 if (out == NULL) { 205 crypto_get_ptrs(out, &iov_or_mp, &offset, &out_data_1, 220 out->cd_offset += block_size; 241 goto out; 246 out: 252 gcm_encrypt_final(gcm_ctx_t *ctx, crypto_data_t *out, size_t block_size, argument 261 if (out 131 gcm_mode_encrypt_contiguous_blocks(gcm_ctx_t *ctx, char *data, size_t length, crypto_data_t *out, size_t block_size, int (*encrypt_block)(const void *, const uint8_t *, uint8_t *), void (*copy_block)(uint8_t *, uint8_t *), void (*xor_block)(uint8_t *, uint8_t *)) argument 370 gcm_mode_decrypt_contiguous_blocks(gcm_ctx_t *ctx, char *data, size_t length, crypto_data_t *out, size_t block_size, int (*encrypt_block)(const void *, const uint8_t *, uint8_t *), void (*copy_block)(uint8_t *, uint8_t *), void (*xor_block)(uint8_t *, uint8_t *)) argument 409 gcm_decrypt_final(gcm_ctx_t *ctx, crypto_data_t *out, size_t block_size, int (*encrypt_block)(const void *, const uint8_t *, uint8_t *), void (*xor_block)(uint8_t *, uint8_t *)) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | sys_bsd.c | 299 * to write out; it returns -1 if it couldn't do 573 register int in, out; local 575 out = cfgetospeed(&old_tc); 578 in = out; 589 while ((tp->speed != -1) && (tp->value < out)) { 630 * it means we tried to put still more data out to a pipe 728 * and get out as painlessly as possible.
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_whatis.c | 149 mdb_whatis_match(mdb_whatis_t *w, uintptr_t base, size_t size, uintptr_t *out) argument 198 *out = w->w_addrs[offset]; 298 /* Mask out the internal-only flags */
|
/illumos-gate/usr/src/cmd/mdb/common/modules/svc.configd/ |
H A D | configd.c | 40 enum_lookup(char *out, size_t size, mdb_ctf_id_t id, int val, argument 52 (void) strlcpy(out, cp, size); 54 mdb_snprintf(out, size, "? (%d)", val); 59 make_lower(char *out, size_t sz) argument 61 while (*out != 0 && sz > 0) { 62 if (*out >= 'A' && *out <= 'Z') 63 *out += 'a' - 'A'; 64 out++;
|
/illumos-gate/usr/src/cmd/fgrep/ |
H A D | fgrep.c | 78 exit(2); /* out of memory */ \ 117 char out; member in struct:words 313 exit(2); /* out of memory */ 346 exit(2); /* out of memory */ 396 if (c->out) { 404 exit(2); /* out of memory */ 556 s->out = 1; 593 smax->out = 1; 685 if ((state->nst)->out == 1) 686 q->out [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uudecode.c | 113 FILE *in, *out; local 235 out = stdout; 266 if ((out = fopen(dest, "w")) == NULL) { 273 decode(in, out, base64flag); 275 if (fclose(out) == EOF) { 284 * copy from in to out, decoding as you go along. 288 decode(FILE *in, FILE *out, int base64) argument 347 * Only write out uncorrupted lines 350 (void) fwrite(inbuf, n, 1, out); 376 1, out); 428 outdec(unsigned char *out, unsigned char *in, int n) argument 471 outdec64(unsigned char *out, unsigned char *chr, int num) argument [all...] |
/illumos-gate/usr/src/cmd/genmsg/ |
H A D | util.c | 323 prg_err(gettext("fatal: out of memory")); 363 prg_err(gettext("fatal: out of memory")); 518 gettext("run out of message number in set number: %d"), 700 prg_err(gettext("fatal: out of memory")); 707 file_copy(char *in, char *out) argument 727 if ((fout = fopen(out, "w")) == NULL) { 728 prg_err(gettext("cannot create \"%s\""), out);
|
/illumos-gate/usr/src/cmd/svc/lsvcrun/ |
H A D | lsvcrun.c | 100 * Pick out the script name and convert it for use as an SMF property 106 char *out, *cp; local 113 out = strdup(path + sizeof ("/etc/") - 1); 115 if (out == NULL) { 121 for (cp = out; *cp != '\0'; ++cp) { 127 return (out); 134 char *out; local 151 out = strdup(cp); 152 if (out == NULL) 155 return (out); 164 char *out, *cp; local [all...] |
/illumos-gate/usr/src/tools/aw/ |
H A D | aw.c | 136 copyuntil(FILE *in, FILE *out, int termchar) argument 141 if (out && fputc(c, out) == EOF) 160 copyuntil_path(FILE *in, FILE *out, int termchar, argument 234 if (out && (fwrite(bufptr, 1, bufcnt, out) != bufcnt)) { 270 FILE *in, *out; local 293 out = fdopen(1, "w"); 339 (void) fprintf(out, "\t.file \""); 341 copyuntil_path(in, out, '"', [all...] |
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | aes.c | 389 aes_copy_block64(uint8_t *in, uint64_t *out) argument 393 out[0] = *(uint64_t *)&in[0]; 395 out[1] = *(uint64_t *)&in[8]; 397 uint8_t *iv8 = (uint8_t *)&out[0]; 1016 goto out; 1048 goto out; 1056 goto out; 1063 goto out; 1078 out: 1147 goto out; [all...] |
H A D | dca_rsa.c | 63 int dca_rsastart(crypto_ctx_t *ctx, crypto_data_t *in, crypto_data_t *out, argument 74 dca_sgcheck(dca, out, DCA_SG_CONTIG)) { 90 if (dca_length(out) < reqp->dr_ctx.modlen) { 93 dca_length(out), reqp->dr_ctx.modlen); 94 out->cd_length = reqp->dr_ctx.modlen; 99 if (out != in && out->cd_length > reqp->dr_ctx.modlen) 100 out->cd_length = reqp->dr_ctx.modlen; 124 if (out->cd_length < reqp->dr_ctx.modlen && (mode == DCA_RSA_DEC || 127 out [all...] |
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | ksslfilter.c | 176 * bind requests, and the cookie was already swapped out, then 468 mblk_t *out; local 477 kssl_cmd = kssl_handle_mblk(kssl->ksslf_ctx, &mp, &out); 489 ASSERT(out != NULL); 492 (void) sof_inject_data_out(handle, out, &msg,
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | ibd.c | 123 * source hardware address (sha) field of the "out" argument. 133 ibd_comarp(struct arp_packet *out, uint32_t timeout) argument 141 bcopy((caddr_t)&ibdbroadcastaddr, (caddr_t)&out->arp_eh.ipoib_dest, 144 out->arp_ea.arp_hrd = htons(ARPHRD_IB); 145 out->arp_ea.arp_pro = htons(ETHERTYPE_IP); 146 out->arp_ea.arp_hln = IPOIB_ADDRL; 147 out->arp_ea.arp_pln = sizeof (struct in_addr); 148 bcopy(mac_state.mac_addr_buf, (caddr_t)&out->arp_ea.arp_sha, 152 bcopy((caddr_t)&tmp_ia, (caddr_t)out->arp_ea.arp_spa, 161 * we know that out 228 struct arp_packet out; local [all...] |
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | sec_clnt.c | 330 sec_clnt_loadinfo(struct sec_data *in, struct sec_data **out, model_t model) argument 383 *out = secdata; 386 *out = (struct sec_data *)NULL; 655 * nulling out the old one. This is necessary for AUTH_DES because 673 /* null out old key */
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | deflate.c | 625 uint_t out; local 629 out = stats->comp_bytes + stats->unc_bytes; 634 out >>= 8; 637 if (out != 0) { 638 stats->ratio /= out;
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_realm.c | 82 char *out, *ptr; local 95 out = (char *)malloc((len + (count * 2) + 1) * sizeof (char)); 96 assert (out != NULL); 97 memset(out, 0, len + (count * 2) + 1); 99 for (i = 0, ptr = out; i < len; i++) 139 return out;
|