/third_party/boost/boost/date_time/ |
D | period.hpp | 52 class BOOST_SYMBOL_VISIBLE period : private class 53 boost::less_than_comparable<period<point_rep, duration_rep> 54 , boost::equality_comparable< period<point_rep, duration_rep> 61 BOOST_CXX14_CONSTEXPR period(point_rep first_point, point_rep end_point); 62 BOOST_CXX14_CONSTEXPR period(point_rep first_point, duration_rep len); 68 BOOST_CXX14_CONSTEXPR bool operator==(const period& rhs) const; 69 BOOST_CXX14_CONSTEXPR bool operator<(const period& rhs) const; 73 BOOST_CXX14_CONSTEXPR bool contains(const period& other) const; 74 BOOST_CXX14_CONSTEXPR bool intersects(const period& other) const; 75 BOOST_CXX14_CONSTEXPR bool is_adjacent(const period& other) const; [all …]
|
/third_party/boost/libs/locale/examples/ |
D | calendar.cpp | 27 start.set(period::month(),now.minimum(period::month())); in main() 28 start.set(period::day(),start.minimum(period::day())); in main() 30 int current_year = period::year(now); in main() 39 for(now=start; period::year(now) == current_year;) { in main() 47 % date_time(now,now.maximum(period::day())*period::day()) << std::endl; in main() 53 date_time tmp(now,period::day_of_week() * (first + i)); in main() 58 int current_month = now / period::month(); in main() 59 int skip = now / period::day_of_week_local() - 1; in main() 62 for(;now / period::month() == current_month ;now += period::day()) { in main() 64 if(now / period::day_of_week_local() == 7) in main()
|
/third_party/abseil-cpp/absl/base/internal/ |
D | periodic_sampler_test.cc | 37 MOCK_METHOD(int, period, (), (const, noexcept)); 44 EXPECT_CALL(sampler, period()).Times(3).WillRepeatedly(Return(16)); in TEST() 65 EXPECT_CALL(sampler, period()).Times(2).WillRepeatedly(Return(16)); in TEST() 83 EXPECT_CALL(sampler, period()).Times(3).WillRepeatedly(Return(0)); in TEST() 93 EXPECT_CALL(sampler, period()).Times(3).WillRepeatedly(Return(1)); in TEST() 103 EXPECT_CALL(sampler, period()).WillOnce(Return(16)); in TEST() 108 EXPECT_CALL(sampler, period()).Times(2).WillRepeatedly(Return(0)); in TEST() 117 EXPECT_CALL(sampler, period()).WillOnce(Return(0)); in TEST() 120 EXPECT_CALL(sampler, period()).Times(2).WillRepeatedly(Return(16)); in TEST() 142 EXPECT_THAT(sampler.period(), Eq(0)); in TEST() [all …]
|
D | periodic_sampler.h | 109 virtual int64_t GetExponentialBiased(int period) noexcept; 113 virtual int period() const noexcept = 0; 188 int period() const noexcept final { in period() function 196 static void SetGlobalPeriod(int period) { in SetGlobalPeriod() argument 197 period_.store(period, std::memory_order_relaxed); in SetGlobalPeriod()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
D | periodic_sampler_test.cc | 37 MOCK_METHOD(int, period, (), (const, noexcept)); 44 EXPECT_CALL(sampler, period()).Times(3).WillRepeatedly(Return(16)); in TEST() 65 EXPECT_CALL(sampler, period()).Times(2).WillRepeatedly(Return(16)); in TEST() 83 EXPECT_CALL(sampler, period()).Times(3).WillRepeatedly(Return(0)); in TEST() 93 EXPECT_CALL(sampler, period()).Times(3).WillRepeatedly(Return(1)); in TEST() 103 EXPECT_CALL(sampler, period()).WillOnce(Return(16)); in TEST() 108 EXPECT_CALL(sampler, period()).Times(2).WillRepeatedly(Return(0)); in TEST() 117 EXPECT_CALL(sampler, period()).WillOnce(Return(0)); in TEST() 120 EXPECT_CALL(sampler, period()).Times(2).WillRepeatedly(Return(16)); in TEST() 142 EXPECT_THAT(sampler.period(), Eq(0)); in TEST() [all …]
|
D | periodic_sampler.h | 109 virtual int64_t GetExponentialBiased(int period) noexcept; 113 virtual int period() const noexcept = 0; 188 int period() const noexcept final { in period() function 196 static void SetGlobalPeriod(int period) { in SetGlobalPeriod() argument 197 period_.store(period, std::memory_order_relaxed); in SetGlobalPeriod()
|
/third_party/boost/boost/locale/ |
D | date_time.hpp | 58 period::period_type type; ///< The type of period, i.e. era, year, day etc. 72 … date_time_period(period::period_type f=period::period_type(),int v=1) : type(f), value(v) {} in date_time_period() 75 namespace period { namespace 319 inline date_time_period operator+(period::period_type f) in operator +() 326 inline date_time_period operator-(period::period_type f) in operator -() 335 date_time_period operator*(period::period_type f,T v) in operator *() 344 date_time_period operator*(T v,period::period_type f) in operator *() 388 date_time_period_set(period::period_type f) in date_time_period_set() 415 if(basic_[0].type == period::period_type()) in size() 417 if(basic_[1].type == period::period_type()) in size() [all …]
|
/third_party/gstreamer/gstreamer/libs/gst/controller/ |
D | gstlfocontrolsource.c | 61 GstClockTime period; member 71 GstClockTime period) in _calculate_pos() argument 74 timestamp += period; in _calculate_pos() 78 return timestamp % period; in _calculate_pos() 83 GstClockTime timeshift, GstClockTime period, gdouble frequency, in _sine_get() argument 87 gst_guint64_to_gdouble (_calculate_pos (timestamp, timeshift, period)); in _sine_get() 106 priv->period, priv->frequency, timestamp); in waveform_sine_get() 124 priv->period, priv->frequency, ts); in waveform_sine_get_value_array() 135 GstClockTime timeshift, GstClockTime period, gdouble frequency, in _square_get() argument 138 GstClockTime pos = _calculate_pos (timestamp, timeshift, period); in _square_get() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_query_hw.c | 87 assert(!hq->period); in resume_query() 90 hq->period = slab_alloc_st(&batch->ctx->sample_period_pool); in resume_query() 91 list_inithead(&hq->period->list); in resume_query() 92 hq->period->start = get_sample(batch, ring, hq->base.type); in resume_query() 94 hq->period->end = NULL; in resume_query() 104 assert(hq->period && !hq->period->end); in pause_query() 107 hq->period->end = get_sample(batch, ring, hq->base.type); in pause_query() 108 list_addtail(&hq->period->list, &hq->periods); in pause_query() 109 hq->period = NULL; in pause_query() 115 struct fd_hw_sample_period *period, *s; in destroy_periods() local [all …]
|
/third_party/flutter/skia/tools/timer/ |
D | TimeUtils.h | 26 static inline float Scaled(float time, float speed, float period = 0) { 28 if (period) { 29 value = ::fmod(value, (double)(period)); 37 float period, in PingPong() argument 41 double value = ::fmod(time + phase, period); in PingPong() 42 double half = period / 2.0; in PingPong()
|
/third_party/gstreamer/gstreamer/docs/random/slomo/ |
D | controller.txt | 8 - Deprecate control-rate property and add a control-period property 18 this timestamp + sample period is after the trigger timestamp. 23 - ? Let get_value_array() sample the values with control-period if 32 - Convert the controller's control-period property into frames/samples 33 and request values sampled with control-period to apply one value to 34 each control-period frames/samples. 38 - ! The user has to choose a good control-period to prevent two trigger 39 timestamps separated by less than control-period nanoseconds. 51 samples_per_period = control-period / sample-rate; 54 prop1.sample_interval = control-period;
|
/third_party/iptables/extensions/ |
D | libxt_limit.c | 125 static void print_rate(uint32_t period) in print_rate() argument 129 if (period == 0) { in print_rate() 135 if (period > rates[i].mult in print_rate() 136 || rates[i].mult/period < rates[i].mult%period) in print_rate() 139 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name); in print_rate() 166 static void print_rate_xlate(uint32_t period, struct xt_xlate *xl) in print_rate_xlate() argument 170 if (period == 0) { in print_rate_xlate() 176 if (period > rates_xlate[i].mult || in print_rate_xlate() 177 rates_xlate[i].mult / period < rates_xlate[i].mult % period) in print_rate_xlate() 180 xt_xlate_add(xl, " %u/%s", rates_xlate[i - 1].mult / period, in print_rate_xlate()
|
/third_party/skia/tools/timer/ |
D | TimeUtils.h | 27 static inline float Scaled(float time, float speed, float period = 0) { 29 if (period) { 30 value = ::fmod(value, (double)(period)); 38 float period, in PingPong() argument 42 double value = ::fmod(time + phase, period); in PingPong() 43 double half = period / 2.0; in PingPong()
|
/third_party/ffmpeg/libavcodec/ |
D | opusdsp.c | 21 static void postfilter_c(float *data, int period, float *gains, int len) in postfilter_c() argument 27 float x4 = data[-period - 2]; in postfilter_c() 28 float x3 = data[-period - 1]; in postfilter_c() 29 float x2 = data[-period + 0]; in postfilter_c() 30 float x1 = data[-period + 1]; in postfilter_c() 33 float x0 = data[i - period + 2]; in postfilter_c()
|
/third_party/python/Objects/stringlib/ |
D | fastsearch.h | 189 Py_ssize_t period = 1; in STRINGLIB() local 204 period = candidate - max_suffix; in STRINGLIB() 207 if (k + 1 != period) { in STRINGLIB() 214 candidate += period; in STRINGLIB() 223 period = 1; in STRINGLIB() 226 *return_period = period; in STRINGLIB() 267 Py_ssize_t cut1, period1, cut2, period2, cut, period; in STRINGLIB() local 273 period = period1; in STRINGLIB() 277 period = period2; in STRINGLIB() 285 *return_period = period; in STRINGLIB() [all …]
|
D | stringlib_find_two_way_notes.txt | 180 mismatch was impossible due to the period, but we now see that the 184 that no matter the period of the original needle, you can cut it in 186 needle[cut-k:cut] mismatches needle[cut:cut+k] for all k < the period. 188 Even "non-periodic" strings are periodic with a period equal to 194 So long as the period exceeds that, we're good. 196 The more general shorter-period case is a bit harder. The essentials 219 - Jump forward a period, remembering the existing comparisons 267 - Right half matches, so use memory and skip ahead by period=3 275 The one tricky skip by 8 here generalizes: if we have a period of p, 278 matching characters and mismatched character one period earlier. [all …]
|
/third_party/ltp/testcases/realtime/func/periodic_cpu_load/ |
D | periodic_cpu_load_single.c | 55 static int period; variable 86 int periodic_thread(nsec_t period, int iterations, int loops) in periodic_thread() argument 116 next += period; in periodic_thread() 186 period = atoi(v) * NS_PER_MS; in parse_args() 197 period = DEFAULT_PERIOD * NS_PER_MS; in main() 209 if (!period || !prio | !calc_loops) { in main() 221 printf(" period: %d ms\n", period / NS_PER_MS); in main() 225 ret = periodic_thread(period, iterations, calc_loops); in main()
|
/third_party/skia/third_party/externals/oboe/src/common/ |
D | MonotonicCounter.h | 99 void roundUp64(int32_t period) { in roundUp64() argument 100 if (period > 0) { in roundUp64() 101 int64_t numPeriods = (mCounter64 + period - 1) / period; in roundUp64() 102 mCounter64 = numPeriods * period; in roundUp64()
|
/third_party/openGLES/extensions/NV/ |
D | GLX_NV_delay_before_swap.txt | 77 than the length in seconds of the swap period on the associated drawable. 78 When buffer swaps are synchronized, the swap period is composed of one or 79 multiple video frame periods. A video frame period is the time required by 83 will return False and will not wait for the end of the swap period. If 84 <seconds> is greater than a swap period, glXDelayBeforeSwapNV will return 88 complete its work before the end of the swap period. If <seconds> is close 89 to 0.0, the application may miss the end of the swap period and it will 90 have to wait an additional swap period before it can swap. 93 before the end of the swap period, it will return immediately and the 95 video frame period to have an exact delay of <seconds> seconds. [all …]
|
D | WGL_NV_delay_before_swap.txt | 75 than the length in seconds of the swap period on the associated window. 76 When buffer swaps are synchronized, the swap period is composed of one or 77 multiple video frame periods. A video frame period is the time required by 82 not wait for the end of the swap period. If <seconds> is greater than a 83 swap period, wglDelayBeforeSwapNV will return immediately without 87 complete its work before the end of the swap period. If <seconds> is close 88 to 0.0, the application may miss the end of the swap period and it will 89 have to wait an additional swap period before it can swap. 92 before the end of the swap period, it will return immediately and the 94 video frame period to have an exact delay of <seconds> seconds. [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/ |
D | WGL_NV_delay_before_swap.txt | 75 than the length in seconds of the swap period on the associated window. 76 When buffer swaps are synchronized, the swap period is composed of one or 77 multiple video frame periods. A video frame period is the time required by 82 not wait for the end of the swap period. If <seconds> is greater than a 83 swap period, wglDelayBeforeSwapNV will return immediately without 87 complete its work before the end of the swap period. If <seconds> is close 88 to 0.0, the application may miss the end of the swap period and it will 89 have to wait an additional swap period before it can swap. 92 before the end of the swap period, it will return immediately and the 94 video frame period to have an exact delay of <seconds> seconds. [all …]
|
D | GLX_NV_delay_before_swap.txt | 77 than the length in seconds of the swap period on the associated drawable. 78 When buffer swaps are synchronized, the swap period is composed of one or 79 multiple video frame periods. A video frame period is the time required by 83 will return False and will not wait for the end of the swap period. If 84 <seconds> is greater than a swap period, glXDelayBeforeSwapNV will return 88 complete its work before the end of the swap period. If <seconds> is close 89 to 0.0, the application may miss the end of the swap period and it will 90 have to wait an additional swap period before it can swap. 93 before the end of the swap period, it will return immediately and the 95 video frame period to have an exact delay of <seconds> seconds. [all …]
|
/third_party/ffmpeg/tests/checkasm/ |
D | opusdsp.c | 37 static void test_postfilter(int period) in test_postfilter() argument 50 int offset = FFALIGN(period + 2, 4); in test_postfilter() 52 declare_func(void, float *data, int period, float *gains, int len); in test_postfilter() 57 call_ref(data0 + offset, period, gains, MAX_SIZE); in test_postfilter() 58 call_new(data1 + offset, period, gains, MAX_SIZE); in test_postfilter() 62 bench_new(data1 + offset, period, gains, MAX_SIZE); in test_postfilter()
|
/third_party/gstreamer/gstplugins_bad/ext/dash/ |
D | gstmpdclient.c | 44 client, GstMPDPeriodNode * period, GstMPDAdaptationSetNode * adapt_set); 57 GstMPDPeriodNode *period; in gst_mpd_client_get_period_with_id() local 61 period = (GstMPDPeriodNode *) list->data; in gst_mpd_client_get_period_with_id() 62 if (!g_strcmp0 (period->id, period_id)) in gst_mpd_client_get_period_with_id() 63 return GST_MPD_NODE (period); in gst_mpd_client_get_period_with_id() 555 GstMPDPeriodNode *period = l->data; in gst_mpd_client_fetch_on_load_external_resources() local 558 if (period->xlink_href && period->actuate == GST_MPD_XLINK_ACTUATE_ON_LOAD) { in gst_mpd_client_fetch_on_load_external_resources() 561 new_periods = gst_mpd_client_fetch_external_periods (client, period); in gst_mpd_client_fetch_on_load_external_resources() 566 gst_mpd_period_node_free (period); in gst_mpd_client_fetch_on_load_external_resources() 567 period = NULL; in gst_mpd_client_fetch_on_load_external_resources() [all …]
|
/third_party/ffmpeg/libavdevice/ |
D | timefilter.c | 47 double period, in ff_timefilter_new() argument 51 double o = 2 * M_PI * bandwidth * period * time_base; in ff_timefilter_new() 58 self->feedback3_factor = qexpneg(o * o) / period; in ff_timefilter_new() 72 double ff_timefilter_update(TimeFilter *self, double system_time, double period) in ff_timefilter_update() argument 79 self->cycle_time += self->clock_period * period; in ff_timefilter_update()
|