/external/jemalloc_new/test/unit/ |
D | background_thread_enable.c | 36 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/ |
D | SkContourMeasure.cpp | 171 int mint, int maxt, unsigned ptIndex) { in compute_quad_segs() argument 172 if (tspan_big_enough(maxt - mint) && quad_too_curvy(pts, fTolerance)) { in compute_quad_segs() 174 int halft = (mint + maxt) >> 1; in compute_quad_segs() 178 distance = this->compute_quad_segs(&tmp[2], distance, halft, maxt, ptIndex); in compute_quad_segs() 189 seg->fTValue = maxt; in compute_quad_segs() 197 int maxt, const SkPoint& maxPt, in compute_conic_segs() argument 199 int halft = (mint + maxt) >> 1; in compute_conic_segs() 204 if (tspan_big_enough(maxt - mint) && conic_too_curvy(minPt, halfPt, maxPt, fTolerance)) { in compute_conic_segs() 206 distance = this->compute_conic_segs(conic, distance, halft, halfPt, maxt, maxPt, ptIndex); in compute_conic_segs() 217 seg->fTValue = maxt; in compute_conic_segs() [all …]
|
/external/skqp/src/core/ |
D | SkPathMeasure.cpp | 233 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/skqp/samplecode/ |
D | SampleGlyphTransform.cpp | 64 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/skia/samplecode/ |
D | SampleGlyphTransform.cpp | 64 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/ |
D | SkPathMeasure.h | 113 int mint, int maxt, unsigned ptIndex); 116 int maxt, const SkPoint& maxPt, unsigned ptIndex); 118 int mint, int maxt, unsigned ptIndex);
|
/external/skia/include/core/ |
D | SkContourMeasure.h | 137 int mint, int maxt, unsigned ptIndex); 140 int maxt, const SkPoint& maxPt, 143 int mint, int maxt, unsigned ptIndex);
|