Home
last modified time | relevance | path

Searched refs:si (Results 1 – 25 of 451) sorted by relevance

12345678910>>...19

/openbsd-src/regress/lib/libc/sys/
H A Dt_waitid.c58 siginfo_t si; in ATF_TC_BODY() local
59 ATF_REQUIRE(waitid(P_ALL, 0, &si, 0) == -1 in ATF_TC_BODY()
72 siginfo_t si; in ATF_TC_BODY() local
83 ATF_REQUIRE(waitid(P_PID, pid, &si, WEXITED) == 0); in ATF_TC_BODY()
84 ATF_REQUIRE(si.si_status == 0x5a5a5a5a); in ATF_TC_BODY()
85 ATF_REQUIRE(si.si_pid == pid); in ATF_TC_BODY()
86 ATF_REQUIRE(si.si_uid == getuid()); in ATF_TC_BODY()
87 ATF_REQUIRE(si.si_code == CLD_EXITED); in ATF_TC_BODY()
88 printf("user: %ju system: %ju\n", (uintmax_t)si.si_utime, in ATF_TC_BODY()
89 (uintmax_t)si.si_utime); in ATF_TC_BODY()
[all …]
/openbsd-src/lib/libcrypto/cms/
H A Dcms_att.c65 CMS_signed_get_attr_count(const CMS_SignerInfo *si) in CMS_signed_get_attr_count() argument
67 return sk_X509_ATTRIBUTE_num(si->signedAttrs); in CMS_signed_get_attr_count()
72 CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid, int lastpos) in CMS_signed_get_attr_by_NID() argument
74 return X509at_get_attr_by_NID(si->signedAttrs, nid, lastpos); in CMS_signed_get_attr_by_NID()
79 CMS_signed_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj, in CMS_signed_get_attr_by_OBJ() argument
82 return X509at_get_attr_by_OBJ(si->signedAttrs, obj, lastpos); in CMS_signed_get_attr_by_OBJ()
87 CMS_signed_get_attr(const CMS_SignerInfo *si, int loc) in CMS_signed_get_attr() argument
89 return sk_X509_ATTRIBUTE_value(si->signedAttrs, loc); in CMS_signed_get_attr()
94 CMS_signed_delete_attr(CMS_SignerInfo *si, int loc) in CMS_signed_delete_attr() argument
96 return sk_X509_ATTRIBUTE_delete(si in CMS_signed_delete_attr()
101 CMS_signed_add1_attr(CMS_SignerInfo * si,X509_ATTRIBUTE * attr) CMS_signed_add1_attr() argument
110 CMS_signed_add1_attr_by_OBJ(CMS_SignerInfo * si,const ASN1_OBJECT * obj,int type,const void * bytes,int len) CMS_signed_add1_attr_by_OBJ() argument
120 CMS_signed_add1_attr_by_NID(CMS_SignerInfo * si,int nid,int type,const void * bytes,int len) CMS_signed_add1_attr_by_NID() argument
130 CMS_signed_add1_attr_by_txt(CMS_SignerInfo * si,const char * attrname,int type,const void * bytes,int len) CMS_signed_add1_attr_by_txt() argument
140 CMS_signed_get0_data_by_OBJ(CMS_SignerInfo * si,const ASN1_OBJECT * oid,int lastpos,int type) CMS_signed_get0_data_by_OBJ() argument
148 CMS_unsigned_get_attr_count(const CMS_SignerInfo * si) CMS_unsigned_get_attr_count() argument
155 CMS_unsigned_get_attr_by_NID(const CMS_SignerInfo * si,int nid,int lastpos) CMS_unsigned_get_attr_by_NID() argument
162 CMS_unsigned_get_attr_by_OBJ(const CMS_SignerInfo * si,const ASN1_OBJECT * obj,int lastpos) CMS_unsigned_get_attr_by_OBJ() argument
170 CMS_unsigned_get_attr(const CMS_SignerInfo * si,int loc) CMS_unsigned_get_attr() argument
177 CMS_unsigned_delete_attr(CMS_SignerInfo * si,int loc) CMS_unsigned_delete_attr() argument
184 CMS_unsigned_add1_attr(CMS_SignerInfo * si,X509_ATTRIBUTE * attr) CMS_unsigned_add1_attr() argument
193 CMS_unsigned_add1_attr_by_OBJ(CMS_SignerInfo * si,const ASN1_OBJECT * obj,int type,const void * bytes,int len) CMS_unsigned_add1_attr_by_OBJ() argument
203 CMS_unsigned_add1_attr_by_NID(CMS_SignerInfo * si,int nid,int type,const void * bytes,int len) CMS_unsigned_add1_attr_by_NID() argument
213 CMS_unsigned_add1_attr_by_txt(CMS_SignerInfo * si,const char * attrname,int type,const void * bytes,int len) CMS_unsigned_add1_attr_by_txt() argument
224 CMS_unsigned_get0_data_by_OBJ(CMS_SignerInfo * si,ASN1_OBJECT * oid,int lastpos,int type) CMS_unsigned_get0_data_by_OBJ() argument
[all...]
H A Dcms_sd.c124 CMS_SignerInfo *si; in cms_sd_set_version() local
153 si = sk_CMS_SignerInfo_value(sd->signerInfos, i); in cms_sd_set_version()
154 if (si->sid->type == CMS_SIGNERINFO_KEYIDENTIFIER) { in cms_sd_set_version()
155 if (si->version < 3) in cms_sd_set_version()
156 si->version = 3; in cms_sd_set_version()
159 } else if (si->version < 1) in cms_sd_set_version()
160 si->version = 1; in cms_sd_set_version()
170 cms_copy_messageDigest(CMS_ContentInfo *cms, CMS_SignerInfo *si) in cms_copy_messageDigest() argument
180 if (sitmp == si) in cms_copy_messageDigest()
184 if (OBJ_cmp(si->digestAlgorithm->algorithm, in cms_copy_messageDigest()
[all …]
H A Dcms.h135 int CMS_SignerInfo_get_version(const CMS_SignerInfo *si, long *version);
166 CMS_ContentInfo *CMS_sign_receipt(CMS_SignerInfo *si, X509 *signcert,
263 EVP_PKEY_CTX *CMS_SignerInfo_get0_pkey_ctx(CMS_SignerInfo *si);
264 EVP_MD_CTX *CMS_SignerInfo_get0_md_ctx(CMS_SignerInfo *si);
267 void CMS_SignerInfo_set1_signer_cert(CMS_SignerInfo *si, X509 *signer);
268 int CMS_SignerInfo_get0_signer_id(CMS_SignerInfo *si, ASN1_OCTET_STRING **keyid,
270 int CMS_SignerInfo_cert_cmp(CMS_SignerInfo *si, X509 *cert);
273 void CMS_SignerInfo_get0_algs(CMS_SignerInfo *si, EVP_PKEY **pk, X509 **signer,
275 ASN1_OCTET_STRING *CMS_SignerInfo_get0_signature(CMS_SignerInfo *si);
276 int CMS_SignerInfo_sign(CMS_SignerInfo *si);
[all …]
/openbsd-src/gnu/gcc/gcc/
H A Dtree-stdarg.c117 va_list_counter_bump (struct stdarg_info *si, tree counter, tree rhs, in va_list_counter_bump() argument
124 if (si->offsets == NULL) in va_list_counter_bump()
128 si->offsets = XNEWVEC (int, num_ssa_names); in va_list_counter_bump()
130 si->offsets[i] = -1; in va_list_counter_bump()
138 if (si->offsets[SSA_NAME_VERSION (lhs)] != -1) in va_list_counter_bump()
146 ret -= counter_val - si->offsets[SSA_NAME_VERSION (lhs)]; in va_list_counter_bump()
204 if (si->offsets[SSA_NAME_VERSION (lhs)] != -1) in va_list_counter_bump()
208 si->offsets[SSA_NAME_VERSION (lhs)] = max_size; in va_list_counter_bump()
210 si->offsets[SSA_NAME_VERSION (lhs)] = val; in va_list_counter_bump()
276 va_list_counter_op (struct stdarg_info *si, tree ap, tree var, bool gpr_p, in va_list_counter_op() argument
[all …]
H A Dfp-test.c75 volatile signed int si; variable
100 si = f1 == f2; in main()
101 si = f1 != f2; in main()
102 si = f1 > f2; in main()
103 si = f1 < f2; in main()
104 si = f1 >= f2; in main()
105 si = f1 <= f2; in main()
107 si = __builtin_isgreater (f1, f2); in main()
108 si = __builtin_isgreaterequal (f1, f2); in main()
109 si = __builtin_isless (f1, f2); in main()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dfp-test.c75 volatile signed int si; variable
100 si = f1 == f2; in main()
101 si = f1 != f2; in main()
102 si = f1 > f2; in main()
103 si = f1 < f2; in main()
104 si = f1 >= f2; in main()
105 si = f1 <= f2; in main()
107 si = __builtin_isgreater (f1, f2); in main()
108 si = __builtin_isgreaterequal (f1, f2); in main()
109 si = __builtin_isless (f1, f2); in main()
[all …]
/openbsd-src/sys/arch/i386/i386/
H A Dsoftintr.c61 struct i386_soft_intr *si; in softintr_init() local
65 si = &i386_soft_intrs[i]; in softintr_init()
66 TAILQ_INIT(&si->softintr_q); in softintr_init()
67 mtx_init(&si->softintr_lock, IPL_HIGH); in softintr_init()
68 si->softintr_ssir = i386_soft_intr_to_ssir[i]; in softintr_init()
80 struct i386_soft_intr *si = &i386_soft_intrs[which]; in softintr_dispatch() local
85 mtx_enter(&si->softintr_lock); in softintr_dispatch()
86 sih = TAILQ_FIRST(&si->softintr_q); in softintr_dispatch()
88 mtx_leave(&si->softintr_lock); in softintr_dispatch()
91 TAILQ_REMOVE(&si->softintr_q, sih, sih_q); in softintr_dispatch()
[all …]
/openbsd-src/sys/arch/amd64/amd64/
H A Dsoftintr.c61 struct x86_soft_intr *si; in softintr_init() local
65 si = &x86_soft_intrs[i]; in softintr_init()
66 TAILQ_INIT(&si->softintr_q); in softintr_init()
67 mtx_init(&si->softintr_lock, IPL_HIGH); in softintr_init()
68 si->softintr_ssir = x86_soft_intr_to_ssir[i]; in softintr_init()
81 struct x86_soft_intr *si = &x86_soft_intrs[which]; in softintr_dispatch() local
90 mtx_enter(&si->softintr_lock); in softintr_dispatch()
91 sih = TAILQ_FIRST(&si->softintr_q); in softintr_dispatch()
93 mtx_leave(&si->softintr_lock); in softintr_dispatch()
96 TAILQ_REMOVE(&si->softintr_q, sih, sih_q); in softintr_dispatch()
[all …]
/openbsd-src/sys/arch/riscv64/riscv64/
H A Dsoftintr.c63 struct soft_intr *si; in softintr_init() local
67 si = &soft_intrs[i]; in softintr_init()
68 TAILQ_INIT(&si->softintr_q); in softintr_init()
69 mtx_init(&si->softintr_lock, IPL_HIGH); in softintr_init()
70 si->softintr_ssir = soft_intr_to_ssir[i]; in softintr_init()
82 struct soft_intr *si = &soft_intrs[which]; in softintr_dispatch() local
88 mtx_enter(&si->softintr_lock); in softintr_dispatch()
89 sih = TAILQ_FIRST(&si->softintr_q); in softintr_dispatch()
91 mtx_leave(&si->softintr_lock); in softintr_dispatch()
94 TAILQ_REMOVE(&si->softintr_q, sih, sih_q); in softintr_dispatch()
[all …]
/openbsd-src/sys/arch/arm64/arm64/
H A Dsoftintr.c64 struct soft_intr *si; in softintr_init() local
68 si = &soft_intrs[i]; in softintr_init()
69 TAILQ_INIT(&si->softintr_q); in softintr_init()
70 mtx_init(&si->softintr_lock, IPL_HIGH); in softintr_init()
71 si->softintr_ssir = soft_intr_to_ssir[i]; in softintr_init()
83 struct soft_intr *si = &soft_intrs[which]; in softintr_dispatch() local
89 mtx_enter(&si->softintr_lock); in softintr_dispatch()
90 sih = TAILQ_FIRST(&si->softintr_q); in softintr_dispatch()
92 mtx_leave(&si->softintr_lock); in softintr_dispatch()
95 TAILQ_REMOVE(&si->softintr_q, sih, sih_q); in softintr_dispatch()
[all …]
/openbsd-src/sys/arch/powerpc64/powerpc64/
H A Dsoftintr.c64 struct soft_intr *si; in softintr_init() local
68 si = &soft_intrs[i]; in softintr_init()
69 TAILQ_INIT(&si->softintr_q); in softintr_init()
70 mtx_init(&si->softintr_lock, IPL_HIGH); in softintr_init()
71 si->softintr_ssir = soft_intr_to_ssir[i]; in softintr_init()
83 struct soft_intr *si = &soft_intrs[which]; in softintr_dispatch() local
89 mtx_enter(&si->softintr_lock); in softintr_dispatch()
90 sih = TAILQ_FIRST(&si->softintr_q); in softintr_dispatch()
92 mtx_leave(&si->softintr_lock); in softintr_dispatch()
95 TAILQ_REMOVE(&si->softintr_q, sih, sih_q); in softintr_dispatch()
[all …]
/openbsd-src/sys/dev/ic/
H A Dac97.c630 const struct ac97_source_info *si = &source_info[idx]; in ac97_setup_defaults() local
632 ac97_write(as, si->reg, si->default_value); in ac97_setup_defaults()
675 struct ac97_source_info *si, *si2; in ac97_setup_source_info() local
679 si = &as->source_info[ouridx]; in ac97_setup_source_info()
684 bcopy(&source_info[idx], si, sizeof(*si)); in ac97_setup_source_info()
686 switch (si->type) { in ac97_setup_source_info()
688 si->mixer_class = ouridx; in ac97_setup_source_info()
696 if (si->mute) { in ac97_setup_source_info()
697 si = &as->source_info[ouridx]; in ac97_setup_source_info()
698 bcopy(&source_info[idx], si, sizeof(*si)); in ac97_setup_source_info()
[all …]
/openbsd-src/sys/arch/i386/stand/cdbr/
H A Dcdbr.S108 xorw %si, %si
130 movw $signon, %si /* Say "hi", and give boot drive */
134 movw $crlf, %si
152 movw $msg_novd, %si /* No pri vol descriptor */
159 movw $loader_paths, %si /* Point to start of array */
161 movw %si, loader /* remember the one we're looking for */
162 pushw %si /* Save file name pointer */
170 movw %di, %si /* Point %si at next path */
171 movb (%si), %al /* Get first char of next path */
174 movw $msg_failed, %si /* Failed message */
[all …]
/openbsd-src/sys/arch/amd64/stand/cdbr/
H A Dcdbr.S105 xorw %si, %si
127 movw $signon, %si /* Say "hi", and give boot drive */
131 movw $crlf, %si
149 movw $msg_novd, %si /* No pri vol descriptor */
156 movw $loader_paths, %si /* Point to start of array */
158 movw %si, loader /* remember the one we're looking for */
159 pushw %si /* Save file name pointer */
167 movw %di, %si /* Point %si at next path */
168 movb (%si), %al /* Get first char of next path */
171 movw $msg_failed, %si /* Failed message */
[all …]
/openbsd-src/sys/arch/i386/stand/mbr/
H A Dmbr.S86 #define puts(s) movw $s, %si; call Lmessage
149 xorw %si, %si
207 movw $pt, %si
212 movb (%si), %al
217 addw $PARTSZ, %si
222 movw $enoboot, %si
267 pushw %si
268 movw $info, %si
270 popw %si
[all...]
/openbsd-src/sys/arch/amd64/stand/mbr/
H A Dmbr.S86 #define puts(s) movw $s, %si; call Lmessage
149 xorw %si, %si
207 movw $pt, %si
212 movb (%si), %al
217 addw $PARTSZ, %si
222 movw $enoboot, %si
267 pushw %si
268 movw $info, %si
270 popw %si
[all...]
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dmipsread.c173 struct alphacoff_dynsecinfo *si; in alphacoff_locate_sections() local
175 si = (struct alphacoff_dynsecinfo *) sip; in alphacoff_locate_sections()
179 si->sym_sect = sectp; in alphacoff_locate_sections()
183 si->str_sect = sectp; in alphacoff_locate_sections()
187 si->dyninfo_sect = sectp; in alphacoff_locate_sections()
191 si->got_sect = sectp; in alphacoff_locate_sections()
203 struct alphacoff_dynsecinfo si; in read_alphacoff_dynamic_symtab() local
229 memset ((char *) &si, 0, sizeof (si)); in read_alphacoff_dynamic_symtab()
230 bfd_map_over_sections (abfd, alphacoff_locate_sections, (void *) & si); in read_alphacoff_dynamic_symtab()
231 if (si.sym_sect == NULL in read_alphacoff_dynamic_symtab()
[all …]
/openbsd-src/gnu/usr.bin/perl/
H A Ddeb.c256 const PERL_SI *si; in Perl_deb_stack_all()
259 si = PL_curstackinfo; in Perl_deb_stack_all()
260 while (si->si_prev) in Perl_deb_stack_all()
261 si = si->si_prev; in Perl_deb_stack_all()
266 const size_t si_name_ix = si->si_type+1; /* -1 is a valid index */ in Perl_deb_stack_all()
274 AvREAL(si->si_stack) in Perl_deb_stack_all()
275 ? (si->si_stack_nonrc_base ? " (partial real)" : " (real)") in Perl_deb_stack_all()
282 for (ix=0; ix<=si->si_cxix; ix++) { in Perl_deb_stack_all()
284 const PERL_CONTEXT * const cx = &(si in Perl_deb_stack_all()
242 const PERL_SI *si; Perl_deb_stack_all() local
[all...]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/unsorted/
H A Dconv_tst.c6 int si; variable
19 si = (int) ID_2; in conv_i2()
25 si = (int) ID_3; in conv_i3()
49 printf ("%lf, %u, %d\n", ID_1, ui, si); in main()
52 printf ("%lf, %u, %d\n", ID_2, ui, si); in main()
55 printf ("%lf, %u, %d\n", ID_3, ui, si); in main()
58 printf ("%lf, %u, %d\n", ID_1, ui, si); in main()
61 printf ("%lf, %u, %d\n", ID_2, ui, si); in main()
64 printf ("%lf, %u, %d\n", ID_3, ui, si); in main()
H A Dbad.c4 struct {signed long low, high;} si; member
19 uu.si.low = -uu.si.low;
20 if (uu.si.low == 0)
21 uu.si.high = -uu.si.high;
23 uu.si.high = ~uu.si.high;
/openbsd-src/usr.sbin/mopd/otherOS/
H A Dpf-snit.c90 struct strioctl si; local
112 si.ic_cmd = NIOCBIND; /* bind to underlying interface */
113 si.ic_timout = 10;
114 si.ic_len = sizeof(ifr);
115 si.ic_dp = (caddr_t)&ifr;
116 if (ioctl(fd, I_STR, (caddr_t)&si) < 0) {
123 si.ic_cmd = NIOCSFLAGS;
124 si.ic_timout = 10;
125 si.ic_len = sizeof(if_flags);
126 si.ic_dp = (caddr_t)&if_flags;
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp646.C19 static int si; member
32 int foo::si = 0;
36 si++; in foo()
37 printf ("new foo @ 0x%x; now %d foos\n", this, si); in foo()
42 si++; in foo()
43 printf ("another foo @ 0x%x; now %d foos\n", this, si); in foo()
49 si--; in ~foo()
50 printf ("deleted foo @ 0x%x; now %d foos\n", this, si); in ~foo()
159 if (foo::si != 1)
166 if (foo::si != 2)
[all …]
/openbsd-src/lib/libcrypto/pkcs7/
H A Dpk7_attr.c68 PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si, STACK_OF(X509_ALGOR) *cap) in PKCS7_add_attrib_smimecap() argument
77 return PKCS7_add_signed_attribute(si, NID_SMIMECapabilities, in PKCS7_add_attrib_smimecap()
83 PKCS7_get_smimecap(PKCS7_SIGNER_INFO *si) in STACK_OF()
88 cap = PKCS7_get_signed_attribute(si, NID_SMIMECapabilities); in STACK_OF()
136 PKCS7_add_attrib_content_type(PKCS7_SIGNER_INFO *si, ASN1_OBJECT *coid) in PKCS7_add_attrib_content_type() argument
138 if (PKCS7_get_signed_attribute(si, NID_pkcs9_contentType)) in PKCS7_add_attrib_content_type()
142 return PKCS7_add_signed_attribute(si, NID_pkcs9_contentType, in PKCS7_add_attrib_content_type()
148 PKCS7_add0_attrib_signing_time(PKCS7_SIGNER_INFO *si, ASN1_TIME *t) in PKCS7_add0_attrib_signing_time() argument
154 return PKCS7_add_signed_attribute(si, NID_pkcs9_signingTime, in PKCS7_add0_attrib_signing_time()
160 PKCS7_add1_attrib_digest(PKCS7_SIGNER_INFO *si, const unsigned char *md, in PKCS7_add1_attrib_digest() argument
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D920501-23.c3 typedef unsigned long si; typedef
9 ldw(xp)si*xp;{return xp[4];} in ldw()
10 ldws_m(xp)si*xp;{si x;do{x=xp[3];xp+=3;}while(x);} in ldws_m()
11 postinc_si(p)si*p;{si x;for(;;){x=*p++;if(x)return x;}} in postinc_si()
12 preinc_si(p)si*p;{si x;for(;;){x=*++p;if(x)return x;}} in preinc_si()

12345678910>>...19