Home | History | Annotate | Download | only in share

Lines Matching refs:matrix_

63   matrix_ = NULL;
96 matrix_ = reinterpret_cast<MatrixRow*>(share_buf_ + mtrx_nd_size + dmi_size);
213 matrix_[0].mtrx_nd_pos = mtrx_nd_pool_used_;
214 matrix_[0].mtrx_nd_num = 1;
218 MatrixNode *node = mtrx_nd_pool_ + matrix_[0].mtrx_nd_pos;
225 matrix_[0].dmi_pos = 0;
226 matrix_[0].dmi_num = 0;
227 matrix_[0].dmi_has_full_id = 1;
228 matrix_[0].mtrx_nd_fixed = node;
253 if (clear_dmi_this_step && matrix_[ch_pos].dmi_num > 0) {
254 dict_handles_to_clear = dmi_pool_[matrix_[ch_pos].dmi_pos].dict_handles;
261 if (matrix_[ch_pos + 1].dmi_num > 0) {
263 dmi_pool_[matrix_[ch_pos + 1].dmi_pos].dict_handles;
276 dmi_pool_used_ = matrix_[ch_pos - 1].dmi_pos
277 + matrix_[ch_pos - 1].dmi_num;
278 matrix_[ch_pos].dmi_num = 0;
280 dmi_pool_used_ = matrix_[ch_pos].dmi_pos + matrix_[ch_pos].dmi_num;
284 mtrx_nd_pool_used_ = matrix_[ch_pos - 1].mtrx_nd_pos
285 + matrix_[ch_pos - 1].mtrx_nd_num;
286 matrix_[ch_pos].mtrx_nd_num = 0;
288 mtrx_nd_pool_used_ = matrix_[ch_pos].mtrx_nd_pos
289 + matrix_[ch_pos].mtrx_nd_num;
300 while (NULL == matrix_[fixed_ch_pos].mtrx_nd_fixed && fixed_ch_pos > 0)
321 matrix_[fixed_ch_pos].dmi_num > 0) {
322 dict_handles_to_clear = dmi_pool_[matrix_[fixed_ch_pos].dmi_pos].dict_handles;
329 if (matrix_[fixed_ch_pos + 1].dmi_num > 0) {
331 dmi_pool_[matrix_[fixed_ch_pos + 1].dmi_pos].dict_handles;
345 dmi_pool_used_ = matrix_[fixed_ch_pos - 1].dmi_pos
346 + matrix_[fixed_ch_pos - 1].dmi_num;
347 matrix_[fixed_ch_pos].dmi_num = 0;
349 dmi_pool_used_ = matrix_[fixed_ch_pos].dmi_pos +
350 matrix_[fixed_ch_pos].dmi_num;
354 mtrx_nd_pool_used_ = matrix_[fixed_ch_pos - 1].mtrx_nd_pos
355 + matrix_[fixed_ch_pos - 1].mtrx_nd_num;
356 matrix_[fixed_ch_pos].mtrx_nd_num = 0;
358 mtrx_nd_pool_used_ = matrix_[fixed_ch_pos].mtrx_nd_pos
359 + matrix_[fixed_ch_pos].mtrx_nd_num;
404 matrix_[spl_start_[fixed_hzs_]].mtrx_nd_fixed = mtrx_nd_pool_ +
405 matrix_[spl_start_[fixed_hzs_]].mtrx_nd_pos;
575 matrix_[spl_start_[fixed_hzs_]].mtrx_nd_fixed = mtrx_nd_pool_ +
576 matrix_[spl_start_[fixed_hzs_]].mtrx_nd_pos;
598 0 == matrix_[pys_decoded_len_].mtrx_nd_num)
720 mtrx_nd_pool_[matrix_[spl_start_[lma_start_[pos]]]
745 mtrx_nd_pool_[matrix_[spl_start_[lma_start_[pos]]]
780 matrix_[spl_start_[fixed_hzs_]].mtrx_nd_fixed = mtrx_nd_pool_ +
781 matrix_[spl_start_[fixed_hzs_]].mtrx_nd_pos;
843 matrix_[step_to].mtrx_nd_num = 0;
853 extend_mtrx_nd(matrix_[step_fr].mtrx_nd_fixed, &lpi_item, 1,
856 matrix_[step_to].mtrx_nd_fixed = mtrx_nd_pool_ + matrix_[step_to].mtrx_nd_pos;
857 mtrx_nd_pool_used_ = matrix_[step_to].mtrx_nd_pos +
858 matrix_[step_to].mtrx_nd_num;
894 MatrixNode *end_node = matrix_[step_end].mtrx_nd_fixed;
935 MatrixRow *mtrx_this_row = matrix_ + pys_decoded_len_;
972 matrix_[pys_decoded_len_].mtrx_nd_num = 0;
987 0 == matrix_[pys_decoded_len_ - ext_len].dmi_has_full_id) {
1003 if (0 == matrix_[oldrow].mtrx_nd_num && !dmi_c_phrase_)
1021 for (PoolPosType dmi_pos = matrix_[oldrow].dmi_pos;
1022 dmi_pos < matrix_[oldrow].dmi_pos + matrix_[oldrow].dmi_num + 1;
1025 if (dmi_pos == matrix_[oldrow].dmi_pos + matrix_[oldrow].dmi_num) {
1045 if (NULL == dmi && 0 == matrix_[oldrow].dmi_has_full_id) {
1093 matrix_[pys_decoded_len_].dmi_num += new_dmi_num;
1097 matrix_[pys_decoded_len_].dmi_has_full_id = 1;
1109 for (PoolPosType mtrx_nd_pos = matrix_[fr_row].mtrx_nd_pos;
1110 mtrx_nd_pos < matrix_[fr_row].mtrx_nd_pos +
1111 matrix_[fr_row].mtrx_nd_num;
1123 mtrx_nd_pool_used_ += matrix_[pys_decoded_len_].mtrx_nd_num;
1128 return (matrix_[pys_decoded_len_].mtrx_nd_num != 0 || spl_matched);
1306 0 == matrix_[pys_decoded_len_].mtrx_nd_num)
1314 MatrixNode *mtrx_nd = mtrx_nd_pool_ + matrix_[pys_decoded_len_].mtrx_nd_pos;
1385 if (NULL != matrix_[spl_start_[pos]].mtrx_nd_fixed) {
1539 matrix_[res_row].mtrx_nd_fixed = NULL;
1551 MatrixNode *mtrx_nd_res_min = mtrx_nd_pool_ + matrix_[res_row].mtrx_nd_pos;
1558 size_t mtrx_nd_num = matrix_[res_row].mtrx_nd_num;
1569 matrix_[res_row].mtrx_nd_pos + mtrx_nd_num < kMtrxNdPoolSize)) {
1575 if (matrix_[res_row].mtrx_nd_num < kMaxNodeARow)
1576 matrix_[res_row].mtrx_nd_num++;
1579 return matrix_[res_row].mtrx_nd_num;
1584 if (pys_decoded_len_ < step_to || 0 == matrix_[step_to].dmi_num) {
1588 for (PoolPosType dmi_pos = 0; dmi_pos < matrix_[step_to].dmi_num; dmi_pos++) {
1589 DictMatchInfo *dmi = dmi_pool_ + matrix_[step_to].dmi_pos + dmi_pos;
1604 return matrix_[step_to].dmi_pos + dmi_pos;
1615 matrix_[pys_decoded_len_].mtrx_nd_num == 0)
1621 MatrixNode *mtrx_nd = mtrx_nd_pool_ + matrix_[pys_decoded_len_].mtrx_nd_pos;