Searched refs:time_val (Results 1 – 6 of 6) sorted by relevance
/external/v8/src/builtins/ |
D | builtins-date.cc | 158 DateBuffer ToDateString(double time_val, DateCache* date_cache, in ToDateString() argument 160 if (std::isnan(time_val)) { in ToDateString() 163 int64_t time_ms = static_cast<int64_t>(time_val); in ToDateString() 193 double time_val) { in SetLocalDateValue() argument 194 if (time_val >= -DateCache::kMaxTimeBeforeUTCInMs && in SetLocalDateValue() 195 time_val <= DateCache::kMaxTimeBeforeUTCInMs) { in SetLocalDateValue() 196 time_val = isolate->date_cache()->ToUTC(static_cast<int64_t>(time_val)); in SetLocalDateValue() 198 time_val = std::numeric_limits<double>::quiet_NaN(); in SetLocalDateValue() 200 return *JSDate::SetValue(date, DateCache::TimeClip(time_val)); in SetLocalDateValue() 209 double const time_val = JSDate::CurrentTimeValue(isolate); in BUILTIN() local [all …]
|
/external/libhevc/encoder/ |
D | osal_thread.c | 565 struct timespec time_val; in osal_get_time() local 569 clock_gettime(CLOCK_MONOTONIC, &time_val); in osal_get_time() 572 cur_time = time_val.tv_sec * 1000 + time_val.tv_nsec / 1000000; in osal_get_time() 607 struct timespec time_val; in osal_get_time_usec() local 610 clock_gettime(CLOCK_MONOTONIC, &time_val); in osal_get_time_usec() 613 *sec = time_val.tv_sec; in osal_get_time_usec() 614 *usec = time_val.tv_nsec / 1000; in osal_get_time_usec()
|
/external/u-boot/drivers/mtd/nand/raw/ |
D | tegra_nand.c | 856 u32 reg_val, clk_rate, clk_period, time_val; in setup_timing() local 865 time_val = timing[FDT_NAND_MAX_TCR_TAR_TRR] / clk_period; in setup_timing() 866 if (time_val > 2) in setup_timing() 867 reg_val |= ((time_val - 2) << TIMING_TCR_TAR_TRR_CNT_SHIFT) & in setup_timing() 871 time_val = timing[FDT_NAND_MAX_TCS_TCH_TALS_TALH] / clk_period; in setup_timing() 872 if (time_val > 1) in setup_timing() 873 reg_val |= ((time_val - 1) << TIMING_TCS_CNT_SHIFT) & in setup_timing() 886 time_val = timing[FDT_NAND_TADL] / clk_period; in setup_timing() 887 if (time_val > 2) in setup_timing() 888 reg_val = (time_val - 2) & TIMING2_TADL_CNT_MASK; in setup_timing()
|
/external/autotest/client/tests/hackbench/ |
D | hackbench.py | 55 time_val = line.split()[1] 56 self.write_perf_keyval({'time': time_val})
|
/external/python/dateutil/dateutil/test/ |
D | test_isoparser.py | 455 def test_isotime(time_val, time_fmt, as_bytes): argument 456 tstr = time_val.strftime(time_fmt) 457 if isinstance(time_val, six.text_type) and as_bytes: 459 elif isinstance(time_val, bytes) and not as_bytes: 464 assert iparser.parse_isotime(tstr) == time_val
|
/external/OpenCL-CTS/test_conformance/math_brute_force/ |
D | unary.cpp | 992 struct timeval time_val; in TestFunc_Double_Double() local 993 gettimeofday( &time_val, NULL ); in TestFunc_Double_Double() 994 double start_time = time_val.tv_sec + 1e-6 * time_val.tv_usec; in TestFunc_Double_Double() 1106 gettimeofday( &time_val, NULL); in TestFunc_Double_Double() 1107 end_time = time_val.tv_sec + 1e-6 * time_val.tv_usec; in TestFunc_Double_Double()
|