/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/ |
H A D | try_lock_for.pass.cpp | 15 // bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 26 typedef Clock::duration duration; typedef
|
H A D | try_lock_until.pass.cpp | 26 typedef Clock::duration duration; typedef
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | TimeSystem.java | 116 public void appyScale(float scaleFactor, float duration, boolean ease) { argument 118 mScaleDuration = duration;
|
/external/skia/src/images/ |
H A D | SkMovie.cpp | 29 SkMSec SkMovie::duration() function in class:SkMovie 55 SkMSec dur = this->duration();
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderMediaControls.cpp | 209 float duration = mediaElement->duration(); local 211 if (std::isnan(duration) || std::isinf(duration) || !duration || std::isnan(currentTime)) 219 int startPosition = int(start * rect.width() / duration); 220 int currentPosition = int(currentTime * rect.width() / duration); 221 int endPosition = int(end * rect.width() / duration); 433 static String formatChromiumMediaControlsTime(float time, float duration) argument 437 if (!std::isfinite(duration)) 462 formatMediaControlsCurrentTime(float currentTime, float duration) argument [all...] |
/external/chromium_org/media/formats/mp2t/ |
H A D | es_adapter_video.cc | 15 // Arbitrary decision about the frame duration when there is no previous 16 // hint about what could be the frame duration. 19 // To calculate the frame duration, we make an assumption 23 // cases. However, the right way to calculate the frame duration would be 110 if (buffer->duration() == kNoTimestamp()) { 115 DVLOG(LOG_LEVEL_ES) << "Using last frame duration: " 119 base::TimeDelta duration = next_frame_pts - buffer->timestamp(); local 120 DVLOG(LOG_LEVEL_ES) << "Frame duration: " << duration.InMilliseconds(); 121 buffer->set_duration(duration); [all...] |
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
H A D | dtmfsender.cc | 58 // The duration cannot be more than 6000ms or less than 70ms. The gap between 133 bool DtmfSender::InsertDtmf(const std::string& tones, int duration, argument 137 if (duration > kDtmfMaxDurationMs || 138 duration < kDtmfMinDurationMs || 140 LOG(LS_ERROR) << "InsertDtmf is called with invalid duration or tones gap. " 141 << "The duration cannot be more than " << kDtmfMaxDurationMs 154 duration_ = duration; 171 int DtmfSender::duration() const { function in class:webrtc::DtmfSender
|
/external/guava/guava/src/com/google/common/base/ |
H A D | Suppliers.java | 134 * @param duration the length of time after a value is created that it 136 * @param unit the unit that {@code duration} is expressed in 137 * @throws IllegalArgumentException if {@code duration} is not positive 141 Supplier<T> delegate, long duration, TimeUnit unit) { 142 return new ExpiringMemoizingSupplier<T>(delegate, duration, unit); 154 Supplier<T> delegate, long duration, TimeUnit unit) { 156 this.durationNanos = unit.toNanos(duration); 157 Preconditions.checkArgument(duration > 0); 140 memoizeWithExpiration( Supplier<T> delegate, long duration, TimeUnit unit) argument 153 ExpiringMemoizingSupplier( Supplier<T> delegate, long duration, TimeUnit unit) argument
|
/external/qemu/android/ |
H A D | iolooper-select.c | 168 iolooper_wait( IoLooper* iol, int64_t duration ) 178 CLAMP_MAC_TIMEOUT(duration); 180 if (duration < 0) 184 tm->tv_sec = duration / 1000; 185 tm->tv_usec = (duration - 1000*tm->tv_sec) * 1000;
|
/external/bluetooth/bluedroid/stack/gap/ |
H A D | gap_api.c | 38 ** duration - Amount of time for the duration of an inquiry scan. 44 ** Note: The duration must be less than or equal to 60 UINT16 GAP_SetDiscoverableMode (UINT16 mode, UINT16 duration, UINT16 interval) argument 64 status = BTM_SetDiscoverability(mode, duration, interval); 77 ** Parameters: duration - pointer to the amount of time of an inquiry scan. 91 UINT16 GAP_ReadDiscoverableMode (UINT16 *duration, UINT16 *interval) argument 93 return (BTM_ReadDiscoverability(duration, interval)); 106 ** duration - Amount of time for the duration o 128 GAP_SetConnectableMode(UINT16 mode, UINT16 duration, UINT16 interval) argument 223 GAP_ReadConnectableMode(UINT16 *duration, UINT16 *interval) argument [all...] |
/external/guava/guava/src/com/google/common/collect/ |
H A D | MapMaker.java | 436 MapMaker expiration(long duration, TimeUnit unit) { argument 437 return expireAfterWrite(duration, unit); 441 * Specifies that each entry should be automatically removed from the map once a fixed duration 444 * <p>When {@code duration} is zero, elements can be successfully added to the map, but are 454 * @param duration the length of time after an entry is created that it should be automatically 456 * @param unit the unit that {@code duration} is expressed in 457 * @throws IllegalArgumentException if {@code duration} is negative 465 MapMaker expireAfterWrite(long duration, TimeUnit unit) { argument 466 checkExpiration(duration, unit); 467 this.expireAfterWriteNanos = unit.toNanos(duration); 476 checkExpiration(long duration, TimeUnit unit) argument 514 expireAfterAccess(long duration, TimeUnit unit) argument [all...] |
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
H A D | slice_track.js | 117 function(slice) { return slice.start + slice.duration; }, 127 var w = Math.max(slice.duration, 0.001); 134 if (slice.duration > 0) { 171 if (slice.duration <= quickDiscardThresshold) 180 this.labelWidthWorld(drawnTitle, pixWidth) > slice.duration) { 184 slice.duration); 189 if (drawnWidth * pixWidth < slice.duration) { 191 var cX = vp.xWorldToView(slice.start + 0.5 * slice.duration); 206 function(x) { return x.duration; },
|
/external/chromium_org/media/base/ |
H A D | audio_discard_helper_unittest.cc | 21 base::TimeDelta duration) { 24 result->set_duration(duration); 78 // Use an estimated duration which doesn't match the number of decoded frames 93 EXPECT_EQ(kActualDuration, decoded_buffer->duration()); 120 EXPECT_EQ(kDuration, decoded_buffer->duration()); 144 EXPECT_EQ(kDuration / 2, decoded_buffer->duration()); 177 EXPECT_EQ(kDuration / 2, decoded_buffer->duration()); 198 EXPECT_EQ(kDuration, decoded_buffer->duration()); 205 EXPECT_EQ(kDuration, decoded_buffer->duration()); 228 EXPECT_EQ(kDuration / 2, decoded_buffer->duration()); 19 CreateEncodedBuffer( base::TimeDelta timestamp, base::TimeDelta duration) argument [all...] |
H A D | stream_parser_buffer.cc | 28 copied_buffer->set_duration(buffer.duration()); 87 // duration to force clients to set them? Today they end up being zero which 115 DCHECK(duration() > base::TimeDelta()) 116 << "Only buffers with a valid duration can convert to a splice buffer." 119 << " dur " << duration().InSecondsF(); 151 // The splice duration is the duration of all buffers before the splice plus 153 DCHECK(overlapping_buffer->duration() > base::TimeDelta()); 154 DCHECK(pre_splice_buffers.back()->duration() > base::TimeDelta()); 156 std::max(overlapping_buffer->timestamp() + overlapping_buffer->duration(), [all...] |
/external/chromium_org/tools/telemetry/telemetry/timeline/ |
H A D | thread.py | 138 curr_slice.duration = end_timestamp - curr_slice.start 149 def PushCompleteSlice(self, category, name, timestamp, duration, 154 if duration == None: 157 new_slice.duration = duration 169 s.duration = max_timestamp - s.start 170 assert s.duration >= 0 250 # two end=start+duration combos that should be the same will be slightly
|
H A D | inspector_importer_unittest.py | 64 self.assertTrue(decode_image_event.duration > 0) 76 self.assertEquals(2, event.duration) 90 self.assertEquals(2, event.duration)
|
/external/chromium_org/tools/telemetry/telemetry/web_perf/metrics/ |
H A D | rendering_frame_unittest.py | 33 def AddSendEvent(self, ts=0, duration=1): 36 RenderingFrame.send_begin_frame_event, ts, duration) 39 def AddBeginMainFrameEvent(self, ts=0, duration=1): 41 RenderingFrame.begin_main_frame_event, ts, duration) 47 def _CreateEvent(self, event_name, ts, duration): 49 duration=duration, args={'begin_frame_id': self._begin_frame_id})
|
/external/chromium_org/v8/src/heap/ |
H A D | gc-tracer.h | 137 AllocationEvent(double duration, intptr_t allocation_in_bytes); 212 // Cumulative duration of incremental marking steps since creation of 221 // Cumulative pure duration of incremental marking steps since creation of 254 void AddNewSpaceAllocationTime(double duration, intptr_t allocation_in_bytes); 257 void AddIncrementalMarkingStep(double duration, intptr_t bytes); 260 void AddMarkingTime(double duration) { 261 cumulative_marking_duration_ += duration; 270 void AddSweepingTime(double duration) { 271 cumulative_sweeping_duration_ += duration; 279 // Compute the mean duration o [all...] |
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
H A D | TimeUnit.java | 115 public long toNanos(long duration) { argument 119 public long toMicros(long duration) { argument 123 public long toMillis(long duration) { argument 127 public long toSeconds(long duration) { argument 131 public long toMinutes(long duration) { argument 135 public long toHours(long duration) { argument 139 public long toDays(long duration) { argument
|
/external/libvpx/libvpx/third_party/nestegg/test/ |
H A D | test.c | 86 uint64_t duration, tstamp, pkt_tstamp; local 112 nestegg_duration(ctx, &duration); 114 fprintf(stderr, "media has %u tracks and duration %fs\n", tracks, duration / 1e9); 154 r = nestegg_track_seek(ctx, 0, duration / 2); 178 r = nestegg_track_seek(ctx, 0, duration - (duration / 10)); 202 r = nestegg_track_seek(ctx, 0, duration / 10);
|
/external/tcpdump/ |
H A D | ieee802_11.h | 130 u_int16_t duration; member in struct:mgmt_header_t 253 u_int16_t duration; member in struct:ctrl_rts_t 264 u_int16_t duration; member in struct:ctrl_cts_t 273 u_int16_t duration; member in struct:ctrl_ack_t 293 u_int16_t duration; member in struct:ctrl_end_t 304 u_int16_t duration; member in struct:ctrl_end_ack_t 315 u_int16_t duration; member in struct:ctrl_ba_t
|
/external/chromium_org/media/ffmpeg/ |
H A D | ffmpeg_unittest.cc | 127 // Determine duration by picking max stream duration. 130 int64 duration = ConvertFromTimeBase( local 131 av_stream->time_base, av_stream->duration).InMicroseconds(); 132 duration_ = std::max(duration_, duration); 135 // Final check to see if the container itself specifies a duration. 137 int64 duration = local 139 av_format_context_->duration).InMicroseconds(); 140 duration_ = std::max(duration_, duration); 349 int64 duration() { retur function in class:media::FFmpegTest [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | ImageSource.cpp | 143 // Many annoying ads specify a 0 duration to make an image flash as quickly as possible. 144 // We follow Firefox's behavior and use a duration of 100 ms for any frames that specify 145 // a duration of <= 10 ms. See <rdar://problem/7689300> and <http://webkit.org/b/36082> 147 const float duration = m_decoder->frameDurationAtIndex(index) / 1000.0f; local 148 if (duration < 0.011f) 150 return duration;
|
/external/chromium_org/v8/tools/testrunner/local/ |
H A D | perfdata.py | 71 """Returns the observed duration for |test| as read from the store.""" 78 """Updates the persisted value in the store with test.duration.""" 80 self.RawUpdatePerfData(testkey, test.duration) 82 def RawUpdatePerfData(self, testkey, duration): 88 entry.AddResult(duration)
|
/external/guava/guava/src/com/google/common/cache/ |
H A D | CacheBuilder.java | 540 * Specifies that each entry should be automatically removed from the cache once a fixed duration 543 * <p>When {@code duration} is zero, this method hands off to 552 * @param duration the length of time after an entry is created that it should be automatically 554 * @param unit the unit that {@code duration} is expressed in 555 * @throws IllegalArgumentException if {@code duration} is negative 558 public CacheBuilder<K, V> expireAfterWrite(long duration, TimeUnit unit) { argument 561 checkArgument(duration >= 0, "duration cannot be negative: %s %s", duration, unit); 562 this.expireAfterWriteNanos = unit.toNanos(duration); 592 expireAfterAccess(long duration, TimeUnit unit) argument 630 refreshAfterWrite(long duration, TimeUnit unit) argument [all...] |