HelenOS sources
can_cast_size_t_to_int 298 uspace/app/hbench/main.c assert(can_cast_size_t_to_int(len) && "benchmark name length overflow");
can_cast_size_t_to_int 149 uspace/app/tester/tester.c assert(can_cast_size_t_to_int(len) && "test name length overflow");
can_cast_size_t_to_int 43 uspace/lib/c/test/casting.c PCUT_ASSERT_TRUE(can_cast_size_t_to_int(0));
can_cast_size_t_to_int 44 uspace/lib/c/test/casting.c PCUT_ASSERT_TRUE(can_cast_size_t_to_int(128));
can_cast_size_t_to_int 49 uspace/lib/c/test/casting.c PCUT_ASSERT_TRUE(can_cast_size_t_to_int(INT_MAX));
can_cast_size_t_to_int 54 uspace/lib/c/test/casting.c PCUT_ASSERT_FALSE(can_cast_size_t_to_int(SIZE_MAX));
HelenOS homepage, sources at GitHub