Lines Matching refs:tmpbuf
282 char tmpbuf[4096];
302 memset(tmpbuf, 0, sizeof(tmpbuf));
304 if (getservbyport_r(port, proto, &se, (void *)tmpbuf, sizeof(tmpbuf),
309 sep = getservbyport_r(port, proto, &se, (void *)tmpbuf, sizeof(tmpbuf));
311 if (getservbyport_r(port, proto, &se, (void *)tmpbuf) != 0) {
332 snprintf(tmpbuf, sizeof(tmpbuf), "%u", (unsigned int)ntohs(port));
333 name = tmpbuf;
357 char tmpbuf[IF_NAMESIZE + 2];
360 tmpbuf[0] = '%';
366 snprintf(&tmpbuf[1], sizeof(tmpbuf) - 1, "%lu",
369 if (if_indextoname(addr6->sin6_scope_id, &tmpbuf[1]) == NULL) {
370 snprintf(&tmpbuf[1], sizeof(tmpbuf) - 1, "%lu",
375 snprintf(&tmpbuf[1], sizeof(tmpbuf) - 1, "%lu",
379 tmpbuf[IF_NAMESIZE + 1] = '\0';
382 if (bufl + ares_strlen(tmpbuf) < buflen) {
384 ares_strcpy(&buf[bufl], tmpbuf, buflen - bufl);