Searched refs:trans_idx (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Lib/zoneinfo/ |
D | _zoneinfo.py | 227 trans_idx, trans_utc, utcoff, isdst, abbr, tz_str = _common.load_data( 232 dstoff = self._utcoff_to_dstoff(trans_idx, utcoff, isdst) 235 trans_local = self._ts_to_local(trans_idx, trans_utc, utcoff) 247 self._ttinfos = [_ttinfo_list[idx] for idx in trans_idx] 299 def _utcoff_to_dstoff(trans_idx, utcoffsets, isdsts): argument 313 for i in range(1, len(trans_idx)): 317 idx = trans_idx[i] 332 comp_idx = trans_idx[i - 1] 338 comp_idx = trans_idx[i + 1] 362 def _ts_to_local(trans_idx, trans_list_utc, utcoffsets): argument [all …]
|
D | _common.py | 64 trans_idx = struct.unpack(f">{timecnt}B", fobj.read(timecnt)) 67 trans_idx = () 124 return trans_idx, trans_list_utc, utcoff, isdst, abbr, tz_str
|
/external/python/cpython3/Modules/ |
D | _zoneinfo.c | 109 utcoff_to_dstoff(size_t *trans_idx, long *utcoffs, long *dstoffs, 113 ts_to_local(size_t *trans_idx, int64_t *trans_utc, long *utcoff, 840 size_t *trans_idx = NULL; in load_data() local 912 trans_idx = PyMem_Malloc(self->num_transitions * sizeof(Py_ssize_t)); in load_data() 934 trans_idx[i] = (size_t)cur_trans_idx; in load_data() 935 if (trans_idx[i] > self->num_ttinfos) { in load_data() 983 utcoff_to_dstoff(trans_idx, utcoff, dstoff, isdst, self->num_transitions, in load_data() 986 if (ts_to_local(trans_idx, self->trans_list_utc, utcoff, in load_data() 1010 size_t ttinfo_idx = trans_idx[i]; in load_data() 1045 idx = trans_idx[self->num_transitions - 1]; in load_data() [all …]
|
/external/python/dateutil/dateutil/tz/ |
D | tz.py | 545 out.trans_idx = struct.unpack(">%dB" % timecnt, 548 out.trans_idx = [] 621 out.trans_idx = [out.ttinfo_list[idx] for idx in out.trans_idx] 635 tti = out.trans_idx[i] 667 for i, tti in enumerate(out.trans_idx): 700 out.trans_idx = tuple(out.trans_idx)
|
/external/libhevc/encoder/ |
D | ihevce_enc_loop_utils.c | 2027 WORD32 trans_idx; in ihevce_t_q_iq_ssd_scan_fxn() local 2111 trans_idx = trans_size >> 2; in ihevce_t_q_iq_ssd_scan_fxn() 2137 if((1 == trans_idx) && (1 == intra_flag)) in ihevce_t_q_iq_ssd_scan_fxn() 2139 trans_idx = 0; in ihevce_t_q_iq_ssd_scan_fxn() 2144 trans_idx = 3; in ihevce_t_q_iq_ssd_scan_fxn() 2149 trans_idx = 4; in ihevce_t_q_iq_ssd_scan_fxn() 2184 *pu4_blk_sad = ps_ctxt->apf_resd_trns[trans_idx]( in ihevce_t_q_iq_ssd_scan_fxn() 2197 ps_ctxt->api2_rescal_mat[trans_idx + quant_scale_mat_offset], in ihevce_t_q_iq_ssd_scan_fxn() 2222 ps_ctxt->api2_scal_mat[trans_idx + quant_scale_mat_offset], in ihevce_t_q_iq_ssd_scan_fxn() 2246 ps_ctxt->api2_scal_mat[trans_idx + quant_scale_mat_offset]; in ihevce_t_q_iq_ssd_scan_fxn() [all …]
|
/external/libaom/libaom/av1/decoder/ |
D | decodemv.c | 460 int cache_idx = 0, trans_idx = n_cached_colors; in merge_colors() local 463 (trans_idx >= n_colors || in merge_colors() 464 cached_colors[cache_idx] <= colors[trans_idx])) { in merge_colors() 467 assert(trans_idx < n_colors); in merge_colors() 468 colors[i] = colors[trans_idx++]; in merge_colors()
|
/external/python/cpython3/Lib/test/test_zoneinfo/ |
D | test_zoneinfo.py | 819 trans_idx = trans_idx_lists[v] 834 trans_idx.append(offsets.index(offset_after)) 846 trans_idx = trans_idx_lists[v] 878 zonefile.write(struct.pack(f">{timecnt}B", *trans_idx))
|