Home
last modified time | relevance | path

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

/netbsd/src/games/fortune/fortune/
Dfortune.c452 char *tpath, *offensive, *tfile = strdup(file), *tf; in add_file() local
457 tpath = NULL; in add_file()
460 tpath = do_malloc(strlen(dir) + strlen(file) + 2); in add_file()
461 (void) strcat(strcat(strcpy(tpath, dir), "/"), file); in add_file()
462 path = tpath; in add_file()
465 if (tpath) in add_file()
466 free(tpath); in add_file()
475 if (tpath) { in add_file()
476 free(tpath); in add_file()
477 tpath = NULL; in add_file()
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/krb5/
Dexpand_path.c59 TCHAR tpath[MAX_PATH]; in _expand_temp_folder() local
62 if (!GetTempPath(sizeof(tpath)/sizeof(tpath[0]), tpath)) { in _expand_temp_folder()
70 len = strlen(tpath); in _expand_temp_folder()
72 if (len > 0 && tpath[len - 1] == '\\') in _expand_temp_folder()
73 tpath[len - 1] = '\0'; in _expand_temp_folder()
75 *ret = strdup(tpath); in _expand_temp_folder()
/netbsd/src/usr.bin/man/
Dman.c751 char buf[MAXPATHLEN], cmd[MAXPATHLEN], tpath[MAXPATHLEN]; in build_page() local
806 (void)snprintf(tpath, sizeof (tpath), "%s%s%s", tmpdir, in build_page()
808 if ((fd = mkstemp(tpath)) == -1) { in build_page()
809 warn("%s", tpath); in build_page()
813 (void)snprintf(buf, sizeof(buf), "%s > %s", fmt, tpath); in build_page()
817 if ((*pathp = strdup(tpath)) == NULL) { in build_page()
/netbsd/src/external/bsd/libarchive/dist/tar/test/
Dtest_windows.c25 mkfullpath(char **path1, char **path2, const char *tpath, int type) in mkfullpath() argument
33 l = GetFullPathNameA(tpath, 0, NULL, NULL); in mkfullpath()
39 l = GetFullPathNameA(tpath, (DWORD)l, fp1, NULL); in mkfullpath()
/netbsd/src/crypto/external/bsd/openssl/dist/apps/
Docsp.c249 char *thost = NULL, *tport = NULL, *tpath = NULL; in ocsp_main() local
287 OPENSSL_free(tpath); in ocsp_main()
288 thost = tport = tpath = NULL; in ocsp_main()
297 tpath = path; in ocsp_main()
878 OPENSSL_free(tpath); in ocsp_main()
/netbsd/src/external/bsd/nvi/docs/internals/
Dcscope.NOTES127 The file "cscope.tpath" may contain a colon-separated directory search
129 cscope.tpath does not exist, then the paths are assumed to be relative to
/netbsd/src/external/bsd/nvi/dist/docs/vi.ref/
Dspell.ok341 tpath
Dvi.texi950 @QQ{cscope.tpath}
/netbsd/src/external/cddl/osnet/dist/lib/libzfs/common/
Dlibzfs_diff.c59 do_name_cmp(const char *fpath, const char *tpath) in do_name_cmp() argument
63 tname = strrchr(tpath, '/') + 1; in do_name_cmp()