Searched refs:newsize (Results 1 - 7 of 7) sorted by relevance

/ast/src/cmd/tests/vmalloc/
H A Dtcompact.c27 size_t oldsize, size_t newsize, Vmdisc_t* disc)
29 Void_t* memory(vm, caddr, oldsize, newsize, disc)
33 size_t newsize;
38 { if(newsize != 0)
44 return vmalloc(Vmheap,newsize);
26 memory(Vmalloc_t* vm, Void_t* caddr, size_t oldsize, size_t newsize, Vmdisc_t* disc) argument
H A Dtpool.c26 size_t oldsize, size_t newsize, Vmdisc_t* disc)
28 Void_t* memory(vm, caddr, oldsize, newsize, disc)
32 size_t newsize;
37 { if(newsize != 0)
43 return vmalloc(Vmheap,newsize);
25 memory(Vmalloc_t* vm, Void_t* caddr, size_t oldsize, size_t newsize, Vmdisc_t* disc) argument
H A Dtwalk.c36 size_t oldsize, size_t newsize, Vmdisc_t* disc)
38 static Void_t* memory(vm, caddr, oldsize, newsize, disc)
42 size_t newsize;
56 Avail += newsize;
35 memory(Vmalloc_t* vm, Void_t* caddr, size_t oldsize, size_t newsize, Vmdisc_t* disc) argument
/ast/src/lib/libexpr/
H A DOexparse.c792 int newsize, i; local
796 if ((newsize = exstacksize) == 0)
797 newsize = EXINITSTACKSIZE;
798 else if (newsize >= EXMAXDEPTH)
800 else if ((newsize *= 2) > EXMAXDEPTH)
801 newsize = EXMAXDEPTH;
805 ? (short *)realloc(exss, newsize * sizeof(*newss))
806 : (short *)malloc(newsize * sizeof(*newss));
813 ? (EXSTYPE *)realloc(exvs, newsize * sizeof(*newvs))
814 : (EXSTYPE *)malloc(newsize * sizeo
[all...]
/ast/src/cmd/mailx/
H A Dlex.c215 int newsize; local
222 if (!(newsize = filesize(fp)))
224 if (newsize < state.mailsize)
226 if (newsize == state.mailsize)
/ast/src/cmd/ksh93/edit/
H A Dedit.c835 int n, rows, newsize; local
839 astwinsize(2,&rows,&newsize);
843 if(ep->e_multiline && newsize>ep->e_winsz && (lastpos.line=(ep->e_plen+ep->e_peol)/ep->e_winsz))
859 astwinsize(2,&rows,&newsize);
860 ep->e_winsz = newsize-1;
/ast/src/cmd/ksh93/sh/
H A Darray.c819 register int newsize = arsize(arp,maxi+1); local
822 i = (newsize-1)*sizeof(union Value*)+newsize;
825 ap->maxi = newsize;
827 ap->bits = (unsigned char*)&ap->val[newsize];
828 memset(ap->bits, 0, newsize);
888 for(;i < newsize;i++)

Completed in 800 milliseconds