Searched defs:input (Results 76 - 100 of 165) sorted by relevance

1234567

/illumos-gate/usr/src/cmd/backup/restore/
H A Dinteractive.c328 static char input[MAXCOMPLEXLEN]; /* shared by getcmd() and setpagercmd() */ variable
329 #define rawname input /* save space by reusing input buffer */
378 (void) fgets(input, sizeof (input), terminal);
379 } while (!feof(terminal) && input[0] == '\n');
385 for (cp = &input[strlen(input) - 2];
386 cp >= &input[0] && isspace((uchar_t)*cp);
392 if ((strlen(input)
[all...]
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmttydefs.c74 int input,state,size,rawc,field; local
98 input = ACTIVE;
119 else input = FINISHED;
259 } while (input == ACTIVE);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Daes_provider.c36 const krb5_data *input, krb5_data *output)
51 ASSERT(input != NULL);
52 if (input->length < BLOCK_SIZE)
55 ASSERT(input->length == output->length);
76 /* number of input blocks including partial block */
77 nblocks = (input->length + BLOCK_SIZE - 1) / BLOCK_SIZE;
80 partialamount = input->length % BLOCK_SIZE;
101 ret = k5_ef_crypto((const char *)input->data,
103 input->length, (krb5_keyblock *)key,
164 pt.cd_uio->uio_iov[0].iov_base = (char *)input
34 krb5int_aes_encrypt(krb5_context context, const krb5_keyblock *key, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument
269 krb5int_aes_encrypt(krb5_context context, const krb5_keyblock *key, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument
486 krb5int_aes_decrypt(krb5_context context, const krb5_keyblock *key, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument
721 krb5int_aes_decrypt(krb5_context context, const krb5_keyblock *key, const krb5_data *ivec, const krb5_data *input, krb5_data *output) argument
[all...]
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c242 crypto_get_input_data(crypto_data_t *input, uchar_t **dptr, uchar_t *buf) argument
246 switch (input->cd_format) {
248 if (input->cd_raw.iov_len < input->cd_length)
250 *dptr = (uchar_t *)(input->cd_raw.iov_base +
251 input->cd_offset);
255 if ((rv = crypto_uio_data(input, buf, input->cd_length,
262 if ((rv = crypto_mblk_data(input, buf, input
397 crypto_update_iov(void *ctx, crypto_data_t *input, crypto_data_t *output, int (*cipher)(void *, caddr_t, size_t, crypto_data_t *), void (*copy_block)(uint8_t *, uint64_t *)) argument
419 crypto_update_uio(void *ctx, crypto_data_t *input, crypto_data_t *output, int (*cipher)(void *, caddr_t, size_t, crypto_data_t *), void (*copy_block)(uint8_t *, uint64_t *)) argument
484 crypto_update_mp(void *ctx, crypto_data_t *input, crypto_data_t *output, int (*cipher)(void *, caddr_t, size_t, crypto_data_t *), void (*copy_block)(uint8_t *, uint64_t *)) argument
[all...]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Darcfour.c233 rc4_crypt(crypto_ctx_t *ctx, crypto_data_t *input, crypto_data_t *output, argument
238 ret = rc4_crypt_update(ctx, input, output, req);
248 rc4_crypt_update(crypto_ctx_t *ctx, crypto_data_t *input, crypto_data_t *output, argument
266 switch (input->cd_format) {
269 start = input->cd_raw.iov_base + input->cd_offset;
271 end = input->cd_raw.iov_base + input->cd_raw.iov_len;
273 if (start + input->cd_length > end)
277 input
496 rc4_crypt_atomic(crypto_provider_handle_t handle, crypto_session_id_t session, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *input, crypto_data_t *output, crypto_spi_ctx_template_t template, crypto_req_handle_t req) argument
[all...]
H A Ddca_3des.c67 DBG(dca, DWARN, "input not an integral number of DES blocks");
104 /* special handling for null-sized input buffers */
112 * Make a local copy of the input crypto_data_t structure. This
213 * input for the next pass and return.
257 * Make a local copy of the input crypto_data_t structure. This
316 crypto_key_t *key, crypto_data_t *input, crypto_data_t *output,
329 if ((dca_length(input) & (DESBLOCK - 1)) != 0) {
330 DBG(NULL, DWARN, "dca_3desatomic: input not multiple of BS");
351 if (input == output) {
356 rv = dca_3des(&ctx, input, outpu
314 dca_3desatomic(crypto_provider_handle_t provider, crypto_session_id_t session_id, crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *input, crypto_data_t *output, int kmflag, crypto_req_handle_t req, int mode) argument
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_ldap.c54 krb5_ldap_get_db_opt(char *input, char **opt, char **val) argument
56 char *pos = strchr(input, '=');
60 *opt = strdup(input);
65 int len = pos - input;
70 memcpy(*opt, input, (unsigned) len);
/illumos-gate/usr/src/lib/krb5/ss/
H A Dlisten.c141 char *input; local
227 * otherwise the input line won't be cleared on SIGINT.
253 input = gl_get_line(gl, info->prompt, NULL, -1);
270 cp = strchr(input, '\n');
273 if (cp == input)
281 for (end = input; *end; end++)
284 code = ss_execute_line (sci_idx, input);
286 register char *c = input;
/illumos-gate/usr/src/lib/libadm/common/
H A Dckitem.c511 char input[MAX_INPUT]; local
529 if (getinput(input))
532 if (strlen(input) == 0) {
539 } else if (strcmp(input, "?") == 0) {
542 } else if (ckquit && (strcmp(input, "q") == 0)) {
543 /* (void) strcpy(strval, input); */
546 (void) strcpy(strval, input);
H A Dckpath.c242 ckpath_err(int pflags, char *error, char *input) argument
247 if (input) {
248 if (ckpath_val(input, pflags)) {
275 input[MAX_INPUT], local
293 if (getinput(input)) {
298 if (strlen(input) == 0) {
307 if (strcmp(input, "?") == 0) {
311 if (ckquit && (strcmp(input, "q") == 0)) {
316 if (ckpath_val(input, pflags)) {
322 (void) strcpy(pathval, input);
[all...]
H A Dcktime.c137 cktime_val(char *fmt, char *input) argument
152 input = p_time(input, LH, UH);
153 if (!input)
158 input = p_time(input, LM, UM);
159 if (!input)
164 input = p_time(input, LS, US);
165 if (!input)
352 char input[MAX_INPUT], local
[all...]
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dssc100.c224 ssc100_common(struct ssc100_unit *unitp, uchar_t *byte, uchar_t input, argument
241 i2c_tran_pointer->i2c_wbuf[0] = input;
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpfilter.c141 FILE *input; local
160 input = 0;
185 if (input)
187 if (!(input = fopen(optarg, "r"))) {
252 return ((*action)(filter, input));
259 int add_filter (filter, input)
261 FILE *input;
284 * First we read in the input and parse it into a filter,
290 if (!input)
291 input
[all...]
/illumos-gate/usr/src/cmd/lp/model/
H A Dlp.tsol_separator.c75 static void ParseUsername(char *input, char *user, char *host);
299 * Parse input "host!user" to separate host and user names.
303 ParseUsername(char *input, char *user, char *host) argument
307 if ((cp = strchr(input, '@')) != NULL) {
311 (void) strlcpy(user, input, MAXUSERLEN + 1);
313 } else if ((cp = strchr(input, '!')) != NULL) {
317 (void) strlcpy(host, input, MAXHOSTLEN + 1);
321 (void) strlcpy(user, input, MAXUSERLEN + 1);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dzfs_sha256.c231 Encode64(uint8_t *output, uint64_t *input, size_t len) argument
235 output[j] = (input[i] >> 56) & 0xff;
236 output[j + 1] = (input[i] >> 48) & 0xff;
237 output[j + 2] = (input[i] >> 40) & 0xff;
238 output[j + 3] = (input[i] >> 32) & 0xff;
239 output[j + 4] = (input[i] >> 24) & 0xff;
240 output[j + 5] = (input[i] >> 16) & 0xff;
241 output[j + 6] = (input[i] >> 8) & 0xff;
242 output[j + 7] = input[i] & 0xff;
/illumos-gate/usr/src/cmd/oamuser/user/
H A Duseradd.c773 valid_input(path_opt_t opt, const char *input) argument
777 if (REL_PATH(input)) {
778 errmsg(M_RELPATH, input);
781 if (stat(input, &statbuf) == -1) {
782 errmsg(M_INVALID, input, "path");
788 errmsg(M_INVALID, input, "shell");
793 errmsg(M_INVALID, input, "directory");
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dsha256.c232 Encode64(uint8_t *output, uint64_t *input, size_t len) argument
236 output[j] = (input[i] >> 56) & 0xff;
237 output[j + 1] = (input[i] >> 48) & 0xff;
238 output[j + 2] = (input[i] >> 40) & 0xff;
239 output[j + 3] = (input[i] >> 32) & 0xff;
240 output[j + 4] = (input[i] >> 24) & 0xff;
241 output[j + 5] = (input[i] >> 16) & 0xff;
242 output[j + 6] = (input[i] >> 8) & 0xff;
243 output[j + 7] = input[i] & 0xff;
/illumos-gate/usr/src/cmd/iconv/
H A Dscanner.c39 static FILE *input = stdin; variable
102 input = stdin;
104 if (input != stdin)
105 (void) fclose(input);
106 if ((input = fopen(fname, "r")) == NULL) {
132 c = getc(input);
146 if (ungetc(c, input) < 0) {
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcrypto.c489 * __QOPSeal: Wrap the input message placing the output in output given
495 gss_buffer_t input, /* The buffer to wrap */
511 if ((stat = wrap_msg_body(input, output))
530 /* Unwrap the input into out->value */
541 * __QOPUnSeal: Unwrap the input message into output using the supplied QOP.
548 gss_buffer_t input, /* The message to unwrap */
568 /* Unwrap the input into the output, return the status */
569 stat = unwrap_msg_body(input, output);
494 __QOPSeal(dh_qop_t qop, gss_buffer_t input, int conf_req, dh_key_set_t keys, gss_buffer_t output, int *conf_ret ) argument
547 __QOPUnSeal(dh_qop_t qop, gss_buffer_t input, int conf_req, dh_key_set_t keys, gss_buffer_t output ) argument
/illumos-gate/usr/src/lib/libsum/common/
H A Dsum-md5.c63 unsigned char buffer[64]; /* input buffer */
81 * encode input into output
86 md5_encode(register unsigned char* output, register UINT4* input, unsigned int len) argument
93 output[j] = (unsigned char)(input[i] & 0xff);
94 output[j+1] = (unsigned char)((input[i] >> 8) & 0xff);
95 output[j+2] = (unsigned char)((input[i] >> 16) & 0xff);
96 output[j+3] = (unsigned char)((input[i] >> 24) & 0xff);
101 * decode input into output
106 md5_decode(register UINT4* output, register unsigned char* input, unsigned int len) argument
112 output[i] = ((UINT4)input[
291 unsigned char* input = (unsigned char*)s; local
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dgrep.c26 "[+DESCRIPTION?The \bgrep\b commands search the named input files"
28 " Matching lines are printed by default. The standard input is searched"
71 "[N:name?Set the standard input file name prefix to"
156 int notfound; /* some input file not found */
346 execute(State_s *state, Sfio_t* input, char* name) argument
358 sfset(input, SF_SHARE, 0);
360 sfsetbuf(input, state->buffer.base, state->buffer.size);
372 if (s = sfgetr(input, '\n', 0))
373 len = sfvalue(input) - 1;
374 else if (s = sfgetr(input, '\
[all...]
/illumos-gate/usr/src/common/crypto/sha1/
H A Dsha1.c123 * input: SHA1_CTX * : the context to initializes.
179 * input: SHA1_CTX * : the context to update
190 const uint8_t *input = inptr; local
241 bcopy(input, &ctx->buf_un.buf8[buf_index], buf_len);
277 * of the input data but the performance gains are reduced
281 if (!IS_P2ALIGNED(&input[i], sizeof (uint32_t))) {
283 * Main processing loop - input misaligned
286 bcopy(&input[i], input64, 64);
293 * Main processing loop - input 8-byte aligned
298 (uint32_t *)&input[
336 const uint8_t *input = inptr; local
1013 Encode(uint8_t *_RESTRICT_KYWD output, const uint32_t *_RESTRICT_KYWD input, size_t len) argument
[all...]
/illumos-gate/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c388 rc_msg = strdup("bad input");
557 auditd_plugin(const char *input, size_t in_len, uint64_t sequence, char **error) argument
577 DPRINT((dfile, "audit_remote: input seq=%llu, len=%d\n",
601 send_record_rc = send_record(current_host, input, in_len,
/illumos-gate/usr/src/cmd/pack/
H A Dpack.c124 input(char *source) function
251 if (input(source) == 0)
538 "\t%d distinct bytes in input\n"),
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dinput.c36 * $FreeBSD: src/sbin/routed/input.c,v 1.9 2001/06/06 20:52:30 phk Exp $
48 static void input(struct sockaddr_in *, struct interface *, struct rip *, int);
109 * Process RIP input on rip_sock. Returns 0 for success, -1 for failure.
147 input(&from, ifp, &inbuf.rip, cc);
154 input(struct sockaddr_in *from, /* received from this IP address */ function
1056 * Process a single input route.

Completed in 94 milliseconds

1234567