Home | History | Annotate | Download | only in atomic

Lines Matching refs:before

25 // The struct fields x.before and x.after check that the
45 before int32
49 x.before = magic32
59 if x.before != magic32 || x.after != magic32 {
60 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magic32, magic32)
66 before uint32
70 x.before = magic32
80 if x.before != magic32 || x.after != magic32 {
81 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magic32, magic32)
90 before int64
94 x.before = magic64
104 if x.before != magic64 || x.after != magic64 {
105 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, uint64(magic64), uint64(magic64))
114 before uint64
118 x.before = magic64
128 if x.before != magic64 || x.after != magic64 {
129 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, uint64(magic64), uint64(magic64))
135 before uintptr
141 x.before = magicptr
151 if x.before != magicptr || x.after != magicptr {
152 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magicptr, magicptr)
158 before uintptr
164 x.before = magicptr
174 if x.before != magicptr || x.after != magicptr {
175 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magicptr, magicptr)
181 before int32
185 x.before = magic32
195 if x.before != magic32 || x.after != magic32 {
196 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magic32, magic32)
202 before uint32
206 x.before = magic32
216 if x.before != magic32 || x.after != magic32 {
217 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magic32, magic32)
226 before int64
230 x.before = magic64
240 if x.before != magic64 || x.after != magic64 {
241 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, int64(magic64), int64(magic64))
250 before uint64
254 x.before = magic64
264 if x.before != magic64 || x.after != magic64 {
265 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, uint64(magic64), uint64(magic64))
271 before uintptr
277 x.before = magicptr
287 if x.before != magicptr || x.after != magicptr {
288 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magicptr, magicptr)
294 before int32
298 x.before = magic32
316 if x.before != magic32 || x.after != magic32 {
317 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magic32, magic32)
323 before uint32
327 x.before = magic32
345 if x.before != magic32 || x.after != magic32 {
346 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magic32, magic32)
355 before int64
359 x.before = magic64
377 if x.before != magic64 || x.after != magic64 {
378 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, uint64(magic64), uint64(magic64))
387 before uint64
391 x.before = magic64
409 if x.before != magic64 || x.after != magic64 {
410 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, uint64(magic64), uint64(magic64))
420 before uintptr
426 x.before = magicptr
444 if x.before != magicptr || x.after != magicptr {
445 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magicptr, magicptr)
451 before uintptr
457 x.before = magicptr
475 if x.before != magicptr || x.after != magicptr {
476 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magicptr, magicptr)
482 before int32
486 x.before = magic32
495 if x.before != magic32 || x.after != magic32 {
496 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magic32, magic32)
502 before uint32
506 x.before = magic32
515 if x.before != magic32 || x.after != magic32 {
516 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magic32, magic32)
525 before int64
529 x.before = magic64
538 if x.before != magic64 || x.after != magic64 {
539 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, uint64(magic64), uint64(magic64))
548 before uint64
552 x.before = magic64
561 if x.before != magic64 || x.after != magic64 {
562 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, uint64(magic64), uint64(magic64))
568 before uintptr
574 x.before = magicptr
583 if x.before != magicptr || x.after != magicptr {
584 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magicptr, magicptr)
590 before uintptr
596 x.before = magicptr
605 if x.before != magicptr || x.after != magicptr {
606 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magicptr, magicptr)
612 before int32
616 x.before = magic32
626 if x.before != magic32 || x.after != magic32 {
627 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magic32, magic32)
633 before uint32
637 x.before = magic32
647 if x.before != magic32 || x.after != magic32 {
648 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magic32, magic32)
657 before int64
661 x.before = magic64
671 if x.before != magic64 || x.after != magic64 {
672 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, uint64(magic64), uint64(magic64))
681 before uint64
685 x.before = magic64
695 if x.before != magic64 || x.after != magic64 {
696 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, uint64(magic64), uint64(magic64))
702 before uintptr
708 x.before = magicptr
718 if x.before != magicptr || x.after != magicptr {
719 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magicptr, magicptr)
725 before uintptr
731 x.before = magicptr
741 if x.before != magicptr || x.after != magicptr {
742 t.Fatalf("wrong magic: %#x _ %#x != %#x _ %#x", x.before, x.after, magicptr, magicptr)