Home
last modified time | relevance | path

Searched refs:tsf (Results 1 – 25 of 829) sorted by relevance

12345678910>>...34

/dports/multimedia/tvheadend/tvheadend-4.2.8/src/timeshift/
H A Dtimeshift_filemgr.c60 if (!tsf) { in timeshift_reaper_callback()
78 tsf->time, (int64_t)tsf->size); in timeshift_reaper_callback()
98 free(tsf); in timeshift_reaper_callback()
136 ts->id, ts->full, tsf, tsf->time, tsf->last, tsf->bad, tsf->refcount); in timeshift_filemgr_dump0()
178 if (tsf->ram) in timeshift_filemgr_close()
183 ram = realloc(tsf->ram, tsf->woff); in timeshift_filemgr_close()
187 tsf->ram_size = tsf->woff; in timeshift_filemgr_close()
192 tsf->wfd = -1; in timeshift_filemgr_close()
209 ts->id, tsf->time, (int64_t)tsf->size, (int64_t)tsf->ram_size); in timeshift_filemgr_remove()
220 if (tsf->ram) in timeshift_filemgr_remove()
[all …]
H A Dtimeshift_writer.c63 if (tsf->ram) { in _write()
65 if (tsf->ram_size < tsf->woff + count) { in _write()
70 ram = realloc(tsf->ram, tsf->ram_size + alloc); in _write()
77 tsf->ram = ram; in _write()
80 memcpy(tsf->ram + tsf->woff, buf, count); in _write()
81 tsf->woff += count; in _write()
87 tsf->woff += ret; in _write()
262 ti->pos = tsf->size; in _handle_sstart()
305 tsf->size += err; in _process_msg0()
307 if (tsf->ram) in _process_msg0()
[all …]
H A Dtimeshift_reader.c58 if (tsf) in _seek_set_file()
81 if (tsf && tsf->ram) { in _read_buf()
82 if (tsf->roff == tsf->woff) return 0; in _read_buf()
83 if (tsf->roff + size > tsf->woff) return -1; in _read_buf()
85 memcpy(buf, tsf->ram + tsf->roff, size); in _read_buf()
92 r = read(tsf ? tsf->rfd : fd, buf, size); in _read_buf()
268 tsf = timeshift_filemgr_next(tsf, &end, 0); in _timeshift_first_time()
295 tsf = timeshift_filemgr_prev(tsf, &end, 1); in _timeshift_skip()
421 if (tsf->rfd < 0 && !tsf->ram) { in _timeshift_read()
422 tsf->rfd = tvh_open(tsf->path, O_RDONLY, 0); in _timeshift_read()
[all …]
H A Dprivate.h183 if (tsf) in timeshift_file_get0()
184 tsf->refcount++; in timeshift_file_get0()
187 #define timeshift_file_get(tsf) ({ \ argument
188 timeshift_file_get0(tsf); \
191 tsf; \
196 if (tsf) { in timeshift_file_put0()
197 assert(tsf->refcount > 0); in timeshift_file_put0()
198 tsf->refcount--; in timeshift_file_put0()
202 #define timeshift_file_put(tsf) ({ \ argument
205 timeshift_file_put0(tsf); \
[all …]
/dports/astro/py-astropy/astropy-5.0/astropy/timeseries/tests/
H A Dtest_sampled.py154 tsf = ts.fold(period=3.2 * u.s)
155 assert isinstance(tsf.time, TimeDelta)
160 assert isinstance(tsf.time, TimeDelta)
165 assert isinstance(tsf.time, TimeDelta)
170 assert isinstance(tsf.time, TimeDelta)
175 assert isinstance(tsf.time, TimeDelta)
183 assert isinstance(tsf.time, Quantity)
191 assert isinstance(tsf.time, Quantity)
198 assert isinstance(tsf.time, Quantity)
205 assert isinstance(tsf.time, Quantity)
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/staging/vt6656/
H A Dcard.c298 do_div(tsf, beacon_int); in vnt_get_next_tbtt()
299 tsf += 1; in vnt_get_next_tbtt()
300 tsf *= beacon_int; in vnt_get_next_tbtt()
303 return tsf; in vnt_get_next_tbtt()
334 tsf = vnt_get_next_tbtt(tsf, beacon_interval); in vnt_update_next_tbtt()
336 data[0] = (u8)tsf; in vnt_update_next_tbtt()
337 data[1] = (u8)(tsf >> 8); in vnt_update_next_tbtt()
338 data[2] = (u8)(tsf >> 16); in vnt_update_next_tbtt()
339 data[3] = (u8)(tsf >> 24); in vnt_update_next_tbtt()
340 data[4] = (u8)(tsf >> 32); in vnt_update_next_tbtt()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/staging/vt6656/
H A Dcard.c298 do_div(tsf, beacon_int); in vnt_get_next_tbtt()
299 tsf += 1; in vnt_get_next_tbtt()
300 tsf *= beacon_int; in vnt_get_next_tbtt()
303 return tsf; in vnt_get_next_tbtt()
334 tsf = vnt_get_next_tbtt(tsf, beacon_interval); in vnt_update_next_tbtt()
336 data[0] = (u8)tsf; in vnt_update_next_tbtt()
337 data[1] = (u8)(tsf >> 8); in vnt_update_next_tbtt()
338 data[2] = (u8)(tsf >> 16); in vnt_update_next_tbtt()
339 data[3] = (u8)(tsf >> 24); in vnt_update_next_tbtt()
340 data[4] = (u8)(tsf >> 32); in vnt_update_next_tbtt()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/staging/vt6656/
H A Dcard.c298 do_div(tsf, beacon_int); in vnt_get_next_tbtt()
299 tsf += 1; in vnt_get_next_tbtt()
300 tsf *= beacon_int; in vnt_get_next_tbtt()
303 return tsf; in vnt_get_next_tbtt()
334 tsf = vnt_get_next_tbtt(tsf, beacon_interval); in vnt_update_next_tbtt()
336 data[0] = (u8)tsf; in vnt_update_next_tbtt()
337 data[1] = (u8)(tsf >> 8); in vnt_update_next_tbtt()
338 data[2] = (u8)(tsf >> 16); in vnt_update_next_tbtt()
339 data[3] = (u8)(tsf >> 24); in vnt_update_next_tbtt()
340 data[4] = (u8)(tsf >> 32); in vnt_update_next_tbtt()
[all …]
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/lib/include/uhdlib/transport/
H A Dget_aligned_buffs.hpp57 uint64_t tsf = 0; in operator ()() local
89 const bool time_out_of_order = _prev_tsf[chan] > info.tsf; in operator ()()
90 _prev_tsf[chan] = info.tsf; in operator ()()
103 if (!time_valid || info.tsf > tsf) { in operator ()()
126 tsf = info.tsf; in operator ()()
130 else if (info.tsf == tsf) { in operator ()()
/dports/games/NBlood/NBlood-a1689a4/source/audiolib/src/
H A Dtsf.h66 typedef struct tsf tsf; typedef
93 TSFDEF void tsf_close(tsf* f);
96 TSFDEF void tsf_reset(tsf* f);
149 TSFDEF void tsf_note_off_all(tsf* f);
281 struct tsf struct
304 tsf* res; in tsf_load_filename()
1164 tsf* res = TSF_NULL; in tsf_load()
1229 res = (tsf*)TSF_MALLOC(sizeof(tsf)); in tsf_load()
1230 TSF_MEMSET(res, 0, sizeof(tsf)); in tsf_load()
1245 TSFDEF void tsf_close(tsf* f) in tsf_close()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/qadevOOo/tests/java/ifc/util/
H A D_XSortable.java84 TableSortField[] tsf = (TableSortField[]) oPV[k].Value; in _createSortDescriptor() local
86 for (int l = 0; l < tsf.length; l++) { in _createSortDescriptor()
88 tsf[l].IsAscending); in _createSortDescriptor()
90 tsf[l].IsCaseSensitive); in _createSortDescriptor()
92 tsf[l].CollatorAlgorithm); in _createSortDescriptor()
196 TableSortField[] tsf = (TableSortField[]) oPV[k].Value; in modifyDescriptor() local
198 for (int l = 0; l < tsf.length; l++) { in modifyDescriptor()
200 tsf[l].IsAscending); in modifyDescriptor()
202 tsf[l].IsCaseSensitive); in modifyDescriptor()
204 tsf[l].CollatorAlgorithm); in modifyDescriptor()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/qadevOOo/tests/java/ifc/util/
H A D_XSortable.java84 TableSortField[] tsf = (TableSortField[]) oPV[k].Value; in _createSortDescriptor() local
86 for (int l = 0; l < tsf.length; l++) { in _createSortDescriptor()
88 tsf[l].IsAscending); in _createSortDescriptor()
90 tsf[l].IsCaseSensitive); in _createSortDescriptor()
92 tsf[l].CollatorAlgorithm); in _createSortDescriptor()
196 TableSortField[] tsf = (TableSortField[]) oPV[k].Value; in modifyDescriptor() local
198 for (int l = 0; l < tsf.length; l++) { in modifyDescriptor()
200 tsf[l].IsAscending); in modifyDescriptor()
202 tsf[l].IsCaseSensitive); in modifyDescriptor()
204 tsf[l].CollatorAlgorithm); in modifyDescriptor()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/ath/ath9k/
H A Dcommon-beacon.c21 static u32 ath9k_get_next_tbtt(struct ath_hw *ah, u64 tsf, in ath9k_get_next_tbtt() argument
26 tsf += TU_TO_USEC(FUDGE + ah->config.sw_beacon_response_time); in ath9k_get_next_tbtt()
28 div_u64_rem(tsf, divisor, &offset); in ath9k_get_next_tbtt()
30 return (u32) tsf + divisor - offset; in ath9k_get_next_tbtt()
47 u64 tsf; in ath9k_cmn_beacon_config_sta() local
69 tsf = ath9k_hw_gettsf64(ah); in ath9k_cmn_beacon_config_sta()
70 conf->nexttbtt = ath9k_get_next_tbtt(ah, tsf, conf->intval); in ath9k_cmn_beacon_config_sta()
77 bs->bs_nextdtim = ath9k_get_next_tbtt(ah, tsf, dtim_intval); in ath9k_cmn_beacon_config_sta()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/ath/ath9k/
H A Dcommon-beacon.c21 static u32 ath9k_get_next_tbtt(struct ath_hw *ah, u64 tsf, in ath9k_get_next_tbtt() argument
26 tsf += TU_TO_USEC(FUDGE + ah->config.sw_beacon_response_time); in ath9k_get_next_tbtt()
28 div_u64_rem(tsf, divisor, &offset); in ath9k_get_next_tbtt()
30 return (u32) tsf + divisor - offset; in ath9k_get_next_tbtt()
47 u64 tsf; in ath9k_cmn_beacon_config_sta() local
69 tsf = ath9k_hw_gettsf64(ah); in ath9k_cmn_beacon_config_sta()
70 conf->nexttbtt = ath9k_get_next_tbtt(ah, tsf, conf->intval); in ath9k_cmn_beacon_config_sta()
77 bs->bs_nextdtim = ath9k_get_next_tbtt(ah, tsf, dtim_intval); in ath9k_cmn_beacon_config_sta()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/ath/ath9k/
H A Dcommon-beacon.c21 static u32 ath9k_get_next_tbtt(struct ath_hw *ah, u64 tsf, in ath9k_get_next_tbtt() argument
26 tsf += TU_TO_USEC(FUDGE + ah->config.sw_beacon_response_time); in ath9k_get_next_tbtt()
28 div_u64_rem(tsf, divisor, &offset); in ath9k_get_next_tbtt()
30 return (u32) tsf + divisor - offset; in ath9k_get_next_tbtt()
47 u64 tsf; in ath9k_cmn_beacon_config_sta() local
69 tsf = ath9k_hw_gettsf64(ah); in ath9k_cmn_beacon_config_sta()
70 conf->nexttbtt = ath9k_get_next_tbtt(ah, tsf, conf->intval); in ath9k_cmn_beacon_config_sta()
77 bs->bs_nextdtim = ath9k_get_next_tbtt(ah, tsf, dtim_intval); in ath9k_cmn_beacon_config_sta()
/dports/net/ntp/ntp-4.2.8p15/include/
H A Dtimevalops.h35 # define TVUTOTSF(tvu, tsf) \ argument
36 ((tsf) = ustotslo[(tvu) & 0xff] \
40 # define TVUTOTSF(tvu, tsf) \ argument
41 ((tsf) = (u_int32) \
62 # define TSFTOTVU(tsf, tvu) \ argument
63 ((tvu) = (tstoushi[((tsf) >> 24) & 0xff] \
64 + tstousmid[((tsf) >> 16) & 0xff] \
65 + tstouslo[((tsf) >> 9) & 0x7f] \
68 # define TSFTOTVU(tsf, tvu) \ argument
70 (((u_int64)(tsf) * MICROSECONDS + 0x80000000) >> 32))
[all …]
/dports/security/libprelude/libprelude-1.2.6/src/include/
H A Dntp.h67 #define TVUTOTSF(tvu, tsf) \ argument
68 (tsf) = ustotslo[(tvu) & 0xff] \
108 #define TSFTOTVU(tsf, tvu) \ argument
109 (tvu) = (tstoushi[((tsf) >> 24) & 0xff] \
110 + tstousmid[((tsf) >> 16) & 0xff] \
111 + tstouslo[((tsf) >> 9) & 0x7f] \
/dports/multimedia/rage/rage-0.3.1/src/bin/
H A Dcontrols.c87 double tsf; in _time_print() local
95 tsf = fmod(t, 60.0); in _time_print()
98 if (tsf < 10.0) in _time_print()
101 snprintf(buf, size, "%i:%02i:0%1.02f", th, tm, tsf); in _time_print()
103 snprintf(buf, size, "%i:0%1.02f", tm, tsf); in _time_print()
105 snprintf(buf, size, "%1.02f", tsf); in _time_print()
110 snprintf(buf, size, "%i:%02i:%2.02f", th, tm, tsf); in _time_print()
112 snprintf(buf, size, "%i:%2.02f", tm, tsf); in _time_print()
114 snprintf(buf, size, "%2.02f", tsf); in _time_print()
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/tests/
H A Drx_streamer_test.cpp23 uint64_t tsf = 0; member
62 info.tsf = header.tsf; in get_recv_buff()
448 size_t tsf = 0; in BOOST_AUTO_TEST_CASE() local
458 header.tsf = tsf; in BOOST_AUTO_TEST_CASE()
463 header.tsf = tsf; in BOOST_AUTO_TEST_CASE()
470 header.tsf = tsf; in BOOST_AUTO_TEST_CASE()
630 header.tsf++; in BOOST_AUTO_TEST_CASE()
635 header.tsf++; in BOOST_AUTO_TEST_CASE()
642 header.tsf++; in BOOST_AUTO_TEST_CASE()
656 header.tsf++; in BOOST_AUTO_TEST_CASE()
[all …]
H A Dchdr_test.cpp66 BOOST_CHECK_EQUAL(if_packet_info_in.tsf, if_packet_info_out.tsf); in pack_and_unpack()
77 if_packet_info.tsf = 0x1234567890ABCDEFull; in BOOST_AUTO_TEST_CASE()
91 if_packet_info.tsf = 0x1234567890ABCDEFull; in BOOST_AUTO_TEST_CASE()
104 if_packet_info.tsf = 0x1234567890ABCDEFull; in BOOST_AUTO_TEST_CASE()
117 if_packet_info.tsf = 0x1234567890ABCDEFull; in BOOST_AUTO_TEST_CASE()
132 if_packet_info.tsf = 0x1234567890ABCDEFull; in BOOST_AUTO_TEST_CASE()
/dports/math/adol-c/ADOL-C-2.7.2/ADOL-C/include/adolc/
H A Dcheckpointing.h71 inline CP_Context(ADOLC_TimeStepFuncion tsf);
74 inline void setDoubleFct(ADOLC_TimeStepFuncion_double tsf);
93 CP_Context::CP_Context(ADOLC_TimeStepFuncion tsf) { in CP_Context() argument
94 cpInfos = reg_timestep_fct(tsf); in CP_Context()
97 void CP_Context::setDoubleFct(ADOLC_TimeStepFuncion_double tsf) { in setDoubleFct() argument
98 cpInfos->function_double = tsf; in setDoubleFct()
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/lib/rfnoc/
H A Dactions.cpp80 tsf = tsf_.get(); in tx_event_action_info()
85 uhd::async_metadata_t::event_code_t event_code, const boost::optional<uint64_t>& tsf) in make() argument
90 const boost::optional<uint64_t>& tsf) in make()
91 : tx_event_action_info(event_code, tsf) in make()
95 return std::make_shared<tx_event_action_info_make_shared>(event_code, tsf); in make()
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/lib/transport/
H A Dchdr.cpp69 packet_buff[2] = BE_MACRO(uint32_t(if_packet_info.tsf >> 32)); in if_hdr_pack_be()
70 packet_buff[3] = BE_MACRO(uint32_t(if_packet_info.tsf >> 0)); in if_hdr_pack_be()
84 packet_buff[2] = LE_MACRO(uint32_t(if_packet_info.tsf >> 32)); in if_hdr_pack_le()
85 packet_buff[3] = LE_MACRO(uint32_t(if_packet_info.tsf >> 0)); in if_hdr_pack_le()
149 if_packet_info.tsf = 0 | uint64_t(BE_MACRO(packet_buff[2])) << 32 in if_hdr_unpack_be()
165 if_packet_info.tsf = 0 | uint64_t(LE_MACRO(packet_buff[2])) << 32 in if_hdr_unpack_le()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/ath/
H A Dspectral_common.h63 __be64 tsf; member
77 __be64 tsf; member
105 __be64 tsf; member
124 __be32 tsf; member
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/ath/
H A Dspectral_common.h63 __be64 tsf; member
77 __be64 tsf; member
105 __be64 tsf; member
124 __be32 tsf; member

12345678910>>...34