Home
last modified time | relevance | path

Searched refs:ttime (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/syscalls/epoll2/examples/
Depoll-test.c855 int eph_createpipetest(int size, int tsleep, int ttime, void *func) in eph_createpipetest() argument
885 ttime += (ttime * rand()) / RAND_MAX - (ttime >> 1); in eph_createpipetest()
886 ttime *= 1000; in eph_createpipetest()
887 while (ttime > 0) { in eph_createpipetest()
890 ttime -= tsleep; in eph_createpipetest()
/external/pdfium/third_party/libpng16/
Dpngwrite.c472 png_convert_from_struct_tm(png_timep ptime, const struct tm * ttime) in png_convert_from_struct_tm() argument
476 ptime->year = (png_uint_16)(1900 + ttime->tm_year); in png_convert_from_struct_tm()
477 ptime->month = (png_byte)(ttime->tm_mon + 1); in png_convert_from_struct_tm()
478 ptime->day = (png_byte)ttime->tm_mday; in png_convert_from_struct_tm()
479 ptime->hour = (png_byte)ttime->tm_hour; in png_convert_from_struct_tm()
480 ptime->minute = (png_byte)ttime->tm_min; in png_convert_from_struct_tm()
481 ptime->second = (png_byte)ttime->tm_sec; in png_convert_from_struct_tm()
485 png_convert_from_time_t(png_timep ptime, time_t ttime) in png_convert_from_time_t() argument
491 tbuf = gmtime(&ttime); in png_convert_from_time_t()
Dpng.h1043 const struct tm * ttime));
1046 PNG_EXPORT(25, void, png_convert_from_time_t, (png_timep ptime, time_t ttime));
/external/libpng/
Dpngwrite.c472 png_convert_from_struct_tm(png_timep ptime, const struct tm * ttime) in png_convert_from_struct_tm() argument
476 ptime->year = (png_uint_16)(1900 + ttime->tm_year); in png_convert_from_struct_tm()
477 ptime->month = (png_byte)(ttime->tm_mon + 1); in png_convert_from_struct_tm()
478 ptime->day = (png_byte)ttime->tm_mday; in png_convert_from_struct_tm()
479 ptime->hour = (png_byte)ttime->tm_hour; in png_convert_from_struct_tm()
480 ptime->minute = (png_byte)ttime->tm_min; in png_convert_from_struct_tm()
481 ptime->second = (png_byte)ttime->tm_sec; in png_convert_from_struct_tm()
485 png_convert_from_time_t(png_timep ptime, time_t ttime) in png_convert_from_time_t() argument
491 tbuf = gmtime(&ttime); in png_convert_from_time_t()
Dpng.h1043 const struct tm * ttime));
1046 PNG_EXPORT(25, void, png_convert_from_time_t, (png_timep ptime, time_t ttime));
/external/python/cpython2/Doc/library/
Dcd.rst167 *rtime*, *atime*, *ttime*, *first*, *last*, *scsi_audio*, *cur_block*. *rtime*
169 relative to the beginning of the disc; *ttime* is the total time on the disc.
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTestUtility.java381 …long[] ttime = new long[] {-631152000000L, 0L, 946684800000L}; /* {1950-1-1, 1970-1-1, 2000-1-1} */ in getTestObjects() local
382 … rules[0] = new TimeArrayTimeZoneRule("Foo", 1*HOUR, 1*HOUR, ttime, DateTimeRule.UTC_TIME); in getTestObjects()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTestUtility.java378 …long[] ttime = new long[] {-631152000000L, 0L, 946684800000L}; /* {1950-1-1, 1970-1-1, 2000-1-1} */ in getTestObjects() local
379 … rules[0] = new TimeArrayTimeZoneRule("Foo", 1*HOUR, 1*HOUR, ttime, DateTimeRule.UTC_TIME); in getTestObjects()