/external/skia/src/effects/ |
D | Sk1DPathEffect.cpp | 39 SkPath1DPathEffect::SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, in SkPath1DPathEffect() argument 46 if (phase < 0) { in SkPath1DPathEffect() 47 phase = -phase; in SkPath1DPathEffect() 48 if (phase > advance) { in SkPath1DPathEffect() 49 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect() 52 if (phase > advance) { in SkPath1DPathEffect() 53 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect() 55 phase = advance - phase; in SkPath1DPathEffect() 58 if (phase >= advance) { in SkPath1DPathEffect() 59 phase = 0; in SkPath1DPathEffect() [all …]
|
/external/skqp/src/effects/ |
D | Sk1DPathEffect.cpp | 35 SkScalar phase, Style style) : fPath(path) in SkPath1DPathEffect() argument 40 if (phase < 0) { in SkPath1DPathEffect() 41 phase = -phase; in SkPath1DPathEffect() 42 if (phase > advance) { in SkPath1DPathEffect() 43 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect() 46 if (phase > advance) { in SkPath1DPathEffect() 47 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect() 49 phase = advance - phase; in SkPath1DPathEffect() 52 if (phase >= advance) { in SkPath1DPathEffect() 53 phase = 0; in SkPath1DPathEffect() [all …]
|
/external/tcpdump/tests/ |
D | isakmp4.out | 3 IP 192.1.2.254.500 > 192.1.2.23.500: isakmp: phase 1 I ident 4 IP 192.1.2.23.500 > 192.1.2.254.500: isakmp: phase 1 R ident 5 IP 192.1.2.254.500 > 192.1.2.23.500: isakmp: phase 1 I ident 6 IP 192.1.2.23.500 > 192.1.2.254.500: isakmp: phase 1 R ident 7 IP 192.1.2.254.4500 > 192.1.2.23.4500: NONESP-encap: isakmp: phase 1 I ident[E] 8 IP 192.1.2.23.4500 > 192.1.2.254.4500: NONESP-encap: isakmp: phase 1 R ident[E] 9 IP 192.1.2.254.4500 > 192.1.2.23.4500: NONESP-encap: isakmp: phase 2/others I oakley-quick[E] 10 IP 192.1.2.23.4500 > 192.1.2.254.4500: NONESP-encap: isakmp: phase 2/others R oakley-quick[E] 11 IP 192.1.2.254.4500 > 192.1.2.23.4500: NONESP-encap: isakmp: phase 2/others I oakley-quick[E] 15 IP 192.1.2.23.4500 > 192.1.2.254.4500: NONESP-encap: isakmp: phase 2/others R oakley-quick[E] [all …]
|
D | isakmp5-v.out | 2 10.0.0.1.500 > 10.0.0.2.500: isakmp 1.0 msgid 00000000: phase 1 I ident: 10 10.0.0.2.500 > 10.0.0.1.500: isakmp 1.0 msgid 00000000: phase 1 R ident: 16 10.0.0.1.500 > 10.0.0.2.500: isakmp 1.0 msgid 00000000: phase 1 I ident: 26 10.0.0.2.500 > 10.0.0.1.500: isakmp 1.0 msgid 00000000: phase 1 R ident: 36 10.0.0.1.500 > 10.0.0.2.500: isakmp 1.0 msgid 00000000: phase 1 I ident[E]: [encrypted id] 38 10.0.0.2.500 > 10.0.0.1.500: isakmp 1.0 msgid 00000000: phase 1 R ident[E]: [encrypted id] 40 …10.0.0.1.500 > 10.0.0.2.500: isakmp 1.0 msgid 0f2b7862: phase 2/others I oakley-quick[E]: [encrypt… 42 …10.0.0.2.500 > 10.0.0.1.500: isakmp 1.0 msgid 0f2b7862: phase 2/others R oakley-quick[E]: [encrypt… 44 …10.0.0.1.500 > 10.0.0.2.500: isakmp 1.0 msgid 0f2b7862: phase 2/others I oakley-quick[E]: [encrypt…
|
/external/speex/libspeex/ |
D | _kiss_fft_guts.h | 133 # define KISS_FFT_COS(phase) floor(MIN(32767,MAX(-32767,.5+32768 * cos (phase)))) argument 134 # define KISS_FFT_SIN(phase) floor(MIN(32767,MAX(-32767,.5+32768 * sin (phase)))) argument 137 # define KISS_FFT_COS(phase) _mm_set1_ps( cos(phase) ) argument 138 # define KISS_FFT_SIN(phase) _mm_set1_ps( sin(phase) ) argument 141 # define KISS_FFT_COS(phase) (kiss_fft_scalar) cos(phase) argument 142 # define KISS_FFT_SIN(phase) (kiss_fft_scalar) sin(phase) argument 146 #define kf_cexp(x,phase) \ argument 148 (x)->r = KISS_FFT_COS(phase);\ 149 (x)->i = KISS_FFT_SIN(phase);\ 151 #define kf_cexp2(x,phase) \ argument [all …]
|
/external/libopus/celt/ |
D | _kiss_fft_guts.h | 157 # define KISS_FFT_COS(phase) floor(.5+TWID_MAX*cos (phase)) argument 158 # define KISS_FFT_SIN(phase) floor(.5+TWID_MAX*sin (phase)) argument 161 # define KISS_FFT_COS(phase) _mm_set1_ps( cos(phase) ) argument 162 # define KISS_FFT_SIN(phase) _mm_set1_ps( sin(phase) ) argument 165 # define KISS_FFT_COS(phase) (kiss_fft_scalar) cos(phase) argument 166 # define KISS_FFT_SIN(phase) (kiss_fft_scalar) sin(phase) argument 170 #define kf_cexp(x,phase) \ argument 172 (x)->r = KISS_FFT_COS(phase);\ 173 (x)->i = KISS_FFT_SIN(phase);\ 176 #define kf_cexp2(x,phase) \ argument [all …]
|
/external/eigen/unsupported/test/ |
D | cxx11_non_blocking_thread_pool.cpp | 35 std::atomic<int> phase(0); in test_parallelism() local 43 while (phase < 1) { in test_parallelism() 51 phase = 1; in test_parallelism() 57 while (phase < 2) { in test_parallelism() 67 while (phase < 3) { in test_parallelism() 74 while (phase < 3) { in test_parallelism() 86 phase = 2; in test_parallelism() 90 while (phase < 3) { in test_parallelism() 97 phase = 3; in test_parallelism()
|
/external/python/cpython2/Lib/test/ |
D | test_cmath.py | 5 from cmath import phase, polar, rect, pi 398 self.assertAlmostEqual(phase(0), 0.) 399 self.assertAlmostEqual(phase(1.), 0.) 400 self.assertAlmostEqual(phase(-1.), pi) 401 self.assertAlmostEqual(phase(-1.+1E-300j), pi) 402 self.assertAlmostEqual(phase(-1.-1E-300j), -pi) 403 self.assertAlmostEqual(phase(1j), pi/2) 404 self.assertAlmostEqual(phase(-1j), -pi/2) 407 self.assertEqual(phase(complex(0.0, 0.0)), 0.0) 408 self.assertEqual(phase(complex(0.0, -0.0)), -0.0) [all …]
|
/external/skia/src/utils/ |
D | SkDashPath.cpp | 17 static SkScalar find_first_interval(const SkScalar intervals[], SkScalar phase, in find_first_interval() argument 21 if (phase > gap || (phase == gap && gap)) { in find_first_interval() 22 phase -= gap; in find_first_interval() 25 return gap - phase; in find_first_interval() 36 void SkDashPath::CalcDashParameters(SkScalar phase, const SkScalar intervals[], int32_t count, in CalcDashParameters() argument 47 if (phase < 0) { in CalcDashParameters() 48 phase = -phase; in CalcDashParameters() 49 if (phase > len) { in CalcDashParameters() 50 phase = SkScalarMod(phase, len); in CalcDashParameters() 52 phase = len - phase; in CalcDashParameters() [all …]
|
/external/skqp/src/utils/ |
D | SkDashPath.cpp | 17 static SkScalar find_first_interval(const SkScalar intervals[], SkScalar phase, in find_first_interval() argument 21 if (phase > gap || (phase == gap && gap)) { in find_first_interval() 22 phase -= gap; in find_first_interval() 25 return gap - phase; in find_first_interval() 36 void SkDashPath::CalcDashParameters(SkScalar phase, const SkScalar intervals[], int32_t count, in CalcDashParameters() argument 47 if (phase < 0) { in CalcDashParameters() 48 phase = -phase; in CalcDashParameters() 49 if (phase > len) { in CalcDashParameters() 50 phase = SkScalarMod(phase, len); in CalcDashParameters() 52 phase = len - phase; in CalcDashParameters() [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | optimization_registry.h | 87 void Register(Grouping grouping, int phase, 107 int phase, in OptimizationPassRegistration() argument 109 OptimizationPassRegistry::Global()->Register(grouping, phase, in OptimizationPassRegistration() 116 #define REGISTER_OPTIMIZATION(grouping, phase, optimization) \ argument 117 REGISTER_OPTIMIZATION_UNIQ_HELPER(__COUNTER__, grouping, phase, optimization) 119 #define REGISTER_OPTIMIZATION_UNIQ_HELPER(ctr, grouping, phase, optimization) \ argument 120 REGISTER_OPTIMIZATION_UNIQ(ctr, grouping, phase, optimization) 122 #define REGISTER_OPTIMIZATION_UNIQ(ctr, grouping, phase, optimization) \ argument 125 grouping, phase, \
|
D | optimization_registry.cc | 28 Grouping grouping, int phase, std::unique_ptr<GraphOptimizationPass> pass) { in Register() argument 29 groups_[grouping][phase].push_back(std::move(pass)); in Register() 36 for (auto& phase : group->second) { in RunGrouping() local 37 VLOG(1) << "Running optimization phase " << phase.first; in RunGrouping() 38 for (auto& pass : phase.second) { in RunGrouping()
|
/external/python/cpython3/Lib/test/ |
D | test_cmath.py | 6 from cmath import phase, polar, rect, pi 466 self.assertAlmostEqual(phase(0), 0.) 467 self.assertAlmostEqual(phase(1.), 0.) 468 self.assertAlmostEqual(phase(-1.), pi) 469 self.assertAlmostEqual(phase(-1.+1E-300j), pi) 470 self.assertAlmostEqual(phase(-1.-1E-300j), -pi) 471 self.assertAlmostEqual(phase(1j), pi/2) 472 self.assertAlmostEqual(phase(-1j), -pi/2) 475 self.assertEqual(phase(complex(0.0, 0.0)), 0.0) 476 self.assertEqual(phase(complex(0.0, -0.0)), -0.0) [all …]
|
/external/libchrome/base/trace_event/ |
D | trace_event.h | 243 #define INTERNAL_TRACE_EVENT_ADD(phase, category_group, name, flags, ...) \ argument 248 phase, INTERNAL_TRACE_EVENT_UID(category_group_enabled), name, \ 292 #define INTERNAL_TRACE_EVENT_ADD_WITH_ID(phase, category_group, name, id, \ argument 301 phase, INTERNAL_TRACE_EVENT_UID(category_group_enabled), name, \ 309 #define INTERNAL_TRACE_EVENT_ADD_WITH_TIMESTAMP(phase, category_group, name, \ argument 315 phase, INTERNAL_TRACE_EVENT_UID(category_group_enabled), name, \ 326 phase, category_group, name, id, thread_id, timestamp, flags, ...) \ argument 334 phase, INTERNAL_TRACE_EVENT_UID(category_group_enabled), name, \ 683 char phase, in AddTraceEventWithThreadIdAndTimestamp() argument 699 phase, category_group_enabled, name, scope, id, bind_id, thread_id, in AddTraceEventWithThreadIdAndTimestamp() [all …]
|
/external/skia/gm/ |
D | dashing.cpp | 16 SkScalar phase = SkIntToScalar(0), in drawline() argument 25 p.setPathEffect(SkDashPathEffect::Make(intervals, 2, phase)); in drawline() 177 SkScalar phase = vals[0] / 2; in onDraw() local 178 paint.setPathEffect(SkDashPathEffect::Make(vals, count, phase)); in onDraw() 211 SkScalar phase, in drawDashedLines() argument 226 p.setPathEffect(SkDashPathEffect::Make(intervals, 2, phase)); in drawDashedLines() 312 for (int phase = 0; phase <= 3; ++phase) { in onDraw() local 314 canvas->translate(SkIntToScalar(phase*110+2), in onDraw() 316 … this->drawDashedLines(canvas, 100, SkIntToScalar(phase), SkIntToScalar(3), 1, false); in onDraw() 473 int phase = 0; in onDraw() local [all …]
|
/external/skqp/gm/ |
D | dashing.cpp | 16 SkScalar phase = SkIntToScalar(0), in drawline() argument 25 p.setPathEffect(SkDashPathEffect::Make(intervals, 2, phase)); in drawline() 177 SkScalar phase = vals[0] / 2; in onDraw() local 178 paint.setPathEffect(SkDashPathEffect::Make(vals, count, phase)); in onDraw() 211 SkScalar phase, in drawDashedLines() argument 226 p.setPathEffect(SkDashPathEffect::Make(intervals, 2, phase)); in drawDashedLines() 312 for (int phase = 0; phase <= 3; ++phase) { in onDraw() local 314 canvas->translate(SkIntToScalar(phase*110+2), in onDraw() 316 … this->drawDashedLines(canvas, 100, SkIntToScalar(phase), SkIntToScalar(3), 1, false); in onDraw() 473 int phase = 0; in onDraw() local [all …]
|
/external/proguard/src/proguard/gui/splash/ |
D | SawToothTiming.java | 31 private final long phase; field in SawToothTiming 39 public SawToothTiming(long period, long phase) in SawToothTiming() argument 42 this.phase = phase; in SawToothTiming() 51 return (double)((time + phase) % period) / (double)period; in getTiming()
|
D | SineTiming.java | 31 private final long phase; field in SineTiming 39 public SineTiming(long period, long phase) in SineTiming() argument 42 this.phase = phase; in SineTiming() 51 return 0.5 + 0.5 * Math.sin(2.0 * Math.PI * (time + phase) / period); in getTiming()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | transform.c | 19 double fact, phase; in WebRtcIsac_InitTransform() local 22 phase = 0.0; in WebRtcIsac_InitTransform() 24 tables->costab1[k] = cos(phase); in WebRtcIsac_InitTransform() 25 tables->sintab1[k] = sin(phase); in WebRtcIsac_InitTransform() 26 phase += fact; in WebRtcIsac_InitTransform() 30 phase = 0.5 * fact; in WebRtcIsac_InitTransform() 32 tables->costab2[k] = cos(phase); in WebRtcIsac_InitTransform() 33 tables->sintab2[k] = sin(phase); in WebRtcIsac_InitTransform() 34 phase += fact; in WebRtcIsac_InitTransform()
|
/external/skia/src/pathops/ |
D | SkPathOpsDebug.h | 145 int lineNo, SkOpPhase phase, int iteration 156 #define DEBUG_PHASE_ONLY_PARAMS(phase) \ argument 157 __LINE__, SkOpPhase::phase, 0 158 #define DEBUG_PHASE_PARAMS(phase) \ argument 159 , DEBUG_PHASE_ONLY_PARAMS(phase) 161 this->globalState()->debugSetPhase(__func__, lineNo, phase, iteration) 163 obj->globalState()->debugSetPhase(__func__, lineNo, phase, iteration) 166 SkOpPhase phase 177 #define DEBUG_PHASE_ONLY_PARAMS(phase) \ argument 178 SkOpPhase::phase [all …]
|
/external/skqp/src/pathops/ |
D | SkPathOpsDebug.h | 145 int lineNo, SkOpPhase phase, int iteration 156 #define DEBUG_PHASE_ONLY_PARAMS(phase) \ argument 157 __LINE__, SkOpPhase::phase, 0 158 #define DEBUG_PHASE_PARAMS(phase) \ argument 159 , DEBUG_PHASE_ONLY_PARAMS(phase) 161 this->globalState()->debugSetPhase(__func__, lineNo, phase, iteration) 163 obj->globalState()->debugSetPhase(__func__, lineNo, phase, iteration) 166 SkOpPhase phase 177 #define DEBUG_PHASE_ONLY_PARAMS(phase) \ argument 178 SkOpPhase::phase [all …]
|
/external/skia/tests/ |
D | AsADashTest.cpp | 26 const SkScalar phase = 2.0; in DEF_TEST() local 27 sk_sp<SkPathEffect> pe(SkDashPathEffect::Make(inIntervals, 4, phase)); in DEF_TEST() 36 const SkScalar phase = 2.0; in DEF_TEST() local 38 sk_sp<SkPathEffect> pe(SkDashPathEffect::Make(inIntervals, 4, phase)); in DEF_TEST() 45 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST() 58 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
|
/external/curl/tests/libtest/ |
D | lib597.c | 56 int phase; in test() local 67 for(phase = CONNECT_ONLY_PHASE; phase < LAST_PHASE; ++phase) { in test() 75 if(phase == CONNECT_ONLY_PHASE) in test() 79 if(phase == QUIT_PHASE) { in test()
|
/external/skqp/tests/ |
D | AsADashTest.cpp | 24 const SkScalar phase = 2.0; in DEF_TEST() local 25 sk_sp<SkPathEffect> pe(SkDashPathEffect::Make(inIntervals, 4, phase)); in DEF_TEST() 34 const SkScalar phase = 2.0; in DEF_TEST() local 36 sk_sp<SkPathEffect> pe(SkDashPathEffect::Make(inIntervals, 4, phase)); in DEF_TEST() 43 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST() 56 REPORTER_ASSERT(reporter, SkScalarMod(phase, totalIntSum) == info.fPhase); in DEF_TEST()
|
/external/webrtc/webrtc/base/ |
D | event_tracer.cc | 49 void EventTracer::AddTraceEvent(char phase, in AddTraceEvent() argument 59 g_add_trace_event_ptr(phase, in AddTraceEvent() 92 char phase, in AddTraceEvent() argument 98 {name, category_enabled, phase, timestamp, 1, thread_id}); in AddTraceEvent() 129 e.phase, e.timestamp, e.pid, e.tid); in Log() 178 char phase; member 212 void InternalAddTraceEvent(char phase, in InternalAddTraceEvent() argument 225 g_event_logger->AddTraceEvent(name, category_enabled, phase, in InternalAddTraceEvent()
|