Home
last modified time | relevance | path

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

12345678910>>...20

/titanic_51/usr/src/lib/libadm/common/
H A Dcktime.c137 cktime_val(char *fmt, char *input) in cktime_val() argument
152 input = p_time(input, LH, UH); in cktime_val()
153 if (!input) in cktime_val()
158 input = p_time(input, LM, UM); in cktime_val()
159 if (!input) in cktime_val()
164 input = p_time(input, LS, US); in cktime_val()
165 if (!input) in cktime_val()
352 char input[MAX_INPUT], cktime() local
[all...]
H A Dckdate.c302 ckdate_val(char *fmt, char *input) in ckdate_val() argument
318 input = p_date(input, LD, UD, STDIG); in ckdate_val()
319 if (!input) in ckdate_val()
324 input = p_eday(input, LD2, UD); in ckdate_val()
325 if (!input) in ckdate_val()
330 input = p_date(input, LM, UM, STDIG); in ckdate_val()
331 if (!input) in ckdate_val()
410 char input[MAX_INPUT]; ckdate() local
[all...]
H A Dckstr.c86 ckstr_val(char *regexp[], int length, char *input) in ckstr_val() argument
92 if (length && (strlen(input) > (size_t)length)) { in ckstr_val()
101 valid = __step(input, expbuf); in ckstr_val()
105 } else if (strpbrk(input, " \t")) { in ckstr_val()
113 ckstr_err(char *regexp[], int length, char *error, char *input) in ckstr_err() argument
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()
[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()
/titanic_51/usr/src/lib/libresolv2/common/isc/
H A Dbase64.c91 The encoding process represents 24-bit groups of input bits as output
93 24-bit input group is formed by concatenating 3 8-bit input groups.
124 always completed at the end of a quantity. When fewer than 24 input
125 bits are available in an input group, zero bits are added (on the
129 Since all base64 input is an integral number of octets, only the
133 (1) the final quantum of encoding input is an integral
137 (2) the final quantum of encoding input is exactly 8 bits;
140 (3) the final quantum of encoding input is exactly 16 bits;
148 u_char input[ in b64_ntop() local
[all...]
/titanic_51/usr/src/cmd/sasinfo/
H A Dsasinfo-list.c99 rp_tree_t *rpnode, inputArg_t *input, int gident,
104 inputArg_t *input, int lident, int gident);
106 sas_print_rpnode(inputArg_t *input,
112 SMHBA_ADAPTERATTRIBUTES *attrs, inputArg_t *input);
114 static int processHBA(inputArg_t *input,
117 static int isPortWWNInArgv(inputArg_t *input, PHBA_WWN pWWN);
118 static int isStringInArgv(inputArg_t *input, const char *adapterName);
124 static int handleHBA(SMHBA_ADAPTERATTRIBUTES *attrs, inputArg_t *input,
128 SMHBA_ADAPTERATTRIBUTES *attrs, inputArg_t *input);
137 SMHBA_ADAPTERATTRIBUTES *attrs, inputArg_t *input);
195 inputArg_t input; sas_util_list_hba() local
254 inputArg_t input; sas_util_list_hbaport() local
326 inputArg_t input; sas_util_list_expander() local
394 inputArg_t input; sas_util_list_targetport() local
506 processHBA(inputArg_t * input,processPortFunc processPort) processHBA() argument
1051 isPortWWNInArgv(inputArg_t * input,PHBA_WWN pWWN) isPortWWNInArgv() argument
1089 isStringInArgv(inputArg_t * input,const char * stringName) isStringInArgv() argument
1119 handleHBA(SMHBA_ADAPTERATTRIBUTES * attrs,inputArg_t * input,int numberOfPorts,const char * adapterName) handleHBA() argument
1155 handleHBAPort(HBA_HANDLE handle,char * adapterName,HBA_UINT32 portIndex,SMHBA_PORTATTRIBUTES * port,SMHBA_ADAPTERATTRIBUTES * attrs,inputArg_t * input) handleHBAPort() argument
1180 handleExpander(HBA_HANDLE handle,char * adapterName,HBA_UINT32 portIndex,SMHBA_PORTATTRIBUTES * port,SMHBA_ADAPTERATTRIBUTES * attrs,inputArg_t * input) handleExpander() argument
1390 handleTargetPort(HBA_HANDLE handle,char * adapterName,HBA_UINT32 portIndex,SMHBA_PORTATTRIBUTES * port,SMHBA_ADAPTERATTRIBUTES * attrs,inputArg_t * input) handleTargetPort() argument
1508 inputArg_t input; sas_util_list_logicalunit() local
1602 handleLogicalUnit(HBA_HANDLE handle,char * adapterName,HBA_UINT32 portIndex,SMHBA_PORTATTRIBUTES * port,SMHBA_ADAPTERATTRIBUTES * attrs,inputArg_t * input) handleLogicalUnit() argument
2499 sas_rp_tree_print(HBA_HANDLE handle,char * adapterName,HBA_UINT32 portIndex,SMHBA_PORTATTRIBUTES * port,rp_tree_t * rpnode,inputArg_t * input,int gident,int * printPort) sas_rp_tree_print() argument
2643 sas_rp_tree_print_desc(HBA_HANDLE handle,HBA_UINT32 portIndex,SMHBA_PORTATTRIBUTES * port,rp_tree_t * desc,inputArg_t * input,int lident,int gident) sas_rp_tree_print_desc() argument
2669 sas_print_rpnode(inputArg_t * input,rp_tree_t * rpnode,int lident,int gident) sas_print_rpnode() argument
[all...]
/titanic_51/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Daes_provider.c36 const krb5_data *input, krb5_data *output) in krb5int_aes_encrypt() argument
51 ASSERT(input != NULL); in krb5int_aes_encrypt()
52 if (input->length < BLOCK_SIZE) in krb5int_aes_encrypt()
55 ASSERT(input->length == output->length); in krb5int_aes_encrypt()
76 /* number of input blocks including partial block */ in krb5int_aes_encrypt()
77 nblocks = (input->length + BLOCK_SIZE - 1) / BLOCK_SIZE; in krb5int_aes_encrypt()
80 partialamount = input->length % BLOCK_SIZE; in krb5int_aes_encrypt()
101 ret = k5_ef_crypto((const char *)input->data, in krb5int_aes_encrypt()
103 input->length, (krb5_keyblock *)key, in krb5int_aes_encrypt()
164 pt.cd_uio->uio_iov[0].iov_base = (char *)input in krb5int_aes_encrypt()
271 krb5int_aes_encrypt(krb5_context context,const krb5_keyblock * key,const krb5_data * ivec,const krb5_data * input,krb5_data * output) krb5int_aes_encrypt() argument
488 krb5int_aes_decrypt(krb5_context context,const krb5_keyblock * key,const krb5_data * ivec,const krb5_data * input,krb5_data * output) krb5int_aes_decrypt() argument
723 krb5int_aes_decrypt(krb5_context context,const krb5_keyblock * key,const krb5_data * ivec,const krb5_data * input,krb5_data * output) krb5int_aes_decrypt() argument
[all...]
H A Darcfour_provider.c75 const krb5_data *input, krb5_data *output) in k5_arcfour_decrypt() argument
92 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()
180 ret = k5_ef_crypto((const char *)input->data, (char *)output->data, in k5_arcfour_decrypt()
181 input->length, (krb5_keyblock *)key, NULL, 0); in k5_arcfour_decrypt()
192 const krb5_data *input, krb5_dat in k5_arcfour_encrypt() argument
[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()
/titanic_51/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[
[all...]
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[
[all...]
/titanic_51/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) in crypto_get_input_data() argument
246 switch (input->cd_format) { in crypto_get_input_data()
248 if (input->cd_raw.iov_len < input->cd_length) in crypto_get_input_data()
250 *dptr = (uchar_t *)(input->cd_raw.iov_base + in crypto_get_input_data()
251 input->cd_offset); in crypto_get_input_data()
255 if ((rv = crypto_uio_data(input, buf, input->cd_length, in crypto_get_input_data()
262 if ((rv = crypto_mblk_data(input, buf, input in crypto_get_input_data()
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 *)) crypto_update_iov() 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 *)) crypto_update_uio() 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 *)) crypto_update_mp() argument
[all...]
/titanic_51/usr/src/cmd/format/
H A Dprompts.c53 return (input(FIO_INT64, "Enter maximum number of LBAs", in get_mlba()
67 return (input(FIO_INT, "Enter number of data cylinders", in get_ncyl()
84 return (input(FIO_INT, "Enter number of alternate cylinders", ':',
102 return (input(FIO_INT, "Enter number of physical cylinders", ':',
116 return (input(FIO_INT, "Enter number of heads", ':', in get_nhead()
134 if (input(FIO_OPINT, "Enter physical number of heads",
154 return (input(FIO_INT, in get_nsect()
172 if (input(FIO_OPINT, "Enter number of physical sectors/track",
197 return (input(FIO_INT, "Enter number of bytes/track",
216 return (input(FIO_IN in get_rpm()
[all...]
/titanic_51/usr/src/uts/common/crypto/io/
H A Darcfour.c233 rc4_crypt(crypto_ctx_t *ctx, crypto_data_t *input, crypto_data_t *output, in rc4_crypt() argument
238 ret = rc4_crypt_update(ctx, input, output, req); in rc4_crypt()
248 rc4_crypt_update(crypto_ctx_t *ctx, crypto_data_t *input, crypto_data_t *output, in rc4_crypt_update() argument
266 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()
273 if (start + input->cd_length > end) in rc4_crypt_update()
277 input in rc4_crypt_update()
497 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) rc4_crypt_atomic() argument
[all...]
/titanic_51/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
/titanic_51/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 in k5_ef_mac()
[all...]
/titanic_51/usr/src/cmd/od/
H A Dod.c51 static FILE *input = NULL; variable
326 if (input != NULL) { in next_input()
327 if ((input = freopen(files[curfile], "r", input)) != in next_input()
330 return (input); in next_input()
333 if ((input = fopen(files[curfile], "r")) != NULL) { in next_input()
335 return (input); in next_input()
355 while ((input != NULL) && (b->navail < (2 * blocksize))) { in refill()
360 (void) fclose(input); in refill()
361 input in refill()
[all...]
/titanic_51/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_builtin_tail.sh144 input=$'hello\nworld'
152 input=$'1\n2\n3\n4'
161 input=$'1\n2\n3\n4'
170 input=$'1\n2\n3\n4'
179 input=$'1\n2\n3\n4'
189 input=$'1\n2\n3\n4'
198 input=$'1\n2\n3\n4'
207 input=$'1\n2\n3\n4'
216 input=$'1\n2\n3\n4'
225 input=$'1\n2\n3\n4'
[all …]
/titanic_51/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_builtin_tail.sh98 # quote input string but use single-backslash that "err_exit" prints
108 # quote input string but use double-backslash that "err_exit" prints
141 input=$'hello\nworld'
149 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
[all...]
/titanic_51/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, fil in docmd()
[all...]
/titanic_51/usr/src/uts/common/gssapi/mechs/krb5/crypto/old/
H A Dold_decrypt.c44 const krb5_data *input, in krb5_old_decrypt() argument
57 /* Verify input and output lengths. */ in krb5_old_decrypt()
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 in krb5_old_decrypt()
[all...]
/titanic_51/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
88 plainlen = krb5_roundup(blocksize+input->length, blocksize); in krb5_dk_encrypt()
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()
205 ret = krb5_hmac(context, hash, ki, num, input, in trunc_hmac()
226 krb5int_aes_dk_encrypt(krb5_context context,const struct krb5_enc_provider * enc,const struct krb5_hash_provider * hash,const krb5_keyblock * key,krb5_keyusage usage,const krb5_data * ivec,const krb5_data * input,krb5_data * output) krb5int_aes_dk_encrypt() argument
[all...]
/titanic_51/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 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 in _icv_iconv()
[all...]
H A Ducs_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()
104 cd->input.bom_written = false; in _icv_iconv()
118 if (! cd->input.bom_written) { in _icv_iconv()
130 cd->input.little_endian = false; in _icv_iconv()
133 cd->input.little_endian = true; in _icv_iconv()
136 cd->input in _icv_iconv()
[all...]

12345678910>>...20