Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 501) sorted by relevance

12345678910>>...21

/illumos-gate/usr/src/lib/libadm/common/
H A Dcktime.c152 input = p_time(input, LH, UH); in cktime_val()
158 input = p_time(input, LM, UM); in cktime_val()
164 input = p_time(input, LS, US); in cktime_val()
170 input = p_time(input, LH, UH); in cktime_val()
181 input = p_time(input, LM, UM); in cktime_val()
191 input = p_time(input, LS, US); in cktime_val()
197 input = p_time(input, LH, UH); in cktime_val()
207 input = p_time(input, LM, UM); in cktime_val()
225 input = p_time(input, LM, UM); in cktime_val()
245 input = p_meridian(input); in cktime_val()
[all …]
H A Dckdate.c315 input = p_date(input, LD, UD, STDIG); in ckdate_val()
321 input = p_eday(input, LD2, UD); in ckdate_val()
327 input = p_date(input, LM, UM, STDIG); in ckdate_val()
333 input = p_date(input, LY, UY, STDIG); in ckdate_val()
345 input = p_date(input, LM, UM, STDIG); in ckdate_val()
350 input = p_dlm(input, DELIM1); in ckdate_val()
355 input = p_date(input, LD, UD, STDIG); in ckdate_val()
360 input = p_dlm(input, DELIM1); in ckdate_val()
365 input = p_date(input, LY, UY, STDIG); in ckdate_val()
372 input = p_month(input, 'a'); in ckdate_val()
[all …]
H A Dckstr.c101 valid = __step(input, expbuf); in ckstr_val()
105 } else if (strpbrk(input, " \t")) { in ckstr_val()
118 if (input) { in ckstr_err()
119 if (ckstr_val(regexp, length, input)) { in ckstr_err()
147 char input[MAX_INPUT], in ckstr() local
157 if (getinput(input)) in ckstr()
160 n = (int)strlen(input); in ckstr()
169 if (strcmp(input, "?") == 0) { in ckstr()
176 (void) strcpy(strval, input); in ckstr()
179 if (ckstr_val(regexp, length, input)) { in ckstr()
[all …]
H A Dckkeywd.c69 char input[MAX_INPUT]; in ckkeywd() local
87 if (getinput(input)) in ckkeywd()
90 n = (int)strlen(input); in ckkeywd()
99 if (strcmp(input, "?") == 0) { in ckkeywd()
103 if (ckquit && (strcmp(input, "q") == 0)) { in ckkeywd()
104 (void) strcpy(strval, input); in ckkeywd()
110 valid = !match(input, keyword); in ckkeywd()
116 (void) strcpy(strval, input); in ckkeywd()
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_hash.c128 a += input[0]; in efx_hash_dwords()
129 b += input[1]; in efx_hash_dwords()
130 c += input[2]; in efx_hash_dwords()
134 input += 3; in efx_hash_dwords()
140 c += input[2]; in efx_hash_dwords()
143 b += input[1]; in efx_hash_dwords()
146 a += input[0]; in efx_hash_dwords()
179 a += ((uint32_t)input[3]); in efx_hash_bytes()
183 b += ((uint32_t)input[7]); in efx_hash_bytes()
190 input += 12; in efx_hash_bytes()
[all …]
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c48 switch (input->cd_format) { in crypto_get_input_data()
50 if (input->cd_raw.iov_len < input->cd_length) in crypto_get_input_data()
53 input->cd_offset); in crypto_get_input_data()
57 if ((rv = crypto_uio_data(input, buf, input->cd_length, in crypto_get_input_data()
64 if ((rv = crypto_mblk_data(input, buf, input->cd_length, in crypto_get_input_data()
211 if (input->cd_raw.iov_len < input->cd_length) in crypto_update_iov()
214 rv = (cipher)(ctx, input->cd_raw.iov_base + input->cd_offset, in crypto_update_iov()
215 input->cd_length, (input == output) ? NULL : output); in crypto_update_iov()
226 uio_t *uiop = input->cd_uio; in crypto_update_uio()
227 off_t offset = input->cd_offset; in crypto_update_uio()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dbase64.c144 u_char input[3]; in b64_ntop() local
149 input[0] = *src++; in b64_ntop()
150 input[1] = *src++; in b64_ntop()
151 input[2] = *src++; in b64_ntop()
154 output[0] = input[0] >> 2; in b64_ntop()
155 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in b64_ntop()
156 output[2] = ((input[1] & 0x0f) << 2) + (input[2] >> 6); in b64_ntop()
174 input[0] = input[1] = input[2] = '\0'; in b64_ntop()
176 input[i] = *src++; in b64_ntop()
179 output[1] = ((input[0] & 0x03) << 4) + (input[1] >> 4); in b64_ntop()
[all …]
/illumos-gate/usr/src/cmd/sasinfo/
H A Dsasinfo-list.c195 inputArg_t input; in sas_util_list_hba() local
217 (void *) memset(&input, 0, sizeof (input)); in sas_util_list_hba()
254 inputArg_t input; in sas_util_list_hbaport() local
287 (void *) memset(&input, 0, sizeof (input)); in sas_util_list_hbaport()
326 inputArg_t input; in sas_util_list_expander() local
355 (void *) memset(&input, 0, sizeof (input)); in sas_util_list_expander()
394 inputArg_t input; in sas_util_list_targetport() local
421 (void *) memset(&input, 0, sizeof (input)); in sas_util_list_targetport()
540 input->wwn_flag = calloc(input->wwnCount, sizeof (int)); in processHBA()
1527 (void *) memset(&input, 0, sizeof (input)); in sas_util_list_logicalunit()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Daes_provider.c51 ASSERT(input != NULL); in krb5int_aes_encrypt()
52 if (input->length < BLOCK_SIZE) in krb5int_aes_encrypt()
179 bcopy(input->data + (input->length - partialamount), tmp_pt, in krb5int_aes_encrypt()
286 assert(input != NULL); in krb5int_aes_encrypt()
364 input->length, in krb5int_aes_encrypt()
424 bcopy(input->data + (input->length - partialamount), tmp_pt, in krb5int_aes_encrypt()
497 ASSERT(input != NULL); in krb5int_aes_decrypt()
605 Cn = input->data + (input->length - partialamount); in krb5int_aes_decrypt()
733 assert(input != NULL); in krb5int_aes_decrypt()
842 input->length, in krb5int_aes_decrypt()
[all …]
H A Darcfour_provider.c92 if (input->length != output->length) in k5_arcfour_decrypt()
151 (CK_BYTE_PTR)input->data, in k5_arcfour_decrypt()
152 (CK_ULONG)input->length, in k5_arcfour_decrypt()
157 (CK_BYTE_PTR)input->data, in k5_arcfour_decrypt()
158 (CK_ULONG)input->length, in k5_arcfour_decrypt()
172 bzero(output->data, input->length); in k5_arcfour_decrypt()
257 (CK_BYTE_PTR)input->data, in k5_arcfour_encrypt()
258 (CK_ULONG)input->length, in k5_arcfour_encrypt()
263 (CK_BYTE_PTR)input->data, in k5_arcfour_encrypt()
264 (CK_ULONG)input->length, in k5_arcfour_encrypt()
[all …]
H A Ddes.c39 krb5_const krb5_data *ivec, krb5_const krb5_data *input, in k5_des_docrypt() argument
49 if ((input->length%8) != 0) in k5_des_docrypt()
53 if (input->length != output->length) in k5_des_docrypt()
56 ret = mit_des_cbc_encrypt(context, (krb5_pointer) input->data, in k5_des_docrypt()
57 (krb5_pointer) output->data, input->length, in k5_des_docrypt()
68 krb5_const krb5_data *ivec, krb5_const krb5_data *input, in k5_des_encrypt() argument
71 return(k5_des_docrypt(context, key, ivec, input, output, 1)); in k5_des_encrypt()
76 krb5_const krb5_data *ivec, krb5_const krb5_data *input, in k5_des_decrypt() argument
79 return(k5_des_docrypt(context, key, ivec, input, output, 0)); in k5_des_decrypt()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.tolower.d32 input[i] = "ahi";
35 input[i] = "MaHi!";
38 input[i] = " Nase-5";
41 input[i] = "!@#$%";
48 /input[i] != NULL && (this->out = tolower(input[i])) != expected[i]/
51 input[i], expected[i], this->out);
56 /input[i] != NULL/
59 input[i], expected[i]);
63 /input[i++] == NULL/
H A Dtst.toupper.d32 input[i] = "ahi";
35 input[i] = "MaHi!";
38 input[i] = " dace-9";
41 input[i] = "!@#$%";
48 /input[i] != NULL && (this->out = toupper(input[i])) != expected[i]/
51 input[i], expected[i], this->out);
56 /input[i] != NULL/
59 input[i], expected[i]);
63 /input[i++] == NULL/
/illumos-gate/usr/src/uts/common/crypto/io/
H A Darcfour.c266 switch (input->cd_format) { in rc4_crypt_update()
269 start = input->cd_raw.iov_base + input->cd_offset; in rc4_crypt_update()
271 end = input->cd_raw.iov_base + input->cd_raw.iov_len; in rc4_crypt_update()
277 input->cd_length); in rc4_crypt_update()
298 left = input->cd_length; in rc4_crypt_update()
373 switch (input->cd_format) { in rc4_crypt_update()
376 start = input->cd_raw.iov_base + input->cd_offset; in rc4_crypt_update()
378 end = input->cd_raw.iov_base + input->cd_raw.iov_len; in rc4_crypt_update()
384 input->cd_length); in rc4_crypt_update()
402 mp2 = advance_position(mp, input->cd_offset + input->cd_length, in rc4_crypt_update()
[all …]
/illumos-gate/usr/src/cmd/format/
H A Dprompts.c154 return (input(FIO_INT, in get_nsect()
216 return (input(FIO_INT, "Enter rpm of drive", ':', in get_rpm()
232 if (input(FIO_OPINT, "Enter format time", ':',
252 if (input(FIO_OPINT, "Enter cylinder skew", ':',
272 if (input(FIO_OPINT, "Enter track skew", ':',
352 if (input(FIO_OPINT, "Enter cache control", ':',
372 if (input(FIO_OPINT, "Enter prefetch threshold",
392 if (input(FIO_OPINT, "Enter minimum prefetch",
413 if (input(FIO_OPINT, "Enter maximum prefetch",
434 return (input(FIO_INT, "Enter bytes per sector", in get_bps()
[all …]
/illumos-gate/usr/src/cmd/awk/
H A Dlex.c97 int c = input(); in peek()
110 c = input(); in gettok()
221 (void) input(); in yylex()
224 (void) input(); in yylex()
233 (void) input(); in yylex()
239 (void) input(); in yylex()
245 (void) input(); in yylex()
249 (void) input(); in yylex()
259 (void) input(); in yylex()
268 (void) input(); in yylex()
[all …]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dmkerror.sh31 input="`cat`"
32 [ -z "$input" ] && exit 1
53 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
90 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
107 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
124 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
141 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
158 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/hash_provider/
H A Dhash_ef_generic.c15 krb5_const krb5_data *input, in k5_ef_hash() argument
31 (CK_BYTE_PTR)input[i].data, in k5_ef_hash()
32 (CK_ULONG)input[i].length)) != CKR_OK) { in k5_ef_hash()
64 krb5_const krb5_data *input, in k5_ef_mac() argument
77 inlen = K5ROUNDUP(input->length, 8); in k5_ef_mac()
80 if (inlen != input->length) { in k5_ef_mac()
86 inbuf = input->data; in k5_ef_mac()
93 if (inlen != input->length) { in k5_ef_mac()
95 (void) memcpy(inbuf, input->data, input->length); in k5_ef_mac()
108 if (inlen != input->length && inbuf != NULL) in k5_ef_mac()
/illumos-gate/usr/src/cmd/od/
H A Dod.c55 static FILE *input = NULL; variable
330 if (input != NULL) { in next_input()
331 if ((input = freopen(files[curfile], "r", input)) != in next_input()
334 return (input); in next_input()
339 return (input); in next_input()
365 input = NULL; in refill()
559 input = stdin; in main()
796 input = stdin; in main()
836 flockfile(input); in main()
845 flockfile(input); in main()
[all …]
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_builtin_tail.sh149 input=$'1\n2\n3\n4'
158 input=$'1\n2\n3\n4'
167 input=$'1\n2\n3\n4'
176 input=$'1\n2\n3\n4'
186 input=$'1\n2\n3\n4'
195 input=$'1\n2\n3\n4'
204 input=$'1\n2\n3\n4'
213 input=$'1\n2\n3\n4'
222 input=$'1\n2\n3\n4'
231 input=$'1\n2\n3\n4'
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgscripts/
H A Dcmdexec.c46 static int docmd(char *cmd, char *file, char *input);
55 *input, /* sed input file */ in main() local
90 input = tempnam(NULL, "sedinp"); in main()
91 if ((fpout = fopen(input, "w")) == NULL) { in main()
92 progerr(gettext("unable to open %s"), input); in main()
117 if (docmd(cmd, destfile, input)) { in main()
122 (void) unlink(input); in main()
127 docmd(char *cmd, char *file, char *input) in docmd() argument
136 (void) sprintf(command, "%s -f %s <%s >%s", cmd, input, file, tempout); in docmd()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/
H A Dold_decrypt.c44 const krb5_data *input, in krb5_old_decrypt() argument
58 if (input->length < blocksize + hashsize || input->length % blocksize != 0) in krb5_old_decrypt()
60 plainsize = input->length - blocksize - hashsize; in krb5_old_decrypt()
64 if (arg_output->length < input->length) { in krb5_old_decrypt()
65 output.length = input->length; in krb5_old_decrypt()
73 output.length = input->length; in krb5_old_decrypt()
89 (void) memcpy(cn, input->data + input->length - blocksize, blocksize); in krb5_old_decrypt()
100 if ((ret = ((*(enc->decrypt))(context, key, ivec, input, &output)))) in krb5_old_decrypt()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Ddk_encrypt.c62 const krb5_data *ivec, const krb5_data *input, in krb5_dk_encrypt() argument
90 krb5_dk_encrypt_length(enc, hash, input->length, &enclen); in krb5_dk_encrypt()
106 (void) memcpy(plaintext+blocksize, input->data, input->length); in krb5_dk_encrypt()
108 (void) memset(plaintext+blocksize+input->length, 0, in krb5_dk_encrypt()
109 plainlen - (blocksize+input->length)); in krb5_dk_encrypt()
188 const krb5_data *input, krb5_data *output) in trunc_hmac() argument
203 ret = krb5_hmac(context, ki, input, &tmphash); in trunc_hmac()
226 const krb5_data *input, in krb5int_aes_dk_encrypt() argument
250 plainlen = blocksize+input->length; in krb5int_aes_dk_encrypt()
268 (void) memcpy(plaintext+blocksize, input->data, input->length); in krb5int_aes_dk_encrypt()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/utf-8/common/
H A Ducs4_to_utf32.c51 cd->input.little_endian = false; in _icv_open()
52 cd->input.bom_written = true; in _icv_open()
54 cd->input.little_endian = true; in _icv_open()
55 cd->input.bom_written = true; in _icv_open()
57 cd->input.little_endian = true; in _icv_open()
105 cd->input.bom_written = false; in _icv_iconv()
119 if (! cd->input.bom_written) { in _icv_iconv()
131 cd->input.little_endian = false; in _icv_iconv()
134 cd->input.little_endian = true; in _icv_iconv()
137 cd->input.bom_written = true; in _icv_iconv()
[all …]
H A Dutf32_to_ucs4.c51 cd->input.little_endian = false; in _icv_open()
52 cd->input.bom_written = true; in _icv_open()
54 cd->input.little_endian = true; in _icv_open()
55 cd->input.bom_written = true; in _icv_open()
57 cd->input.little_endian = true; in _icv_open()
105 cd->input.bom_written = false; in _icv_iconv()
119 if (! cd->input.bom_written) { in _icv_iconv()
131 cd->input.little_endian = false; in _icv_iconv()
134 cd->input.little_endian = true; in _icv_iconv()
137 cd->input.bom_written = true; in _icv_iconv()
[all …]

12345678910>>...21