Home
last modified time | relevance | path

Searched refs:b2 (Results 1 – 25 of 220) sorted by relevance

123456789

/openbsd/regress/sys/crypto/enc/
H A Ddes3.c118 unsigned char b1[SZ], b2[SZ]; in main() local
135 memset(b2, 0, sizeof(b2)); in main()
144 DES_ede3_cbc_encrypt((void *)b1, (void*)b2, sizeof(b1), &ks1, &ks2, in main()
147 if (docrypt(key, sizeof(key), iv, b2, b2, sizeof(b1), 0) < 0) { in main()
151 if (!match(b1, b2, sizeof(b1))) in main()
157 memset(b2, 0, sizeof(b2)); in main()
159 if (docrypt(key, sizeof(key), iv, b1, b2, sizeof(b1), 1) < 0) { in main()
164 DES_ede3_cbc_encrypt((void *)b2, (void*)b2, sizeof(b1), &ks1, &ks2, in main()
166 if (!match(b1, b2, sizeof(b1))) in main()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Danon3.C43 B b2; in check_union() local
46 b2.a = 6; in check_union()
47 b2 = b1; in check_union()
48 if(b2.a != 5) in check_union()
51 b2.a = 6; in check_union()
52 new (&b2) B(b1); in check_union()
53 if(b2.a != 5) in check_union()
H A Dpmf5.C30 B b2; in main() local
32 b2.mbr = reinterpret_cast<pmf_void>(&A::f); in main()
35 b = &b2; in main()
H A Dop2.C52 value = 0; printf ("B(B ) : "); B b2(b1); if (value != 2) return 4; in main()
57 value = 0; printf ("B= B : "); b1 = b2; if (value != 4) return 8; in main()
60 value = 0; printf ("foo(B ): "); foo(b2); if (value != 5) return 10; in main()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20020129-1.c8 struct B { struct C b1; struct A *b2; }; member
16 if (x->b2 == 0) in foo()
20 x->b2 = a = y->b2; in foo()
21 y->b2 = 0; in foo()
26 if (y->b2 != 0) in foo()
H A D921123-2.c3 unsigned short b0, b1, b2, b3; member
11 b = j.b2; in f()
18 x.b0 = x.b1 = x.b2 = 0; in main()
H A D930208-1.c3 struct { char b3, b2, b1, b0; } c; member
10 return (u.c.b1 != 2 || u.c.b2 != 2); in f()
17 u.c.b2 = 2; in main()
/openbsd/usr.bin/rcs/
H A Drcsdiff.c278 BUF *b1, *b2; in rcsdiff_file() local
287 b1 = b2 = NULL; in rcsdiff_file()
340 buf_free(b2); in rcsdiff_file()
341 b2 = NULL; in rcsdiff_file()
352 buf_free(b2); in rcsdiff_file()
363 BUF *b1, *b2; in rcsdiff_rev() local
368 b1 = b2 = NULL; in rcsdiff_rev()
398 b2 = rcs_kwexp_buf(b2, file, rev2); in rcsdiff_rev()
417 buf_free(b2); in rcsdiff_rev()
418 b2 = NULL; in rcsdiff_rev()
[all …]
H A Drcsclean.c140 BUF *b1, *b2; in rcsclean_file() local
143 b1 = b2 = NULL; in rcsclean_file()
169 if ((b2 = buf_load(fname)) == NULL) { in rcsclean_file()
175 if (buf_len(b1) != buf_len(b2)) in rcsclean_file()
184 if (buf_getc(b1, n) != buf_getc(b2, n)) { in rcsclean_file()
215 buf_free(b2); in rcsclean_file()
/openbsd/gnu/llvm/llvm/lib/Support/
H A DConvertUTF.cpp451 UTF8 b1, b2, b3; in findMaximalSubpartOfIllFormedUTF8Sequence() local
485 b2 = *source; in findMaximalSubpartOfIllFormedUTF8Sequence()
489 return (b2 >= 0xA0 && b2 <= 0xBF) ? 2 : 1; in findMaximalSubpartOfIllFormedUTF8Sequence()
492 return (b2 >= 0x80 && b2 <= 0xBF) ? 2 : 1; in findMaximalSubpartOfIllFormedUTF8Sequence()
495 return (b2 >= 0x80 && b2 <= 0x9F) ? 2 : 1; in findMaximalSubpartOfIllFormedUTF8Sequence()
498 return (b2 >= 0x80 && b2 <= 0xBF) ? 2 : 1; in findMaximalSubpartOfIllFormedUTF8Sequence()
501 if (b2 >= 0x90 && b2 <= 0xBF) { in findMaximalSubpartOfIllFormedUTF8Sequence()
511 if (b2 >= 0x80 && b2 <= 0xBF) { in findMaximalSubpartOfIllFormedUTF8Sequence()
521 if (b2 >= 0x80 && b2 <= 0x8F) { in findMaximalSubpartOfIllFormedUTF8Sequence()
/openbsd/gnu/usr.bin/binutils/gdb/
H A Ds390-tdep.c963 *b2 = (insn[2] >> 4) & 0xf; in is_rs()
981 *b2 = (insn[2] >> 4) & 0xf; in is_rsy()
1000 *b2 = (insn[2] >> 4) & 0xf; in is_rx()
1018 *b2 = (insn[2] >> 4) & 0xf; in is_rxy()
1052 if (b2) in compute_x_addr()
1053 pv_add (&result, &result, &gpr[b2]); in compute_x_addr()
1264 unsigned int b2, r1, r2, x2, r3; in s390_analyze_prologue() local
1308 && is_rx (insn, op_l, &r1, &d2, &x2, &b2)) in s390_analyze_prologue()
1448 && is_rx (insn, op_a, &r1, &d2, &x2, &b2)) in s390_analyze_prologue()
1652 unsigned int r1, r3, b2; in s390_in_function_epilogue_p() local
[all …]
/openbsd/sys/dev/cardbus/
H A Dif_acx_cardbus.c111 int error, b1 = CARDBUS_BASE0_REG, b2 = CARDBUS_BASE1_REG; in acx_cardbus_attach() local
135 b2 = CARDBUS_BASE2_REG; in acx_cardbus_attach()
149 error = Cardbus_mapreg_map(ct, b2, PCI_MAPREG_TYPE_MEM, 0, in acx_cardbus_attach()
182 int error, b1 = CARDBUS_BASE0_REG, b2 = CARDBUS_BASE1_REG; in acx_cardbus_detach() local
199 b2 = CARDBUS_BASE2_REG; in acx_cardbus_detach()
203 Cardbus_mapreg_unmap(ct, b2, sc->sc_mem2_bt, in acx_cardbus_detach()
279 int b1 = CARDBUS_BASE0_REG, b2 = CARDBUS_BASE1_REG; in acx_cardbus_setup() local
285 b2 = CARDBUS_BASE2_REG; in acx_cardbus_setup()
291 pci_conf_write(pc, csc->sc_tag, b2, csc->sc_bar2_val); in acx_cardbus_setup()
/openbsd/lib/libcrypto/bio/
H A Dbss_bio.c497 struct bio_bio_st *b1, *b2; in bio_make_pair() local
503 b2 = bio2->ptr; in bio_make_pair()
505 if (b1->peer != NULL || b2->peer != NULL) { in bio_make_pair()
520 if (b2->buf == NULL) { in bio_make_pair()
521 b2->buf = malloc(b2->size); in bio_make_pair()
522 if (b2->buf == NULL) { in bio_make_pair()
526 b2->len = 0; in bio_make_pair()
527 b2->offset = 0; in bio_make_pair()
533 b2->peer = bio1; in bio_make_pair()
534 b2->closed = 0; in bio_make_pair()
[all …]
/openbsd/gnu/usr.bin/perl/dist/base/t/
H A Dfields-5_6_0.t68 use fields qw(b1 b2 b3);
72 use fields qw(b1 _b2 b2);
108 use fields qw(b1 b2 b3);
131 B1 => "b1:1,b2:2,b3:3",
132 B2 => "_b1:1,b1:2,_b2:3,b2:4",
133 D1 => "b1:1,b2:2,b3:3,d1:4,d2:5,d3:6",
134 D2 => "b1:1,b2:2,b3:3,_d1:4,_d2:5,d1:6,d2:7",
135 D3 => "b2:4,b1:5,d1:6,_b1:7,_d1:8",
136 D4 => "b2:4,b1:5,d1:6,_d3:9,d3:10",
137 D5 => "b1:2,b2:4",
[all …]
/openbsd/lib/libcrypto/idea/
H A Didea.c317 long n1, n2, q, r, b1, b2, t; in inverse() local
320 b2 = 0; in inverse()
324 b2 = 1; in inverse()
331 if (b2 < 0) in inverse()
332 b2 = 0x10001 + b2; in inverse()
336 t = b2; in inverse()
337 b2 = b1 - q*b2; in inverse()
342 return ((IDEA_INT)b2); in inverse()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Dcrash10.C5 unsigned char b1, b2; variable
7 word (unsigned int i = 0) { b1 = i & 0xff; b2 = (i & 0xff00) >> 8; }
8 operator unsigned int () { return (b2 << 8) + b1; }
/openbsd/bin/test/
H A Dtest.c550 struct stat b1, b2; in newerf() local
553 stat(f2, &b2) == 0 && in newerf()
554 b1.st_mtime > b2.st_mtime); in newerf()
560 struct stat b1, b2; in olderf() local
563 stat(f2, &b2) == 0 && in olderf()
564 b1.st_mtime < b2.st_mtime); in olderf()
570 struct stat b1, b2; in equalf() local
573 stat(f2, &b2) == 0 && in equalf()
574 b1.st_dev == b2.st_dev && in equalf()
575 b1.st_ino == b2.st_ino); in equalf()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dnet38.C7 virtual int b2 () { return 0; } in b2() function
13 virtual int b2 () { return 3; } in b2() function
17 int (C::*vmpb2) () = &C::b2;
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/inherit/
H A Dusing1.C28 const B b2 = B(); in main() local
31 b2.g (); in main()
32 b2.h (); in main()
/openbsd/gnu/usr.bin/binutils/gdb/testsuite/gdb.cp/
H A Dclass2.cc35 int b2; member
42 b2 = 902; in ~B()
66 beta.a1 = 200; beta.b1 = 201; beta.b2 = 202; in main()
/openbsd/lib/libc/gdtoa/
H A Ddtoa.c270 b2 = 0;
274 b2 = -j;
283 b2 -= k;
498 m2 = b2;
511 b2 += i;
519 b2 -= i;
570 b2 += Log2P;
592 b2 += i;
598 b2 += i;
602 if (b2 > 0) {
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/eh/
H A Dia64-1.C36 register void *b2 __asm ("b2"); in main()
43 b1 = &buf[1]; b2 = &buf[2]; b3 = &buf[3]; b4 = &buf[4]; b5 = &buf[5]; in main()
54 if (b1 != &buf[1] || b2 != &buf[2] || b3 != &buf[3] in main()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g77.f-torture/compile/
H A D980310-4.f176 * blist,b1,b2,dabs,defabs,defab1,defab2,dmax1,d1mach,elist,epmach,
276 b2 = blist(maxerr)
278 call dqk15(f,a2,b2,area2,error2,resabs,defab2)
309 if(dmax1(dabs(a1),dabs(b2)).le.(0.1d+01+0.1d+03*
317 blist(last) = b2
/openbsd/sbin/pfctl/
H A Dpfctl_table.c129 struct pfr_buffer b, b2; in pfctl_table() local
141 bzero(&b2, sizeof(b2)); in pfctl_table()
264 b2.pfrb_type = PFRB_ADDRS; in pfctl_table()
282 if (pfr_buf_add(&b2, in pfctl_table()
289 RVTEST(pfr_del_addrs(&table, b2.pfrb_caddr, b2.pfrb_size, in pfctl_table()
291 xprintf(opts, "%d/%d addresses expired", ndel, b2.pfrb_size); in pfctl_table()
293 PFRB_FOREACH(a, &b2) in pfctl_table()
322 b2.pfrb_type = PFRB_ADDRS; in pfctl_table()
329 if (pfr_buf_add(&b2, a)) in pfctl_table()
343 a2 = pfr_buf_next(&b2, a2); in pfctl_table()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/abi/
H A Dempty4.C63 A b2 (0x32333435); in main()
64 (Inter &)b2 = Inter (); in main()
65 if (b2.m.m != 0x32333435) in main()

123456789