rnd 26 src/cmd/5g/ggen.c ptxt->to.offset2 = rnd(curfn->type->argwid, widthptr); rnd 29 src/cmd/5g/ggen.c frame = rnd(stksize+maxarg, widthptr); rnd 48 src/cmd/5g/ggen.c lo = rnd(n->xoffset, widthptr); rnd 171 src/cmd/5g/gobj.c off = rnd(off, widthptr); rnd 195 src/cmd/5g/gobj.c off = rnd(off, widthptr); rnd 231 src/cmd/5g/gobj.c off = rnd(off, widthptr); rnd 605 src/cmd/5l/asm.c symo = rnd(HEADR+segtext.filelen, INITRND)+rnd(HEADR+segrodata.filelen, INITRND)+segdata.filelen; rnd 606 src/cmd/5l/asm.c symo = rnd(symo, INITRND); rnd 165 src/cmd/5l/l.h int32 rnd(int32 v, int32 r); rnd 25 src/cmd/6g/ggen.c ptxt->to.offset = rnd(curfn->type->argwid, widthptr); rnd 29 src/cmd/6g/ggen.c frame = rnd(stksize+maxarg, widthreg); rnd 151 src/cmd/6g/gobj.c off = rnd(off, widthptr); rnd 176 src/cmd/6g/gobj.c off = rnd(off, widthptr); rnd 213 src/cmd/6g/gobj.c off = rnd(off, widthptr); rnd 647 src/cmd/6l/asm.c dwarfoff = rnd(HEADR+segtext.len, INITRND) + rnd(segdata.filelen, INITRND); rnd 695 src/cmd/6l/asm.c symo = rnd(HEADR+segtext.len, INITRND)+rnd(segdata.filelen, INITRND)+machlink; rnd 704 src/cmd/6l/asm.c symo = rnd(HEADR+segtext.len, INITRND)+rnd(segrodata.len, INITRND)+segdata.filelen; rnd 705 src/cmd/6l/asm.c symo = rnd(symo, INITRND); rnd 708 src/cmd/6l/asm.c symo = rnd(HEADR+segtext.filelen, PEFILEALIGN)+segdata.filelen; rnd 709 src/cmd/6l/asm.c symo = rnd(symo, PEFILEALIGN); rnd 108 src/cmd/6l/l.h vlong rnd(vlong v, vlong r); rnd 97 src/cmd/6l/obj.c HEADR = rnd(52L+3*32L, 16); rnd 25 src/cmd/8g/ggen.c ptxt->to.offset2 = rnd(curfn->type->argwid, widthptr); rnd 28 src/cmd/8g/ggen.c frame = rnd(stksize+maxarg, widthptr); rnd 162 src/cmd/8g/gobj.c off = rnd(off, widthptr); rnd 187 src/cmd/8g/gobj.c off = rnd(off, widthptr); rnd 224 src/cmd/8g/gobj.c off = rnd(off, widthptr); rnd 598 src/cmd/8l/asm.c dwarfoff = rnd(HEADR+segtext.len, INITRND) + rnd(segdata.filelen, INITRND); rnd 625 src/cmd/8l/asm.c symo = rnd(HEADR+segtext.filelen, INITRND)+rnd(segdata.filelen, INITRND)+machlink; rnd 628 src/cmd/8l/asm.c symo = rnd(HEADR+segtext.filelen, INITRND)+rnd(HEADR+segrodata.filelen, INITRND)+segdata.filelen; rnd 629 src/cmd/8l/asm.c symo = rnd(symo, INITRND); rnd 632 src/cmd/8l/asm.c symo = rnd(HEADR+segtext.filelen, PEFILEALIGN)+segdata.filelen; rnd 633 src/cmd/8l/asm.c symo = rnd(symo, PEFILEALIGN); rnd 89 src/cmd/8l/l.h int32 rnd(int32 v, int32 r); rnd 96 src/cmd/dist/goc2c.c int rnd; // alignment rnd 380 src/cmd/dist/goc2c.c type_size(char *p, int *rnd) rnd 385 src/cmd/dist/goc2c.c *rnd = type_table[Uintptr].rnd; rnd 394 src/cmd/dist/goc2c.c *rnd = type_table[i].rnd; rnd 410 src/cmd/dist/goc2c.c int offset, size, rnd; rnd 428 src/cmd/dist/goc2c.c rnd = 0; rnd 429 src/cmd/dist/goc2c.c size = type_size(p->type, &rnd); rnd 430 src/cmd/dist/goc2c.c if(rnd > structround) rnd 431 src/cmd/dist/goc2c.c rnd = structround; rnd 432 src/cmd/dist/goc2c.c if(offset%rnd) rnd 433 src/cmd/dist/goc2c.c offset += rnd - offset%rnd; rnd 817 src/cmd/dist/goc2c.c type_table[i].rnd = type_table[i].size; rnd 819 src/cmd/dist/goc2c.c type_table[String].rnd = type_table[Uintptr].rnd; rnd 820 src/cmd/dist/goc2c.c type_table[Slice].rnd = type_table[Uintptr].rnd; rnd 821 src/cmd/dist/goc2c.c type_table[Eface].rnd = type_table[Uintptr].rnd; rnd 822 src/cmd/dist/goc2c.c type_table[Complex128].rnd = type_table[Float64].rnd; rnd 70 src/cmd/gc/align.c o = rnd(o, f->type->align); rnd 91 src/cmd/gc/align.c o = rnd(o, maxalign); rnd 629 src/cmd/gc/align.c Array_array = rnd(0, widthptr); rnd 630 src/cmd/gc/align.c Array_nel = rnd(Array_array+widthptr, widthint); rnd 631 src/cmd/gc/align.c Array_cap = rnd(Array_nel+widthint, widthint); rnd 632 src/cmd/gc/align.c sizeof_Array = rnd(Array_cap+widthint, widthptr); rnd 635 src/cmd/gc/align.c sizeof_String = rnd(Array_nel+widthint, widthptr); rnd 1008 src/cmd/gc/go.h vlong rnd(vlong o, vlong r); rnd 169 src/cmd/gc/obj.c off = rnd(off, wid); rnd 426 src/cmd/gc/pgen.c stksize = rnd(stksize, n->type->align); rnd 430 src/cmd/gc/pgen.c stksize = rnd(stksize, widthptr); rnd 437 src/cmd/gc/pgen.c stksize = rnd(stksize, widthreg); rnd 438 src/cmd/gc/pgen.c stkptrsize = rnd(stkptrsize, widthreg); rnd 1050 src/cmd/gc/reflect.c ot = rnd(ot, widthptr); rnd 1495 src/cmd/gc/reflect.c off = rnd(off, t->align); rnd 686 src/cmd/ld/data.c return rnd(datsize, symalign(s)); rnd 836 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); rnd 848 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); rnd 865 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); rnd 879 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); rnd 903 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); rnd 922 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); rnd 990 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); rnd 1002 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); rnd 1018 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); rnd 1034 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); rnd 1050 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); rnd 1067 src/cmd/ld/data.c datsize = rnd(datsize, sect->align); rnd 1115 src/cmd/ld/data.c va = rnd(va, sym->align); rnd 1117 src/cmd/ld/data.c va = rnd(va, funcalign); rnd 1143 src/cmd/ld/data.c va = rnd(va, s->align); rnd 1155 src/cmd/ld/data.c va = rnd(va, INITRND); rnd 1162 src/cmd/ld/data.c va = rnd(va, s->align); rnd 1170 src/cmd/ld/data.c va = rnd(va, INITRND); rnd 1176 src/cmd/ld/data.c segdata.fileoff = segtext.fileoff + rnd(segtext.len, PEFILEALIGN); rnd 1768 src/cmd/ld/dwarf.c pad = rnd(fdesize, PtrSize) - fdesize; rnd 1919 src/cmd/ld/dwarf.c headersize = rnd(4+2+4+1+1, PtrSize); // don't count unit_length field itself rnd 1975 src/cmd/ld/dwarf.c strnput("", rnd(size, PEFILEALIGN) - size); rnd 391 src/cmd/ld/elf.c n = rnd(ELF_NOTE_NETBSD_NAMESZ, 4) + rnd(ELF_NOTE_NETBSD_DESCSZ, 4); rnd 496 src/cmd/ld/elf.c n = ELF_NOTE_BUILDINFO_NAMESZ + rnd(buildinfolen, 4); rnd 511 src/cmd/ld/elf.c cwrite("\0\0\0", rnd(buildinfolen, 4) - buildinfolen); rnd 384 src/cmd/ld/macho.c v = rnd(HEADR+segtext.len, INITRND); rnd 445 src/cmd/ld/macho.c ms->vaddr = va+v+rnd(segdata.len, INITRND); rnd 706 src/cmd/ld/macho.c linkoff = rnd(HEADR+segtext.len, INITRND) + rnd(segdata.filelen, INITRND) + rnd(segdwarf.filelen, INITRND); rnd 715 src/cmd/ld/macho.c return rnd(size, INITRND); rnd 106 src/cmd/ld/pe.c nextsectoff = rnd(nextsectoff+sectsize, PESECTALIGN); rnd 109 src/cmd/ld/pe.c h->SizeOfRawData = rnd(filesize, PEFILEALIGN); rnd 156 src/cmd/ld/pe.c PEFILEHEADR = rnd(sizeof(dosstub)+sizeof(fh)+l+sizeof(sh), PEFILEALIGN); rnd 157 src/cmd/ld/pe.c PESECTHEADR = rnd(PEFILEHEADR, PESECTALIGN); rnd 60 src/pkg/runtime/os_darwin.c runtime·get_random_data(byte **rnd, int32 *rnd_len) rnd 67 src/pkg/runtime/os_darwin.c *rnd = urandom_data; rnd 70 src/pkg/runtime/os_darwin.c *rnd = nil; rnd 123 src/pkg/runtime/os_dragonfly.c runtime·get_random_data(byte **rnd, int32 *rnd_len) rnd 130 src/pkg/runtime/os_dragonfly.c *rnd = urandom_data; rnd 133 src/pkg/runtime/os_dragonfly.c *rnd = nil; rnd 131 src/pkg/runtime/os_freebsd.c runtime·get_random_data(byte **rnd, int32 *rnd_len) rnd 138 src/pkg/runtime/os_freebsd.c *rnd = urandom_data; rnd 141 src/pkg/runtime/os_freebsd.c *rnd = nil; rnd 166 src/pkg/runtime/os_linux.c runtime·get_random_data(byte **rnd, int32 *rnd_len) rnd 169 src/pkg/runtime/os_linux.c *rnd = runtime·startup_random_data; rnd 177 src/pkg/runtime/os_linux.c *rnd = urandom_data; rnd 180 src/pkg/runtime/os_linux.c *rnd = nil; rnd 41 src/pkg/runtime/os_linux_arm.c byte *rnd; rnd 54 src/pkg/runtime/os_linux_arm.c rnd = (byte*)auxv[1]; rnd 55 src/pkg/runtime/os_linux_arm.c runtime·randomNumber = rnd[4] | rnd[5]<<8 | rnd[6]<<16 | rnd[7]<<24; rnd 68 src/pkg/runtime/os_nacl.c runtime·get_random_data(byte **rnd, int32 *rnd_len) rnd 70 src/pkg/runtime/os_nacl.c *rnd = nil; rnd 189 src/pkg/runtime/os_netbsd.c runtime·get_random_data(byte **rnd, int32 *rnd_len) rnd 196 src/pkg/runtime/os_netbsd.c *rnd = urandom_data; rnd 199 src/pkg/runtime/os_netbsd.c *rnd = nil; rnd 168 src/pkg/runtime/os_openbsd.c runtime·get_random_data(byte **rnd, int32 *rnd_len) rnd 175 src/pkg/runtime/os_openbsd.c *rnd = urandom_data; rnd 178 src/pkg/runtime/os_openbsd.c *rnd = nil; rnd 103 src/pkg/runtime/os_plan9.c runtime·get_random_data(byte **rnd, int32 *rnd_len) rnd 110 src/pkg/runtime/os_plan9.c *rnd = random_data; rnd 113 src/pkg/runtime/os_plan9.c *rnd = nil; rnd 162 src/pkg/runtime/os_solaris.c runtime·get_random_data(byte **rnd, int32 *rnd_len) rnd 169 src/pkg/runtime/os_solaris.c *rnd = urandom_data; rnd 172 src/pkg/runtime/os_solaris.c *rnd = nil; rnd 115 src/pkg/runtime/os_windows.c runtime·get_random_data(byte **rnd, int32 *rnd_len) rnd 118 src/pkg/runtime/os_windows.c *rnd = nil; rnd 125 src/pkg/runtime/os_windows.c *rnd = random_data;