Lines Matching refs:lp
351 struct Level *lp = (struct Level*)fp;
362 if(level<0 || level > lp->maxlevel)
382 struct Level *lp = newof(NiL,struct Level,1,0);
383 lp->maxlevel = level;
386 nv_putval(SH_LEVELNOD,(char*)&lp->maxlevel,NV_INT16);
387 lp->hdr.disc = &level_disc;
388 nv_disc(SH_LEVELNOD,&lp->hdr,NV_FIRST);
389 return(lp);
2697 struct Level *lp =(struct Level*)(SH_LEVELNOD->nvfun);
2701 if(!lp->hdr.disc)
2702 lp = init_level(0);
2705 level = lp->maxlevel = shp->dot_depth + shp->fn_depth+1;
2706 SH_LEVELNOD->nvalue.s = lp->maxlevel;
2735 lp->maxlevel = level;
2736 SH_LEVELNOD->nvalue.s = lp->maxlevel;