Lines Matching refs:c_phrase_
296 spl_start_[c_phrase_.length] <= ch_pos))) {
366 for (uint16 subpos = 0; subpos < c_phrase_.sublma_num; subpos++) {
367 uint16 splpos_begin = c_phrase_.sublma_start[subpos];
368 uint16 splpos_end = c_phrase_.sublma_start[subpos + 1];
371 uint16 spl_start = c_phrase_.spl_start[splpos];
372 uint16 spl_end = c_phrase_.spl_start[splpos + 1];
375 c_phrase_.chn_str[splpos] = static_cast<char16>('\0');
376 c_phrase_.sublma_start[subpos + 1] = splpos;
377 c_phrase_.sublma_num = subpos + 1;
378 c_phrase_.length = splpos;
381 c_phrase_.sublma_num = subpos;
391 while (c_py_pos < spl_start_[c_phrase_.length]) {
401 fixed_hzs_ = c_phrase_.length;
528 c_phrase_.sublma_num--;
529 c_phrase_.length = c_phrase_.sublma_start[c_phrase_.sublma_num];
530 reset_pos = spl_start_[c_phrase_.length];
551 assert(c_phrase_.length > 0 && c_py_len ==
552 c_phrase_.spl_start[c_phrase_.sublma_start[c_phrase_.sublma_num]]);
572 fixed_hzs_ = c_phrase_.length;
1217 memcpy(c_phrase_.spl_ids, spl_id_, spl_id_num_ * sizeof(uint16));
1218 memcpy(c_phrase_.spl_start, spl_start_, (spl_id_num_ + 1) * sizeof(uint16));
1226 c_phrase_.sublma_num = 0;
1230 uint16 sub_num = c_phrase_.sublma_num;
1232 c_phrase_.sublma_start[sub_num + pos - bp] = lma_start_[pos];
1234 c_phrase_.sublma_start[sub_num + pos - bp] -= 1;
1241 char16 *lma_str = c_phrase_.chn_str +
1242 c_phrase_.sublma_start[sub_num] + phrase_len;
1249 c_phrase_.length = phrase_len; // will be deleted by 1
1250 c_phrase_.sublma_num += fixed_lmas_ - bp;
1252 for (uint16 pos = 0; pos <= c_phrase_.sublma_num; pos++) {
1253 if (c_phrase_.sublma_start[pos] > del_spl_pos) {
1254 c_phrase_.sublma_start[pos] -= 1;
1257 phrase_len = c_phrase_.length;
1270 char16 *chn_str = c_phrase_.chn_str + del_spl_pos;
1272 pos < c_phrase_.sublma_start[c_phrase_.sublma_num] - del_spl_pos;
1276 c_phrase_.length -= 1;
1283 for (uint16 pos = 1; pos <= c_phrase_.sublma_num; pos++) {
1284 if (c_phrase_.sublma_start[pos - 1] ==
1285 c_phrase_.sublma_start[pos]) {
1289 c_phrase_.sublma_start[pos - 1] =
1290 c_phrase_.sublma_start[pos];
1294 c_phrase_.sublma_num -= 1;
1506 if (pos >= c_phrase_.length)
1510 if (splid == c_phrase_.spl_ids[pos]) {
1525 if (pos == c_phrase_.length - 1) {
1796 str_len = c_phrase_.sublma_start[c_phrase_.sublma_num];
1799 utf16_strncpy(str_buf, c_phrase_.chn_str, str_len);
1831 if (c_phrase_.length > splids_max) {
1834 for (uint16 pos = 0; pos < c_phrase_.length; pos++) {
1835 splids[pos] = c_phrase_.spl_ids[pos];