Lines Matching refs:mbs
60 pstr->mbs = pstr->mbs_allocated ? pstr->mbs : (unsigned char *) str; in re_string_allocate()
83 pstr->mbs = pstr->mbs_allocated ? pstr->mbs : (unsigned char *) str; in re_string_construct()
160 unsigned char *new_mbs = re_realloc (pstr->mbs, unsigned char, in re_string_realloc_buffers()
164 pstr->mbs = new_mbs; in re_string_realloc_buffers()
235 buf[i] = pstr->mbs[byte_idx + i] = pstr->trans[ch]; in build_wcs_buffer()
300 pstr->mbs[byte_idx] in build_wcs_upper_buffer()
304 pstr->wcs[byte_idx] = (wchar_t) pstr->mbs[byte_idx]; in build_wcs_upper_buffer()
324 memcpy (pstr->mbs + byte_idx, buf, mbclen); in build_wcs_upper_buffer()
332 memcpy (pstr->mbs + byte_idx, in build_wcs_upper_buffer()
343 pstr->mbs[byte_idx] = ch; in build_wcs_upper_buffer()
392 memcpy (pstr->mbs + byte_idx, buf, mbclen); in build_wcs_upper_buffer()
417 memcpy (pstr->mbs + byte_idx, buf, mbcdlen); in build_wcs_upper_buffer()
436 memcpy (pstr->mbs + byte_idx, p, mbclen); in build_wcs_upper_buffer()
439 memcpy (pstr->mbs + byte_idx, p, mbclen); in build_wcs_upper_buffer()
461 pstr->mbs[byte_idx] = ch; in build_wcs_upper_buffer()
542 pstr->mbs[char_idx] = toupper (ch); in build_upper_buffer()
544 pstr->mbs[char_idx] = ch; in build_upper_buffer()
562 pstr->mbs[buf_idx] = pstr->trans[ch]; in re_string_translate_buffer()
597 pstr->mbs = (unsigned char *) pstr->raw_mbs; in re_string_reconstruct()
635 memmove (pstr->mbs, pstr->mbs + offset, pstr->valid_len - offset); in re_string_reconstruct()
664 memset (pstr->mbs, 255, pstr->valid_len); in re_string_reconstruct()
681 memmove (pstr->mbs, pstr->mbs + offset, in re_string_reconstruct()
781 memset (pstr->mbs, 255, pstr->valid_len); in re_string_reconstruct()
799 pstr->mbs += offset; in re_string_reconstruct()
918 re_free (pstr->mbs); in re_string_destruct()