Searched refs:tbuf (Results 1 - 9 of 9) sorted by last modified time

/haiku/src/system/libnetwork/netresolv/net/
H A Dgetaddrinfo.c1740 char tbuf[MAXDNAME]; local
1825 n = dn_expand(answer->buf, eom, cp, tbuf, (int)sizeof tbuf);
1826 if ((n < 0) || !maybe_ok(res, tbuf, name_ok)) {
1832 n = (int)strlen(tbuf) + 1; /* for the \0 */
1837 strlcpy(bp, tbuf, (size_t)(ep - bp));
1913 n = dn_expand(answer->buf, eom, cp, tbuf,
1914 (int)sizeof(tbuf));
1915 if ((n < 0) || !maybe_ok(res, tbuf, res_hnok)) {
1920 if (strlen(tbuf)
[all...]
H A Dgethnamaddr.c227 char tbuf[MAXDNAME]; local
313 n = dn_expand(answer->buf, eom, cp, tbuf,
314 (int)sizeof tbuf);
315 if ((n < 0) || !maybe_ok(res, tbuf, name_ok)) {
331 n = (int)strlen(tbuf) + 1; /* for the \0 */
336 strlcpy(bp, tbuf, (size_t)(ep - bp));
342 n = dn_expand(answer->buf, eom, cp, tbuf,
343 (int)sizeof tbuf);
344 if (n < 0 || !maybe_dnok(res, tbuf)) {
352 n = (int)strlen(tbuf)
[all...]
/haiku/src/bin/network/telnetd/
H A Dutility.c719 char tbuf[32]; local
720 sprintf(tbuf, "%s%s%s%s%s",
726 output_data("%s", tbuf[1] ? &tbuf[1] : "0");
/haiku/src/tests/system/libroot/posix/
H A Dtest_time.c29 struct tm tbuf; local
51 tbuf.tm_year = 72;
52 tbuf.tm_mon = 0;
53 tbuf.tm_mday = 31;
54 tbuf.tm_hour = 6;
55 tbuf.tm_min = 14;
56 tbuf.tm_sec = 50;
57 tbuf.tm_isdst = -1;
59 t = mktime(&tbuf);
78 if (tbuf
[all...]
/haiku/src/libs/libtelnet/
H A Dauth.c607 unsigned char tbuf[16]; local
615 sprintf((char *)tbuf, " %d", *data);
616 for (cp = tbuf; *cp && buflen > 0; --buflen)
H A Dencrypt.c922 char tbuf[16], *cp; local
930 sprintf(tbuf, " %d", *data);
931 for (cp = tbuf; *cp && buflen > 0; --buflen)
/haiku/src/libs/mapm/
H A Dmapmutl2.c248 char *p, tbuf[64]; local
271 tbuf[i++] = (char)(j + '0');
280 *p++ = tbuf[--i];
/haiku/src/bin/network/telnet/
H A Dcommands.c2620 command(int top, const char *tbuf, int cnt)
2634 if (tbuf) {
2637 while (cnt > 0 && (*cp++ = *tbuf++) != '\n')
2639 tbuf = 0;
2612 command(int top, const char *tbuf, int cnt) argument
H A Dutilities.c632 char tbuf[64];
633 sprintf(tbuf, "%s%s%s%s%s",
639 fprintf(NetTrace, "%s", tbuf[1] ? &tbuf[1] : "0");
631 char tbuf[64]; local

Completed in 87 milliseconds