align 143 include/link.h int32 align; // if non-zero, required alignment in bytes align 398 src/cmd/5c/swt.c w = v->align; align 416 src/cmd/5c/swt.c o = align(o, types[TIND], Aarg1, nil); align 417 src/cmd/5c/swt.c o = align(o, types[TIND], Aarg2, nil); align 438 src/cmd/5c/swt.c o = align(o, t, Ael2, nil); align 439 src/cmd/5c/swt.c o = align(o, t, Ael1, nil); align 381 src/cmd/5c/txt.c cursafe = align(cursafe, nn->type, Aaut3, nil); align 399 src/cmd/5c/txt.c curarg = align(curarg, nn->type, Aarg1, nil); align 400 src/cmd/5c/txt.c curarg = align(curarg, nn->type, Aarg2, nil); align 407 src/cmd/5c/txt.c curarg = align(curarg, nn->type, Aarg1, nil); align 414 src/cmd/5c/txt.c curarg = align(curarg, nn->type, Aarg2, nil); align 1417 src/cmd/5g/cgen.c int dir, align, op; align 1460 src/cmd/5g/cgen.c align = n->type->align; align 1461 src/cmd/5g/cgen.c switch(align) { align 1463 src/cmd/5g/cgen.c fatal("sgen: invalid alignment %d for %T", align, n->type); align 1474 src/cmd/5g/cgen.c if(w%align) align 1475 src/cmd/5g/cgen.c fatal("sgen: unaligned size %lld (align=%d) for %T", w, align, n->type); align 1476 src/cmd/5g/cgen.c c = w / align; align 1491 src/cmd/5g/cgen.c if(osrc%align != 0 || odst%align != 0) align 1492 src/cmd/5g/cgen.c fatal("sgen: unaligned offset src %d or dst %d (align %d)", osrc, odst, align); align 1496 src/cmd/5g/cgen.c dir = align; align 1985 src/cmd/6c/cgen.c if(align(0, types[TCHAR], Aarg1, nil)) /* isbigendian */ align 1994 src/cmd/6c/cgen.c if(align(0, types[TCHAR], Aarg1, nil)) /* isbigendian */ align 274 src/cmd/6c/swt.c w = v->align; align 289 src/cmd/6c/swt.c o = align(o, types[TIND], Aarg1, nil); align 290 src/cmd/6c/swt.c o = align(o, types[TIND], Aarg2, nil); align 298 src/cmd/6c/swt.c o = align(o, v, Aarg1, maxalign); align 321 src/cmd/6c/swt.c o = align(o, t, Aarg1, maxalign); align 330 src/cmd/6c/swt.c o = align(o, t, Ael1, nil); align 331 src/cmd/6c/swt.c o = align(o, t, Ael2, nil); align 447 src/cmd/6c/txt.c cursafe = align(cursafe, nn->type, Aaut3, nil); align 465 src/cmd/6c/txt.c curarg = align(curarg, nn->type, Aarg1, nil); align 466 src/cmd/6c/txt.c curarg = align(curarg, nn->type, Aarg2, nil); align 473 src/cmd/6c/txt.c curarg = align(curarg, nn->type, Aarg1, nil); align 480 src/cmd/6c/txt.c curarg = align(curarg, nn->type, Aarg2, nil); align 60 src/cmd/8c/cgen64.c if(align(0, types[TCHAR], Aarg1, nil)) /* isbigendian */ align 69 src/cmd/8c/cgen64.c if(align(0, types[TCHAR], Aarg1, nil)) /* isbigendian */ align 279 src/cmd/8c/swt.c w = v->align; align 297 src/cmd/8c/swt.c o = align(o, types[TIND], Aarg1, nil); align 298 src/cmd/8c/swt.c o = align(o, types[TIND], Aarg2, nil); align 319 src/cmd/8c/swt.c o = align(o, t, Ael1, nil); align 320 src/cmd/8c/swt.c o = align(o, t, Ael2, nil); align 398 src/cmd/8c/txt.c cursafe = align(cursafe, nn->type, Aaut3, nil); align 416 src/cmd/8c/txt.c curarg = align(curarg, nn->type, Aarg1, nil); align 417 src/cmd/8c/txt.c curarg = align(curarg, nn->type, Aarg2, nil); align 424 src/cmd/8c/txt.c curarg = align(curarg, nn->type, Aarg1, nil); align 431 src/cmd/8c/txt.c curarg = align(curarg, nn->type, Aarg2, nil); align 184 src/cmd/cc/cc.h uchar align; align 795 src/cmd/cc/cc.h int32 align(int32, Type*, int, int32*); align 609 src/cmd/cc/dcl.c w = align(w, l, Ael1, &maxal); align 611 src/cmd/cc/dcl.c w = align(w, l, Ael2, &maxal); align 614 src/cmd/cc/dcl.c w = align(w, t, Asu2, &maxal); align 616 src/cmd/cc/dcl.c t->align = maxal; align 636 src/cmd/cc/dcl.c o = align(align(0, l, Ael1, &maxal), l, Ael2, &maxal); align 640 src/cmd/cc/dcl.c w = align(w, t, Asu2, &maxal); align 642 src/cmd/cc/dcl.c t->align = maxal; align 700 src/cmd/cc/dcl.c autoffset = align(0, thisfn->link, Aarg0, nil); align 782 src/cmd/cc/dcl.c autoffset = align(autoffset, s->type, Aarg1, nil); align 784 src/cmd/cc/dcl.c autoffset = align(autoffset, s->type, Aarg2, nil); align 1316 src/cmd/cc/dcl.c autoffset = align(autoffset, t, Aaut3, nil); align 1326 src/cmd/cc/dcl.c autoffset = align(autoffset, t, Aarg1, nil); align 1329 src/cmd/cc/dcl.c autoffset = align(autoffset, t, Aarg2, nil); align 1628 src/cmd/cc/dcl.c autoffset = align(autoffset, s->type, Aaut3, nil); align 76 src/cmd/cc/pgen.c s = align(0, thisfn->link, Aarg0, nil); align 86 src/cmd/cc/pgen.c s = align(s, t, Aarg1, nil); align 87 src/cmd/cc/pgen.c s = align(s, t, Aarg2, nil); align 151 src/cmd/cc/pgen.c nod1.xoffset = align(0, firstargtype, Aarg1, nil); align 736 src/cmd/cc/pgen.c argoffset = align(0, fn->link, Aarg0, nil); align 748 src/cmd/cc/pgen.c argoffset = align(argoffset, t, Aarg1, nil); align 750 src/cmd/cc/pgen.c argoffset = align(argoffset, t, Aarg2, nil); align 119 src/cmd/cc/pswt.c if(align(0, types[TCHAR], Aarg1, nil)) { align 64 src/cmd/gc/align.c if(f->type->align > maxalign) align 65 src/cmd/gc/align.c maxalign = f->type->align; align 69 src/cmd/gc/align.c if(f->type->align > 0) align 70 src/cmd/gc/align.c o = rnd(o, f->type->align); align 92 src/cmd/gc/align.c t->align = maxalign; align 135 src/cmd/gc/align.c t->align = 0; align 178 src/cmd/gc/align.c t->align = widthreg; align 182 src/cmd/gc/align.c t->align = widthreg; align 197 src/cmd/gc/align.c t->align = widthptr; align 237 src/cmd/gc/align.c t->align = widthptr; align 252 src/cmd/gc/align.c t->align = t->type->align; align 257 src/cmd/gc/align.c t->align = widthptr; align 296 src/cmd/gc/align.c t->align = 1; align 304 src/cmd/gc/align.c if(t->align == 0) { align 307 src/cmd/gc/align.c t->align = w; align 377 src/cmd/gc/closure.c if(cv->type->align > widthptr) align 378 src/cmd/gc/closure.c cv->xoffset = cv->type->align; align 160 src/cmd/gc/go.h uchar align; align 426 src/cmd/gc/pgen.c stksize = rnd(stksize, n->type->align); align 1050 src/cmd/gc/plive.c if(t->align > 0 && (*xoffset & (t->align - 1)) != 0) align 803 src/cmd/gc/reflect.c i = t->align; align 807 src/cmd/gc/reflect.c fatal("invalid alignment %d for %T", t->align, t); align 808 src/cmd/gc/reflect.c ot = duint8(s, ot, t->align); // align align 809 src/cmd/gc/reflect.c ot = duint8(s, ot, t->align); // fieldAlign align 1294 src/cmd/gc/reflect.c if(t->align > 0 && (*off % t->align) != 0) align 1494 src/cmd/gc/reflect.c if(t->align > 0) align 1495 src/cmd/gc/reflect.c off = rnd(off, t->align); align 1694 src/cmd/gc/subr.c t1->align = widthptr; align 670 src/cmd/ld/data.c int32 align; align 672 src/cmd/ld/data.c if(s->align != 0) align 673 src/cmd/ld/data.c return s->align; align 675 src/cmd/ld/data.c align = MaxAlign; align 676 src/cmd/ld/data.c while(align > s->size && align > 1) align 677 src/cmd/ld/data.c align >>= 1; align 678 src/cmd/ld/data.c if(align < s->align) align 679 src/cmd/ld/data.c align = s->align; align 680 src/cmd/ld/data.c return align; align 694 src/cmd/ld/data.c int32 align, max; align 698 src/cmd/ld/data.c align = symalign(s); align 699 src/cmd/ld/data.c if(max < align) align 700 src/cmd/ld/data.c max = align; align 835 src/cmd/ld/data.c sect->align = symalign(s); align 836 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); align 847 src/cmd/ld/data.c sect->align = maxalign(s, SINITARR-1); align 848 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); align 864 src/cmd/ld/data.c sect->align = maxalign(s, SINITARR); align 865 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); align 878 src/cmd/ld/data.c sect->align = maxalign(s, SBSS-1); align 879 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); align 902 src/cmd/ld/data.c sect->align = maxalign(s, SNOPTRBSS-1); align 903 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); align 921 src/cmd/ld/data.c sect->align = maxalign(s, SNOPTRBSS); align 922 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); align 942 src/cmd/ld/data.c sect->align = PtrSize; align 989 src/cmd/ld/data.c sect->align = symalign(s); align 990 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); align 1001 src/cmd/ld/data.c sect->align = maxalign(s, STYPELINK-1); align 1002 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); align 1017 src/cmd/ld/data.c sect->align = maxalign(s, STYPELINK); align 1018 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); align 1033 src/cmd/ld/data.c sect->align = maxalign(s, SPCLNTAB-1); align 1034 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); align 1049 src/cmd/ld/data.c sect->align = maxalign(s, SELFROSECT-1); align 1050 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); align 1066 src/cmd/ld/data.c sect->align = symalign(s); align 1067 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); align 1105 src/cmd/ld/data.c sect->align = funcalign; align 1114 src/cmd/ld/data.c if(sym->align != 0) align 1115 src/cmd/ld/data.c va = rnd(va, sym->align); align 1143 src/cmd/ld/data.c va = rnd(va, s->align); align 1162 src/cmd/ld/data.c va = rnd(va, s->align); align 2043 src/cmd/ld/dwarf.c align(abbrevsize); align 2045 src/cmd/ld/dwarf.c align(linesize); align 2047 src/cmd/ld/dwarf.c align(framesize); align 2084 src/cmd/ld/dwarf.c align(infosize); align 2088 src/cmd/ld/dwarf.c align(pubnamessize); align 2092 src/cmd/ld/dwarf.c align(pubtypessize); align 2096 src/cmd/ld/dwarf.c align(arangessize); align 2100 src/cmd/ld/dwarf.c align(gdbscriptsize); align 2106 src/cmd/ld/dwarf.c align(inforelocsize); align 2110 src/cmd/ld/dwarf.c align(arangesrelocsize); align 2114 src/cmd/ld/dwarf.c align(linerelocsize); align 2118 src/cmd/ld/dwarf.c align(framerelocsize); align 81 src/cmd/ld/elf.c VPUT(e->align); align 93 src/cmd/ld/elf.c frag = e->vaddr&(e->align-1); align 107 src/cmd/ld/elf.c LPUT(e->align); align 718 src/cmd/ld/elf.c ph->align = INITRND; align 784 src/cmd/ld/elf.c sh->addralign = sect->align; align 1107 src/cmd/ld/elf.c ph->align = sh->addralign; align 1170 src/cmd/ld/elf.c pph->align = INITRND; align 1394 src/cmd/ld/elf.c ph->align = RegSize; align 1402 src/cmd/ld/elf.c ph->align = RegSize; align 1407 src/cmd/ld/elf.c ph->align = RegSize; align 438 src/cmd/ld/elf.h Elf32_Word align; /* Alignment in memory and file. */ align 876 src/cmd/ld/elf.h Elf64_Xword align; /* Alignment in memory and file. */ align 206 src/cmd/ld/ldelf.c uchar align[4]; align 220 src/cmd/ld/ldelf.c uchar align[8]; align 258 src/cmd/ld/ldelf.c uint64 align; align 463 src/cmd/ld/ldelf.c sect->align = e->e64(b.align); align 480 src/cmd/ld/ldelf.c sect->align = e->e32(b.align); align 553 src/cmd/ld/ldelf.c s->align = sect->align; align 99 src/cmd/ld/ldmacho.c uint32 align; align 233 src/cmd/ld/ldmacho.c s->align = e4(p+44); align 265 src/cmd/ld/ldmacho.c s->align = e4(p+52); align 964 src/cmd/ld/lib.c sect->align = PtrSize; // everything is at least pointer-aligned align 55 src/cmd/ld/lib.h int32 align; align 198 src/cmd/ld/macho.c LPUT(t->align); align 211 src/cmd/ld/macho.c LPUT(t->align); align 259 src/cmd/ld/macho.c s->align = 4; align 308 src/cmd/ld/macho.c while(1<<msect->align < sect->align) align 309 src/cmd/ld/macho.c msect->align++; align 18 src/cmd/ld/macho.h uint32 align; align 432 src/cmd/ld/symtab.c s->align = 4; align 433 src/cmd/ld/symtab.c liveness += (s->size+s->align-1)&~(s->align-1); align 539 src/pkg/runtime/malloc.h void* runtime·persistentalloc(uintptr size, uintptr align, uint64 *stat); align 67 src/pkg/runtime/msize.c int32 align, sizeclass, size, nextsize, n; align 74 src/pkg/runtime/msize.c align = 8; align 75 src/pkg/runtime/msize.c for(size = align; size <= MaxSmallSize; size += align) { align 78 src/pkg/runtime/msize.c align = 256; align 80 src/pkg/runtime/msize.c align = size / 8; align 82 src/pkg/runtime/msize.c align = 16; // required for x86 SSE instructions, if we want to use them align 84 src/pkg/runtime/msize.c if((align&(align-1)) != 0) align 25 src/pkg/runtime/type.h uint8 align;