mal 107 src/cmd/5g/ggen.c q = mal(sizeof(*q)); mal 956 src/cmd/5g/ggen.c p1 = mal(sizeof *p1); mal 220 src/cmd/5g/gobj.c lit = mal(sizeof *lit + n); mal 74 src/cmd/5g/gsubr.c dpc = mal(sizeof(*dpc)); mal 78 src/cmd/5g/gsubr.c dpc = mal(sizeof(*dpc)); mal 83 src/cmd/5g/gsubr.c pc = mal(sizeof(*pc)); mal 167 src/cmd/5g/gsubr.c pc = mal(sizeof(*pc)); mal 617 src/cmd/5g/reg.c p1 = mal(sizeof(*p1)); mal 105 src/cmd/6g/ggen.c q = mal(sizeof(*q)); mal 1189 src/cmd/6g/ggen.c p1 = mal(sizeof *p1); mal 1190 src/cmd/6g/ggen.c p2 = mal(sizeof *p2); mal 202 src/cmd/6g/gobj.c lit = mal(sizeof *lit + n); mal 70 src/cmd/6g/gsubr.c dpc = mal(sizeof(*dpc)); mal 74 src/cmd/6g/gsubr.c dpc = mal(sizeof(*dpc)); mal 78 src/cmd/6g/gsubr.c pc = mal(sizeof(*pc)); mal 165 src/cmd/6g/gsubr.c pc = mal(sizeof(*pc)); mal 633 src/cmd/6g/gsubr.c bigf.val.u.fval = mal(sizeof *bigf.val.u.fval); mal 497 src/cmd/6g/reg.c p1 = mal(sizeof(*p1)); mal 95 src/cmd/8g/ggen.c q = mal(sizeof(*q)); mal 1305 src/cmd/8g/ggen.c p1 = mal(sizeof *p1); mal 1306 src/cmd/8g/ggen.c p2 = mal(sizeof *p2); mal 213 src/cmd/8g/gobj.c lit = mal(sizeof *lit + n); mal 72 src/cmd/8g/gsubr.c dpc = mal(sizeof(*dpc)); mal 76 src/cmd/8g/gsubr.c dpc = mal(sizeof(*dpc)); mal 80 src/cmd/8g/gsubr.c pc = mal(sizeof(*pc)); mal 166 src/cmd/8g/gsubr.c pc = mal(sizeof(*pc)); mal 1266 src/cmd/8g/gsubr.c two64f.val.u.fval = mal(sizeof *two64f.val.u.fval); mal 1270 src/cmd/8g/gsubr.c two63f.val.u.fval = mal(sizeof *two63f.val.u.fval); mal 1274 src/cmd/8g/gsubr.c zerof.val.u.fval = mal(sizeof *zerof.val.u.fval); mal 466 src/cmd/8g/reg.c p1 = mal(sizeof(*p1)); mal 368 src/cmd/gc/align.c l = mal(sizeof *l); mal 466 src/cmd/gc/align.c minintval[i] = mal(sizeof(*minintval[i])); mal 467 src/cmd/gc/align.c maxintval[i] = mal(sizeof(*maxintval[i])); mal 476 src/cmd/gc/align.c minfltval[i] = mal(sizeof(*minfltval[i])); mal 477 src/cmd/gc/align.c maxfltval[i] = mal(sizeof(*maxfltval[i])); mal 36 src/cmd/gc/const.c fv = mal(sizeof *fv); mal 197 src/cmd/gc/const.c n->val.u.xval = mal(sizeof(*n->val.u.xval)); mal 290 src/cmd/gc/const.c i = mal(sizeof(*i)); mal 295 src/cmd/gc/const.c f = mal(sizeof(*f)); mal 300 src/cmd/gc/const.c c = mal(sizeof(*c)); mal 317 src/cmd/gc/const.c c = mal(sizeof(*c)); mal 324 src/cmd/gc/const.c c = mal(sizeof(*c)); mal 342 src/cmd/gc/const.c f = mal(sizeof(*f)); mal 348 src/cmd/gc/const.c f = mal(sizeof(*f)); mal 369 src/cmd/gc/const.c i = mal(sizeof(*i)); mal 376 src/cmd/gc/const.c i = mal(sizeof(*i)); mal 460 src/cmd/gc/const.c s = mal(sizeof(*s)+l); mal 474 src/cmd/gc/const.c v.u.sval = mal(sizeof *s); mal 576 src/cmd/gc/const.c str = mal(sizeof(*str) + len); mal 1078 src/cmd/gc/const.c c = mal(sizeof(*c)); mal 1423 src/cmd/gc/const.c con->val.u.xval = mal(sizeof *con->val.u.xval); mal 44 src/cmd/gc/dcl.c d = mal(sizeof(*d)); mal 85 src/cmd/gc/esc.c l = mal(sizeof *l); mal 289 src/cmd/gc/export.c m = mal(n*sizeof m[0]); mal 140 src/cmd/gc/gen.c lab = mal(sizeof(*lab)); mal 669 src/cmd/gc/gen.c z.val.u.cval = mal(sizeof(*z.val.u.cval)); mal 701 src/cmd/gc/gen.c z.val.u.xval = mal(sizeof(*z.val.u.xval)); mal 1382 src/cmd/gc/go.h void* mal(int32 n); mal 732 src/cmd/gc/go.y node = mal(sizeof *node); mal 581 src/cmd/gc/lex.c *pp = mal(sizeof(Idir)); mal 630 src/cmd/gc/lex.c q = mal(name->len+1); mal 737 src/cmd/gc/lex.c cleanbuf = mal(strlen(prefix) + strlen(path->s) + 2); mal 960 src/cmd/gc/lex.c cp = mal(8); mal 985 src/cmd/gc/lex.c cp = mal(8); mal 1028 src/cmd/gc/lex.c yylval.val.u.xval = mal(sizeof(*yylval.val.u.xval)); mal 1419 src/cmd/gc/lex.c yylval.val.u.xval = mal(sizeof(*yylval.val.u.xval)); mal 1471 src/cmd/gc/lex.c yylval.val.u.cval = mal(sizeof(*yylval.val.u.cval)); mal 1488 src/cmd/gc/lex.c yylval.val.u.fval = mal(sizeof(*yylval.val.u.fval)); mal 80 src/cmd/gc/order.c l = mal(sizeof *l); mal 1216 src/cmd/gc/plive.c p = mal(sizeof(*p)); mal 145 src/cmd/gc/reflect.c overflowfield->sym = mal(sizeof(Sym)); // not important but needs to be set to give this type a name mal 160 src/cmd/gc/reflect.c keysfield->sym = mal(sizeof(Sym)); mal 170 src/cmd/gc/reflect.c valuesfield->sym = mal(sizeof(Sym)); mal 219 src/cmd/gc/reflect.c bucketsfield->sym = mal(sizeof(Sym)); mal 226 src/cmd/gc/reflect.c oldbucketsfield->sym = mal(sizeof(Sym)); mal 267 src/cmd/gc/reflect.c field[0]->sym = mal(sizeof(Sym)); mal 272 src/cmd/gc/reflect.c field[1]->sym = mal(sizeof(Sym)); mal 277 src/cmd/gc/reflect.c field[2]->sym = mal(sizeof(Sym)); mal 282 src/cmd/gc/reflect.c field[3]->sym = mal(sizeof(Sym)); mal 287 src/cmd/gc/reflect.c field[4]->sym = mal(sizeof(Sym)); mal 292 src/cmd/gc/reflect.c field[5]->sym = mal(sizeof(Sym)); mal 301 src/cmd/gc/reflect.c field[6]->sym = mal(sizeof(Sym)); mal 412 src/cmd/gc/reflect.c b = mal(sizeof(*b)); mal 467 src/cmd/gc/reflect.c a = mal(sizeof(*a)); mal 1365 src/cmd/gc/sinit.c p = mal(sizeof *p); mal 349 src/cmd/gc/subr.c s = mal(sizeof(*s)); mal 350 src/cmd/gc/subr.c s->name = mal(strlen(name)+1); mal 467 src/cmd/gc/subr.c q = mal(on+n); mal 488 src/cmd/gc/subr.c n = mal(sizeof(*n)); mal 694 src/cmd/gc/subr.c t = mal(sizeof(*t)); mal 740 src/cmd/gc/subr.c a = mal(i*sizeof f); mal 760 src/cmd/gc/subr.c c->val.u.xval = mal(sizeof(*c->val.u.xval)); mal 775 src/cmd/gc/subr.c c->val.u.fval = mal(sizeof(*c->val.u.fval)); mal 790 src/cmd/gc/subr.c n->val.u.xval = mal(sizeof(*n->val.u.xval)); mal 2320 src/cmd/gc/subr.c sl = mal(sizeof(*sl)); mal 2335 src/cmd/gc/subr.c sl = mal(sizeof(*sl)); mal 3222 src/cmd/gc/subr.c l = mal(sizeof *l); mal 3657 src/cmd/gc/subr.c p = mal((r-s)+1+2*n); mal 3681 src/cmd/gc/subr.c p = mal(sizeof *p); mal 3694 src/cmd/gc/subr.c t = mal(sizeof *t + strlen(s)); mal 356 src/cmd/gc/swt.c c1 = mal(sizeof(*c1)); mal 216 src/cmd/gc/typecheck.c l = mal(sizeof *l); mal 2507 src/cmd/gc/typecheck.c *hash = mal(h * sizeof(**hash)); mal 3224 src/cmd/gc/typecheck.c l = mal(sizeof *l); mal 3461 src/cmd/gc/typecheck.c lab = mal(sizeof *lab); mal 126 src/cmd/gc/unsafe.c val.u.xval = mal(sizeof(*n->val.u.xval)); mal 452 src/cmd/ld/dwarf.c a = mal(sizeof *a); mal 497 src/cmd/ld/dwarf.c die = mal(sizeof *die); mal 516 src/cmd/ld/dwarf.c die->hash = mal(HASHSIZE * sizeof(DWDie*)); mal 843 src/cmd/ld/dwarf.c newattr(die, DW_AT_data_member_location, DW_CLS_BLOCK, i, mal(i)); mal 1095 src/cmd/ld/dwarf.c strcpy(mal(strlen(ptrname)+1), ptrname)); mal 1189 src/cmd/ld/dwarf.c n = mal(strlen(buf) + 1); mal 1464 src/cmd/ld/dwarf.c newattr(die, DW_AT_location, DW_CLS_BLOCK, i, mal(i)); mal 1475 src/cmd/ld/dwarf.c n = mal(strlen(buf) + 1); mal 187 src/cmd/ld/elf.c e = mal(sizeof *e); mal 204 src/cmd/ld/elf.c e = mal(sizeof *e); mal 545 src/cmd/ld/elf.c lib = mal(sizeof *lib); mal 553 src/cmd/ld/elf.c aux = mal(sizeof *aux); mal 60 src/cmd/ld/go.c x = mal(sizeof *x); mal 87 src/cmd/ld/go.c data = mal(len+1); mal 777 src/cmd/ld/go.c p = mal(sizeof *p); mal 367 src/cmd/ld/ldelf.c obj = mal(sizeof *obj); mal 442 src/cmd/ld/ldelf.c obj->sect = mal(obj->shnum*sizeof obj->sect[0]); mal 649 src/cmd/ld/ldelf.c r = mal(n*sizeof r[0]); mal 747 src/cmd/ld/ldelf.c sect->base = mal(sect->size); mal 222 src/cmd/ld/ldmacho.c c->seg.sect = mal(c->seg.nsect * sizeof c->seg.sect[0]); mal 254 src/cmd/ld/ldmacho.c c->seg.sect = mal(c->seg.nsect * sizeof c->seg.sect[0]); mal 319 src/cmd/ld/ldmacho.c rel = mal(sect->nreloc * sizeof r[0]); mal 321 src/cmd/ld/ldmacho.c buf = mal(n); mal 366 src/cmd/ld/ldmacho.c p = mal(n*4); mal 388 src/cmd/ld/ldmacho.c strbuf = mal(symtab->strsize); mal 396 src/cmd/ld/ldmacho.c symbuf = mal(n); mal 399 src/cmd/ld/ldmacho.c sym = mal(symtab->nsym * sizeof sym[0]); mal 467 src/cmd/ld/ldmacho.c m = mal(sizeof(*m)+ncmd*sizeof(MachoCmd)+cmdsz); mal 557 src/cmd/ld/ldmacho.c dat = mal(c->seg.filesz); mal 580 src/cmd/ld/ldmacho.c s->p = mal(s->size); mal 695 src/cmd/ld/ldmacho.c r = mal(sect->nreloc*sizeof r[0]); mal 156 src/cmd/ld/ldpe.c obj = mal(sizeof *obj); mal 164 src/cmd/ld/ldpe.c obj->sect = mal(obj->fh.NumberOfSections*sizeof obj->sect[0]); mal 178 src/cmd/ld/ldpe.c obj->snames = mal(l); mal 183 src/cmd/ld/ldpe.c obj->pesym = mal(obj->fh.NumberOfSymbols*sizeof obj->pesym[0]); mal 196 src/cmd/ld/ldpe.c obj->pesym[i].name = mal(9); mal 265 src/cmd/ld/ldpe.c r = mal(rsect->sh.NumberOfRelocations*sizeof r[0]); mal 413 src/cmd/ld/ldpe.c sect->base = mal(sect->sh.SizeOfRawData); mal 134 src/cmd/ld/lib.c INITENTRY = mal(strlen(goarch)+strlen(goos)+20); mal 924 src/cmd/ld/lib.c p = mal((r-s)+1+2*n); mal 960 src/cmd/ld/lib.c sect = mal(sizeof *sect); mal 245 src/cmd/ld/lib.h void* mal(uint32 n); mal 81 src/cmd/ld/macho.c l->data = mal(ndata*4); mal 97 src/cmd/ld/macho.c s->sect = mal(msect*sizeof s->sect[0]); mal 564 src/cmd/ld/macho.c sortsym = mal(nsortsym * sizeof sortsym[0]); mal 212 src/cmd/ld/pe.c m = mal(sizeof *m); mal 217 src/cmd/ld/pe.c d = mal(sizeof *d); mal 221 src/cmd/ld/pe.c m = mal(sizeof *m); mal 531 src/cmd/ld/pe.c coffsym = mal(ncoffsym * sizeof coffsym[0]);