/external/llvm-project/polly/lib/External/ppcg/ |
D | hybrid.c | 221 * in a "ts" (time-space) space and corresponds to the phase-1 tiles. 232 * "shift_phase" is the shift taken to go from phase 0 to phase 1 326 * In case of phase 0, these expressions have also been moved 327 * from phase 1 to phase 0. 329 * "domain" contains the hexagonal tiling of this phase. 333 * For phase 1, it is equal to 339 * For phase 0, it is equal to 359 /* Free "phase" along with all its fields. 362 __isl_take ppcg_ht_phase *phase) in ppcg_ht_phase_free() argument 364 if (!phase) in ppcg_ht_phase_free() [all …]
|
D | gpu_hybrid.c | 39 /* Given a pointer to a phase in the result of hybrid tiling, 40 * map the phase to the device, provided the phase is non-empty. 42 * covered by a small number of hexagons that all belong to the same phase. 48 * with M the phase marker, CT the space tiling, P the original 69 ppcg_ht_phase *phase; in update_phase() local 81 phase = ppcg_ht_phase_extract_from_mark(node); in update_phase() 89 node = ppcg_ht_phase_shift_space_point(phase, node); in update_phase() 116 * insert the hybrid tiling and then create a kernel inside each phase. 117 * Finally, remove the phase marks.
|
/external/arm-trusted-firmware/plat/mediatek/mt8183/drivers/spm/ |
D | spm_pmic_wrap.c | 44 enum pmic_wrap_phase_id phase; member 56 .phase = NR_PMIC_WRAP_PHASE, 115 void mt_spm_pmic_wrap_set_phase(enum pmic_wrap_phase_id phase) in mt_spm_pmic_wrap_set_phase() argument 119 if (phase >= NR_PMIC_WRAP_PHASE) in mt_spm_pmic_wrap_set_phase() 122 if (pw.phase == phase) in mt_spm_pmic_wrap_set_phase() 128 pw.phase = phase; in mt_spm_pmic_wrap_set_phase() 132 for (idx = 0; idx < pw.set[phase].nr_idx; idx++) { in mt_spm_pmic_wrap_set_phase() 133 addr = pw.set[phase]._[idx].cmd_addr << SPM_DATA_SHIFT; in mt_spm_pmic_wrap_set_phase() 134 data = pw.set[phase]._[idx].cmd_wdata; in mt_spm_pmic_wrap_set_phase() 139 void mt_spm_pmic_wrap_set_cmd(enum pmic_wrap_phase_id phase, uint32_t idx, in mt_spm_pmic_wrap_set_cmd() argument [all …]
|
/external/autotest/server/site_tests/firmware_Cr50SetBoardId/ |
D | firmware_Cr50SetBoardId.py | 46 SUCCESS = ["Successfully updated board ID to 'BID' with phase 'PHASE'.", 48 ERROR_UNKNOWN_PHASE = ['Unknown phase (PHASE)', 1] 78 def run_script(self, expected_result, phase, board_id=''): argument 79 """Run the bid script with the given phase and board id 83 phase: The phase string. 95 # Run the script with the phase and board id 96 cmd = '%s %s %s' % (self.BID_SCRIPT, phase, board_id) 102 # Replace the placeholders with the expected board id and phase 104 message = message.replace('PHASE', phase) 127 # dummy_phase is not a valid phase [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | eager_op_rewrite_registry.h | 57 enum Phase { enum 63 // Only one rewrite pass is allowed per phase. 64 void Register(Phase phase, std::unique_ptr<EagerOpRewrite> pass); 66 // Run the rewrite pass registered for a given phase. 67 Status RunRewrite(Phase phase, EagerOperation* orig_op, 84 EagerRewriteRegistration(EagerOpRewriteRegistry::Phase phase, in EagerRewriteRegistration() argument 86 EagerOpRewriteRegistry::Global()->Register(phase, std::move(pass)); in EagerRewriteRegistration() 92 #define REGISTER_REWRITE(phase, rewrite) \ argument 93 REGISTER_REWRITE_UNIQ_HELPER(__COUNTER__, __FILE__, __LINE__, phase, rewrite) 95 #define REGISTER_REWRITE_UNIQ_HELPER(ctr, file, line, phase, rewrite) \ argument [all …]
|
D | eager_op_rewrite_registry.cc | 25 void EagerOpRewriteRegistry::Register(Phase phase, in Register() argument 27 if (!rewrites_[phase]) { in Register() 28 rewrites_[phase] = std::move(pass); in Register() 32 " EagerOpRewrite for this phase in ", in Register() 39 Phase phase, EagerOperation* orig_op, in RunRewrite() argument 41 auto& rewrite = rewrites_[phase]; in RunRewrite()
|
/external/skqp/src/effects/ |
D | Sk1DPathEffect.cpp | 39 SkPath1DPathEffect::SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, in SkPath1DPathEffect() argument 44 // cleanup their phase parameter, inverting it so that it becomes an in SkPath1DPathEffect() 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() 57 // now catch the edge case where phase == advance (within epsilon) in SkPath1DPathEffect() [all …]
|
/external/skia/src/effects/ |
D | Sk1DPathEffect.cpp | 39 SkPath1DPathEffect::SkPath1DPathEffect(const SkPath& path, SkScalar advance, SkScalar phase, in SkPath1DPathEffect() argument 48 // cleanup their phase parameter, inverting it so that it becomes an in SkPath1DPathEffect() 50 if (phase < 0) { in SkPath1DPathEffect() 51 phase = -phase; in SkPath1DPathEffect() 52 if (phase > advance) { in SkPath1DPathEffect() 53 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect() 56 if (phase > advance) { in SkPath1DPathEffect() 57 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect() 59 phase = advance - phase; in SkPath1DPathEffect() 61 // now catch the edge case where phase == advance (within epsilon) in SkPath1DPathEffect() [all …]
|
/external/skia/src/utils/ |
D | SkDashPath.cpp | 20 static SkScalar find_first_interval(const SkScalar intervals[], SkScalar phase, in find_first_interval() argument 24 if (phase > gap || (phase == gap && gap)) { in find_first_interval() 25 phase -= gap; in find_first_interval() 28 return gap - phase; in find_first_interval() 31 // If we get here, phase "appears" to be larger than our length. This in find_first_interval() 39 void SkDashPath::CalcDashParameters(SkScalar phase, const SkScalar intervals[], int32_t count, in CalcDashParameters() argument 47 // Adjust phase to be between 0 and len, "flipping" phase if negative. in CalcDashParameters() 48 // e.g., if len is 100, then phase of -20 (or -120) is equivalent to 80 in CalcDashParameters() 50 if (phase < 0) { in CalcDashParameters() 51 phase = -phase; in CalcDashParameters() [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 …]
|
/external/skqp/src/utils/ |
D | SkDashPath.cpp | 19 static SkScalar find_first_interval(const SkScalar intervals[], SkScalar phase, in find_first_interval() argument 23 if (phase > gap || (phase == gap && gap)) { in find_first_interval() 24 phase -= gap; in find_first_interval() 27 return gap - phase; in find_first_interval() 30 // If we get here, phase "appears" to be larger than our length. This in find_first_interval() 38 void SkDashPath::CalcDashParameters(SkScalar phase, const SkScalar intervals[], int32_t count, in CalcDashParameters() argument 46 // Adjust phase to be between 0 and len, "flipping" phase if negative. in CalcDashParameters() 47 // e.g., if len is 100, then phase of -20 (or -120) is equivalent to 80 in CalcDashParameters() 49 if (phase < 0) { in CalcDashParameters() 50 phase = -phase; in CalcDashParameters() [all …]
|
/external/libopus/celt/ |
D | _kiss_fft_guts.h | 155 /*# define KISS_FFT_COS(phase) TRIG_UPSCALE*floor(MIN(32767,MAX(-32767,.5+32768 * cos (phase)))) 156 # define KISS_FFT_SIN(phase) TRIG_UPSCALE*floor(MIN(32767,MAX(-32767,.5+32768 * sin (phase))))*/ 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);\ [all …]
|
/external/rnnoise/src/ |
D | _kiss_fft_guts.h | 155 /*# define KISS_FFT_COS(phase) TRIG_UPSCALE*floor(MIN(32767,MAX(-32767,.5+32768 * cos (phase)))) 156 # define KISS_FFT_SIN(phase) TRIG_UPSCALE*floor(MIN(32767,MAX(-32767,.5+32768 * sin (phase))))*/ 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);\ [all …]
|
/external/llvm/utils/release/ |
D | test-release.sh | 57 echo " -no-compare-files Don't test that phase 2 and 3 files are identical." 250 Phase="$1" 253 echo "[${Flavor} Phase${Phase}] ${Msg}" | tee -a $LogDir/deferred_errors.log 332 Phase="$1" 369 2>&1 | tee $LogDir/llvm.configure-Phase$Phase-$Flavor.log 373 2>&1 | tee $LogDir/llvm.configure-Phase$Phase-$Flavor.log 380 2>&1 | tee $LogDir/llvm.configure-Phase$Phase-$Flavor.log 386 2>&1 | tee $LogDir/llvm.configure-Phase$Phase-$Flavor.log 393 Phase="$1" 402 2>&1 | tee $LogDir/llvm.make-Phase$Phase-$Flavor.log [all …]
|
/external/llvm-project/llvm/utils/release/ |
D | test-release.sh | 62 echo " -no-compare-files Don't test that phase 2 and 3 files are identical." 292 Phase="$1" 295 echo "[${Flavor} Phase${Phase}] ${Msg}" | tee -a $LogDir/deferred_errors.log 352 Phase="$1" 388 2>&1 | tee $LogDir/llvm.configure-Phase$Phase-$Flavor.log 394 2>&1 | tee $LogDir/llvm.configure-Phase$Phase-$Flavor.log 400 Phase="$1" 414 2>&1 | tee $LogDir/llvm.make-Phase$Phase-$Flavor.log 419 2>&1 | tee $LogDir/llvm.install-Phase$Phase-$Flavor.log 424 Phase="$1" [all …]
|
/external/speex/libspeexdsp/ |
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/tensorflow/tensorflow/core/common_runtime/ |
D | optimization_registry.cc | 31 Grouping grouping, int phase, std::unique_ptr<GraphOptimizationPass> pass) { in Register() argument 32 groups_[grouping][phase].push_back(std::move(pass)); in Register() 40 for (auto& phase : group->second) { in RunGrouping() local 41 VLOG(1) << "Running optimization phase " << phase.first; in RunGrouping() 42 for (auto& pass : phase.second) { in RunGrouping() 53 phase.first, "_", pass->name(), "_", in RunGrouping() 62 "after_group_", grouping, "_phase_", phase.first, "_", in RunGrouping() 80 for (auto& phase : group->second) { in LogGrouping() local 81 for (auto& pass : phase.second) { in LogGrouping() 83 << " phase " << phase.first << ": " << pass->name(); in LogGrouping()
|
D | optimization_registry.h | 81 // The key is a 'phase' number. Phases are executed in increasing 82 // order. Within each phase the order of passes is undefined. 98 void Register(Grouping grouping, int phase, 105 // Run all passes in grouping, ordered by phase, with the same 126 int phase, in OptimizationPassRegistration() argument 130 OptimizationPassRegistry::Global()->Register(grouping, phase, in OptimizationPassRegistration() 137 #define REGISTER_OPTIMIZATION(grouping, phase, optimization) \ argument 138 REGISTER_OPTIMIZATION_UNIQ_HELPER(__COUNTER__, grouping, phase, optimization) 140 #define REGISTER_OPTIMIZATION_UNIQ_HELPER(ctr, grouping, phase, optimization) \ argument 141 REGISTER_OPTIMIZATION_UNIQ(ctr, grouping, phase, optimization) [all …]
|
/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/perfetto/test/trace_processor/track_event/ |
D | flow_events_proto_v1.textproto | 34 phase: 88 # 'X' 46 phase: 115 # 's' 59 phase: 102 # 'f' 73 phase: 88 # 'X' 85 phase: 115 # 's' 99 phase: 88 # 'X' 111 phase: 116 # 't' 125 phase: 88 # 'X' 137 phase: 102 # 'f'
|
/external/wpa_supplicant_8/hostapd/ |
D | hostapd.eap_user | 12 # [2] flag in the end of the line can be used to mark users for tunneled phase 14 # identity can be used in the unencrypted phase 1 and the real user identity 15 # is transmitted only within the encrypted tunnel in phase 2. If non-anonymous 16 # access is needed, two user entries is needed, one for phase 1 and another 17 # with the same username for phase 2. 23 # EAP-PEAP, EAP-TTLS, and EAP-FAST require Phase 2 configuration. 26 # this are to set anonymous phase 1 identity for EAP-PEAP and EAP-TTLS and to 28 # first matching entry is selected, so * should be used as the last phase 1 34 # is only allowed for phase 1 identities. 41 # version based on the Phase 1 identity. Without this flag, the EAP [all …]
|
/external/pffft/ |
D | pf_cic.cpp | 54 uint64_t phase; member 94 uint64_t phase = s->phase, freq; in cicddc_s16_c() local 107 int sinep = phase >> (64-SINESHIFT); in cicddc_s16_c() 110 phase += freq; in cicddc_s16_c() 134 s->phase = phase; in cicddc_s16_c() 144 uint64_t phase = s->phase, freq; in cicddc_cs16_c() local 158 int sinep = phase >> (64-SINESHIFT); in cicddc_cs16_c() 166 phase += freq; in cicddc_cs16_c() 190 s->phase = phase; in cicddc_cs16_c() 203 uint64_t phase = s->phase, freq; in cicddc_cu8_c() 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() 248 // 1on/1off 1x1 squares with phase of 0 - points fastpath in onDraw() 254 // 1on/1off 1x1 squares with phase of .5 - rects fastpath (due to partial squares) in onDraw() 260 // 1on/1off 1x1 squares with phase of 1 - points fastpath in onDraw() 266 // 1on/1off 1x1 squares with phase of 1 and non-integer length - rects fastpath in onDraw() [all …]
|
/external/oboe/apps/OboeTester/app/src/main/cpp/flowunits/ |
D | OscillatorBase.h | 24 * The oscillator has a phase that ranges from -1.0 to +1.0. 48 * This can be used to set the initial phase of an oscillator before starting. 51 * @param phase between -1.0 and +1.0 53 void setPhase(float phase) { in setPhase() argument 54 mPhase = phase; in setPhase() 77 * Increment phase based on frequency in Hz. 85 // Wrap phase in the range of -1 to +1 in incrementPhase() 94 float mPhase = 0.0f; // phase that ranges from -1.0 to +1.0 96 float mFrequencyToPhaseIncrement = 0.0f; // scaler for converting frequency to phase increment
|
/external/python/cpython3/Lib/test/ |
D | test_cmath.py | 6 from cmath import phase, polar, rect, pi 465 self.assertAlmostEqual(phase(0), 0.) 466 self.assertAlmostEqual(phase(1.), 0.) 467 self.assertAlmostEqual(phase(-1.), pi) 468 self.assertAlmostEqual(phase(-1.+1E-300j), pi) 469 self.assertAlmostEqual(phase(-1.-1E-300j), -pi) 470 self.assertAlmostEqual(phase(1j), pi/2) 471 self.assertAlmostEqual(phase(-1j), -pi/2) 474 self.assertEqual(phase(complex(0.0, 0.0)), 0.0) 475 self.assertEqual(phase(complex(0.0, -0.0)), -0.0) [all …]
|