Lines Matching defs:tmp
140 char *tmp = NULL;
143 if ((l=strlen(str)) > 0 && (tmp=malloc(l + 1)) != NULL &&
148 for (l = 0, p = strtok(strcpy(tmp, str), ws);
226 *chatstr = tmp;
229 free(tmp);
244 char * tmp = buf ? *buf : tmpbuf;
247 strcpy(tmp, "M-");
254 tmp[l++] = '^';
255 tmp[l++] = ch + '@';
257 tmp[l++] = '^';
258 tmp[l++] = '?';
260 tmp[l++] = ch;
261 tmp[l] = '\0';
264 *buf = tmp + l;
265 return tmp;
276 static unsigned char * tmp = NULL;
280 tmp = realloc(tmp, tmplen = l * 4 + 1);
282 if (tmp == NULL) {
287 char * p = tmp;
294 return tmp;