Home
last modified time | relevance | path

Searched refs:start_idx (Results 1 – 21 of 21) sorted by relevance

/external/pdfium/xfa/fde/
Dcfde_texteditengine_unittest.cpp247 size_t start_idx; in TEST_F() local
249 std::tie(start_idx, count) = engine()->GetSelection(); in TEST_F()
250 EXPECT_EQ(0U, start_idx); in TEST_F()
422 size_t start_idx; in TEST_F() local
425 std::tie(start_idx, count) = engine()->BoundsForWordAt(100); in TEST_F()
426 EXPECT_EQ(0U, start_idx); in TEST_F()
428 engine()->SetSelection(start_idx, count); in TEST_F()
433 std::tie(start_idx, count) = engine()->BoundsForWordAt(0); in TEST_F()
434 EXPECT_EQ(0U, start_idx); in TEST_F()
436 engine()->SetSelection(start_idx, count); in TEST_F()
[all …]
Dcfde_texteditengine.cpp25 size_t start_idx, in InsertOperation() argument
27 : engine_(engine), start_idx_(start_idx), added_text_(added_text) {} in InsertOperation()
50 size_t start_idx, in DeleteOperation() argument
52 : engine_(engine), start_idx_(start_idx), removed_text_(removed_text) {} in DeleteOperation()
75 size_t start_idx, in ReplaceOperation() argument
78 : insert_op_(engine, start_idx, added_text), in ReplaceOperation()
79 delete_op_(engine, start_idx, removed_text) {} in ReplaceOperation()
734 selection_.start_idx = 0; in SelectAll()
740 selection_.start_idx = 0; in ClearSelection()
744 void CFDE_TextEditEngine::SetSelection(size_t start_idx, size_t count) { in SetSelection() argument
[all …]
Dcfde_texteditengine.h90 size_t start_idx,
141 void SetSelection(size_t start_idx, size_t count);
146 return {selection_.start_idx, selection_.count}; in GetSelection()
164 std::pair<int32_t, CFX_RectF> GetCharacterInfo(int32_t start_idx);
165 std::vector<CFX_RectF> GetCharacterRectsInRange(int32_t start_idx,
197 size_t start_idx; member
/external/mesa3d/src/compiler/nir/
Dnir_lower_vec_to_movs.c56 insert_mov(nir_alu_instr *vec, unsigned start_idx, nir_shader *shader) in insert_mov() argument
58 assert(start_idx < nir_op_infos[vec->op].num_inputs); in insert_mov()
61 nir_alu_src_copy(&mov->src[0], &vec->src[start_idx], mov); in insert_mov()
64 mov->dest.write_mask = (1u << start_idx); in insert_mov()
65 mov->src[0].swizzle[start_idx] = vec->src[start_idx].swizzle[0]; in insert_mov()
66 mov->src[0].negate = vec->src[start_idx].negate; in insert_mov()
67 mov->src[0].abs = vec->src[start_idx].abs; in insert_mov()
69 for (unsigned i = start_idx + 1; i < 4; i++) { in insert_mov()
73 if (nir_srcs_equal(vec->src[i].src, vec->src[start_idx].src) && in insert_mov()
74 vec->src[i].negate == vec->src[start_idx].negate && in insert_mov()
[all …]
/external/freetype/src/psaux/
Dpsstack.c249 CF2_Int start_idx, idx, i; in cf2_stack_roll() local
294 start_idx = -1; in cf2_stack_roll()
301 if ( start_idx == idx ) in cf2_stack_roll()
303 start_idx++; in cf2_stack_roll()
304 idx = start_idx; in cf2_stack_roll()
/external/libopus/silk/
Ddecode_core.c46 opus_int i, k, lag = 0, start_idx, sLTP_buf_idx, NLSF_interpolation_flag, signalType; in silk_decode_core() local
143 start_idx = psDec->ltp_mem_length - lag - psDec->LPC_order - LTP_ORDER / 2; in silk_decode_core()
144 silk_assert( start_idx > 0 ); in silk_decode_core()
150 …silk_LPC_analysis_filter( &sLTP[ start_idx ], &psDec->outBuf[ start_idx + k * psDec->subfr_length … in silk_decode_core()
151 A_Q12, psDec->ltp_mem_length - start_idx, psDec->LPC_order, arch ); in silk_decode_core()
DNSQ.c95 opus_int k, lag, start_idx, LSF_interpolation_flag; in silk_NSQ_c() local
145 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_c()
146 silk_assert( start_idx > 0 ); in silk_NSQ_c()
148 … silk_LPC_analysis_filter( &sLTP[ start_idx ], &NSQ->xq[ start_idx + k * psEncC->subfr_length ], in silk_NSQ_c()
149 … A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_c()
DNSQ_del_dec.c135 opus_int i, k, lag, start_idx, LSF_interpolation_flag, Winner_ind, subfr; in silk_NSQ_del_dec_c() local
252 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_del_dec_c()
253 silk_assert( start_idx > 0 ); in silk_NSQ_del_dec_c()
255 … silk_LPC_analysis_filter( &sLTP[ start_idx ], &NSQ->xq[ start_idx + k * psEncC->subfr_length ], in silk_NSQ_del_dec_c()
256 … A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_del_dec_c()
/external/libxaac/decoder/
Dixheaacd_lpp_tran.c566 WORD32 start_idx, WORD32 stop_idx, in ixheaacd_filter1_lp() argument
709 WORD32 *p_sub_signal_xlow = sub_sig_x + low_band + ((start_idx) << 6); in ixheaacd_filter1_lp()
711 sub_sig_x + high_band + ((start_idx + 2) << 6); in ixheaacd_filter1_lp()
712 WORD32 len = stop_idx - start_idx - 1; in ixheaacd_filter1_lp()
743 WORD32 start_idx, WORD32 stop_idx, in ixheaacd_low_pow_hf_generator() argument
774 p_qmf_real = &qmf_real[start_idx][actual_stop_band]; in ixheaacd_low_pow_hf_generator()
775 num = (len - start_idx - 1); in ixheaacd_low_pow_hf_generator()
811 start_idx, stop_idx, max_qmf_subband, start_patch, in ixheaacd_low_pow_hf_generator()
851 WORD32 start_idx, WORD32 stop_idx, in ixheaacd_hf_generator() argument
878 start_idx = (start_idx * factor); in ixheaacd_hf_generator()
[all …]
/external/trappy/trappy/plotter/
DUtils.py58 start_idx = data_frame.index.values[0]
97 return data, procs, [start_idx, end_idx]
/external/lisa/tools/scripts/power/
Dpower_average.py57 start_idx = np.abs(df.index - start).argmin()
58 df.drop(df.index[:start_idx], inplace=True)
/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp607 uint32_t start_idx = p_layout_->GetGlobalIndexRangeFromBinding(binding).start; in GetStorageUpdates() local
608 if (descriptors_[start_idx]->IsStorage()) { in GetStorageUpdates()
609 if (Image == descriptors_[start_idx]->descriptor_class) { in GetStorageUpdates()
611 if (descriptors_[start_idx + i]->updated) { in GetStorageUpdates()
612 …image_set->insert(static_cast<ImageDescriptor *>(descriptors_[start_idx + i].get())->GetImageView(… in GetStorageUpdates()
616 } else if (TexelBuffer == descriptors_[start_idx]->descriptor_class) { in GetStorageUpdates()
618 if (descriptors_[start_idx + i]->updated) { in GetStorageUpdates()
619 …auto bufferview = static_cast<TexelDescriptor *>(descriptors_[start_idx + i].get())->GetBufferView… in GetStorageUpdates()
627 } else if (GeneralBuffer == descriptors_[start_idx]->descriptor_class) { in GetStorageUpdates()
629 if (descriptors_[start_idx + i]->updated) { in GetStorageUpdates()
[all …]
/external/libopus/silk/x86/
DNSQ_sse.c91 opus_int k, lag, start_idx, LSF_interpolation_flag; in silk_NSQ_sse4_1() local
201 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_sse4_1()
202 silk_assert( start_idx > 0 ); in silk_NSQ_sse4_1()
204 … silk_LPC_analysis_filter( &sLTP[ start_idx ], &NSQ->xq[ start_idx + k * psEncC->subfr_length ], in silk_NSQ_sse4_1()
205 … A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_sse4_1()
DNSQ_del_dec_sse.c132 opus_int i, k, lag, start_idx, LSF_interpolation_flag, Winner_ind, subfr; in silk_NSQ_del_dec_sse4_1() local
249 start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_del_dec_sse4_1()
250 silk_assert( start_idx > 0 ); in silk_NSQ_del_dec_sse4_1()
252 … silk_LPC_analysis_filter( &sLTP[ start_idx ], &NSQ->xq[ start_idx + k * psEncC->subfr_length ], in silk_NSQ_del_dec_sse4_1()
253 … A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_del_dec_sse4_1()
/external/tensorflow/tensorflow/contrib/grid_rnn/python/ops/
Dgrid_rnn_cell.py257 for recurrent_dim, start_idx in zip(conf.recurrents,
261 c_prev[recurrent_dim] = array_ops.slice(state, [0, start_idx],
264 state, [0, start_idx + conf.num_units], [-1, cell_output_size])
266 m_prev[recurrent_dim] = array_ops.slice(state, [0, start_idx],
/external/pdfium/xfa/fwl/
Dcfwl_edit.cpp1236 size_t start_idx; in OnButtonDoubleClick() local
1238 std::tie(start_idx, count) = m_EdtEngine.BoundsForWordAt(click_idx); in OnButtonDoubleClick()
1240 m_EdtEngine.SetSelection(start_idx, count); in OnButtonDoubleClick()
1241 m_CursorPosition = start_idx + count; in OnButtonDoubleClick()
1277 size_t start_idx; in OnKeyDown() local
1279 std::tie(start_idx, count) = m_EdtEngine.GetSelection(); in OnKeyDown()
1280 sel_start = start_idx; in OnKeyDown()
/external/autotest/client/site_tests/power_LoadTest/
Dpower_LoadTest.py367 start_idx = 0
372 self._stats[kname][start_idx:end_idx])
374 start_idx = end_idx
/external/libopus/silk/arm/
DNSQ_del_dec_neon_intr.c260 opus_int i, k, lag, start_idx, LSF_interpolation_flag, Winner_ind, subfr; in silk_NSQ_del_dec_neon() local
373start_idx = psEncC->ltp_mem_length - lag - psEncC->predictLPCOrder - LTP_ORDER / 2; in silk_NSQ_del_dec_neon()
374 silk_assert( start_idx > 0 ); in silk_NSQ_del_dec_neon()
376 … silk_LPC_analysis_filter( &sLTP[ start_idx ], &NSQ->xq[ start_idx + k * psEncC->subfr_length ], in silk_NSQ_del_dec_neon()
377 … A_Q12, psEncC->ltp_mem_length - start_idx, psEncC->predictLPCOrder, psEncC->arch ); in silk_NSQ_del_dec_neon()
/external/scapy/scapy/layers/tls/
Dcert.py98 start_idx = s.find(b"-----BEGIN")
99 if start_idx == -1:
103 pem_strings.append(s[start_idx:end_idx])
/external/elfutils/libcpu/
Di386_disasm.c704 size_t start_idx = bufcnt; in i386_disasm() local
1107 while (bufcnt + prefix_size - non_printing < start_idx + width) in i386_disasm()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp644 void GetPoints(std::vector<FX_PATHPOINT>& pPoints, size_t start_idx) { in GetPoints()
649 pPoints[start_idx + i].m_Point.x = p[i]; in GetPoints()
653 pPoints[start_idx + i].m_Point.y = p[i]; in GetPoints()
656 void GetPointsReverse(std::vector<FX_PATHPOINT>& pPoints, size_t start_idx) { in GetPointsReverse()
661 pPoints[i + start_idx].m_Point.x = p[i]; in GetPointsReverse()
665 pPoints[i + start_idx].m_Point.y = p[i]; in GetPointsReverse()