Searched refs:newtime (Results 1 – 9 of 9) sorted by relevance
/external/pdfium/fpdfsdk/ |
D | cpdfsdk_datetime.cpp | 98 struct tm* newtime = localtime(&curTime); in ResetDateTime() local 99 m_year = newtime->tm_year + 1900; in ResetDateTime() 100 m_month = newtime->tm_mon + 1; in ResetDateTime() 101 m_day = newtime->tm_mday; in ResetDateTime() 102 m_hour = newtime->tm_hour; in ResetDateTime() 103 m_minute = newtime->tm_min; in ResetDateTime() 104 m_second = newtime->tm_sec; in ResetDateTime() 119 struct tm newtime; in ToTime_t() local 121 newtime.tm_year = m_year - 1900; in ToTime_t() 122 newtime.tm_mon = m_month - 1; in ToTime_t() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/ |
D | 8-1.c | 48 time_t oldtime, newtime; in main() local 84 newtime = ts.tv_sec; in main() 86 newtime = time(NULL); in main() 88 if ((newtime - oldtime) < TIMEOUT) { in main()
|
D | 5-2.c | 51 time_t oldtime, newtime; in main() local 79 newtime = time(NULL); in main() 80 if ((newtime - oldtime) < THRESHOLD) { in main()
|
/external/ltp/testcases/open_posix_testsuite/functional/threads/pi_test/ |
D | pitest-1.c | 170 double newtime; in thread_sample() local 184 newtime = seconds_read(); in thread_sample() 185 size = snprintf(buffer, 1023, "%f ", newtime - base_time); in thread_sample()
|
D | pitest-4.c | 147 double newtime; in thread_sample() local 161 newtime = seconds_read(); in thread_sample() 162 size = snprintf(buffer, 1023, "%f ", newtime - base_time); in thread_sample()
|
D | pitest-3.c | 178 double newtime; in thread_sample() local 195 newtime = seconds_read(); in thread_sample() 196 size = snprintf(buffer, 1023, "%f ", newtime - base_time); in thread_sample()
|
D | pitest-2.c | 170 double newtime; in thread_sample() local 184 newtime = seconds_read(); in thread_sample() 185 size = snprintf(buffer, 1023, "%f ", newtime - base_time); in thread_sample()
|
/external/icu/icu4c/source/i18n/ |
D | calendar.cpp | 2008 double newtime; in roll() local 2013 newtime = uprv_fmod((internalGetTime() + delta - min2), oneYear); in roll() 2014 if (newtime < 0) newtime += oneYear; in roll() 2015 setTimeInMillis(newtime + min2, status); in roll() 2031 double newtime = uprv_fmod((internalGetTime() + delta - min2), kOneWeek); in roll() local 2032 if (newtime < 0) newtime += kOneWeek; in roll() 2033 setTimeInMillis(newtime + min2, status); in roll() 2053 double newtime = uprv_fmod((internalGetTime() + delta - min2), gap2); in roll() local 2054 if (newtime < 0) newtime += gap2; in roll() 2055 setTimeInMillis(newtime + min2, status); in roll()
|
/external/python/cpython2/Mac/Modules/qt/ |
D | _Qtmodule.c | 5941 TimeRecord newtime; in MovieObj_SetMovieTime() local 5946 QtTimeRecord_Convert, &newtime)) in MovieObj_SetMovieTime() 5949 &newtime); in MovieObj_SetMovieTime() 5958 TimeValue newtime; in MovieObj_SetMovieTimeValue() local 5963 &newtime)) in MovieObj_SetMovieTimeValue() 5966 newtime); in MovieObj_SetMovieTimeValue()
|