Searched refs:ulong (Results 1 - 18 of 18) sorted by relevance

/ast/src/cmd/mailx/port/
H A Ddtstrhash.c75 ulong dtstrhash(reg ulong h, reg char* s, reg int n)
77 ulong dtstrhash(h,s,n)
78 reg ulong h;
H A Ddthdr.h80 #define ulong unsigned long macro
90 #define HIGHBIT (~(((ulong)~0L) >> 1))
H A Ddthash.c133 reg ulong hsh;
/ast/src/lib/librecsort/
H A Drshdr.h75 #ifndef ulong
76 #define ulong unsigned long macro
108 { reg uchar* k = obj->key; reg ulong h = 0; \
110 { default : h = ((ulong)k[7]); \
111 case 7 : h |= ((ulong)k[6]) << (1*CHAR_BIT); \
112 case 6 : h |= ((ulong)k[5]) << (2*CHAR_BIT); \
113 case 5 : h |= ((ulong)k[4]) << (3*CHAR_BIT); \
114 case 4 : h |= ((ulong)k[3]) << (4*CHAR_BIT); \
115 case 3 : h |= ((ulong)k[2]) << (5*CHAR_BIT); \
116 case 2 : h |= ((ulong)
[all...]
H A Drs-rasp.c97 obj->order = (((ulong)k[1]) << (CHAR_BIT*7)) |
98 (((ulong)k[2]) << (CHAR_BIT*6)) |
99 (((ulong)k[3]) << (CHAR_BIT*5)) |
100 (((ulong)k[4]) << (CHAR_BIT*4)) |
101 (((ulong)k[5]) << (CHAR_BIT*3)) |
102 (((ulong)k[6]) << (CHAR_BIT*2)) |
103 (((ulong)k[7]) << (CHAR_BIT*1)) |
104 (((ulong)k[8]) << (CHAR_BIT*0)) ;
H A Drs-verify.c30 ulong o; /* obj's ordinal */
31 ulong n; /* number of objects */
43 reg ulong oh, ph;
/ast/src/lib/libvdelta/vd01/
H A Dvdio01.c90 static ulong _vdgetu(reg Vdio_t* io, reg ulong v)
92 static ulong _vdgetu(io,v)
94 reg ulong v;
100 return (ulong)(-1L);
108 static int _vdputu(reg Vdio_t* io, ulong v)
112 reg ulong v;
117 uchar c[sizeof(ulong)+1];
H A Dvdelhdr01.h52 #define ulong unsigned long macro
227 ulong(* vdgetu)_ARG_((Vdio_t*, ulong));
228 int(* vdputu)_ARG_((Vdio_t*, ulong));
H A Dvddelta01.c124 (*_Vdputu)((Vdio_t*)tab, (ulong)A_PUT(n_add)) < 0 )
135 (*_Vdputu)((Vdio_t*)tab, (ulong)C_PUT(n_copy)) < 0 )
143 { if((*_Vdputu)((Vdio_t*)tab, (ulong)best) < 0 )
165 reg ulong key, n;
418 (*_Vdputu)(&tab.io,(ulong)n_tar) <= 0 ||
419 (*_Vdputu)(&tab.io,(ulong)n_src) <= 0 ||
420 (*_Vdputu)(&tab.io,(ulong)window) <= 0 )
/ast/src/lib/libvdelta/
H A Dvdio.c93 static ulong _vdgetu(reg Vdio_t* io, reg ulong v)
95 static ulong _vdgetu(io,v)
97 reg ulong v;
103 return (ulong)(-1L);
111 static int _vdputu(reg Vdio_t* io, ulong v)
115 reg ulong v;
120 uchar c[sizeof(ulong)+1];
H A Dvdelhdr.h53 #define ulong unsigned long macro
231 { reg uchar *s, *endb; reg ulong v = (u); \
249 ulong(* vdgetu)_ARG_((Vdio_t*, ulong));
250 int(* vdputu)_ARG_((Vdio_t*, ulong));
H A Dvdsqueeze.c118 STRPUTU(tab, (ulong)A_PUT(n_add), buf);
127 STRPUTU(tab, (ulong)C_PUT(n_copy), buf);
131 else STRPUTU(tab, (ulong)best, buf);
146 reg ulong key, n;
H A Dvddelta.c120 (*_Vdputu)((Vdio_t*)tab, (ulong)A_PUT(n_add)) < 0 )
131 (*_Vdputu)((Vdio_t*)tab, (ulong)C_PUT(n_copy)) < 0 )
139 { if((*_Vdputu)((Vdio_t*)tab, (ulong)best) < 0 )
159 reg ulong key, n;
464 (*_Vdputu)(&tab.io,(ulong)n_tar) <= 0 ||
465 (*_Vdputu)(&tab.io,(ulong)n_src) <= 0 ||
466 (*_Vdputu)(&tab.io,(ulong)window) <= 0 )
/ast/src/lib/libdll/
H A Ddlfcn.c196 ulong datareloc;
197 ulong textreloc;
205 datareloc = (ulong)data - hdr->s[hdr->a.o_sndata-1].s_vaddr;
207 textreloc = (ulong)hdr + hdr->s[hdr->a.o_sntext-1].s_scnptr
228 symname = (void*)(ldsym->l_offset + (ulong)ldhdr + ldhdr->l_stoff);
/ast/src/lib/libast/sfio/
H A Dsftmp.c241 static ulong Key, A;
244 A = (ulong)time(NIL(time_t*)) ^ (((ulong)(&t)) >> 3);
H A Dsfhdr.h454 #define SFPOLL(pfd,n,tm) poll((pfd),(ulong)(n),(tm))
456 #define SFPOLL(pfd,n,tm) poll((ulong)(n),(pfd),(tm))
550 #ifndef ulong
551 #define ulong unsigned long macro
722 ulong ul;
831 /* get the real value of a byte in a coded long or ulong */
832 #define SFUVALUE(v) (((ulong)(v))&(SF_MORE-1))
834 #define SFBVALUE(v) (((ulong)(v))&(SF_BYTE-1))
1016 #define SF_MAXLONG ((long)(((ulong)~0L) >> 1))
1298 extern int poll _ARG_((struct pollfd*, ulong, in
[all...]
H A Dsfwr.c57 while(((ulong)sp)%sizeof(int))
H A Dsfvscanf.c933 *((Void_t**)value) = (Void_t*)((ulong)argv.lu);
944 else *((ulong*)value) = (ulong)argv.lu;

Completed in 153 milliseconds