Home
last modified time | relevance | path

Searched refs:maxt (Results 1 – 6 of 6) sorted by relevance

/external/jemalloc_new/test/unit/
Dbackground_thread_enable.c36 size_t maxt; in TEST_BEGIN() local
38 size_t sz_m = sizeof(maxt); in TEST_BEGIN()
42 assert_d_eq(mallctl("max_background_threads", &maxt, &sz_m, NULL, 0), 0, in TEST_BEGIN()
44 assert_zu_eq(20, maxt, "should be ncpus"); in TEST_BEGIN()
45 assert_zu_eq(opt_maxt, maxt, in TEST_BEGIN()
48 assert_d_eq(mallctl("max_background_threads", NULL, NULL, &maxt, sz_m), in TEST_BEGIN()
63 assert_zu_eq(n_background_threads, maxt, in TEST_BEGIN()
65 maxt = 10; in TEST_BEGIN()
66 assert_d_eq(mallctl("max_background_threads", NULL, NULL, &maxt, sz_m), in TEST_BEGIN()
68 assert_zu_eq(n_background_threads, maxt, in TEST_BEGIN()
[all …]
/external/skia/src/core/
DSkContourMeasure.cpp199 int mint, int maxt, unsigned ptIndex);
202 int maxt, const SkPoint& maxPt,
205 int mint, int maxt, unsigned ptIndex);
209 int mint, int maxt, unsigned ptIndex) { in compute_quad_segs() argument
210 if (tspan_big_enough(maxt - mint) && quad_too_curvy(pts, fTolerance)) { in compute_quad_segs()
212 int halft = (mint + maxt) >> 1; in compute_quad_segs()
216 distance = this->compute_quad_segs(&tmp[2], distance, halft, maxt, ptIndex); in compute_quad_segs()
227 seg->fTValue = maxt; in compute_quad_segs()
235 int maxt, const SkPoint& maxPt, in compute_conic_segs() argument
237 int halft = (mint + maxt) >> 1; in compute_conic_segs()
[all …]
/external/skqp/src/core/
DSkPathMeasure.cpp233 SkScalar distance, int mint, int maxt, unsigned ptIndex) { in compute_quad_segs() argument
237 if (tspan_big_enough(maxt - mint) && quad_too_curvy(pts)) { in compute_quad_segs()
239 int halft = (mint + maxt) >> 1; in compute_quad_segs()
243 distance = this->compute_quad_segs(&tmp[2], distance, halft, maxt, ptIndex); in compute_quad_segs()
253 seg->fTValue = maxt; in compute_quad_segs()
261 int maxt, const SkPoint& maxPt, unsigned ptIndex) { in compute_conic_segs() argument
265 int halft = (mint + maxt) >> 1; in compute_conic_segs()
270 if (tspan_big_enough(maxt - mint) && conic_too_curvy(minPt, halfPt, maxPt)) { in compute_conic_segs()
272 distance = this->compute_conic_segs(conic, distance, halft, halfPt, maxt, maxPt, ptIndex); in compute_conic_segs()
282 seg->fTValue = maxt; in compute_conic_segs()
[all …]
/external/skia/samplecode/
DSampleGlyphTransform.cpp58 constexpr SkScalar maxt = 100000; in onAnimate() local
59 double t = TimeUtils::PingPong(1e-9 * nanos, 20, 0, 0, maxt); // d3 t is in milliseconds in onAnimate()
61 fTranslate.set(sin(t / 3000) - t * this->width() * 0.7 / maxt, sin(t / 999) / t); in onAnimate()
/external/skqp/samplecode/
DSampleGlyphTransform.cpp64 constexpr SkScalar maxt = 100000; in onAnimate() local
65 double t = timer.pingPong(20, 0, 0, maxt); // d3 t is in milliseconds in onAnimate()
67 fTranslate.set(sin(t / 3000) - t * this->width() * 0.7 / maxt, sin(t / 999) / t); in onAnimate()
/external/skqp/include/core/
DSkPathMeasure.h113 int mint, int maxt, unsigned ptIndex);
116 int maxt, const SkPoint& maxPt, unsigned ptIndex);
118 int mint, int maxt, unsigned ptIndex);