Lines Matching refs:LZO_STATIC_CAST
1156 # define lzo_alloca(x) LZO_STATIC_CAST(void *, alloca((x)))
1432 … const void* klass::lzo_cxx_trigger_function() const { return LZO_STATIC_CAST(const void *, 0); }
1444 LZOCHK_ASSERT( LZO_STATIC_CAST(type, -1) relop LZO_STATIC_CAST(type, 0)) \
1445 … LZOCHK_ASSERT( LZO_STATIC_CAST(type, ~LZO_STATIC_CAST(type, 0)) relop LZO_STATIC_CAST(type, 0)) \
1446 … LZOCHK_ASSERT( LZO_STATIC_CAST(type, ~LZO_STATIC_CAST(type, 0)) == LZO_STATIC_CAST(type, -1))
1454 LZOCHK_ASSERT( LZO_STATIC_CAST(type, -1) > LZO_STATIC_CAST(type, 0) )
1595 LZOCHK_ASSERT(sizeof(char) == sizeof(LZO_STATIC_CAST(char, 0)))
1627 LZOCHK_ASSERT(sizeof(short) == sizeof(LZO_STATIC_CAST(short, 0)))
1640 LZOCHK_ASSERT(sizeof(int) == sizeof(LZO_STATIC_CAST(int, 0)))
1653 LZOCHK_ASSERT(sizeof(long) == sizeof(LZO_STATIC_CAST(long, 0)))
1668 … LZOCHK_ASSERT(sizeof(ptrdiff_t) == sizeof(LZO_STATIC_CAST(char*, 0) - LZO_STATIC_CAST(char*, 0)))
1670 LZOCHK_ASSERT(4 == sizeof(LZO_STATIC_CAST(char __huge*, 0) - LZO_STATIC_CAST(char __huge*, 0)))
1712 … LZOCHK_ASSERT((LZO_STATIC_CAST(lzo_uint16e_t, (~LZO_STATIC_CAST(lzo_uint16e_t,0ul))) >> 15) == 1)
1714 LZOCHK_ASSERT( LZO_STATIC_CAST(lzo_int16e_t, (1 + ~LZO_STATIC_CAST(lzo_int16e_t, 0))) == 0)
1716 LZOCHK_ASSERT( LZO_STATIC_CAST(lzo_uint16e_t, (1 + ~LZO_STATIC_CAST(lzo_uint16e_t, 0))) == 0)
1725 LZOCHK_ASSERT(((( LZO_STATIC_CAST(lzo_int32e_t, 1) << 30) + 1) >> 30) == 1)
1727 LZOCHK_ASSERT(((( LZO_STATIC_CAST(lzo_uint32e_t, 1) << 31) + 1) >> 31) == 1)
1728 … LZOCHK_ASSERT((LZO_STATIC_CAST(lzo_uint32e_t, (~LZO_STATIC_CAST(lzo_uint32e_t, 0ul))) >> 31) == 1)
1729 LZOCHK_ASSERT( LZO_STATIC_CAST(lzo_int32e_t, (1 + ~LZO_STATIC_CAST(lzo_int32e_t, 0))) == 0)
1731 LZOCHK_ASSERT( LZO_STATIC_CAST(lzo_uint32e_t, (1 + ~LZO_STATIC_CAST(lzo_uint32e_t, 0))) == 0)
1742 LZOCHK_ASSERT(((( LZO_STATIC_CAST(lzo_int32l_t, 1) << 30) + 1) >> 30) == 1)
1744 LZOCHK_ASSERT(((( LZO_STATIC_CAST(lzo_uint32l_t, 1) << 31) + 1) >> 31) == 1)
1757 LZOCHK_ASSERT(((( LZO_STATIC_CAST(lzo_int32f_t, 1) << 30) + 1) >> 30) == 1)
1759 LZOCHK_ASSERT(((( LZO_STATIC_CAST(lzo_uint32f_t, 1) << 31) + 1) >> 31) == 1)
1780 LZOCHK_ASSERT(((( LZO_STATIC_CAST(lzo_int64l_t, 1) << 62) + 1) >> 62) == 1)
1787 LZOCHK_ASSERT(((( LZO_STATIC_CAST(lzo_uint64l_t, 1) << 63) + 1) >> 63) == 1)
1944 …LZOCHK_ASSERT( LZO_STATIC_CAST(int, LZO_STATIC_CAST(unsigned char, LZO_STATIC_CAST(signed char, -1…
1950 …LZOCHK_ASSERT( ((LZO_STATIC_CAST(unsigned char, 128)) << LZO_STATIC_CAST(int, (8*sizeof(int)-8))) …
1976 void* volatile __attribute__((__used__)) lzo_vget_ptr__ = LZO_STATIC_CAST(void *, 0);
1978 void* volatile lzo_vget_ptr__ = LZO_STATIC_CAST(void *, 0);
1984 unsigned char e; expr &= 255; e = LZO_STATIC_CAST(unsigned char, expr); \
1985 * LZO_STATIC_CAST(TT *, lzo_vget_ptr__) = v; \
1986 * LZO_STATIC_CAST(unsigned char *, lzo_vget_ptr__) = e; \
1987 v = * LZO_STATIC_CAST(TT *, lzo_vget_ptr__); \
2045 const lzo_hbyte_p p1 = LZO_STATIC_CAST(const lzo_hbyte_p, s1); in LZOLIB_PUBLIC()
2046 const lzo_hbyte_p p2 = LZO_STATIC_CAST(const lzo_hbyte_p, s2); in LZOLIB_PUBLIC()
2062 lzo_hbyte_p p1 = LZO_STATIC_CAST(lzo_hbyte_p, dest); in LZOLIB_PUBLIC()
2063 const lzo_hbyte_p p2 = LZO_STATIC_CAST(const lzo_hbyte_p, src); in LZOLIB_PUBLIC()
2077 lzo_hbyte_p p1 = LZO_STATIC_CAST(lzo_hbyte_p, dest); in LZOLIB_PUBLIC()
2078 const lzo_hbyte_p p2 = LZO_STATIC_CAST(const lzo_hbyte_p, src); in LZOLIB_PUBLIC()
2103 lzo_hbyte_p p = LZO_STATIC_CAST(lzo_hbyte_p, s); in LZOLIB_PUBLIC()
2142 return LZO_STATIC_CAST(lzo_uint32l_t, a); in LZOLIB_PUBLIC()
2150 return LZO_STATIC_CAST(lzo_uint32l_t, a); in LZOLIB_PUBLIC()
2166 return LZO_STATIC_CAST(lzo_uint32l_t, a); in LZOLIB_PUBLIC()
2176 return LZO_STATIC_CAST(lzo_uint32l_t, a); in LZOLIB_PUBLIC()
2200 j = i - 623; if (LZO_STATIC_CAST(int, j) < 0) j += 624; in LZOLIB_PUBLIC()
2202 j = i - 227; if (LZO_STATIC_CAST(int, j) < 0) j += 624; in LZOLIB_PUBLIC()
2228 return LZO_STATIC_CAST(lzo_uint32l_t, v);
2238 j = i - 311; if (LZO_STATIC_CAST(int, j) < 0) j += 312; in LZOLIB_PUBLIC()
2240 j = i - 156; if (LZO_STATIC_CAST(int, j) < 0) j += 312; in LZOLIB_PUBLIC()
2620 lzo_hvoid_p p = LZO_STATIC_CAST(lzo_hvoid_p, 0); in LZOLIB_PUBLIC()
2626 if (size < LZO_STATIC_CAST(size_t, -1)) in LZOLIB_PUBLIC()
2627 p = malloc(LZO_STATIC_CAST(size_t, size)); in LZOLIB_PUBLIC()
2629 if (LZO_STATIC_CAST(long, size) <= 0) in LZOLIB_PUBLIC()
2658 if (size < LZO_STATIC_CAST(size_t, -1)) in LZOLIB_PUBLIC()
2709 FILE* fp = LZO_STATIC_CAST(FILE *, vfp); in LZOLIB_PUBLIC()
2749 FILE* fp = LZO_STATIC_CAST(FILE *, vfp); in LZOLIB_PUBLIC()
2901 c->tv_nsec = LZO_STATIC_CAST(lzo_uint32l_t, ts.tv_nsec);
2920 c->tv_nsec = LZO_STATIC_CAST(lzo_uint32l_t, (tv.tv_usec * 1000u)); in lzo_pclock_read_gettimeofday()
2935 secs = LZO_STATIC_CAST(double, ticks) / (CLOCKS_PER_SEC); in lzo_pclock_read_clock()
2936 nsecs = LZO_STATIC_CAST(lzo_uint64l_t, (secs * 1000000000.0)); in lzo_pclock_read_clock()
2937 c->tv_sec = LZO_STATIC_CAST(lzo_int64l_t, (nsecs / 1000000000ul)); in lzo_pclock_read_clock()
2939 c->tv_nsec = LZO_STATIC_CAST(lzo_uint32l_t, nsecs); in lzo_pclock_read_clock()
2942 secs = LZO_STATIC_CAST(double, ticks) / (CLOCKS_PER_SEC); in lzo_pclock_read_clock()
2944 c->tv_sec_low = LZO_STATIC_CAST(lzo_uint32l_t, (secs + 0.5)); in lzo_pclock_read_clock()
2960 c->tv_nsec = LZO_STATIC_CAST(lzo_uint32l_t, ts.tv_nsec); in lzo_pclock_read_clock_gettime_m_syscall()
2974 secs = LZO_STATIC_CAST(double, ticks) / (UCLOCKS_PER_SEC); in lzo_pclock_read_uclock()
2975 nsecs = LZO_STATIC_CAST(lzo_uint64l_t, (secs * 1000000000.0)); in lzo_pclock_read_uclock()
2977 c->tv_nsec = LZO_STATIC_CAST(lzo_uint32l_t, (nsecs % 1000000000ul)); in lzo_pclock_read_uclock()
2991 c->tv_nsec = LZO_STATIC_CAST(lzo_uint32l_t, ts.tv_nsec); in lzo_pclock_read_clock_gettime_p_libc()
3005 c->tv_nsec = LZO_STATIC_CAST(lzo_uint32l_t, ts.tv_nsec); in lzo_pclock_read_clock_gettime_p_syscall()
3019 ticks = (LZO_STATIC_CAST(lzo_uint64l_t, ut.dwHighDateTime) << 32) | ut.dwLowDateTime; in lzo_pclock_read_getprocesstimes()
3024 c->tv_sec = LZO_STATIC_CAST(lzo_int64l_t, (ticks / 10000000ul)); in lzo_pclock_read_getprocesstimes()
3026 c->tv_nsec = LZO_STATIC_CAST(lzo_uint32l_t, ticks); in lzo_pclock_read_getprocesstimes()
3045 c->tv_nsec = LZO_STATIC_CAST(lzo_uint32l_t, (ru.ru_utime.tv_usec * 1000u)); in lzo_pclock_read_getrusage()
3073 c->tv_nsec = LZO_STATIC_CAST(lzo_uint32l_t, ts.tv_nsec); in lzo_pclock_read_clock_gettime_t_syscall()
3087 ticks = (LZO_STATIC_CAST(lzo_uint64l_t, ut.dwHighDateTime) << 32) | ut.dwLowDateTime; in lzo_pclock_read_getthreadtimes()
3092 c->tv_sec = LZO_STATIC_CAST(lzo_int64l_t, (ticks / 10000000ul)); in lzo_pclock_read_getthreadtimes()
3094 c->tv_nsec = LZO_STATIC_CAST(lzo_uint32l_t, ticks); in lzo_pclock_read_getthreadtimes()
3102 h->h = LZO_STATIC_CAST(lzolib_handle_t, 0); in LZOLIB_PUBLIC()
3106 h->gettime = LZO_STATIC_CAST(lzo_pclock_gettime_t, 0); in LZOLIB_PUBLIC()
3207 h->h = LZO_STATIC_CAST(lzolib_handle_t, 1); in LZOLIB_PUBLIC()
3231 h->h = LZO_STATIC_CAST(lzolib_handle_t, 0); in LZOLIB_PUBLIC()
3234 h->gettime = LZO_STATIC_CAST(lzo_pclock_gettime_t, 0); in LZOLIB_PUBLIC()
3259 tstop = LZO_STATIC_CAST(float, (stop->tv_sec + stop->tv_nsec / 1000000000.0)); in LZOLIB_PUBLIC()
3260 tstart = LZO_STATIC_CAST(float, (start->tv_sec + start->tv_nsec / 1000000000.0)); in LZOLIB_PUBLIC()
3319 LZO_UNUSED(s); return LZO_STATIC_CAST(const char *, 0); in LZOLIB_PUBLIC()
3424 ri.w.ax = 0x4400; ri.w.bx = LZO_STATIC_CAST(unsigned short, fd); in LZOLIB_PUBLIC()
3467 return mkdir(name, LZO_STATIC_CAST(mode_t, mode)); in LZOLIB_PUBLIC()
3536 * LZO_STATIC_CAST(volatile unsigned long *, LZO_REINTERPRET_CAST(volatile void *, a)) = ~0ul; in LZOLIB_PUBLIC_NOINLINE()