re_string_allocate (pstr, str, len, init_len, trans, icase)
re_string_allocate (pstr, str, len, init_len, trans, icase, mb_cur_max, is_utf8)
re_string_allocate (pstr, str, len, init_len, trans, icase)     re_string_t *pstr;     const char *str;     int len, init_len, icase;     RE_TRANSLATE_TYPE trans;{  reg_errcode_t ret;  int init_buf_len = (len + 1 < init_len) ? len + 1: init_len;  re_string_construct_common (str, len, pstr, trans, icase);  pstr->stop = pstr->len;  ret = re_string_realloc_buffers (pstr, init_buf_len);  if (BE (ret != REG_NOERROR, 0))    return ret;  pstr->mbs_case = (MBS_CASE_ALLOCATED (pstr) ? pstr->mbs_case		    : (unsigned char *) str);  pstr->mbs = MBS_ALLOCATED (pstr) ? pstr->mbs : pstr->mbs_case;  pstr->valid_len = (MBS_CASE_ALLOCATED (pstr) || MBS_ALLOCATED (pstr)		     || MB_CUR_MAX > 1) ? pstr->valid_len : len;  return REG_NOERROR;}