Home
last modified time | relevance | path

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

/haiku/src/bin/unzip/
H A Dfileio.c266 char *tname; in open_outfile() local
274 tname = (char *)malloc(FILNAMSIZ); in open_outfile()
275 if (tname == NULL) in open_outfile()
278 strcpy(tname, G.filename); /* make backup name */ in open_outfile()
279 tname[tlen] = '\0'; in open_outfile()
283 tname = (char *)malloc(tlen); in open_outfile()
284 if (tname == NULL) in open_outfile()
286 strcpy(tname, G.filename); /* make backup name */ in open_outfile()
288 strcpy(tname+flen, BackupSuffix); in open_outfile()
294 if (SSTAT(tname, &tmpstat) == 0) in open_outfile()
[all …]
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_send.c256 char tname[MAXDNAME+1]; in res_nameinquery() local
259 n = dn_expand(buf, eom, cp, tname, (int)sizeof tname); in res_nameinquery()
268 ns_samename(tname, name) == 1) in res_nameinquery()
307 char tname[MAXDNAME+1]; in res_queriesmatch() local
310 n = dn_expand(buf1, eom1, cp, tname, (int)sizeof tname); in res_queriesmatch()
318 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2)) in res_queriesmatch()
/haiku/src/bin/network/telnet/
H A Dtelnet.c702 setupterm(char *tname, int fd, int *errp) in setupterm() argument
704 if (tgetent(termbuf, tname) == 1) { in setupterm()
724 char *tname; in gettermname() local
733 if ((tname = env_getvalue("TERM")) && in gettermname()
734 (setupterm(tname, 1, &err) == 0)) { in gettermname()
735 tnamep = mklist(termbuf, tname); in gettermname()
737 if (tname && (strlen(tname) <= 40)) { in gettermname()
738 unknown[0] = tname; in gettermname()
739 upcase(tname); in gettermname()
/haiku/src/system/libnetwork/netresolv/net/
H A Dgethnamaddr.c231 const char *tname; in getanswer() local
237 tname = qname; in getanswer()
358 tname = bp; in getanswer()
373 if (strcasecmp(tname, bp) != 0) { in getanswer()
H A Dgetaddrinfo.c2126 char *tname; local
2160 if (asprintf(&tname, "_%s._%s.%s", serv->s_name, serv->s_proto,
2165 q.name = tname;
2178 free(tname);
2328 char *cp, *tname, *cname; local
2362 tname = cp;
2365 if (strcasecmp(name, tname) == 0)