Lines Matching refs:tmp
144 char *tmp = in;
145 char *lastchar = (char *) &tmp[strlen(tmp)];
172 tmp = strchr(tmp, ' ');
174 if (tmp == NULL)
177 if (++tmp > lastchar)
181 pd->host = tmp;
184 tmp = strchr(tmp, ' ');
186 if (tmp == NULL)
189 tmp[0] = '\0';
191 if (++tmp > lastchar)
195 ttlStr = tmp;
198 tmp = strchr(tmp, ' ');
200 if (tmp == NULL)
203 tmp[0] = '\0';
205 if (++tmp > lastchar)
209 pd->type = tmp;
212 tmp = strchr(tmp, ' ');
214 if (tmp == NULL)
217 tmp[0] = '\0';
219 if (++tmp > lastchar)
223 pd->data = tmp;
335 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';
404 tmp, &pd) != ISC_R_SUCCESS)
422 if (tmp != NULL)
423 free(tmp);
546 char *tmp = NULL;
582 tmp = realloc(tmp, data.size + 1);
583 if (tmp == NULL)
586 strncpy(tmp, data.data, data.size);
587 tmp[data.size] = '\0';
589 if (bdbhpt_parse_data(db->log, tmp, &pd) != ISC_R_SUCCESS)
604 if (tmp != NULL)
605 free(tmp);