OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:__type_max
(Results
1 - 25
of
52
) sorted by relevancy
1
2
3
/src/usr.bin/vndcompress/
common.h
57
#define
__type_max
(t) (__type_is_signed(t) ? __type_max_s(t) : __type_max_u(t))
macro
77
#define OFF_MAX
__type_max
(off_t)
88
#define ADD_OK(T, A, B) ((A) <=
__type_max
(T) - (B))
90
#define MUL_OK(T, A, B) ((A) <=
__type_max
(T)/(B))
common.h
57
#define
__type_max
(t) (__type_is_signed(t) ? __type_max_s(t) : __type_max_u(t))
macro
77
#define OFF_MAX
__type_max
(off_t)
88
#define ADD_OK(T, A, B) ((A) <=
__type_max
(T) - (B))
90
#define MUL_OK(T, A, B) ((A) <=
__type_max
(T)/(B))
/src/sys/uvm/
uvm_device.c
143
if (size >
__type_max
(voff_t))
146
if (off >
__type_max
(voff_t) - size)
162
KASSERT(off <=
__type_max
(voff_t) - PAGE_SIZE ||
164
if (__predict_false(off >
__type_max
(voff_t) - PAGE_SIZE)) {
172
off -=
__type_max
(voff_t);
174
off -=
__type_max
(voff_t);
uvm_device.c
143
if (size >
__type_max
(voff_t))
146
if (off >
__type_max
(voff_t) - size)
162
KASSERT(off <=
__type_max
(voff_t) - PAGE_SIZE ||
164
if (__predict_false(off >
__type_max
(voff_t) - PAGE_SIZE)) {
172
off -=
__type_max
(voff_t);
174
off -=
__type_max
(voff_t);
/src/sys/kern/
subr_time_arith.c
180
if (__predict_false(tv.tv_sec ==
__type_max
(time_t)))
231
enum { TIME_MIN = __type_min(time_t), TIME_MAX =
__type_max
(time_t) };
245
__CTASSERT(1000000000L <=
__type_max
(long) - 1000000000L);
344
enum { TIME_MIN = __type_min(time_t), TIME_MAX =
__type_max
(time_t) };
357
__CTASSERT(1000000000L <=
__type_max
(long) - 1000000000L);
subr_time_arith.c
180
if (__predict_false(tv.tv_sec ==
__type_max
(time_t)))
231
enum { TIME_MIN = __type_min(time_t), TIME_MAX =
__type_max
(time_t) };
245
__CTASSERT(1000000000L <=
__type_max
(long) - 1000000000L);
344
enum { TIME_MIN = __type_min(time_t), TIME_MAX =
__type_max
(time_t) };
357
__CTASSERT(1000000000L <=
__type_max
(long) - 1000000000L);
vfs_lockf.c
820
if (fl->l_start >
__type_max
(off_t) - size)
834
fl->l_len - 1 >
__type_max
(off_t) - start)
vfs_lockf.c
820
if (fl->l_start >
__type_max
(off_t) - size)
834
fl->l_len - 1 >
__type_max
(off_t) - start)
vfs_vnops.c
961
if (vp->v_type != VCHR && size >
__type_max
(off_t)) {
965
if (vp->v_type != VCHR && off >
__type_max
(off_t) - size) {
1154
const off_t OFF_MAX =
__type_max
(off_t);
1255
const off_t OFF_MAX =
__type_max
(off_t);
vfs_vnops.c
961
if (vp->v_type != VCHR && size >
__type_max
(off_t)) {
965
if (vp->v_type != VCHR && off >
__type_max
(off_t) - size) {
1154
const off_t OFF_MAX =
__type_max
(off_t);
1255
const off_t OFF_MAX =
__type_max
(off_t);
/src/tests/include/sys/
t_cdefs.c
76
ATF_REQUIRE(
__type_max
(a) == s[b].max)
95
ATF_REQUIRE(
__type_max
(a) == u[b].max)
t_cdefs.c
76
ATF_REQUIRE(
__type_max
(a) == s[b].max)
95
ATF_REQUIRE(
__type_max
(a) == u[b].max)
/src/sys/dev/
clock_subr.c
136
if ((time_t)secs < 0 || secs >
__type_max
(time_t))
clock_subr.c
136
if ((time_t)secs < 0 || secs >
__type_max
(time_t))
/src/tests/lib/libc/sys/
t_getitimer.c
45
#define TIME_MAX
__type_max
(time_t)
t_getitimer.c
45
#define TIME_MAX
__type_max
(time_t)
t_timer_create.c
39
#define TIME_MAX
__type_max
(time_t)
/src/tests/lib/libc/time/
t_strptime.c
506
__CTASSERT(
__type_max
(time_t) <
__type_max
(uint64_t));
t_strptime.c
506
__CTASSERT(
__type_max
(time_t) <
__type_max
(uint64_t));
/src/sys/external/bsd/drm2/drm/
drm_memory.c
334
dev->dmat_subregion_max =
__type_max
(bus_addr_t);
drm_memory.c
334
dev->dmat_subregion_max =
__type_max
(bus_addr_t);
/src/sys/external/bsd/drm2/pci/
drm_pci.c
86
dev->dmat_subregion_max =
__type_max
(bus_addr_t);
drm_pci.c
86
dev->dmat_subregion_max =
__type_max
(bus_addr_t);
/src/sys/external/bsd/drm2/linux/
linux_dma_buf.c
304
const off_t OFF_MAX =
__type_max
(off_t);
linux_dma_buf.c
304
const off_t OFF_MAX =
__type_max
(off_t);
Completed in 60 milliseconds
1
2
3
Indexes created Mon Mar 02 05:31:46 UTC 2026