Lines Matching refs:tmp
140 char *tmp = in;
141 char *lastchar = (char *) &tmp[strlen(tmp)];
168 tmp = strchr(tmp, ' ');
170 if (tmp == NULL)
173 if (++tmp > lastchar)
177 pd->host = tmp;
180 tmp = strchr(tmp, ' ');
182 if (tmp == NULL)
185 tmp[0] = '\0';
187 if (++tmp > lastchar)
191 ttlStr = tmp;
194 tmp = strchr(tmp, ' ');
196 if (tmp == NULL)
199 tmp[0] = '\0';
201 if (++tmp > lastchar)
205 pd->type = tmp;
208 tmp = strchr(tmp, ' ');
210 if (tmp == NULL)
213 tmp[0] = '\0';
215 if (++tmp > lastchar)
219 pd->data = tmp;
334 char *tmp = NULL, *tmp_zone, *tmp_zone_host = NULL;
394 tmp = realloc(tmp, dns_data.size + 1);
395 if (tmp == NULL)
398 /* copy data to tmp string, and append null term. */
399 strncpy(tmp, dns_data.data, dns_data.size);
400 tmp[dns_data.size] = '\0';
403 if (bdbhpt_parse_data(tmp, &pd) != ISC_R_SUCCESS)
423 if (tmp != NULL)
424 free(tmp);
543 char *tmp = NULL;
578 tmp = realloc(tmp, data.size + 1);
579 if (tmp == NULL)
582 strncpy(tmp, data.data, data.size);
583 tmp[data.size] = '\0';
585 if (bdbhpt_parse_data(tmp, &pd) != ISC_R_SUCCESS)
602 if (tmp != NULL)
603 free(tmp);