/opensolaris-onvv-gate/usr/src/lib/libc/port/gen/ |
H A D | mkdtemp.c | 37 mkdtemp(char *template) argument 42 /* Save template */ 43 t = strdupa(template); 45 r = mktemp(template); 50 if (mkdir(template, 0700) == 0) 57 /* Reset template */ 58 (void) strcpy(template, t);
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/File/Temp/t/ |
H A D | mktemp.t | 20 my $template = File::Spec->catfile(File::Spec->tmpdir, 'wowserXXXX'); 22 (my $fh, $template) = mkstemp($template); 24 print "# MKSTEMP: FH is $fh File is $template fileno=".fileno($fh)."\n"; 26 ok( (-e $template) ); 54 my $status = unlink0($fh, $template); 65 $template = "suffixXXXXXX"; 68 ($fh, my $fname) = mkstemps($template, $suffix); 70 print "# MKSTEMPS: File is $template -> $fname fileno=".fileno($fh)."\n"; 87 $template [all...] |
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_kms/common/ |
H A D | kmsAttributeUtil.c | 150 kms_validate_attr(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, argument 159 switch (template[i].type) { 161 *class = *((CK_OBJECT_CLASS*)template[i].pValue); 175 switch (template[i].type) { 196 rv = kms_lookup_attr(template[i].type); 247 kms_add_extra_attr(CK_ATTRIBUTE_PTR template, kms_object_t *object_p) argument 259 attrp->attr.type = template->type; 260 attrp->attr.ulValueLen = template->ulValueLen; 262 if ((template->pValue != NULL) && 263 (template 343 get_extra_attr_from_object(kms_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 399 set_extra_attr_to_object(kms_object_t *object_p, CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE_PTR template) argument 456 get_bool_attr_from_object(kms_object_t *object_p, CK_ULONG bool_flag, CK_ATTRIBUTE_PTR template) argument 492 set_bool_attr_to_object(kms_object_t *object_p, CK_ULONG bool_flag, CK_ATTRIBUTE_PTR template) argument 510 get_ulong_attr_from_object(CK_ULONG value, CK_ATTRIBUTE_PTR template) argument 562 string_attr_cleanup(CK_ATTRIBUTE_PTR template) argument 578 kms_parse_common_attrs(CK_ATTRIBUTE_PTR template, uint64_t *attr_mask_p) argument 639 kms_build_secret_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kms_object_t *new_object) argument 882 kms_build_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kms_object_t *new_object) argument 931 kms_get_common_attrs(kms_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 998 kms_get_common_key_attrs(kms_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 1044 kms_get_secret_key_attribute(kms_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 1179 kms_get_attribute(kms_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 1211 kms_set_common_key_attribute(kms_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 1296 kms_set_secret_key_attribute(kms_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 1389 kms_set_attribute(kms_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 1506 kms_find_match_attrs(kms_object_t *obj, CK_OBJECT_CLASS *pclasses, CK_ULONG num_pclasses, CK_ATTRIBUTE *template, CK_ULONG num_attr) argument [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | encrypt.c | 56 * Create an template to improve HMAC performance later. 118 CK_ATTRIBUTE template[6]; local 138 template[0].type = CKA_CLASS; 139 template[0].pValue = &class; 140 template[0].ulValueLen = sizeof (class); 141 template[1].type = CKA_KEY_TYPE; 142 template[1].pValue = &keyType; 143 template[1].ulValueLen = sizeof (keyType); 144 template[2].type = CKA_TOKEN; 145 template[ [all...] |
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelAttributeUtil.c | 258 kernel_validate_attr(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, argument 267 switch (template[i].type) { 269 *class = *((CK_OBJECT_CLASS*)template[i].pValue); 283 switch (template[i].type) { 304 rv = kernel_lookup_attr(template[i].type); 353 kernel_add_extra_attr(CK_ATTRIBUTE_PTR template, kernel_object_t *object_p) argument 365 attrp->attr.type = template->type; 366 attrp->attr.ulValueLen = template->ulValueLen; 368 if ((template->pValue != NULL) && 369 (template 451 get_extra_attr_from_object(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 509 set_extra_attr_to_object(kernel_object_t *object_p, CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE_PTR template) argument 567 get_bigint_attr_from_template(biginteger_t *big, CK_ATTRIBUTE_PTR template) argument 595 get_bigint_attr_from_object(biginteger_t *big, CK_ATTRIBUTE_PTR template) argument 633 get_bool_attr_from_object(kernel_object_t *object_p, CK_ULONG bool_flag, CK_ATTRIBUTE_PTR template) argument 669 set_bool_attr_to_object(kernel_object_t *object_p, CK_ULONG bool_flag, CK_ATTRIBUTE_PTR template) argument 687 get_ulong_attr_from_object(CK_ULONG value, CK_ATTRIBUTE_PTR template) argument 719 get_ulong_attr_from_template(CK_ULONG *value, CK_ATTRIBUTE_PTR template) argument 787 string_attr_cleanup(CK_ATTRIBUTE_PTR template) argument 928 kernel_parse_common_attrs(CK_ATTRIBUTE_PTR template, kernel_session_t *sp, uint64_t *attr_mask_p) argument 998 kernel_build_public_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) argument 1366 kernel_build_private_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) argument 1840 kernel_build_secret_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp) argument 2136 kernel_build_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) argument 2193 kernel_get_common_attrs(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 2265 kernel_get_common_key_attrs(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 2309 kernel_get_public_key_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 2463 kernel_get_private_key_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 2708 kernel_get_secret_key_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 2846 kernel_get_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 2885 kernel_set_common_key_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy, kernel_session_t *sp) argument 2972 kernel_set_public_key_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy, kernel_session_t *sp) argument 3038 kernel_set_private_key_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy, kernel_session_t *sp) argument 3136 kernel_set_secret_key_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy, kernel_session_t *sp) argument 3230 kernel_set_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy, kernel_session_t *sp) argument 3700 kernel_find_match_attrs(kernel_object_t *obj, CK_OBJECT_CLASS *pclasses, CK_ULONG num_pclasses, CK_ATTRIBUTE *template, CK_ULONG num_attr) argument [all...] |
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softAttributeUtil.c | 264 soft_validate_attr(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, argument 273 switch (template[i].type) { 275 *class = *((CK_OBJECT_CLASS*)template[i].pValue); 289 switch (template[i].type) { 310 rv = soft_lookup_attr(template[i].type); 446 soft_add_extra_attr(CK_ATTRIBUTE_PTR template, soft_object_t *object_p) argument 458 attrp->attr.type = template->type; 459 attrp->attr.ulValueLen = template->ulValueLen; 461 if ((template->pValue != NULL) && 462 (template 585 get_extra_attr_from_object(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 643 set_extra_attr_to_object(soft_object_t *object_p, CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE_PTR template) argument 701 get_bigint_attr_from_template(biginteger_t *big, CK_ATTRIBUTE_PTR template) argument 729 get_bigint_attr_from_object(biginteger_t *big, CK_ATTRIBUTE_PTR template) argument 767 get_bool_attr_from_object(soft_object_t *object_p, CK_ULONG bool_flag, CK_ATTRIBUTE_PTR template) argument 803 set_bool_attr_to_object(soft_object_t *object_p, CK_ULONG bool_flag, CK_ATTRIBUTE_PTR template) argument 821 get_ulong_attr_from_object(CK_ULONG value, CK_ATTRIBUTE_PTR template) argument 854 get_ulong_attr_from_template(CK_ULONG *value, CK_ATTRIBUTE_PTR template) argument 963 get_cert_attr_from_object(cert_attr_t *src, CK_ATTRIBUTE_PTR template) argument 987 string_attr_cleanup(CK_ATTRIBUTE_PTR template) argument 1215 soft_parse_common_attrs(CK_ATTRIBUTE_PTR template, uchar_t *object_type) argument 1283 soft_build_public_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_ULONG mode, CK_KEY_TYPE key_type) argument 1849 soft_build_private_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_ULONG mode, CK_KEY_TYPE key_type) argument 2517 soft_build_secret_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_ULONG mode, CK_ULONG key_len, CK_KEY_TYPE key_type) argument 3172 soft_build_domain_parameters_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object) argument 3398 soft_build_certificate_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_CERTIFICATE_TYPE cert_type) argument 3593 soft_build_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object) argument 3661 soft_build_key(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_OBJECT_CLASS class, CK_KEY_TYPE key_type, CK_ULONG key_len, CK_ULONG mode) argument 3754 soft_get_common_attrs(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, uchar_t object_type) argument 3822 soft_get_common_key_attrs(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 3864 soft_get_public_key_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 4037 soft_get_private_key_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 4307 soft_get_secret_key_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 4421 soft_get_domain_parameters_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 4539 soft_get_certificate_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 4597 soft_set_certificate_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 4658 soft_get_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 4700 soft_set_common_storage_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 4776 soft_set_common_key_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 4827 soft_set_public_key_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 4899 soft_set_private_key_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 5007 soft_set_secret_key_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 5103 soft_set_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 6489 soft_find_match_attrs(soft_object_t *obj, CK_OBJECT_CLASS *pclasses, CK_ULONG num_pclasses, CK_ATTRIBUTE *template, CK_ULONG num_attr) argument [all...] |
H A D | softEC.c | 150 CK_ATTRIBUTE template; local 166 template.type = CKA_EC_PARAMS; 167 template.pValue = param_buffer; 168 template.ulValueLen = sizeof (param_buffer); 169 rv = soft_get_public_key_attribute(pubkey, &template); 173 paramlen = template.ulValueLen; 176 rv = set_extra_attr_to_object(prikey, CKA_EC_PARAMS, &template); 217 CK_ATTRIBUTE template; local 234 template.type = CKA_VALUE; 235 template 335 CK_ATTRIBUTE template; local 537 CK_ATTRIBUTE template; local [all...] |
/opensolaris-onvv-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | pkcs11SUNWExtensions.c | 289 /* template for creating generic secret key object */ 290 CK_ATTRIBUTE template[NUM_SECRETKEY_ATTRS]; local 317 template[i].type = CKA_CLASS; 318 template[i].pValue = &objclass; 319 template[i].ulValueLen = sizeof (objclass); 328 template[i].type = CKA_KEY_TYPE; 329 template[i].pValue = &keytype; 330 template[i].ulValueLen = sizeof (keytype); 342 template[i].type = mapping[j].attr; 343 template[ 387 CK_ATTRIBUTE template[NUM_SECRETKEY_ATTRS]; local 511 CK_ATTRIBUTE template; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/nsgmls.src/include/ |
H A D | HashTableItemBase.h | 15 template<class K> 24 template<class K>
|
H A D | RangeMap.h | 29 template < class From, class To > 36 template < class From, class To > class RangeMapIter; 37 template < class From, class To > class RangeMap; 39 template < class From, class To > 54 template < class From, class To >
|
H A D | List.h | 15 template<class T> 22 template<class T> class ListIter; 24 template<class T>
|
H A D | IListIter.h | 15 template<class T>
|
H A D | StringResource.h | 15 template<class T>
|
H A D | NamedTable.h | 22 template<class T> class NamedTableIter; 23 template<class T> class ConstNamedTableIter; 25 template<class T> 44 template<class T> 53 template<class T>
|
H A D | CharMap.h | 16 template<class T> 28 template<class T> 42 template<class T> 62 template<class T> 71 template<class T> 87 template<class T> 111 template<class T> 118 template<class T> 126 template<class T>
|
H A D | IList.h | 14 template<class T> class IListIter; 18 template<class T>
|
H A D | XcharMap.h | 17 template<class T> 27 template<class T>
|
H A D | CopyOwner.h | 14 template<class T>
|
H A D | HashTable.h | 18 template<class K, class V> 26 template<class K, class V> class HashTableIter; 28 template<class K, class V> 43 template<class K, class V>
|
H A D | ListIter.h | 15 template<class T>
|
H A D | ISet.h | 17 template<class T> class ISetIter; 19 template<class T> 25 template<class T>
|
/opensolaris-onvv-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | tsol_gettpent.c | 64 char **attrs, **template; local 70 template = __ns_ldap_getAttr(result->entry, _TNRHTP_NAME); 71 if (template == NULL || template[0] == NULL || 72 (strlen(template[0]) < 1)) { 82 /* "template:attrs" */ 83 len = strlen(template[0]) + strlen(attrs[0]) + 2; 95 (void) snprintf(buffer, len, "%s:%s", template[0], attrs[0]);
|
/opensolaris-onvv-gate/usr/src/cmd/passmgmt/ |
H A D | Makefile | 48 # datemsk is generated from datemsk.template because of a side-effect of 50 # SCCS confuses for ID keywords. datemsk.template should quote the "%" 54 datemsk: datemsk.template 55 @while read i; do echo $$i; done < datemsk.template > $@
|
/opensolaris-onvv-gate/usr/src/lib/libtsnet/common/ |
H A D | tsol_sgetrhent.c | 30 * template to use (from tnrhtp). 170 char *template = rhstrp->template; local 188 if (template && *template != '\0' && *template != '#' && 189 *template != '\n') 190 *errstrp = template; 197 if (template && *template ! [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/ |
H A D | arcfour_provider.c | 32 CK_ATTRIBUTE template[5]; local 40 template[0].type = CKA_CLASS; 41 template[0].pValue = &class; 42 template[0].ulValueLen = sizeof (class); 43 template[1].type = CKA_KEY_TYPE; 44 template[1].pValue = &keyType; 45 template[1].ulValueLen = sizeof (keyType); 46 template[2].type = CKA_TOKEN; 47 template[2].pValue = &false; 48 template[ [all...] |