Searched refs:time_val (Results 1 – 5 of 5) sorted by relevance
/external/v8/src/builtins/ |
D | builtins-date.cc | 139 void ToDateString(double time_val, Vector<char> str, DateCache* date_cache, in ToDateString() argument 141 if (std::isnan(time_val)) { in ToDateString() 145 int64_t time_ms = static_cast<int64_t>(time_val); in ToDateString() 177 double time_val) { in SetLocalDateValue() argument 178 if (time_val >= -DateCache::kMaxTimeBeforeUTCInMs && in SetLocalDateValue() 179 time_val <= DateCache::kMaxTimeBeforeUTCInMs) { in SetLocalDateValue() 180 time_val = isolate->date_cache()->ToUTC(static_cast<int64_t>(time_val)); in SetLocalDateValue() 182 time_val = std::numeric_limits<double>::quiet_NaN(); in SetLocalDateValue() 184 return *JSDate::SetValue(date, DateCache::TimeClip(time_val)); in SetLocalDateValue() 193 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/ |
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 | 440 def test_isotime(time_val, time_fmt, as_bytes): argument 441 tstr = time_val.strftime(time_fmt) 442 if isinstance(time_val, six.text_type) and as_bytes: 444 elif isinstance(time_val, six.binary_type) and not as_bytes: 449 assert iparser.parse_isotime(tstr) == time_val
|