Searched refs:template (Results 26 - 50 of 65) sorted by relevance

123

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/
H A DCompare.t79 my $template = File::Spec->catfile(File::Spec->tmpdir, 'fcmpXXXX');
80 my($tfh,$filename) = mkstemp($template);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c549 int port, const struct addrinfo *template)
554 if (template->ai_family != AF_INET
556 && template->ai_family != AF_INET6
560 *n = *template;
561 if (template->ai_family == AF_INET) {
576 if (template->ai_family == AF_INET6) {
671 struct addrinfo *template,
781 template->ai_family = AF_INET6;
782 template->ai_addrlen = sizeof(struct sockaddr_in6);
784 r = fai_add_entry (result, &ce->addrs6[i], portnum, template);
548 fai_add_entry(struct addrinfo **result, void *addr, int port, const struct addrinfo *template) argument
670 fai_add_hosts_by_name(const char *name, struct addrinfo *template, int portnum, int flags, struct addrinfo **result) argument
851 struct addrinfo template; local
[all...]
/osnet-11/usr/src/lib/libtsnet/common/
H A Dtsol_sgettpent.c26 * These functions parse entries in the "tnrhtp" (remote host template) file.
28 * field is the template name. The second is a list of "key=value" attributes,
32 * colon in a line, nor any unescaped '=' or ';' characters in the template
304 char *template = tpstrp->tpstr_template; local
319 *errstrp = template;
321 if (template == NULL || *template == '#' || *template == '\n') {
325 else if (template == NULL)
329 if (*template
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/
H A Dgui_label.c49 char *template; member in struct:grub_gui_label
64 grub_free (self->template);
163 self->text = grub_xasprintf (self->template ? : "%d", self->value);
173 grub_free (self->template);
176 self->template = NULL;
181 self->template = grub_strdup (value);
H A Dgui_progress_bar.c41 char *template; member in struct:grub_gui_progress_bar
161 if (self->template)
169 text = grub_xasprintf (self->template,
247 if (self->template)
249 text_width = grub_font_get_string_width (self->font, self->template);
279 grub_free (self->template);
294 self->template = grub_strdup (value);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/utils/
H A Dc2ph.PL292 %template = (
578 # resolve template -- should be in stab define order, but even this isn't enough.
585 &build_template($name) unless defined $template{&psou($name)} ||
616 $template{$fname} = &scrunch($template{$fname}) if $perl;
677 print "\$${mname}'typedef = '" . &scrunch($template{$fname})
724 print '$',&munge($name),"'typedef = '", $template{$name}, "';\n";
849 local($template);
885 $template{$sname} .= 'X' x $revpad . ' ' if $revpad;
887 $template{
[all...]
/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaObjectManager.c35 /* Size of the template for creating key used for wrap/unwrap */
752 * first, get the master template of all the attributes
879 * The same template will be used for all wrapping/unwrapping keys all
892 CK_ATTRIBUTE template[WRAP_KEY_TEMPLATE_SIZE]; local
896 template[i].type = CKA_CLASS;
897 template[i].pValue = &objclass;
898 template[i].ulValueLen = sizeof (objclass);
902 template[i].type = CKA_KEY_TYPE;
903 template[i].pValue = &keytype;
904 template[
[all...]
H A DmetaAttrManager.c103 * the supplied object template. The template is only used to determine the
109 CK_ATTRIBUTE *template, CK_ULONG template_size,
116 found = get_template_ulong(CKA_CLASS, template, template_size, &class);
124 template, template_size, &subtype);
128 template, template_size, &subtype);
135 template, template_size, &subtype);
390 /* Determine the appropriate master template needed. */
396 /* Duplicate the master template. */
424 /* Secret keys share a common template, s
108 get_master_attributes_by_template( CK_ATTRIBUTE *template, CK_ULONG template_size, generic_attr_t **attributes, size_t *num_attributes) argument
[all...]
/osnet-11/usr/src/lib/libinetutil/common/
H A Dofmt.c131 split_fields(const ofmt_field_t *template, uint_t maxfields, uint_t maxcols) argument
145 cols += template[i].of_width;
153 sp->s_fields[sp->s_nfields++] = template[i].of_name;
178 ofmt_open(const char *str, const ofmt_field_t *template, uint_t flags, argument
208 if (template == NULL)
210 for (ofp = template; ofp->of_name != NULL; ofp++)
221 sp = split_fields(template, nfields, maxcols);
238 * nfields is the number of fields in template.
243 template[j].of_name) == 0) {
262 of[of_index].of_name = strdup(template[
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Ddecr_mgr.c59 rc = template_attribute_find(key_obj->template,
75 rc = template_attribute_find(key_obj->template,
94 rc = template_attribute_find(key_obj->template,
H A Dencr_mgr.c58 rc = template_attribute_find(key_obj->template,
74 rc = template_attribute_find(key_obj->template,
94 rc = template_attribute_find(key_obj->template,
H A Dmech_rsa.c64 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr);
94 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr);
126 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr);
156 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr);
194 flag = template_attribute_find(key_obj->template, CKA_MODULUS, &attr);
237 flag = template_attribute_find(key_obj->template, CKA_MODULUS, &attr);
284 flag = template_attribute_find(key_obj->template, CKA_MODULUS, &attr);
324 flag = template_attribute_find(key_obj->template, CKA_MODULUS, &attr);
366 flag = template_attribute_find(key_obj->template, CKA_MODULUS, &attr);
H A Ddig_mgr.c459 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr);
468 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr);
H A Dtpm_specific.c786 if (template_attribute_find(obj->template, CKA_KEY_TYPE,
797 if (template_attribute_find(obj->template, CKA_CLASS,
816 if (template_attribute_find(obj->template, CKA_PRIME_1,
818 if (template_attribute_find(obj->template,
825 if ((rc = util_check_public_exponent(obj->template))) {
830 if (template_attribute_find(obj->template, CKA_MODULUS,
851 if ((util_check_public_exponent(obj->template))) {
856 if (template_attribute_find(obj->template,
915 (void) template_update_attribute(obj->template, new_attr);
2291 /* add the public key blob to the object template */
[all...]
H A Dmech_md5.c366 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dmktemp.c231 mktemp(char *template) argument
233 return (libc_mktemps(template, 0));
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsKeystoreUtil.c653 CK_ATTRIBUTE template[] = { local
667 template[0].pValue = &bTrue;
668 template[1].pValue = label;
669 template[1].ulValueLen = strlen(label);
670 template[2].pValue = &keytype;
671 template[3].pValue = &class;
672 template[4].pValue = pKey->m_acKey;
673 template[4].ulValueLen = pKey->m_iKeyLength;
674 template[5].pValue = &keylen;
675 template[
[all...]
H A DkmsObject.h250 CK_ATTRIBUTE_PTR template);
259 CK_RV kms_validate_attr(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum,
283 void string_attr_cleanup(CK_ATTRIBUTE_PTR template);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dsprintf.t19 my ($i, $template, $data, $result, $comment, $w, $x, $evalData, $n, $p);
50 ($template, $data, $result, $comment) = @{shift @tests};
68 $x = sprintf(">$template<",
75 if ($template =~ /%\+?\-/ and $result =~ / $/) {
79 elsif ($template =~ /%\+?0/ and $result =~ /^0/) {
101 print("ok $i # >$template< >$data< >$result<",
106 print("not ok $i >$template< >$data< >$result< $x$y",
112 # printf template, data to be formatted (as a Perl expression), and
142 # template data result
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftObject.h815 CK_RV soft_build_object(CK_ATTRIBUTE_PTR template,
818 CK_RV soft_build_secret_key_object(CK_ATTRIBUTE_PTR template,
827 CK_RV soft_get_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template);
829 CK_RV soft_set_attribute(soft_object_t *object_p, CK_ATTRIBUTE_PTR template,
833 CK_ATTRIBUTE_PTR template, boolean_t copy);
841 CK_RV get_ulong_attr_from_object(CK_ULONG value, CK_ATTRIBUTE_PTR template);
849 CK_RV soft_build_key(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum,
865 CK_RV soft_validate_attr(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum,
887 void string_attr_cleanup(CK_ATTRIBUTE_PTR template);
892 CK_ATTRIBUTE_PTR template);
[all...]
H A DsoftKeystore.c437 CK_ATTRIBUTE template; local
473 (void) memset(&template, 0, sizeof (CK_ATTRIBUTE));
474 template.type = (CK_ATTRIBUTE_TYPE)(SWAP64(attr_hdr->type));
475 template.ulValueLen = (CK_ULONG)(SWAP64(attr_hdr->ulValueLen));
478 if (template.ulValueLen > 0) {
479 template.pValue = malloc(template.ulValueLen);
480 if (template.pValue == NULL) {
483 (void) memcpy(template.pValue, buf,
484 template
539 CK_ATTRIBUTE template; local
[all...]
H A DsoftRSA.c828 CK_ATTRIBUTE template; local
851 template.pValue = malloc(sizeof (CK_ULONG));
852 if (template.pValue == NULL) {
855 template.ulValueLen = sizeof (CK_ULONG);
858 &template);
860 free(template.pValue);
866 modulus_len = (uint32_t)(*((CK_ULONG *)(template.pValue)));
868 modulus_len = *((CK_ULONG *)(template.pValue));
871 free(template.pValue);
909 * Add modulus in public template, an
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/
H A DMakefile.com48 template.o \
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelObject.h541 CK_RV kernel_build_object(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum,
552 CK_ATTRIBUTE_PTR template);
555 CK_ATTRIBUTE_PTR template, boolean_t copy, kernel_session_t *sp);
570 CK_RV kernel_validate_attr(CK_ATTRIBUTE_PTR template, CK_ULONG ulAttrNum,
594 void string_attr_cleanup(CK_ATTRIBUTE_PTR template);
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dsuid_exec.c472 * create a unique name into the <template>
475 static void maketemp(char *template) argument
477 register char *cp = template;

Completed in 61 milliseconds

123