Searched refs:input (Results 101 - 125 of 294) sorted by relevance

1234567891011>>

/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/cmd/hal/hald-runner/
H A Drunner.c104 g_free(r->input);
257 if (r->input != NULL) {
284 if (r->input) {
285 if (write(stdin_v, r->input, strlen(r->input)) != (ssize_t) strlen(r->input))
286 printf("Warning: Error while writing r->input (%s) to stdin_v.\n", r->input);
/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/boot/sys/boot/sparc64/loader/
H A Dmetadata.c123 phandle_t input; local
129 if (OF_getprop(node, "input-device", buf, sizeof(buf)) == -1)
131 input = OF_finddevice(buf);
135 if (input == -1 || output == -1 || OF_getproplen(input, "keyboard") >= 0) {
140 if ((input = OF_instance_to_package(inst)) == -1)
147 if (input != output)
149 if (OF_getprop(input, "device_type", buf, sizeof(buf)) == -1)
/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/uts/common/gssapi/mechs/krb5/crypto/arcfour/
H A Dk5_arcfour.c72 krb5_arcfour_encrypt(context, enc, hash, key, usage, ivec, input, output)
79 const krb5_data *input;
154 /* is "input" already blocksize aligned? if it is, then we need this
156 plaintext.length=krb5_roundup(input->length+CONFOUNDERLENGTH,blocksize);
173 ciphertext.length=krb5_roundup(input->length+CONFOUNDERLENGTH,blocksize);
215 bcopy(input->data, plaintext.data+confounder.length, input->length);
269 krb5_arcfour_decrypt(context, enc, hash, key, usage, ivec, input, output)
276 const krb5_data *input;
288 /* Verify input an
[all...]
/illumos-gate/usr/src/cmd/format/
H A Dmenu_defect.c273 * Ask the user which mode of input he'd like to use.
280 type = input(FIO_INT, "Select input format (enter its number)", ':',
296 bn = input(FIO_BN, "Enter defective block number", ':',
309 def.cyl = input(FIO_INT,
313 def.head = input(FIO_INT, "Enter defect's head number",
316 def.bfi = input(FIO_INT, "Enter defect's bytes-from-index",
327 def.nbits = input(FIO_INT, "Enter defect's length (in bits)",
398 num = input(FIO_INT, "Specify defect to be deleted (enter its number)",
559 * input wil
[all...]
H A Dmodify_partition.c151 sel_type = input(FIO_MSTR, tmpstr2, '?', &ioparam,
217 if (input(FIO_MSTR,
230 free_hog = input(FIO_MSTR, "Free Hog partition", '?',
262 if (input(FIO_MSTR, "Continue", '?',
273 free_hog = input(FIO_MSTR, "Free Hog partition", '?',
307 if (input(FIO_MSTR, "\
490 newsize = (blkaddr32_t)input(FIO_CYL, tmpstr, ':',
574 i64 = input(FIO_EFI, tmpstr, ':',
H A Dpartition.c153 tag = input(FIO_SLIST, msg, ':', &ioparam, &deflt, DATA_INPUT);
158 flag = input(FIO_SLIST, msg, ':', &ioparam, &deflt, DATA_INPUT);
171 i64 = input(FIO_INT64, "Enter new starting Sector", ':', &ioparam,
178 j64 = input(FIO_EFI, "Enter partition size", ':', &ioparam,
213 tag = input(FIO_SLIST, msg, ':', &ioparam, &deflt, DATA_INPUT);
218 flag = input(FIO_SLIST, msg, ':', &ioparam, &deflt, DATA_INPUT);
251 i = (uint_t)input(FIO_INT, "Enter new starting cyl", ':', &ioparam,
263 /* call input, passing p_deflt's address, typecast to (int *) */
264 j = (uint_t)input(FIO_ECYL, "Enter partition size", ':', &ioparam,
/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/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/lib/libbsm/common/
H A Daudit_class.c103 char *s, input[256]; local
121 while (fgets(input, 256, au_class_file)) {
122 if (input[0] != '#') {
123 s = input + strspn(input, " \t\r\n");
H A Daudit_event.c119 char *s, input[AU_EVENT_LINE_MAX]; local
130 while (fgets(input, AU_EVENT_LINE_MAX, au_event_file)) {
131 if (input[0] != '#') {
132 s = input + strspn(input, " \t\r\n");
137 s = input;
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_cmds2.c195 * Otherwise we reset a number of externals, and discard unused input.
215 if (input) {
216 input = strend(input) - 1;
217 if (*input == '\n')
219 input = 0;
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpnic.c49 void *input, uint16_t input_length,
56 if ( input != NULL ) {
57 /* Write input length */
59 /* Write input data */
61 outb( ((char*)input)[i], nic->ioaddr + PNIC_REG_DATA );
96 void *input, uint16_t input_length,
101 input, input_length,
48 pnic_command_quiet( struct nic *nic, uint16_t command, void *input, uint16_t input_length, void *output, uint16_t output_max_length, uint16_t *output_length ) argument
95 pnic_command( struct nic *nic, uint16_t command, void *input, uint16_t input_length, void *output, uint16_t output_max_length, uint16_t *output_length ) argument
/illumos-gate/usr/src/cmd/sgs/unifdef/common/
H A Dunifdef.c45 FILE *input; variable
154 if ((input = fopen(filename, "r")) != NULL) {
156 (void) fclose(input);
163 input = stdin;
171 /* types of input lines: */
329 if (getlin(tline, sizeof (tline), input, NO) == EOF)
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpforms.c157 FILE *input = 0; local
231 if (input)
233 if (!(input = fopen(optarg, "r"))) {
354 input = stdin;
416 ((*action)(form, input, &alert, u)));
424 return ((*action)(form, input, &alert, u));
441 FILE * input,
446 add_alert (form, input, new_alert, u)
448 FILE * input;
453 return (add_form(form, input, p_new_aler
439 add_alert( char * form, FILE * input, FALERT * p_new_alert, char * u ) argument
458 add_form( char * form, FILE * input, FALERT * p_new_alert, char * u ) argument
[all...]
/illumos-gate/usr/src/lib/libsasl/include/
H A Dplugin_common.h195 const char *input, unsigned inputlen,
198 const char **input, unsigned *inputlen,
203 const char *serverFQDN, const char *input);
/illumos-gate/usr/src/cmd/praudit/
H A Dprint_audit.txt114 pointers to the start of input and output buffers and their lengths.
123 EINVAL - invalid input flags, delimiter, or error parsing the
128 EIO - input exhausted before end of an audit record.
145 audit record from the input):
149 updated to reflect amount of input successfully consumed. in_buf
163 The following code fragment takes audit input from stdin, and
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dscriptvfy.l38 #undef input
41 #define input() (((yytchar=yysptr>yysbuf?U(*--yysptr):getc(scr_fp))==10?(yylineno++,yytchar):yytchar)==EOF?0:yytchar)
175 if ((ch = input()) == '\n')
186 while ((ch = input()) != '\"') {
188 input(); /* Read this into the bit bucket. */
208 while ((ch = input()) != '\'') {
210 input(); /* Read this into the bit bucket. */
393 * Test input for admin-type telltale interactive functions. Definite's
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_lex.l65 * We need to undefine lex's input, unput, and output macros so that references
69 #ifdef input
70 #undef input
81 static int input(void);
630 input(void)
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A DMICwrap.c216 gss_buffer_t input, /* Input message to wrap */
264 if ((*minor = __QOPSeal(wrap->mic.qop, input, conf_req,
306 gss_buffer_t input, /* Wrapped Diffie-Hellman token */
340 /* Deserialize the input in to tok using keys */
341 if ((*minor = __get_token(input, NULL, &tok, &keys)) != DH_SUCCESS) {
211 __dh_gss_seal(void * ctx, OM_uint32 *minor, gss_ctx_id_t context, int conf_req, int qop_req, gss_buffer_t input, int *conf_state, gss_buffer_t output ) argument
303 __dh_gss_unseal(void *ctx, OM_uint32 *minor, gss_ctx_id_t context, gss_buffer_t input, gss_buffer_t output, int *conf_state, int *qop_used ) argument
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A Dfpsetmask.s48 sll %o0, 23, %o1 ! move input bits into position
H A Dfpsetrnd.s39 sll %o0, 30, %o1 ! move input bits into position
H A Dfpsetsticky.s39 sll %o0, 5, %o1 ! move input bits into position

Completed in 224 milliseconds

1234567891011>>