Lines Matching refs:newsize
526 static void luaD_reallocCI(lua_State*L,int newsize);
527 static void luaD_reallocstack(lua_State*L,int newsize);
533 int newsize; in luaM_growaux_() local
537 newsize=limit; in luaM_growaux_()
540 newsize=(*size)*2; in luaM_growaux_()
541 if(newsize<4) in luaM_growaux_()
542 newsize=4; in luaM_growaux_()
544 newblock=luaM_reallocv(L,block,*size,newsize,size_elems); in luaM_growaux_()
545 *size=newsize; in luaM_growaux_()
1063 static void luaD_reallocstack(lua_State*L,int newsize){
1065 int realsize=newsize+1+5;
1068 L->stack_last=L->stack+newsize;
1071 static void luaD_reallocCI(lua_State*L,int newsize){
1073 luaM_reallocvector(L,L->base_ci,L->size_ci,newsize,CallInfo);
1074 L->size_ci=newsize;
1259 static void luaS_resize(lua_State*L,int newsize){
1265 newhash=luaM_newvector(L,newsize,GCObject*);
1267 for(i=0;i<newsize;i++)newhash[i]=NULL;
1273 int h1=lmod(h,newsize);
1280 tb->size=newsize;
2037 size_t newsize=luaZ_sizebuffer(&g->buff)/2;
2038 luaZ_resizebuffer(L,&g->buff,newsize);
2675 size_t newsize;
2678 newsize=b->buffsize*2;
2679 luaZ_resizebuffer(ls->L,b,newsize);