Lines Matching refs:tmp
81 char *tmp;
137 while ((tmp = strstr(q, "<b>")))
138 strcpy(tmp, tmp + 3);
139 while ((tmp = strstr(q, "</b>")))
140 strcpy(tmp, tmp + 4);
143 while ((tmp = strstr(q, "<em>")))
144 strcpy(tmp, tmp + 4);
145 while ((tmp = strstr(q, "</em>")))
146 strcpy(tmp, tmp + 5);
148 tmp = unentitify_string(q);
150 if (!tmp)
152 strncpy(nres->name, tmp, GR_MAX_NAME-1);
154 free(tmp);
175 tmp = unentitify_string(nres->snipset);
176 if (!tmp)
178 strncpy(nres->snipset, tmp, GR_MAX_SNIPSET-1);
180 free(tmp);
182 while ((tmp = strstr(nres->snipset, "<b>")))
183 strcpy(tmp, tmp + 3);
184 while ((tmp = strstr(nres->snipset, "</b>")))
185 strcpy(tmp, tmp + 4);
186 while ((tmp = strstr(nres->snipset, "\r")))
187 strcpy(tmp, tmp + 1);
188 while ((tmp = strstr(nres->snipset, "\n")))
189 *tmp = ' ';