/osnet-11/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);
|
/osnet-11/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...] |
H A D | object.t | 49 my $template = 'tmpdirXXXXXX'; 50 print "# Template: $template\n"; 51 my $tempdir = File::Temp::tempdir( $template , 80 # and another (with template) 89 ok( (-f "$fh"), "File $fh exists? [from template]" );
|
H A D | tempfile.t | 57 my $template = 'tmpdirXXXXXX'; 58 print "# Template: $template\n"; 59 my $tempdir = tempdir( $template , 103 # and another (with template)
|
H A D | security.t | 95 my $template = "tmpXXXXX"; 96 my ($fh1, $fname1) = eval { tempfile ( $template, 123 my ($fh2, $fname2) = eval { tempfile ($template, UNLINK => 1 ); };
|
/osnet-11/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 999 kms_get_common_key_attrs(kms_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 1045 kms_get_secret_key_attribute(kms_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 1180 kms_get_attribute(kms_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 1212 kms_set_common_key_attribute(kms_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 1297 kms_set_secret_key_attribute(kms_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 1390 kms_set_attribute(kms_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 1507 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...] |
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelAttributeUtil.c | 257 kernel_validate_attr(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, argument 266 switch (template[i].type) { 268 *class = *((CK_OBJECT_CLASS*)template[i].pValue); 282 switch (template[i].type) { 303 rv = kernel_lookup_attr(template[i].type); 352 kernel_add_extra_attr(CK_ATTRIBUTE_PTR template, kernel_object_t *object_p) argument 364 attrp->attr.type = template->type; 365 attrp->attr.ulValueLen = template->ulValueLen; 367 if ((template->pValue != NULL) && 368 (template 450 get_extra_attr_from_object(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 508 set_extra_attr_to_object(kernel_object_t *object_p, CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE_PTR template) argument 566 get_bigint_attr_from_template(biginteger_t *big, CK_ATTRIBUTE_PTR template) argument 594 get_bigint_attr_from_object(biginteger_t *big, CK_ATTRIBUTE_PTR template) argument 632 get_bool_attr_from_object(kernel_object_t *object_p, CK_ULONG bool_flag, CK_ATTRIBUTE_PTR template) argument 668 set_bool_attr_to_object(kernel_object_t *object_p, CK_ULONG bool_flag, CK_ATTRIBUTE_PTR template) argument 686 get_ulong_attr_from_object(CK_ULONG value, CK_ATTRIBUTE_PTR template) argument 718 get_ulong_attr_from_template(CK_ULONG *value, CK_ATTRIBUTE_PTR template) argument 817 string_attr_cleanup(CK_ATTRIBUTE_PTR template) argument 958 kernel_parse_common_attrs(CK_ATTRIBUTE_PTR template, kernel_session_t *sp, uint64_t *attr_mask_p) argument 1028 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 1405 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 1890 kernel_build_secret_key_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, int mode) argument 2192 kernel_build_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, kernel_object_t *new_object, kernel_session_t *sp, uint_t mode) argument 2249 kernel_get_common_attrs(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 2322 kernel_get_common_key_attrs(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 2366 kernel_get_public_key_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 2520 kernel_get_private_key_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 2765 kernel_get_secret_key_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 2903 kernel_get_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 2942 kernel_set_common_key_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy, kernel_session_t *sp) argument 3029 kernel_set_public_key_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy, kernel_session_t *sp) argument 3095 kernel_set_private_key_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy, kernel_session_t *sp) argument 3193 kernel_set_secret_key_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy, kernel_session_t *sp) argument 3287 kernel_set_attribute(kernel_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy, kernel_session_t *sp) argument 3757 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...] |
/osnet-11/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 590 get_extra_attr_from_object(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 648 set_extra_attr_to_object(soft_object_t *object_p, CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE_PTR template) argument 706 get_bigint_attr_from_template(biginteger_t *big, CK_ATTRIBUTE_PTR template) argument 734 get_bigint_attr_from_object(biginteger_t *big, CK_ATTRIBUTE_PTR template) argument 772 get_bool_attr_from_object(soft_object_t *object_p, CK_ULONG bool_flag, CK_ATTRIBUTE_PTR template) argument 808 set_bool_attr_to_object(soft_object_t *object_p, CK_ULONG bool_flag, CK_ATTRIBUTE_PTR template) argument 826 get_ulong_attr_from_object(CK_ULONG value, CK_ATTRIBUTE_PTR template) argument 859 get_ulong_attr_from_template(CK_ULONG *value, CK_ATTRIBUTE_PTR template) argument 999 get_cert_attr_from_object(cert_attr_t *src, CK_ATTRIBUTE_PTR template) argument 1023 string_attr_cleanup(CK_ATTRIBUTE_PTR template) argument 1252 soft_parse_common_attrs(CK_ATTRIBUTE_PTR template, uchar_t *object_type) argument 1320 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 1889 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 2566 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 3224 soft_build_domain_parameters_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object) argument 3450 soft_build_certificate_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object, CK_CERTIFICATE_TYPE cert_type) argument 3647 soft_build_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum, soft_object_t *new_object) argument 3715 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 3808 soft_get_common_attrs(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, uchar_t object_type) argument 3876 soft_get_common_key_attrs(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 3918 soft_get_public_key_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 4091 soft_get_private_key_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 4361 soft_get_secret_key_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 4475 soft_get_domain_parameters_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 4593 soft_get_certificate_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 4654 soft_set_certificate_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 4718 soft_get_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template) argument 4760 soft_set_common_storage_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 4836 soft_set_common_key_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 4887 soft_set_public_key_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 4959 soft_set_private_key_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 5067 soft_set_secret_key_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 5163 soft_set_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template, boolean_t copy) argument 6549 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 | 153 CK_ATTRIBUTE template; local 169 template.type = CKA_EC_PARAMS; 170 template.pValue = param_buffer; 171 template.ulValueLen = sizeof (param_buffer); 172 rv = soft_get_public_key_attribute(pubkey, &template); 176 paramlen = template.ulValueLen; 179 rv = set_extra_attr_to_object(prikey, CKA_EC_PARAMS, &template); 221 CK_ATTRIBUTE template; local 238 template.type = CKA_VALUE; 239 template 345 CK_ATTRIBUTE template; local 547 CK_ATTRIBUTE template; local [all...] |
H A D | softEC.h | 74 CK_ATTRIBUTE_PTR template); 76 CK_ATTRIBUTE_PTR template); 78 CK_ATTRIBUTE_TYPE type, CK_ATTRIBUTE_PTR template);
|
H A D | softDH.c | 91 CK_ATTRIBUTE template; local 112 template.pValue = malloc(sizeof (CK_ULONG)); 113 if (template.pValue == NULL) { 116 template.ulValueLen = sizeof (CK_ULONG); 118 &template); 120 free(template.pValue); 126 value_bits = (uint32_t)(*((CK_ULONG *)(template.pValue))); 128 value_bits = *((CK_ULONG *)(template.pValue)); 131 free(template.pValue);
|
/osnet-11/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...] |
/osnet-11/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]);
|
H A D | tsol_getrhent.c | 79 char **addr, **template, *addr_out; local 102 template = __ns_ldap_getAttr(result->entry, _TNRHDB_TNAME); 103 if (template == NULL || template[0] == NULL || 104 (strlen(template[0]) < 1)) { 108 /* "addr:template" */ 109 len = strlen(addr_out) + strlen(template[0]) + 2; 121 (void) snprintf(buffer, len, "%s:%s", addr_out, template[0]);
|
/osnet-11/usr/src/lib/libtsnet/common/ |
H A D | tsol_sgetrhent.c | 31 * template to use (from tnrhtp). 169 char *template = rhstrp->rhstr_template; local 187 if (template && *template != '\0' && *template != '#' && 188 *template != '\n') 189 *errstrp = template; 196 if (template && *template != '\0' && *template ! [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
H A D | pack.t | 237 print "# test the 'p' template\n"; 352 # test the ascii template types (A, a, Z) 370 my ($what, $template, $in, $out) = @$_; 371 my $got = $what eq 'u' ? (unpack $template, $in) : (pack $template, $in); 374 print "# ${un}pack ('$template', "._qq($in).') gave '._qq($out). 734 my ($template, @in) = @$_; 736 my $got = eval {pack $template, @in}; 739 printf "# pack ('$template', %s) gave %s expected %s\n", 754 my ($template, [all...] |
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | object.c | 369 rc = template_attribute_find(o->template, CKA_SENSITIVE, &attr); 383 rc = template_attribute_find(o->template, CKA_EXTRACTABLE, 398 (void) template_update_attribute(o->template, sensitive); 399 (void) template_update_attribute(o->template, extractable); 417 // object's attribute template plus any additional attributes that are 453 // copy the original object's attribute template 455 rc = template_copy(tmpl, old_obj->template); 483 // of the old template. 499 o->template = tmpl; 528 count = template_get_count(obj->template); [all...] |
H A D | key_mgr.c | 149 publ_key_obj->template, 150 priv_key_obj->template); 167 flag = template_attribute_find(priv_key_obj->template, 177 (void) template_update_attribute(priv_key_obj->template, 186 flag = template_attribute_find(priv_key_obj->template, 199 (void) template_update_attribute(priv_key_obj->template, 263 rc = template_attribute_find(key2_obj->template, 274 rc = template_attribute_find(key2_obj->template, CKA_CLASS, &attr); 291 rc = template_attribute_find(key2_obj->template, 300 rc = rsa_priv_wrap_get_data(key2_obj->template, length_onl [all...] |
H A D | sign_mgr.c | 56 rc = template_attribute_find(key_obj->template, CKA_SIGN, &attr); 69 rc = template_attribute_find(key_obj->template, 82 flag = template_attribute_find(key_obj->template, 102 rc = template_attribute_find(key_obj->template, 115 flag = template_attribute_find(key_obj->template, 142 rc = template_attribute_find(key_obj->template, 179 rc = template_attribute_find(key_obj->template,
|
H A D | verify_mgr.c | 60 rc = template_attribute_find(key_obj->template, CKA_VERIFY, &attr); 73 rc = template_attribute_find(key_obj->template, 84 flag = template_attribute_find(key_obj->template, 104 rc = template_attribute_find(key_obj->template, 115 flag = template_attribute_find(key_obj->template, 140 rc = template_attribute_find(key_obj->template, 175 rc = template_attribute_find(key_obj->template,
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/ |
H A D | Temp.pm | 49 ($fh, $filename) = tempfile( $template, DIR => $dir); 50 ($fh, $filename) = tempfile( $template, SUFFIX => '.dat'); 59 $fh = new File::Temp($template); 74 $tmpdir = mkdtemp( $template ); 76 $unopened_file = mktemp( $template ); 191 # Minimum number of X characters that should be in a template 194 # Default template when no template supplied 252 # The template must contain X's that are to be replaced 286 # ($fh, $name) = _gettemp($template, "ope [all...] |
/osnet-11/usr/src/lib/libparted/common/lib/ |
H A D | verify.h | 123 Use a template type to work around the problem. */ 147 template <int w>
|
H A D | xalloc.h | 248 template <typename T> inline T * 254 template <typename T> inline T * 260 template <typename T> inline T * 266 template <typename T> inline T * 272 template <typename T> inline T *
|
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | verify.h | 123 Use a template type to work around the problem. */ 147 template <int w>
|
/osnet-11/usr/src/lib/libslp/javalib/ |
H A D | Makefile | 42 -$(RM) manifest_slpd.template manifest_slp.template
|