/system/core/liblog/ |
log_ratelimit.cpp | 28 // seconds argument, so we will also hold on to the maximum value 31 // of varying the 'seconds' argument to their pleasure. 41 // seconds, otherwise we will take the maximum ever issued and hold 45 LIBLOG_ABI_PUBLIC int __android_log_ratelimit(time_t seconds, time_t* last) { 59 if (seconds == 0) { 60 seconds = last_seconds_default; 61 } else if (seconds < last_seconds_min) { 62 seconds = last_seconds_min; 63 } else if (seconds > last_seconds_max) { 64 seconds = last_seconds_max [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_common_nolibc.cc | 26 void SleepForSeconds(int seconds) { internal_sleep(seconds); }
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/utilities/time/header.chrono.synop/ |
includes.pass.cpp | 17 std::chrono::seconds s;
|
/external/autotest/client/tests/sleeptest/ |
sleeptest.py | 7 def run_once(self, seconds=1): 8 time.sleep(seconds)
|
/external/autotest/server/tests/sleeptest/ |
sleeptest.py | 7 def run_once(self, host=None, seconds=1): 8 time.sleep(seconds)
|
/external/webrtc/webrtc/system_wrappers/source/ |
clock_unittest.cc | 19 uint32_t seconds; local 21 clock->CurrentNtp(seconds, fractions); 24 EXPECT_GE(milliseconds, Clock::NtpToMs(seconds, fractions)); 25 EXPECT_NEAR(milliseconds, Clock::NtpToMs(seconds, fractions), 100);
|
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
sleep.c | 44 __sleep(unsigned int seconds) 50 * Avoid overflow when `seconds' is huge. This assumes that 53 if (seconds > INT_MAX) 54 return (seconds - INT_MAX + __sleep(INT_MAX)); 56 time_to_sleep.tv_sec = seconds; 61 return (seconds); /* best guess */
|
/external/protobuf/src/google/protobuf/stubs/ |
time.h | 48 // Converts a timestamp (seconds elapsed since 1970-01-01T00:00:00, could be 52 bool LIBPROTOBUF_EXPORT SecondsToDateTime(int64 seconds, DateTime* time); 53 // Converts DateTime to a timestamp (seconds since 1970-01-01T00:00:00). 55 bool LIBPROTOBUF_EXPORT DateTimeToSeconds(const DateTime& time, int64* seconds); 57 void LIBPROTOBUF_EXPORT GetCurrentTime(int64* seconds, int32* nanos); 66 string LIBPROTOBUF_EXPORT FormatTime(int64 seconds, int32 nanos); 69 bool LIBPROTOBUF_EXPORT ParseTime(const string& vaule, int64* seconds, int32* nanos);
|
/prebuilts/misc/windows/sdl2/test/ |
testpower.c | 20 int seconds, percent; local 21 const SDL_PowerState state = SDL_GetPowerInfo(&seconds, &percent); 54 if (seconds == -1) { 57 SDL_Log("Time left: %d minutes, %d seconds\n", (int) (seconds / 60), 58 (int) (seconds % 60));
|
/developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 54 long seconds = time / 1000; local 55 long hundreds = (time - seconds * 1000) / 10; 56 long minutes = seconds / 60; 57 seconds = seconds - minutes * 60; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 64 // and minutes and seconds could be zero, so since we do not show fractions of seconds 66 if (hours == 0 && minutes == 0 && seconds == 0) [all...] |
/developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 54 long seconds = time / 1000; local 55 long hundreds = (time - seconds * 1000) / 10; 56 long minutes = seconds / 60; 57 seconds = seconds - minutes * 60; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 64 // and minutes and seconds could be zero, so since we do not show fractions of seconds 66 if (hours == 0 && minutes == 0 && seconds == 0) [all...] |
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 54 long seconds = time / 1000; local 55 long hundreds = (time - seconds * 1000) / 10; 56 long minutes = seconds / 60; 57 seconds = seconds - minutes * 60; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 64 // and minutes and seconds could be zero, so since we do not show fractions of seconds 66 if (hours == 0 && minutes == 0 && seconds == 0) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
TimerTextController.java | 49 int seconds = (int) (remainder / SECOND_IN_MILLIS); local 54 seconds++; 55 if (seconds == 60) { 56 seconds = 0; 65 String time = Utils.getTimeString(mTextView.getContext(), hours, minutes, seconds); 66 if (isNegative && !(hours == 0 && minutes == 0 && seconds == 0)) {
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
CachePruning.h | 31 std::chrono::seconds Interval = std::chrono::seconds(1200); 34 /// seconds, it is removed from the cache. A value of 0 disables the 36 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w 49 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
|
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Support/ |
CachePruning.h | 31 std::chrono::seconds Interval = std::chrono::seconds(1200); 34 /// seconds, it is removed from the cache. A value of 0 disables the 36 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w 49 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
|
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Support/ |
CachePruning.h | 31 std::chrono::seconds Interval = std::chrono::seconds(1200); 34 /// seconds, it is removed from the cache. A value of 0 disables the 36 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w 49 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
|
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Support/ |
CachePruning.h | 31 std::chrono::seconds Interval = std::chrono::seconds(1200); 34 /// seconds, it is removed from the cache. A value of 0 disables the 36 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w 54 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
|
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Support/ |
CachePruning.h | 31 std::chrono::seconds Interval = std::chrono::seconds(1200); 34 /// seconds, it is removed from the cache. A value of 0 disables the 36 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w 54 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
|
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Support/ |
CachePruning.h | 31 std::chrono::seconds Interval = std::chrono::seconds(1200); 34 /// seconds, it is removed from the cache. A value of 0 disables the 36 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w 54 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
|
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/ |
CachePruning.h | 31 std::chrono::seconds Interval = std::chrono::seconds(1200); 34 /// seconds, it is removed from the cache. A value of 0 disables the 36 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w 54 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
CachePruning.h | 31 std::chrono::seconds Interval = std::chrono::seconds(1200); 34 /// seconds, it is removed from the cache. A value of 0 disables the 36 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w 49 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
|
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/ |
CachePruning.h | 31 std::chrono::seconds Interval = std::chrono::seconds(1200); 34 /// seconds, it is removed from the cache. A value of 0 disables the 36 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w 49 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
|
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/ |
CachePruning.h | 31 std::chrono::seconds Interval = std::chrono::seconds(1200); 34 /// seconds, it is removed from the cache. A value of 0 disables the 36 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w 49 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
|
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/ |
CachePruning.h | 31 std::chrono::seconds Interval = std::chrono::seconds(1200); 34 /// seconds, it is removed from the cache. A value of 0 disables the 36 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w 54 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
|
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/ |
CachePruning.h | 31 std::chrono::seconds Interval = std::chrono::seconds(1200); 34 /// seconds, it is removed from the cache. A value of 0 disables the 36 std::chrono::seconds Expiration = std::chrono::hours(7 * 24); // 1w 54 /// which means a pruning interval of 30 seconds, expiration time of 24 hours
|