Lines Matching refs:up
1599 register union Value *up;
1639 up= &np->nvalue;
1642 if(!np->nvalue.up || !nv_isarray(np))
1644 up = &u;
1645 up->up = &np->nvalue;
1649 else if(np->nvalue.up && nv_isarray(np) && (ap=nv_arrayptr(np)) && !ap->fixed)
1651 else if(np->nvalue.up && nv_isarray(np) && nv_arrayptr(np))
1653 up = np->nvalue.up;
1654 if(up && up->cp==Empty)
1655 up->cp = 0;
1676 if(!up->ldp)
1677 up->ldp = new_of(Sfdouble_t,0);
1679 old = *(up->ldp);
1680 *(up->ldp) = old?ld+old:ld;
1696 if(!up->dp)
1697 up->dp = new_of(double,0);
1699 od = *(up->dp);
1700 *(up->dp) = od?d+od:d;
1740 if(!up->llp)
1741 up->llp = new_of(Sflong_t,0);
1743 oll = *(up->llp);
1744 *(up->llp) = ll+oll;
1795 s = *up->sp;
1796 *(up->sp) = s+(int16_t)l;
1801 if(!up->lp)
1802 up->lp = new_of(int32_t,0);
1804 ol = *(up->lp);
1805 *(up->lp) = l+ol;
1871 if(!up->cp || *up->cp==0)
1876 tofree = up->cp;
1885 if(sp==up->cp && !(flags&NV_APPEND))
1899 up->cp = sp;
1910 memcpy((void*)cp,(void*)up->cp,oldsize);
1911 up->cp = cp;
1935 append = strlen(up->cp);
1939 stakputs(up->cp);
1952 if(size==0 || tofree || dot || !(cp=(char*)up->cp))
1976 up->cp = cp;
2486 register union Value *up;
2564 else if(np->nvalue.up && nv_isarray(np) && (ap=nv_arrayptr(np)) && !ap->fixed)
2566 else if(np->nvalue.up && nv_isarray(np) && nv_arrayptr(np))
2568 up = np->nvalue.up;
2578 up = 0;
2581 up = &np->nvalue;
2582 if(up && up->cp)
2584 if(up->cp!=Empty && up->cp!=Null && !nv_isattr(np, NV_NOFREE))
2585 free((void*)up->cp);
2586 up->cp = 0;
2771 register union Value *up= &np->nvalue;
2807 if(!up->cp)
2816 ld = *up->ldp;
2827 d = *up->dp;
2841 ll = *(Sfulong_t*)up->llp;
2845 ll = *(uint16_t*)(up->sp);
2847 ll = (uint16_t)up->s;
2850 ll = *(uint32_t*)(up->lp);
2853 ll = *up->llp;
2857 ll = *up->sp;
2859 ll = up->s;
2862 ll = *(up->lp);
2880 if(up->cp && nv_isattr(np,NV_BINARY) && !nv_isattr(np,NV_RAW))
2885 base64encode(up->cp, size, (void**)0, cp=getbuf(insize), insize, (void**)&ep);
2890 if(!nv_isattr(np,NV_LJUST|NV_RJUST) && (numeric=nv_size(np)) && up->cp && up->cp[numeric])
2893 memcpy(cp,up->cp,numeric);
2897 return ((char*)up->cp);
2903 register union Value *up;
2930 up= &np->nvalue;
2931 if(!up->lp || up->cp==Empty)
2936 r = *up->ldp;
2938 r = *up->dp;
2943 r = (Sflong_t)*((Sfulong_t*)up->llp);
2947 r = (Sflong_t)(*(uint16_t*)up->sp);
2949 r = (Sflong_t)((uint16_t)up->s);
2952 r = *((uint32_t*)up->lp);
2957 r = *up->llp;
2961 r = *up->sp;
2963 r = up->s;
2966 r = *up->lp;