| /plan9/sys/src/cmd/sam/ |
| H A D | list.c | 11 if(l->listptr == nil || l->nalloc == 0){ in growlist() 12 l->nalloc = INCR; in growlist() 16 else if(l->nused == l->nalloc){ in growlist() 17 p = erealloc(l->listptr, (l->nalloc+INCR)*esize); in growlist() 19 memset(p+l->nalloc*esize, 0, INCR*esize); in growlist() 20 l->nalloc += INCR; in growlist() 92 l->nalloc = 0; in listalloc()
|
| H A D | sam.c | 708 if(tempfile.nalloc < file.nused){ in settempfile() 712 tempfile.nalloc = file.nused; in settempfile()
|
| H A D | sam.h | 70 int nalloc; member
|
| /plan9/sys/src/cmd/ |
| H A D | read.c | 12 int m, n, nalloc; in line() local 15 nalloc = 0; in line() 28 if(m == nalloc){ in line() 29 nalloc += 1024; in line() 30 buf = realloc(buf, nalloc); in line()
|
| H A D | mc.c | 27 int nalloc=ALLOC_QUANTA; variable 110 if(nchars++ >= nalloc) in readbuf() 117 if(nchars++ >= nalloc) in readbuf() 235 nalloc += ALLOC_QUANTA; in morechars() 236 if((cbuf = realloc(cbuf, nalloc*sizeof(*cbuf))) == 0) in morechars()
|
| /plan9/sys/src/cmd/acme/ |
| H A D | edit.c | 253 if(l->listptr==0 || l->nalloc==0){ in growlist() 254 l->nalloc = INCR; in growlist() 257 }else if(l->nused == l->nalloc){ in growlist() 258 l->listptr = erealloc(l->listptr, (l->nalloc+INCR)*sizeof(void*)); in growlist() 259 memset(l->ptr+l->nalloc, 0, INCR*sizeof(void*)); in growlist() 260 l->nalloc += INCR; in growlist() 300 s->nalloc = n+10; in allocstring() 301 s->r = emalloc(s->nalloc*sizeof(Rune)); in allocstring() 379 if(s->n+1 >= s->nalloc){ in Straddc() 380 s->nalloc += 10; in Straddc() [all …]
|
| H A D | edit.h | 13 int nalloc; member 64 int nalloc; member
|
| /plan9/sys/src/cmd/9nfs/ |
| H A D | string.c | 8 static Strnode* nalloc(int); 41 x = nalloc(n); in strstore() 82 nalloc(int n) /* get permanent storage for Strnode */ in nalloc() function
|
| /plan9/sys/src/cmd/htmlfmt/ |
| H A D | util.c | 110 if(b->nalloc < b->n + ns + 1){ in growbytes() 111 b->nalloc = b->n + ns + 8000; in growbytes() 113 b->b = realloc(b->b, b->nalloc); in growbytes()
|
| H A D | dat.h | 14 long nalloc; member
|
| /plan9/sys/src/libframe/ |
| H A D | frbox.c | 18 if(f->nbox+n > f->nalloc) in _fraddbox() 65 f->nalloc += delta; in _frgrowbox() 66 f->box = realloc(f->box, f->nalloc*sizeof(Frbox)); in _frgrowbox()
|
| H A D | frinsert.c | 31 if(nb == frame.nalloc){ in bxscan() 110 static int nalloc=0; in frinsert() local 156 if(npts == nalloc){ in frinsert() 158 nalloc += DELTA; in frinsert()
|
| H A D | frinit.c | 15 f->nalloc = 0; in frinit()
|
| /plan9/sys/lib/dist/cmd/ |
| H A D | bflz.c | 69 uint nalloc; variable 87 nalloc++; in allocnode() 375 fprint(2, "%d nodes used; %d of %d hash slots used\n", nalloc, nnew, nhash); in main()
|
| /plan9/sys/src/cmd/troff2html/ |
| H A D | troff2html.c | 139 int nalloc; variable 253 if(nalloc == nchars){ in emitchar() 254 nalloc += 10000; in emitchar() 255 chars = realloc(chars, nalloc*sizeof(chars[0])); in emitchar()
|
| /plan9/sys/src/cmd/aux/ |
| H A D | msexceltables.c | 715 static int nalloc = 0; in xf() local 719 if(nalloc >= Nxf){ in xf() 720 nalloc += 20; in xf() 721 if((Xf = realloc(Xf, nalloc*sizeof(int))) == nil) in xf()
|
| /plan9/sys/include/ |
| H A D | frame.h | 42 ushort nbox, nalloc; member
|
| /plan9/sys/src/9/port/ |
| H A D | debugalloc.c | 37 int nalloc; member 204 p->nalloc++; in poolalloc() 354 p->nalloc, in poolread()
|
| H A D | usbehci.c | 241 int nalloc; member 415 edpool.nalloc += Incr; in edalloc() 417 dprint("ehci: edalloc: %d eds\n", edpool.nalloc); in edalloc() 1158 edpool.nalloc, edpool.ninuse, edpool.nfree); in dump()
|
| /plan9/sys/src/9/pc/ |
| H A D | wavelan.h | 247 ulong nalloc; // allocation (reclaim) events member
|
| H A D | usbuhci.c | 204 int nalloc; member 213 int nalloc; member 539 tdpool.nalloc, tdpool.ninuse, tdpool.nfree); in xdump() 543 qhpool.nalloc, qhpool.ninuse, qhpool.nfree); in xdump() 593 tdpool.nalloc += Incr; in tdalloc() 673 qhpool.nalloc += Incr; in qhalloc()
|
| H A D | usbohci.c | 321 int nalloc; member 330 int nalloc; member 591 tdpool.nalloc += Incr; in tdalloc() 639 edpool.nalloc += Incr; in edalloc() 1026 tdpool.nalloc, tdpool.ninuse, tdpool.nfree); in dump() 1030 edpool.nalloc, edpool.ninuse, edpool.nfree); in dump()
|
| H A D | wavelan.c | 650 ctlr->nalloc++; in w_intr() 864 PRINTSTAT("AllocEvs: %lud\n", ctlr->nalloc); in w_ifstat()
|
| H A D | sdmv50xx.c | 409 int nalloc; member 419 srblist.nalloc++; in allocsrb()
|
| /plan9/sys/src/cmd/samterm/ |
| H A D | syms | 776 'u' 82 nalloc; 806 print(" nalloc ", addr.nalloc, "\n");
|