Lines Matching refs:SH_VALNOD
282 node = *SH_VALNOD;
283 if(!nv_isnull(SH_VALNOD))
285 nv_onattr(SH_VALNOD,NV_NOFREE);
286 _nv_unset(SH_VALNOD,0);
289 nv_onattr(SH_VALNOD,(flags&(NV_LONG|NV_DOUBLE|NV_EXPNOTE|NV_HEXFLOAT|NV_SHORT)));
290 nv_putval(SH_VALNOD, val, (flags&NV_INTEGER)?flags:NV_NOFREE);
313 if(nv_isnull(SH_VALNOD))
317 d = nv_getnum(SH_VALNOD);
323 cp = nv_getval(SH_VALNOD);
326 _nv_unset(SH_VALNOD,0);
328 memcpy(&SH_VALNOD->nvname, &node.nvname, sizeof(node)-sizeof(node.nvlink));
378 node = *SH_VALNOD;
379 if(!nv_isnull(SH_VALNOD))
381 nv_onattr(SH_VALNOD,NV_NOFREE);
382 _nv_unset(SH_VALNOD,0);
386 nv_onattr(SH_VALNOD,NV_DOUBLE|NV_INTEGER);
387 nv_setsize(SH_VALNOD,10);
396 cp = (char*)(SH_VALNOD->nvalue.cp);
397 *dp = nv_getnum(SH_VALNOD);
399 else if(cp = nv_getval(SH_VALNOD))
405 _nv_unset(SH_VALNOD,NV_RDONLY);
409 memcpy(&SH_VALNOD->nvname, &node.nvname, sizeof(node)-sizeof(node.nvlink));