/external/libopus/celt/tests/ |
test_unit_mdct.c | 64 double phase = 2*M_PI*(k+.5+.25*nfft)*(bin+.5)/nfft; local 65 double re = cos(phase); 94 double phase = 2*M_PI*(bin+.5+.25*nfft)*(k+.5)/nfft; local 95 double re = cos(phase);
|
/external/opencv3/modules/cudaarithm/src/ |
element_operations.cpp | 84 void cv::cuda::phase(InputArray, InputArray, OutputArray, bool, Stream&) { throw_no_cuda(); } function in class:cv::cuda
|
/external/skia/src/effects/ |
Sk1DPathEffect.cpp | 36 SkScalar phase, Style style) : fPath(path) 39 // cleanup their phase parameter, inverting it so that it becomes an 41 if (phase < 0) { 42 phase = -phase; 43 if (phase > advance) { 44 phase = SkScalarMod(phase, advance); 47 if (phase > advance) { 48 phase = SkScalarMod(phase, advance) 154 SkScalar phase = buffer.readScalar(); local [all...] |
/external/v8/test/cctest/ |
test-trace-event.cc | 25 char phase; member in struct:MockTraceObject 31 MockTraceObject(char phase, std::string name, uint64_t id, uint64_t bind_id, 33 : phase(phase), 74 uint64_t AddTraceEvent(char phase, const uint8_t* category_enabled_flag, 79 MockTraceObject* to = new MockTraceObject(phase, std::string(name), id, 135 CHECK_EQ('B', GET_TRACE_OBJECT(0)->phase); 139 CHECK_EQ('E', GET_TRACE_OBJECT(1)->phase); 252 CHECK_EQ(TRACE_EVENT_PHASE_ASYNC_BEGIN, GET_TRACE_OBJECT(0)->phase); 254 CHECK_EQ(TRACE_EVENT_PHASE_ASYNC_END, GET_TRACE_OBJECT(1)->phase); [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/include/ |
viddec_pm_utils_bstream.h | 44 uint32_t phase; member in struct:__anon29760 69 uint32_t phase=cxt->phase; local 73 if(cxt->phase > 0) 75 phase = phase - ((cxt->bstrm_buf.buf_bitoff != 0)? 1: 0 ); 77 *is_emul = (cxt->is_emul_reqd) && (phase > 0) &&
|
/external/speex/libspeex/ |
kiss_fftr.c | 64 spx_word32_t phase = i+(nfft>>1); local 66 phase = -phase; 67 kf_cexp2(st->super_twiddles+i, DIV32(SHL32(phase,16),nfft)); 72 double phase = pi*(((double)i) /nfft + .5); local 74 phase = -phase; 75 kf_cexp(st->super_twiddles+i, phase );
|
kiss_fft.c | 483 spx_word32_t phase = i; local 485 phase = -phase; 486 kf_cexp2(st->twiddles+i, DIV32(SHL32(phase,17),nfft)); 491 double phase = ( -2*pi /nfft ) * i; local 493 phase *= -1; 494 kf_cexp(st->twiddles+i, phase );
|
/system/connectivity/shill/ |
connectivity_trial.h | 58 enum Phase { 74 : phase(kPhaseUnknown), status(kStatusFailure) {} 75 Result(Phase phase_in, Status status_in) 76 : phase(phase_in), status(status_in) {} 77 Phase phase; member in struct:shill::ConnectivityTrial::Result 90 // Static method used to map a portal detection phase tp a string. This 93 static const std::string PhaseToString(Phase phase); 95 // Static method to map from the result of a portal detection phase to [all...] |
/external/dng_sdk/source/ |
dng_image.cpp | 293 // Find pattern phase at top-left corner of destination area. 295 dng_point phase = dng_pixel_buffer::RepeatPhase (srcArea, local 305 int32 splitV = newArea.t + repeat.v - phase.v; 306 int32 splitH = newArea.l + repeat.h - phase.h; 322 dng_point (phase.v, phase.h)); 346 dng_point (phase.v, -phase.h)); 370 dng_point (-phase.v, phase.h)) [all...] |
/external/libchrome/base/trace_event/ |
trace_event_impl.h | 104 char phase, 134 char phase() const { return phase_; } function in class:base::trace_event::TraceEvent 163 // id_ can be used to store phase-specific data.
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cff/ |
cffparse.c | 133 FT_UInt phase; local 153 phase = 4; 157 /* If we entered this iteration with phase == 4, we need to */ 159 if ( phase ) 169 nib = (FT_Int)( p[0] >> phase ) & 0xF; 170 phase = 4 - phase; 194 /* If we entered this iteration with phase == 4, we need */ 196 if ( phase ) 206 nib = ( p[0] >> phase ) & 0xF [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/lzw/ |
ftzopen.h | 115 FT_LzwPhase phase; member in struct:FT_LzwStateRec_
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pfr/ |
pfrsbit.c | 127 FT_Int phase, count, counts[2]; local 137 phase = 1; 149 if ( phase ) 160 phase = 0; 165 phase = 1; 172 if ( phase ) 208 FT_Int phase, count; local 218 phase = 1; 232 phase = phase ^ 1 [all...] |
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/effects/ |
OutlineZigzagEffect.java | 77 int phase = 0;
local 104 if ((phase & 1) == 0)
109 phase++;
|
/external/libopus/celt/ |
kiss_fft.c | 523 opus_val32 phase = -i; local 524 kf_cexp2(twiddles+i, DIV32(SHL32(phase,17),nfft)); 529 double phase = ( -2*pi /nfft ) * i; local 530 kf_cexp(twiddles+i, phase );
|
/external/libweave/third_party/chromium/base/time/ |
time_unittest.cc | 420 base::TimeTicks phase = base::TimeTicks::FromInternalValue(4000); local 427 timestamp.SnappedToNextTick(phase, interval).ToInternalValue()); 432 timestamp.SnappedToNextTick(phase, interval).ToInternalValue()); 437 timestamp.SnappedToNextTick(phase, interval).ToInternalValue()); 442 timestamp.SnappedToNextTick(phase, interval).ToInternalValue()); 447 timestamp.SnappedToNextTick(phase, interval).ToInternalValue()); 452 timestamp.SnappedToNextTick(phase, interval).ToInternalValue()); 454 // Timestamp equal to phase. 457 timestamp.SnappedToNextTick(phase, interval).ToInternalValue()); 463 base::TimeTicks phase = base::TimeTicks::FromInternalValue(0) local [all...] |
/external/pdfium/third_party/freetype/src/cff/ |
cffparse.c | 133 FT_UInt phase; local 153 phase = 4; 157 /* If we entered this iteration with phase == 4, we need to */ 159 if ( phase ) 169 nib = (FT_Int)( p[0] >> phase ) & 0xF; 170 phase = 4 - phase; 194 /* If we entered this iteration with phase == 4, we need */ 196 if ( phase ) 206 nib = ( p[0] >> phase ) & 0xF [all...] |
/external/skia/gm/ |
dashing.cpp | 15 SkScalar phase = SkIntToScalar(0), 24 p.setPathEffect(SkDashPathEffect::Create(intervals, 2, phase))->unref(); 176 SkScalar phase = vals[0] / 2; local 177 paint.setPathEffect(SkDashPathEffect::Create(vals, count, phase))->unref(); 210 SkScalar phase, 225 p.setPathEffect(SkDashPathEffect::Create(intervals, 2, phase))->unref(); 247 // 1on/1off 1x1 squares with phase of 0 - points fastpath 253 // 1on/1off 1x1 squares with phase of .5 - rects fastpath (due to partial squares) 259 // 1on/1off 1x1 squares with phase of 1 - points fastpath 265 // 1on/1off 1x1 squares with phase of 1 and non-integer length - rects fastpat 450 int phase = 0; variable [all...] |
/external/webrtc/webrtc/base/ |
event_tracer.cc | 47 // Arguments to this function (phase, etc.) are as defined in 49 void EventTracer::AddTraceEvent(char phase, 59 g_add_trace_event_ptr(phase, 92 char phase, 98 {name, category_enabled, phase, timestamp, 1, thread_id}); 129 e.phase, e.timestamp, e.pid, e.tid); 178 char phase; member in struct:rtc::tracing::__anon26273::final::TraceEvent 212 void InternalAddTraceEvent(char phase, 225 g_event_logger->AddTraceEvent(name, category_enabled, phase,
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
viddec_pm_utils_bstream.c | 147 uint32_t *phase, /* Phase for emulation */ 160 if((cur_byte == 0x3) &&(*phase == 2)) 161 {/* skip emulation byte. we update the phase only if emulation prevention is enabled */ 162 *phase = 0; 168 We only update phase for first byte if bit offset is 0. If its not 0 then it was already accounted for in the past. 169 From second byte onwards we always look to update phase. 175 /* Update phase only if emulation prevention is required */ 176 *phase +=( ((*phase < 2) && emul_reqd ) ? 1: 0 ) 423 uint32_t act_bytes, phase; local [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
PhaserTest.java | 38 int phase, int parties, int unarrived) { 39 assertEquals(phase, phaser.getPhase()); 63 * parties and initial phase number of 0 173 * register() correctly returns the current barrier phase number 185 * register causes the next arrive to not increment the phase 186 * rather retain the phase number 265 * the phase number increments correctly when tripping the barrier 271 int phase = phaser.arrive(); local 272 assertTrue(index % size == 0 ? (index / size) == phase : index - (phase * size) > 0) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_cmath.py | 5 from cmath import phase, polar, rect, pi namespace 367 self.assertAlmostEqual(phase(0), 0.) 368 self.assertAlmostEqual(phase(1.), 0.) 369 self.assertAlmostEqual(phase(-1.), pi) 370 self.assertAlmostEqual(phase(-1.+1E-300j), pi) 371 self.assertAlmostEqual(phase(-1.-1E-300j), -pi) 372 self.assertAlmostEqual(phase(1j), pi/2) 373 self.assertAlmostEqual(phase(-1j), -pi/2) 376 self.assertEqual(phase(complex(0.0, 0.0)), 0.0) 377 self.assertEqual(phase(complex(0.0, -0.0)), -0.0 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_cmath.py | 5 from cmath import phase, polar, rect, pi namespace 367 self.assertAlmostEqual(phase(0), 0.) 368 self.assertAlmostEqual(phase(1.), 0.) 369 self.assertAlmostEqual(phase(-1.), pi) 370 self.assertAlmostEqual(phase(-1.+1E-300j), pi) 371 self.assertAlmostEqual(phase(-1.-1E-300j), -pi) 372 self.assertAlmostEqual(phase(1j), pi/2) 373 self.assertAlmostEqual(phase(-1j), -pi/2) 376 self.assertEqual(phase(complex(0.0, 0.0)), 0.0) 377 self.assertEqual(phase(complex(0.0, -0.0)), -0.0 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cmath.py | 5 from cmath import phase, polar, rect, pi namespace 367 self.assertAlmostEqual(phase(0), 0.) 368 self.assertAlmostEqual(phase(1.), 0.) 369 self.assertAlmostEqual(phase(-1.), pi) 370 self.assertAlmostEqual(phase(-1.+1E-300j), pi) 371 self.assertAlmostEqual(phase(-1.-1E-300j), -pi) 372 self.assertAlmostEqual(phase(1j), pi/2) 373 self.assertAlmostEqual(phase(-1j), -pi/2) 376 self.assertEqual(phase(complex(0.0, 0.0)), 0.0) 377 self.assertEqual(phase(complex(0.0, -0.0)), -0.0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cmath.py | 5 from cmath import phase, polar, rect, pi namespace 367 self.assertAlmostEqual(phase(0), 0.) 368 self.assertAlmostEqual(phase(1.), 0.) 369 self.assertAlmostEqual(phase(-1.), pi) 370 self.assertAlmostEqual(phase(-1.+1E-300j), pi) 371 self.assertAlmostEqual(phase(-1.-1E-300j), -pi) 372 self.assertAlmostEqual(phase(1j), pi/2) 373 self.assertAlmostEqual(phase(-1j), -pi/2) 376 self.assertEqual(phase(complex(0.0, 0.0)), 0.0) 377 self.assertEqual(phase(complex(0.0, -0.0)), -0.0 [all...] |