/external/webrtc/webrtc/modules/video_coding/ |
D | timing_unittest.cc | 28 SimulatedClock clock(0); in TEST() local 29 VCMTiming timing(&clock); in TEST() 41 timing.IncomingTimestamp(timeStamp, clock.TimeInMilliseconds()); in TEST() 47 timing.RenderTimeMs(timeStamp, clock.TimeInMilliseconds()), in TEST() 48 clock.TimeInMilliseconds()); in TEST() 55 clock.AdvanceTimeMilliseconds(1000); in TEST() 59 timing.RenderTimeMs(timeStamp, clock.TimeInMilliseconds()), in TEST() 60 clock.TimeInMilliseconds()); in TEST() 65 clock.AdvanceTimeMilliseconds(1000); in TEST() 68 timing.RenderTimeMs(timeStamp, clock.TimeInMilliseconds()), in TEST() [all …]
|
D | video_coding_impl.cc | 74 VideoCodingModuleImpl(Clock* clock, in VideoCodingModuleImpl() argument 80 sender_(clock, in VideoCodingModuleImpl() 84 receiver_(clock, event_factory), in VideoCodingModuleImpl() 300 Clock* clock, in Create() argument 303 return new VideoCodingModuleImpl(clock, new EventFactoryImpl, true, in Create() 307 VideoCodingModule* VideoCodingModule::Create(Clock* clock, in Create() argument 309 assert(clock); in Create() 311 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, in Create()
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/tools/ |
D | bwe_rtp_play.cc | 23 explicit Observer(webrtc::Clock* clock) : clock_(clock) {} in Observer() argument 45 webrtc::SimulatedClock clock(0); in main() local 46 Observer observer(&clock); in main() 47 if (!ParseArgsAndSetupEstimator(argc, argv, &clock, &observer, &reader, in main() 69 if (next_rtp_time_ms <= clock.TimeInMilliseconds()) { in main() 84 rbe->IncomingPacket(clock.TimeInMilliseconds(), in main() 100 next_rtp_time_ms - clock.TimeInMilliseconds()); in main() 101 clock.AdvanceTimeMilliseconds(std::max<int64_t>(time_until_next_event, 0)); in main() 104 clock.TimeInMilliseconds()); in main()
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_clock_test.cc | 221 u64 clock[kThreads]; member 231 clock[i] = 0; in Reset() 236 if (clock[i] != other->get(i)) in verify() 240 if (i < size && clock[i] != 0) in verify() 250 u64 clock[kThreads]; member 258 clock[i] = 0; in SimpleThreadClock() 262 clock[tid]++; in tick() 269 clock[i] = max(clock[i], src->clock[i]); in acquire() 276 dst->clock[i] = max(dst->clock[i], clock[i]); in release() 288 dst->clock[i] = clock[i]; in ReleaseStore() [all …]
|
/external/junit/src/main/java/org/junit/rules/ |
D | Stopwatch.java | 80 private final Clock clock; field in Stopwatch 88 Stopwatch(Clock clock) { in Stopwatch() argument 89 this.clock = clock; in Stopwatch() 132 currentEndNanos = clock.nanoTime(); in getNanos() 139 startNanos = clock.nanoTime(); in starting() 144 endNanos = clock.nanoTime(); in stopping()
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | ntp_time_unittest.cc | 50 SimulatedClock clock(0x0123456789abcdef); in TEST() local 52 NtpTime ntp1(clock); in TEST() 56 ntp2.SetCurrent(clock); in TEST() 61 SimulatedClock clock(0x123456789abc); in TEST() local 63 NtpTime ntp(clock); in TEST() 65 EXPECT_EQ(ntp.ToMs(), clock.CurrentNtpInMilliseconds()); in TEST()
|
D | clock_unittest.cc | 18 Clock* clock = Clock::GetRealTimeClock(); in TEST() local 21 clock->CurrentNtp(seconds, fractions); in TEST() 22 int64_t milliseconds = clock->CurrentNtpInMilliseconds(); in TEST()
|
/external/webrtc/webrtc/modules/video_coding/test/ |
D | video_rtp_play.cc | 50 webrtc::SimulatedClock clock(0); in RtpPlay() local 52 output_file, &clock, kConfigProtectionEnabled, kConfigProtectionMethod, in RtpPlay() 55 webrtc::rtpplayer::Create(args.inputFile, &factory, &clock, payload_types, in RtpPlay() 63 while ((ret = rtp_player->NextPacket(clock.TimeInMilliseconds())) == 0) { in RtpPlay() 66 clock.TimeInMilliseconds() >= kConfigMaxRuntimeMs)) { in RtpPlay() 69 clock.AdvanceTimeMilliseconds(1); in RtpPlay()
|
D | rtp_player.cc | 76 LostPackets(Clock* clock, int64_t rtt_ms) in LostPackets() argument 81 clock_(clock), in LostPackets() 83 assert(clock); in LostPackets() 207 int RegisterSsrc(uint32_t ssrc, LostPackets* lost_packets, Clock* clock) { in RegisterSsrc() argument 221 configuration.clock = clock; in RegisterSsrc() 224 configuration.clock, handler->payload_sink_.get(), NULL, in RegisterSsrc() 322 Clock* clock, in RtpPlayerImpl() argument 328 clock_(clock), in RtpPlayerImpl() 334 lost_packets_(clock, rtt_ms), in RtpPlayerImpl() 340 assert(clock); in RtpPlayerImpl() [all …]
|
/external/boringssl/src/ssl/test/ |
D | packeted_bio.cc | 37 : clock(clock_arg) { in PacketedBio() 46 timeval *clock; member 240 bssl::UniquePtr<BIO> PacketedBioCreate(timeval *clock) { in PacketedBioCreate() argument 245 bio->ptr = new PacketedBio(clock); in PacketedBioCreate() 259 data->clock->tv_usec += data->timeout.tv_usec; in PacketedBioAdvanceClock() 260 data->clock->tv_sec += data->clock->tv_usec / 1000000; in PacketedBioAdvanceClock() 261 data->clock->tv_usec %= 1000000; in PacketedBioAdvanceClock() 262 data->clock->tv_sec += data->timeout.tv_sec; in PacketedBioAdvanceClock()
|
/external/webrtc/webrtc/test/ |
D | frame_generator_capturer.cc | 28 Clock* clock) { in Create() argument 30 clock, input, FrameGenerator::CreateChromaGenerator(width, height), in Create() 46 Clock* clock) { in CreateFromYuvFile() argument 48 clock, input, in CreateFromYuvFile() 60 FrameGeneratorCapturer::FrameGeneratorCapturer(Clock* clock, in FrameGeneratorCapturer() argument 65 clock_(clock), in FrameGeneratorCapturer()
|
/external/skia/tools/skpbench/ |
D | skpbench.cpp | 102 using clock = std::chrono::high_resolution_clock; in run_benchmark() typedef 104 const clock::duration benchDuration = std::chrono::milliseconds(FLAGS_duration); in run_benchmark() 112 clock::time_point now = clock::now(); in run_benchmark() 113 const clock::time_point endTime = now + benchDuration; in run_benchmark() 116 clock::time_point sampleStart = now; in run_benchmark() 124 now = clock::now(); in run_benchmark() 135 using clock = std::chrono::steady_clock; in run_gpu_time_benchmark() typedef 136 const clock::duration sampleDuration = std::chrono::milliseconds(FLAGS_sampleMs); in run_gpu_time_benchmark() 137 const clock::duration benchDuration = std::chrono::milliseconds(FLAGS_duration); in run_gpu_time_benchmark() 152 clock::time_point now = clock::now(); in run_gpu_time_benchmark() [all …]
|
/external/deqp/execserver/tools/ |
D | xsTest.cpp | 388 TestClock clock; in runClient() local 392 if (clock.getMilliseconds() > timeout) in runClient() 428 TestClock clock; in runClient() local 435 if (clock.getMilliseconds() > timeout) in runClient() 487 TestClock clock; in runClient() local 495 if (clock.getMilliseconds() > timeout) in runClient() 549 TestClock clock; in runClient() local 557 if (clock.getMilliseconds() > timeout) in runClient() 641 TestClock clock; in runClient() local 649 if (clock.getMilliseconds() > timeout) in runClient() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock/ |
D | coverage.txt | 1 This document defines the coverage for the clock() function. 12 1 is failing on test implementation. It appears clock() is always returning 0. 16 3 - Will not test the error values of clock() because it is unknown how to 18 5 - Cannot test that clock() can wrap because it is unknown which
|
/external/tpm2/ |
D | Clock.c | 18 static UINT64 clock(void) in clock() function 42 s_initClock = clock(); in _plat__ClockReset() 58 unsigned long long currentClock = clock(); in _plat__ClockTimeFromStart() 76 unsigned long long currentClock = clock(); in _plat__ClockTimeElapsed()
|
D | Time.c | 113 oldClock = go.clock; in TimeUpdateToCurrent() 116 go.clock += elapsed; in TimeUpdateToCurrent() 123 if( ((go.clock/1000) | CLOCK_UPDATE_MASK) in TimeUpdateToCurrent() 223 clockInfo->clock = go.clock; in TimeFillInfo()
|
D | ClockSet.c | 30 || in->newTime < go.clock) in TPM2_ClockSet() 36 clockNow = go.clock; // grab the old value in TPM2_ClockSet() 37 go.clock = in->newTime; // set the new value in TPM2_ClockSet()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/ |
D | BitmapPreFillRunner.java | 59 private final Clock clock; field in BitmapPreFillRunner 71 …llRunner(BitmapPool bitmapPool, MemoryCache memoryCache, PreFillQueue allocationOrder, Clock clock, in BitmapPreFillRunner() argument 76 this.clock = clock; in BitmapPreFillRunner() 89 long start = clock.now(); in allocate() 113 return clock.now() - startTimeMs >= MAX_DURATION_MS; in isGcDetected()
|
/external/webrtc/webrtc/system_wrappers/include/ |
D | ntp_time.h | 21 explicit NtpTime(const Clock& clock) { in NtpTime() argument 22 clock.CurrentNtp(seconds_, fractions_); in NtpTime() 30 void SetCurrent(const Clock& clock) { in SetCurrent() argument 31 clock.CurrentNtp(seconds_, fractions_); in SetCurrent()
|
/external/google-breakpad/src/processor/ |
D | logging.cc | 57 time_t clock; in LogStream() local 58 time(&clock); in LogStream() 61 localtime_s(&tm_struct, &clock); in LogStream() 63 localtime_r(&clock, &tm_struct); in LogStream()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/delay_tool/ |
D | parse_delay_file.m | 40 clock = 0; variable 55 clock = fread(fid, 1, '*float32'); variable 67 % back up to last clock event 70 % read the last clock value 71 clock = fread(fid, 1, '*float32'); variable 99 recin_t(temp_ix) = clock; 113 decode_t(k) = clock; 166 decode_t(k) = clock;
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_mutex.cc | 165 AcquireImpl(thr, pc, &s->clock); in MutexLock() 209 ReleaseStoreImpl(thr, pc, &s->clock); in MutexUnlock() 247 AcquireImpl(thr, pc, &s->clock); in MutexReadLock() 322 ReleaseImpl(thr, pc, &s->clock); in MutexReadOrWriteUnlock() 369 AcquireImpl(thr, pc, &s->clock); in Acquire() 377 thr->clock.set(tctx->tid, tctx->thr->fast_state.epoch()); in UpdateClockCallback() 379 thr->clock.set(tctx->tid, tctx->epoch1); in UpdateClockCallback() 399 ReleaseImpl(thr, pc, &s->clock); in Release() 411 ReleaseStoreImpl(thr, pc, &s->clock); in ReleaseStore() 439 thr->clock.set(thr->fast_state.epoch()); in AcquireImpl() [all …]
|
/external/autotest/client/tests/monotonic_time/ |
D | control | 24 # clock source: 27 # TSC - CPU clock cycles 33 job.run_test('monotonic_time', tag='clock', test_type='clock',
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
D | EncodeDecodeTest.cc | 227 uint32_t clock = 0; in Run() local 230 if (clock == 0 || clock >= _nextTime) { in Run() 232 if (clock == 0) { in Run() 233 clock = _nextTime; in Run() 236 if ((clock % 10) == 0) { in Run() 238 clock++; in Run() 245 clock++; in Run()
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | audio_coding_module.cc | 26 config.clock = Clock::GetRealTimeClock(); in Create() 30 AudioCodingModule* AudioCodingModule::Create(int id, Clock* clock) { in Create() argument 33 config.clock = clock; in Create()
|