Lines Matching defs:rhstext
52 #define RHS_TEXT_LEN 640 /* length of rhstext */
140 static wchar_t *rhstext;
199 rhstext = (wchar_t *)calloc(1, sizeof (wchar_t) * RHS_TEXT_LEN);
1742 static wchar_t *loc; /* next free location in rhstext */
1752 (loc = rhstext)[0] = 0;
1755 /* add to stuff in rhstext */
1758 used = loc - rhstext;
1761 textbase = rhstext;
1763 rhstext = (wchar_t *)
1764 realloc((char *)rhstext, sizeof (wchar_t)*rhs_len);
1765 if (rhstext == NULL)
1773 loc = loc - textbase + rhstext;
1783 if (loc++ > &rhstext[ RHS_TEXT_LEN ] - 3)
1797 if (!*rhstext) /* empty rhs - print usual comment */
1806 for (idx1 = 0; rhstext[idx1] != 0; idx1++) {
1807 if (rhstext[idx1] == L'"') {
1811 idx2 = wslen(rhstext)*2;
1828 for (idx2 = 0; rhstext[idx2] != 0; idx2++) {
1832 if (rhstext[idx2] == L'"') {
1836 rhstext[tmp_l] == '\\') {
1847 *p++ = rhstext[idx2];
1857 rhs = rhstext;