/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/thread/pthread/ |
H A D | SDL_syssem.c | 112 struct timespec ts_timeout; in SDL_SemWaitTimeout() local 135 clock_gettime(CLOCK_REALTIME, &ts_timeout); in SDL_SemWaitTimeout() 138 ts_timeout.tv_nsec += (timeout % 1000) * 1000000; in SDL_SemWaitTimeout() 139 ts_timeout.tv_sec += timeout / 1000; in SDL_SemWaitTimeout() 144 ts_timeout.tv_sec = now.tv_sec + (timeout / 1000); in SDL_SemWaitTimeout() 145 ts_timeout.tv_nsec = (now.tv_usec + (timeout % 1000) * 1000) * 1000; in SDL_SemWaitTimeout() 149 if (ts_timeout.tv_nsec > 1000000000) { in SDL_SemWaitTimeout() 150 ts_timeout.tv_sec += 1; in SDL_SemWaitTimeout() 151 ts_timeout.tv_nsec -= 1000000000; in SDL_SemWaitTimeout() 156 retval = sem_timedwait(&sem->sem, &ts_timeout); in SDL_SemWaitTimeout()
|
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/src/thread/pthread/ |
H A D | SDL_syssem.c | 112 struct timespec ts_timeout; in SDL_SemWaitTimeout() local 135 clock_gettime(CLOCK_REALTIME, &ts_timeout); in SDL_SemWaitTimeout() 138 ts_timeout.tv_nsec += (timeout % 1000) * 1000000; in SDL_SemWaitTimeout() 139 ts_timeout.tv_sec += timeout / 1000; in SDL_SemWaitTimeout() 144 ts_timeout.tv_sec = now.tv_sec + (timeout / 1000); in SDL_SemWaitTimeout() 145 ts_timeout.tv_nsec = (now.tv_usec + (timeout % 1000) * 1000) * 1000; in SDL_SemWaitTimeout() 149 if (ts_timeout.tv_nsec > 1000000000) { in SDL_SemWaitTimeout() 150 ts_timeout.tv_sec += 1; in SDL_SemWaitTimeout() 151 ts_timeout.tv_nsec -= 1000000000; in SDL_SemWaitTimeout() 156 retval = sem_timedwait(&sem->sem, &ts_timeout); in SDL_SemWaitTimeout()
|
/dports/graphics/milton/milton-1.9.1/third_party/SDL2-2.0.8/src/thread/pthread/ |
H A D | SDL_syssem.c | 112 struct timespec ts_timeout; in SDL_SemWaitTimeout() local 135 clock_gettime(CLOCK_REALTIME, &ts_timeout); in SDL_SemWaitTimeout() 138 ts_timeout.tv_nsec += (timeout % 1000) * 1000000; in SDL_SemWaitTimeout() 139 ts_timeout.tv_sec += timeout / 1000; in SDL_SemWaitTimeout() 144 ts_timeout.tv_sec = now.tv_sec + (timeout / 1000); in SDL_SemWaitTimeout() 145 ts_timeout.tv_nsec = (now.tv_usec + (timeout % 1000) * 1000) * 1000; in SDL_SemWaitTimeout() 149 if (ts_timeout.tv_nsec > 1000000000) { in SDL_SemWaitTimeout() 150 ts_timeout.tv_sec += 1; in SDL_SemWaitTimeout() 151 ts_timeout.tv_nsec -= 1000000000; in SDL_SemWaitTimeout() 156 retval = sem_timedwait(&sem->sem, &ts_timeout); in SDL_SemWaitTimeout()
|
/dports/x11/controllermap/SDL2-2.0.18/src/thread/pthread/ |
H A D | SDL_syssem.c | 112 struct timespec ts_timeout; in SDL_SemWaitTimeout() local 135 clock_gettime(CLOCK_REALTIME, &ts_timeout); in SDL_SemWaitTimeout() 138 ts_timeout.tv_nsec += (timeout % 1000) * 1000000; in SDL_SemWaitTimeout() 139 ts_timeout.tv_sec += timeout / 1000; in SDL_SemWaitTimeout() 144 ts_timeout.tv_sec = now.tv_sec + (timeout / 1000); in SDL_SemWaitTimeout() 145 ts_timeout.tv_nsec = (now.tv_usec + (timeout % 1000) * 1000) * 1000; in SDL_SemWaitTimeout() 149 if (ts_timeout.tv_nsec > 1000000000) { in SDL_SemWaitTimeout() 150 ts_timeout.tv_sec += 1; in SDL_SemWaitTimeout() 151 ts_timeout.tv_nsec -= 1000000000; in SDL_SemWaitTimeout() 156 retval = sem_timedwait(&sem->sem, &ts_timeout); in SDL_SemWaitTimeout()
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/SDL/src/thread/pthread/ |
H A D | SDL_syssem.c | 112 struct timespec ts_timeout; in SDL_SemWaitTimeout() local 135 clock_gettime(CLOCK_REALTIME, &ts_timeout); in SDL_SemWaitTimeout() 138 ts_timeout.tv_nsec += (timeout % 1000) * 1000000; in SDL_SemWaitTimeout() 139 ts_timeout.tv_sec += timeout / 1000; in SDL_SemWaitTimeout() 144 ts_timeout.tv_sec = now.tv_sec + (timeout / 1000); in SDL_SemWaitTimeout() 145 ts_timeout.tv_nsec = (now.tv_usec + (timeout % 1000) * 1000) * 1000; in SDL_SemWaitTimeout() 149 if (ts_timeout.tv_nsec > 1000000000) { in SDL_SemWaitTimeout() 150 ts_timeout.tv_sec += 1; in SDL_SemWaitTimeout() 151 ts_timeout.tv_nsec -= 1000000000; in SDL_SemWaitTimeout() 156 retval = sem_timedwait(&sem->sem, &ts_timeout); in SDL_SemWaitTimeout()
|
/dports/devel/sdl20/SDL2-2.0.18/src/thread/pthread/ |
H A D | SDL_syssem.c | 112 struct timespec ts_timeout; in SDL_SemWaitTimeout() local 135 clock_gettime(CLOCK_REALTIME, &ts_timeout); in SDL_SemWaitTimeout() 138 ts_timeout.tv_nsec += (timeout % 1000) * 1000000; in SDL_SemWaitTimeout() 139 ts_timeout.tv_sec += timeout / 1000; in SDL_SemWaitTimeout() 144 ts_timeout.tv_sec = now.tv_sec + (timeout / 1000); in SDL_SemWaitTimeout() 145 ts_timeout.tv_nsec = (now.tv_usec + (timeout % 1000) * 1000) * 1000; in SDL_SemWaitTimeout() 149 if (ts_timeout.tv_nsec > 1000000000) { in SDL_SemWaitTimeout() 150 ts_timeout.tv_sec += 1; in SDL_SemWaitTimeout() 151 ts_timeout.tv_nsec -= 1000000000; in SDL_SemWaitTimeout() 156 retval = sem_timedwait(&sem->sem, &ts_timeout); in SDL_SemWaitTimeout()
|
/dports/devel/boost-docs/boost_1_72_0/libs/test/test/framework-ts/ |
H A D | log-formatter-test.cpp | 193 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 194 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 196 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 224 check( test_output, ts_timeout ); in BOOST_AUTO_TEST_CASE() 260 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 261 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 263 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 265 check( test_output, OF_JUNIT, ts_timeout->p_id, log_successful_tests ); in BOOST_AUTO_TEST_CASE()
|
H A D | result-report-test.cpp | 177 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 178 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 180 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 207 check( test_output, ts_timeout ); in BOOST_AUTO_TEST_CASE() 349 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 350 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 352 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 379 check2( test_output, ts_timeout ); in BOOST_AUTO_TEST_CASE()
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/test/test/framework-ts/ |
H A D | log-formatter-test.cpp | 193 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 194 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 196 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 224 check( test_output, ts_timeout ); in BOOST_AUTO_TEST_CASE() 260 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 261 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 263 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 265 check( test_output, OF_JUNIT, ts_timeout->p_id, log_successful_tests ); in BOOST_AUTO_TEST_CASE()
|
H A D | result-report-test.cpp | 177 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 178 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 180 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 207 check( test_output, ts_timeout ); in BOOST_AUTO_TEST_CASE() 349 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 350 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 352 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 379 check2( test_output, ts_timeout ); in BOOST_AUTO_TEST_CASE()
|
/dports/devel/boost-libs/boost_1_72_0/libs/test/test/framework-ts/ |
H A D | log-formatter-test.cpp | 193 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 194 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 196 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 224 check( test_output, ts_timeout ); in BOOST_AUTO_TEST_CASE() 260 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 261 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 263 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 265 check( test_output, OF_JUNIT, ts_timeout->p_id, log_successful_tests ); in BOOST_AUTO_TEST_CASE()
|
H A D | result-report-test.cpp | 177 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 178 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 180 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 207 check( test_output, ts_timeout ); in BOOST_AUTO_TEST_CASE() 349 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 350 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 352 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 379 check2( test_output, ts_timeout ); in BOOST_AUTO_TEST_CASE()
|
/dports/devel/libqb/libqb-2.0.3/lib/ |
H A D | ringbuffer_helper.c | 28 struct timespec ts_timeout; in my_posix_sem_timedwait() local 32 qb_util_timespec_from_epoch_get(&ts_timeout); in my_posix_sem_timedwait() 33 qb_timespec_add_ms(&ts_timeout, ms_timeout); in my_posix_sem_timedwait() 38 res = rpl_sem_timedwait(&rb->shared_hdr->posix_sem, &ts_timeout); in my_posix_sem_timedwait() 124 struct timespec ts_timeout; in my_sysv_sem_timedwait() local 132 ts_timeout.tv_sec = 0; in my_sysv_sem_timedwait() 133 ts_timeout.tv_nsec = 0; in my_sysv_sem_timedwait() 134 qb_timespec_add_ms(&ts_timeout, ms_timeout); in my_sysv_sem_timedwait() 135 ts_pt = &ts_timeout; in my_sysv_sem_timedwait()
|
H A D | rpl_sem.c | 123 struct timespec ts_timeout; in rpl_sem_wait() local 127 qb_util_timespec_from_epoch_get(&ts_timeout); in rpl_sem_wait() 128 qb_timespec_add_ms(&ts_timeout, 1000); in rpl_sem_wait() 129 rc = _rpl_sem_timedwait(sem, &ts_timeout); in rpl_sem_wait()
|
/dports/devel/sdl12/SDL-1.2.15/src/thread/pthread/ |
H A D | SDL_syssem.c | 103 struct timespec ts_timeout; in SDL_SemWaitTimeout() local 139 ts_timeout.tv_sec = now.tv_sec; in SDL_SemWaitTimeout() 140 ts_timeout.tv_nsec = now.tv_usec * 1000; in SDL_SemWaitTimeout() 144 retval = sem_timedwait(&sem->sem, &ts_timeout); in SDL_SemWaitTimeout()
|
/dports/devel/hyperscan/boost_1_75_0/libs/test/test/framework-ts/ |
H A D | log-formatter-test.cpp | 248 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 249 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 251 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 279 check( test_output, ts_timeout ); in BOOST_AUTO_TEST_CASE() 319 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 320 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 322 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 324 check( test_output, OF_JUNIT, ts_timeout->p_id, log_successful_tests ); in BOOST_AUTO_TEST_CASE()
|
H A D | result-report-test.cpp | 177 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 178 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 180 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 207 check( test_output, ts_timeout ); in BOOST_AUTO_TEST_CASE() 349 test_suite* ts_timeout = BOOST_TEST_SUITE( "Timeout" ); in BOOST_AUTO_TEST_CASE() local 350 ts_timeout->add( BOOST_TEST_CASE( good_foo ) ); in BOOST_AUTO_TEST_CASE() 352 ts_timeout->add( tc_timeout ); in BOOST_AUTO_TEST_CASE() 379 check2( test_output, ts_timeout ); in BOOST_AUTO_TEST_CASE()
|
/dports/net-mgmt/zabbix3-proxy/zabbix-3.0.32/src/libs/zbxsysinfo/solaris/ |
H A D | proc.c | 819 zbx_timespec_t ts_timeout, ts; in PROC_CPU_UTIL() local 913 zbx_timespec(&ts_timeout); in PROC_CPU_UTIL() 914 ts_timeout.sec += CONFIG_TIMEOUT; in PROC_CPU_UTIL() 929 if (0 > zbx_timespec_compare(&ts_timeout, &ts)) in PROC_CPU_UTIL()
|
/dports/net-mgmt/zabbix3-java/zabbix-3.0.32/src/libs/zbxsysinfo/solaris/ |
H A D | proc.c | 819 zbx_timespec_t ts_timeout, ts; in PROC_CPU_UTIL() local 913 zbx_timespec(&ts_timeout); in PROC_CPU_UTIL() 914 ts_timeout.sec += CONFIG_TIMEOUT; in PROC_CPU_UTIL() 929 if (0 > zbx_timespec_compare(&ts_timeout, &ts)) in PROC_CPU_UTIL()
|
/dports/net-mgmt/zabbix3-server/zabbix-3.0.32/src/libs/zbxsysinfo/solaris/ |
H A D | proc.c | 819 zbx_timespec_t ts_timeout, ts; in PROC_CPU_UTIL() local 913 zbx_timespec(&ts_timeout); in PROC_CPU_UTIL() 914 ts_timeout.sec += CONFIG_TIMEOUT; in PROC_CPU_UTIL() 929 if (0 > zbx_timespec_compare(&ts_timeout, &ts)) in PROC_CPU_UTIL()
|
/dports/net-mgmt/zabbix3-agent/zabbix-3.0.32/src/libs/zbxsysinfo/solaris/ |
H A D | proc.c | 819 zbx_timespec_t ts_timeout, ts; in PROC_CPU_UTIL() local 913 zbx_timespec(&ts_timeout); in PROC_CPU_UTIL() 914 ts_timeout.sec += CONFIG_TIMEOUT; in PROC_CPU_UTIL() 929 if (0 > zbx_timespec_compare(&ts_timeout, &ts)) in PROC_CPU_UTIL()
|
/dports/net-mgmt/zabbix3-frontend/zabbix-3.0.32/src/libs/zbxsysinfo/solaris/ |
H A D | proc.c | 819 zbx_timespec_t ts_timeout, ts; in PROC_CPU_UTIL() local 913 zbx_timespec(&ts_timeout); in PROC_CPU_UTIL() 914 ts_timeout.sec += CONFIG_TIMEOUT; in PROC_CPU_UTIL() 929 if (0 > zbx_timespec_compare(&ts_timeout, &ts)) in PROC_CPU_UTIL()
|
/dports/net-mgmt/zabbix5-java/zabbix-5.0.19/src/libs/zbxsysinfo/solaris/ |
H A D | proc.c | 928 zbx_timespec_t ts_timeout, ts; in PROC_CPU_UTIL() local 1022 zbx_timespec(&ts_timeout); in PROC_CPU_UTIL() 1023 ts_timeout.sec += CONFIG_TIMEOUT; in PROC_CPU_UTIL() 1038 if (0 > zbx_timespec_compare(&ts_timeout, &ts)) in PROC_CPU_UTIL()
|
/dports/net-mgmt/zabbix5-frontend/zabbix-5.0.19/src/libs/zbxsysinfo/solaris/ |
H A D | proc.c | 928 zbx_timespec_t ts_timeout, ts; in PROC_CPU_UTIL() local 1022 zbx_timespec(&ts_timeout); in PROC_CPU_UTIL() 1023 ts_timeout.sec += CONFIG_TIMEOUT; in PROC_CPU_UTIL() 1038 if (0 > zbx_timespec_compare(&ts_timeout, &ts)) in PROC_CPU_UTIL()
|
/dports/net-mgmt/zabbix5-proxy/zabbix-5.0.19/src/libs/zbxsysinfo/solaris/ |
H A D | proc.c | 928 zbx_timespec_t ts_timeout, ts; in PROC_CPU_UTIL() local 1022 zbx_timespec(&ts_timeout); in PROC_CPU_UTIL() 1023 ts_timeout.sec += CONFIG_TIMEOUT; in PROC_CPU_UTIL() 1038 if (0 > zbx_timespec_compare(&ts_timeout, &ts)) in PROC_CPU_UTIL()
|