Lines Matching refs:nfp
47 char *nv_getv(Namval_t *np, register Namfun_t *nfp)
51 if((fp = nfp) != NIL(Namfun_t*) && !nv_local)
52 fp = nfp = nfp->next;
79 Sfdouble_t nv_getn(Namval_t *np, register Namfun_t *nfp)
85 if((fp = nfp) != NIL(Namfun_t*) && !nv_local)
86 fp = nfp = nfp->next;
109 str = nv_getv(np,fp?fp:nfp);
126 void nv_putv(Namval_t *np, const char *value, int flags, register Namfun_t *nfp)
130 if((fp=nfp) != NIL(Namfun_t*) && !nv_local)
131 fp = nfp = nfp->next;
635 register Namfun_t *nfp;
641 if(!(nfp=newof(NIL(Namfun_t*),Namfun_t,1,size-sizeof(Namfun_t))))
643 memcpy(nfp,fp,size);
644 nfp->nofree &= ~1;
645 nfp->nofree |= (flags&NV_RDONLY)?1:0;
646 return(nfp);
875 register Namfun_t *fp, **mfp = &mp->nvfun, *nfp, *fpnext;
882 nfp = 0;
884 nfp = (*fp->disc->clonef)(np,mp,flags,fp);
886 nfp = fp;
888 nfp = nv_clone_disc(fp,flags);
889 if(!nfp)
891 nfp->next = 0;
892 *mfp = nfp;
893 mfp = &nfp->next;