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

/netbsd-current/games/fortune/fortune/
H A Dfortune.c452 char *tpath, *offensive, *tfile = strdup(file), *tf; local
457 tpath = NULL;
460 tpath = do_malloc(strlen(dir) + strlen(file) + 2);
461 (void) strcat(strcat(strcpy(tpath, dir), "/"), file);
462 path = tpath;
465 if (tpath)
466 free(tpath);
475 if (tpath) {
476 free(tpath);
477 tpath
[all...]
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dexpand_path.c59 TCHAR tpath[MAX_PATH]; local
62 if (!GetTempPath(sizeof(tpath)/sizeof(tpath[0]), tpath)) {
70 len = strlen(tpath);
72 if (len > 0 && tpath[len - 1] == '\\')
73 tpath[len - 1] = '\0';
75 *ret = strdup(tpath);
/netbsd-current/external/bsd/libarchive/dist/tar/test/
H A Dtest_windows.c43 mkfullpath(char **path1, char **path2, const char *tpath, int type) argument
49 * Get full path name of "tpath"
51 l = GetFullPathNameA(tpath, 0, NULL, NULL);
57 l = GetFullPathNameA(tpath, (DWORD)l, fp1, NULL);
/netbsd-current/usr.bin/man/
H A Dman.c751 char buf[MAXPATHLEN], cmd[MAXPATHLEN], tpath[MAXPATHLEN]; local
806 (void)snprintf(tpath, sizeof (tpath), "%s%s%s", tmpdir,
808 if ((fd = mkstemp(tpath)) == -1) {
809 warn("%s", tpath);
813 (void)snprintf(buf, sizeof(buf), "%s > %s", fmt, tpath);
817 if ((*pathp = strdup(tpath)) == NULL) {
/netbsd-current/external/gpl3/gcc/dist/contrib/header-tools/
H A Dreduce-headers179 tpath = bld_dir + "/" + target
180 if not os.path.exists (tpath + "/gcc"):
181 print "Error: gcc build directory for target " + t + " Does not exist: " + tpath + "/gcc"
184 target_dict[target] = tpath
/netbsd-current/external/gpl3/gcc.old/dist/contrib/header-tools/
H A Dreduce-headers179 tpath = bld_dir + "/" + target
180 if not os.path.exists (tpath + "/gcc"):
181 print "Error: gcc build directory for target " + t + " Does not exist: " + tpath + "/gcc"
184 target_dict[target] = tpath
/netbsd-current/crypto/external/bsd/openssl.old/dist/apps/
H A Docsp.c254 char *thost = NULL, *tport = NULL, *tpath = NULL; local
296 OPENSSL_free(tpath);
297 thost = tport = tpath = NULL;
304 tpath = path;
829 OPENSSL_free(tpath);
/netbsd-current/crypto/external/bsd/openssl/dist/apps/
H A Docsp.c249 char *thost = NULL, *tport = NULL, *tpath = NULL; local
287 OPENSSL_free(tpath);
288 thost = tport = tpath = NULL;
297 tpath = path;
878 OPENSSL_free(tpath);
/netbsd-current/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs_diff.c59 do_name_cmp(const char *fpath, const char *tpath) argument
63 tname = strrchr(tpath, '/') + 1;

Completed in 291 milliseconds