Home
last modified time | relevance | path

Searched refs:Sflong_t (Results 1 – 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfgetl.c30 Sflong_t sfgetl(Sfio_t* f) in sfgetl()
32 Sflong_t sfgetl(f) in sfgetl()
36 Sflong_t v;
41 SFMTXENTER(f,(Sflong_t)(-1));
44 SFMTXRETURN(f, (Sflong_t)(-1));
50 v = (Sflong_t)(-1);
H A D_sfputl.c30 int _sfputl(Sfio_t* f, Sflong_t v) in _sfputl()
34 Sflong_t v; /* the value to be written */
37 #define N_ARRAY (2*sizeof(Sflong_t))
H A D_sfllen.c27 int sfllen(reg Sflong_t v) in sfllen()
30 reg Sflong_t v; in sfllen()
H A Dsfllen.c29 int _sfllen(Sflong_t v) in _sfllen()
32 Sflong_t v; in _sfllen()
H A D_sfgetl.c34 Sflong_t _sfgetl(reg Sfio_t* f) in _sfgetl()
36 Sflong_t _sfgetl(f) in _sfgetl()
H A Dsfputl.c27 int sfputl(reg Sfio_t* f, Sflong_t l) in sfputl()
31 reg Sflong_t l;
H A Dsfvprintf.c105 Sflong_t lv;
503 size = sizeof(Sflong_t);
506 size == sizeof(Sflong_t)*CHAR_BIT )
507 size = sizeof(Sflong_t);
590 if(size == sizeof(Sflong_t))
591 argv.ll = va_arg(args, Sflong_t);
934 if(size == sizeof(Sflong_t) )
935 *((Sflong_t*)argv.vp) = (Sflong_t)n_output;
953 lv = (Sflong_t)((Sfulong_t)argv.vp);
1003 if(size == sizeof(Sflong_t))
[all …]
H A Dsfvscanf.c636 size = sizeof(Sflong_t);
639 size == sizeof(Sflong_t)*CHAR_BIT )
640 size = sizeof(Sflong_t);
757 if(size == sizeof(Sflong_t) )
758 *((Sflong_t*)value) = (Sflong_t)(n_input+SFlen(f));
938 else if(size == sizeof(Sflong_t))
939 *((Sflong_t*)value) = argv.ll;
H A Dsftable.c274 size = sizeof(Sflong_t);
277 size == sizeof(Sflong_t)*CHAR_BIT )
278 size = sizeof(Sflong_t);
425 if(size == sizeof(Sflong_t) )
426 fp[n].argv.ll = va_arg(args, Sflong_t);
H A Dsfhdr.h353 #define SFMBMAX sizeof(Sflong_t)
724 Sflong_t ll, *llp;
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dstreval.c139 Sflong_t s = u; in U2F()
271 if((Sflong_t)d!=d) in arith_exec()
335 num = ~((Sflong_t)(num)); in arith_exec()
350 if(!(Sflong_t)num) in arith_exec()
355 num = (Sflong_t)(sp[-1]) % (Sflong_t)(num); in arith_exec()
368 num = (Sflong_t)(sp[-1]) / (Sflong_t)(num); in arith_exec()
376 num = (Sflong_t)(sp[-1]) << (long)(num); in arith_exec()
384 num = (Sflong_t)(sp[-1]) >> (long)(num); in arith_exec()
390 num = (Sflong_t)(sp[-1]) ^ (Sflong_t)(num); in arith_exec()
396 num = (Sflong_t)(sp[-1]) | (Sflong_t)(num); in arith_exec()
[all …]
H A Dname.c1720 if(nv_isattr(np, NV_LONG) && sizeof(int32_t)<sizeof(Sflong_t)) in nv_putval()
1722 Sflong_t ll=0,oll=0; in nv_putval()
1746 ll = *((Sflong_t*)sp); in nv_putval()
1754 ll = (Sflong_t)sh_arith(shp,sp); in nv_putval()
1756 up->llp = new_of(Sflong_t,0); in nv_putval()
1768 Sflong_t ll; in nv_putval()
1789 l = *((Sflong_t*)sp); in nv_putval()
1851 sfprintf(shp->strbuf,"%I*ld",sizeof(Sflong_t),*((Sflong_t*)sp)); in nv_putval()
2824 Sflong_t ll; in nv_getval()
2961 r = (Sflong_t)*((Sfulong_t*)up->llp); in nv_getnum()
[all …]
H A Darith.c424 if((str-val)>2*sizeof(Sflong_t)) in arith()
479 lvalue->isfloat= (r!=(Sflong_t)r); in arith()
H A Dparse.c2085 …n= sfprintf(lexp->kiafile,"DIRECTORY\nENTITY;%lld;%d\nDIRECTORY;",(Sflong_t)lexp->kiabegin,(size_t… in kiaclose()
2087 …;%lld;%d\nRELATIONSHIP;%lld;%d\nDIRECTORY;",(Sflong_t)lexp->kiabegin,(size_t)(off1-lexp->kiabegin)… in kiaclose()
2090 sfprintf(lexp->kiafile,"%010.10lld;%010d\n",(Sflong_t)off2+10, n+12); in kiaclose()
H A Dnvtype.c121 Sflong_t _dSflong_t;
183 a = alignof(Sflong_t); in nv_datasize()
184 s = sizeof(Sflong_t); in nv_datasize()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dsfio.h43 #define Sflong_t intmax_t macro
283 extern int sfllen _ARG_((Sflong_t));
287 extern int sfputl _ARG_((Sfio_t*, Sflong_t));
293 extern Sflong_t sfgetl _ARG_((Sfio_t*));
299 extern int _sfputl _ARG_((Sfio_t*, Sflong_t));
307 extern int _sfllen _ARG_((Sflong_t));
343 #define __sf_putl(f,v) (_sfputl(_SF_(f),(Sflong_t)(v)))
354 #define __sf_llen(v) (_sfllen((Sflong_t)(v)) )
370 __INLINE__ int sfputl(Sfio_t* f, Sflong_t v) { return __sf_putl(f,v); } in sfputl()
379 __INLINE__ int sfllen(Sflong_t v) { return __sf_llen(v); } in sfllen()
H A Dsfdisc.h46 typedef int (*Sf_key_lookup_t)(void*, Sffmt_t*, const char*, char**, Sflong_t*);
47 typedef char* (*Sf_key_convert_t)(void*, Sffmt_t*, const char*, char*, Sflong_t);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfkeyprintf.c65 Sflong_t q;
147 Sflong_t n = 0; in getfmt()
224 fp->fmt.size = sizeof(Sflong_t); in getfmt()
225 value->q = (Sflong_t)(s ? strtoll(s, NiL, 0) : n); in getfmt()
230 fp->fmt.size = sizeof(Sflong_t); in getfmt()
231 value->q = s ? (Sflong_t)strtoull(s, NiL, 0) : n; in getfmt()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dstreval.h49 # define LDBL_LLONG_MAX ((Sfdouble_t)((((Sflong_t)1) << (8*sizeof(Sflong_t)-1)) -1 ))
H A Dname.h45 Sflong_t *llp; /* for long long arithmetic */
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dprint.c47 Sflong_t ll;
567 size = sizeof(Sflong_t); in fmtbase64()
568 number.ll = (Sflong_t)d; in fmtbase64()
891 value->ll = (Sflong_t)d; in extend()
939 value->ll = (Sflong_t)strelapsed(*pp->nextarg,&lastchar,1); in extend()
942 value->ll = (Sflong_t)tmxdate(*pp->nextarg,&lastchar,TMX_NOW); in extend()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dpids.c59 key(void* handle, Sffmt_t* fp, const char* arg, char** ps, Sflong_t* pn) in key()
H A Dvmstate.c70 key(void* handle, Sffmt_t* fp, const char* arg, char** ps, Sflong_t* pn) in key()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/data/
H A Dmath.tab62 f 1 round {Sfdouble_t r;Sflong_t y;y=floor(2*a1);r=rint(a1);if(2*a1==y)r+=(r<a1)-(a1<0);return r;}
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dedit.c1838 Sflong_t l = (Sflong_t)(uintptr_t)val;

12