/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
Chrono.h | 40 time_point_cast<system_clock::time_point::duration>(TP)); 54 /// Implementation of format_provider<T> for duration types. 56 /// The options string of a duration type has the grammar: 74 /// If the unit of the duration type is not one of the units specified above, 91 struct format_provider<std::chrono::duration<Rep, Period>> { 93 typedef std::chrono::duration<Rep, Period> Dur; 100 return duration_cast<duration<InternalRep, AsPeriod>>(D).count(); 128 assert(0 && "Unrecognised duration format");
|
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/ |
Chrono.h | 40 time_point_cast<system_clock::time_point::duration>(TP)); 54 /// Implementation of format_provider<T> for duration types. 56 /// The options string of a duration type has the grammar: 74 /// If the unit of the duration type is not one of the units specified above, 91 struct format_provider<std::chrono::duration<Rep, Period>> { 93 typedef std::chrono::duration<Rep, Period> Dur; 100 return duration_cast<duration<InternalRep, AsPeriod>>(D).count(); 128 assert(0 && "Unrecognised duration format");
|
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/ |
Chrono.h | 40 time_point_cast<system_clock::time_point::duration>(TP)); 54 /// Implementation of format_provider<T> for duration types. 56 /// The options string of a duration type has the grammar: 74 /// If the unit of the duration type is not one of the units specified above, 91 struct format_provider<std::chrono::duration<Rep, Period>> { 93 typedef std::chrono::duration<Rep, Period> Dur; 100 return duration_cast<duration<InternalRep, AsPeriod>>(D).count(); 128 assert(0 && "Unrecognised duration format");
|
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/ |
Chrono.h | 40 time_point_cast<system_clock::time_point::duration>(TP)); 54 /// Implementation of format_provider<T> for duration types. 56 /// The options string of a duration type has the grammar: 74 /// If the unit of the duration type is not one of the units specified above, 91 struct format_provider<std::chrono::duration<Rep, Period>> { 93 typedef std::chrono::duration<Rep, Period> Dur; 100 return duration_cast<duration<InternalRep, AsPeriod>>(D).count(); 128 assert(0 && "Unrecognised duration format");
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/ |
Chrono.h | 40 time_point_cast<system_clock::time_point::duration>(TP)); 54 /// Implementation of format_provider<T> for duration types. 56 /// The options string of a duration type has the grammar: 74 /// If the unit of the duration type is not one of the units specified above, 91 struct format_provider<std::chrono::duration<Rep, Period>> { 93 typedef std::chrono::duration<Rep, Period> Dur; 100 return duration_cast<duration<InternalRep, AsPeriod>>(D).count(); 128 assert(0 && "Unrecognised duration format");
|
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Support/ |
Chrono.h | 40 time_point_cast<system_clock::time_point::duration>(TP)); 54 /// Implementation of format_provider<T> for duration types. 56 /// The options string of a duration type has the grammar: 74 /// If the unit of the duration type is not one of the units specified above, 91 struct format_provider<std::chrono::duration<Rep, Period>> { 93 typedef std::chrono::duration<Rep, Period> Dur; 100 return duration_cast<duration<InternalRep, AsPeriod>>(D).count(); 128 assert(0 && "Unrecognised duration format");
|
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Support/ |
Chrono.h | 40 time_point_cast<system_clock::time_point::duration>(TP)); 54 /// Implementation of format_provider<T> for duration types. 56 /// The options string of a duration type has the grammar: 74 /// If the unit of the duration type is not one of the units specified above, 91 struct format_provider<std::chrono::duration<Rep, Period>> { 93 typedef std::chrono::duration<Rep, Period> Dur; 100 return duration_cast<duration<InternalRep, AsPeriod>>(D).count(); 128 assert(0 && "Unrecognised duration format");
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
bsg.h | 54 __u32 duration; /* [o] time to complete, in milliseconds */ member in struct:sg_io_v4
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/src/ |
chrono.cpp | 73 _VSTD::chrono::duration<__int64, 93 return time_point(duration_cast<duration>(d - nt_to_unix_epoch)); 192 return time_point(duration(fp())); 208 return time_point(duration(counter.QuadPart * nano::den / freq.QuadPart));
|
/system/bt/test/suite/core/ |
thread_performance_test.cc | 90 std::chrono::milliseconds duration = local 94 LOG(INFO) << "Message loop took " << duration.count() << "ms for " 118 std::chrono::milliseconds duration = local 122 LOG(INFO) << "Reactor thread took " << duration.count() << "ms for "
|
/system/chre/apps/chqts/src/general_test/ |
timer_set_test.h | 44 Stage(uint32_t stage, uint64_t duration, const void *cookie,
|
/system/chre/chre_api/include/chre_api/chre/ |
re.h | 300 * @param duration Time, in nanoseconds, before the timer fires. 305 * timer will continue to refire every 'duration', until this timer is 314 uint32_t chreTimerSet(uint64_t duration, const void *cookie, bool oneShot);
|
/system/chre/chre_api/legacy/v1_1/chre/ |
re.h | 300 * @param duration Time, in nanoseconds, before the timer fires. 305 * timer will continue to refire every 'duration', until this timer is 314 uint32_t chreTimerSet(uint64_t duration, const void *cookie, bool oneShot);
|
/system/extras/simpleperf/ |
IOEventLoop.h | 59 // [duration]. 60 bool AddPeriodicEvent(timeval duration,
|
/system/extras/zram-perf/ |
zram-perf.cpp | 92 size_t duration = chrono::duration_cast<chrono::microseconds>(end - start).count(); local 93 cout << "read: " << (double)devSize * passes / 1024.0 / 1024.0 / (duration / 1000.0 / 1000.0) << "MB/s" << endl; 114 size_t duration = chrono::duration_cast<chrono::microseconds>(end - start).count(); local 115 cout << "write: " << (double)devSize * passes / 1024.0 / 1024.0 / (duration / 1000.0 / 1000.0) << "MB/s" << endl;
|
/external/guava/guava/src/com/google/common/cache/ |
CacheBuilderSpec.java | 48 * <li>{@code expireAfterAccess=[duration]}: sets {@link CacheBuilder#expireAfterAccess}. 49 * <li>{@code expireAfterWrite=[duration]}: sets {@link CacheBuilder#expireAfterWrite}. 50 * <li>{@code refreshAfterWrite=[duration]}: sets {@link CacheBuilder#refreshAfterWrite}. 280 * Converts an expiration duration/unit pair into a single Long for hashing and equality. 283 @Nullable private static Long durationInNanos(long duration, @Nullable TimeUnit unit) { 284 return (unit == null) ? null : unit.toNanos(duration); 412 long duration, 440 long duration = Long.parseLong(value.substring(0, value.length() - 1)); local 441 parseDuration(spec, duration, timeUnit); 451 @Override protected void parseDuration(CacheBuilderSpec spec, long duration, TimeUnit unit) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
MapMaker.java | 353 * Specifies that each entry should be automatically removed from the map once a fixed duration 356 * <p>When {@code duration} is zero, elements can be successfully added to the map, but are 366 * @param duration the length of time after an entry is created that it should be automatically 368 * @param unit the unit that {@code duration} is expressed in 369 * @throws IllegalArgumentException if {@code duration} is negative 379 MapMaker expireAfterWrite(long duration, TimeUnit unit) { 380 checkExpiration(duration, unit); 381 this.expireAfterWriteNanos = unit.toNanos(duration); 382 if (duration == 0 && this.nullRemovalCause == null) { 390 private void checkExpiration(long duration, TimeUnit unit) [all...] |
/frameworks/base/cmds/input/src/com/android/commands/input/ |
Input.java | 110 int duration = -1; local 114 duration = Integer.parseInt(args[index+5]); 119 duration); 123 int duration = -1; local 127 duration = Integer.parseInt(args[index+5]); 132 duration); 215 private void sendSwipe(int inputSource, float x1, float y1, float x2, float y2, int duration) { 216 if (duration < 0) { 217 duration = 300; 222 long endTime = startTime + duration; [all...] |
/frameworks/base/core/java/android/view/animation/ |
AnimationSet.java | 33 * (for example, duration or fillBefore), the values of AnimationSet 41 * <li>duration, repeatMode, fillBefore, fillAfter: These properties, when set 50 * <code>android:duration="500"</code> in an XML resource for an AnimationSet object.</p> 200 * <p>Sets the duration of every child animation.</p> 202 * @param durationMillis the duration of the animation, in milliseconds, for 294 * The duration of an AnimationSet is defined to be the 295 * duration of the longest child animation. 303 long duration = 0; local 307 duration = mDuration; 310 duration = Math.max(duration, animations.get(i).getDuration()) 324 long duration = 0; local 443 final long duration = mDuration; local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
SwipeHelper.java | 121 private ObjectAnimator createDismissAnimation(View v, float newPos, int duration) { 124 anim.setDuration(duration); 270 int duration = determineDuration(animView, newPos, velocity); local 273 ObjectAnimator anim = createDismissAnimation(animView, newPos, duration); 294 int duration = MAX_ESCAPE_ANIMATION_DURATION; local 296 duration = Math 297 .min(duration, 301 duration = DEFAULT_ESCAPE_ANIMATION_DURATION; 303 return duration; 322 final int duration = SNAP_ANIM_LEN local [all...] |
/cts/tests/tests/animation/src/android/animation/cts/ |
AnimationActivity.java | 50 private static final String DURATION = "duration"; 73 mDuration = extras.getInt(DURATION); 81 public ValueAnimator createAnimator(Object object,String propertyName, long duration, 85 valueAnimator.setDuration(duration); 102 public ValueAnimator createAnimatorWithDuration(long duration) { 103 return createAnimator(view.newBall, "y", duration ,ValueAnimator.INFINITE, 113 long duration, int repeatCount, int repeatMode, TimeInterpolator timeInterpolator, 116 objAnimator.setDuration(duration); 135 public void startAnimation(long duration){ [all...] |
/developers/build/prebuilts/gradle/JobScheduler/Application/src/main/java/com/example/android/jobscheduler/service/ |
MyJobService.java | 71 // The work that this service "does" is simply wait for a certain duration and finish 76 long duration = params.getExtras().getLong(WORK_DURATION_KEY); local 86 }, duration);
|
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
PlaylistItem.java | 66 public void setDuration(long duration) { 67 mContentDuration = duration;
|
/developers/samples/android/background/JobScheduler/Application/src/main/java/com/example/android/jobscheduler/service/ |
MyJobService.java | 71 // The work that this service "does" is simply wait for a certain duration and finish 76 long duration = params.getExtras().getLong(WORK_DURATION_KEY); local 86 }, duration);
|
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
PlaylistItem.java | 66 public void setDuration(long duration) { 67 mContentDuration = duration;
|