Home
last modified time | relevance | path

Searched refs:txt_curr (Results 1 – 1 of 1) sorted by relevance

/external/c-ares/
Dares_parse_txt_reply.c66 struct ares_txt_reply *txt_curr; in ares_parse_txt_reply() local
120 txt_curr = ares_malloc_data(ARES_DATATYPE_TXT_REPLY); in ares_parse_txt_reply()
121 if (!txt_curr) in ares_parse_txt_reply()
128 txt_last->next = txt_curr; in ares_parse_txt_reply()
132 txt_head = txt_curr; in ares_parse_txt_reply()
134 txt_last = txt_curr; in ares_parse_txt_reply()
149 txt_curr->length += substr_len; in ares_parse_txt_reply()
154 txt_curr->txt = malloc (txt_curr->length + 1); in ares_parse_txt_reply()
155 if (txt_curr->txt == NULL) in ares_parse_txt_reply()
168 memcpy ((char *) txt_curr->txt + str_len, strptr, substr_len); in ares_parse_txt_reply()
[all …]