Searched refs:tmppath (Results 1 - 7 of 7) sorted by relevance

/netbsd-6-1-5-RELEASE/lib/libc/nls/
H A Dcatopen.c75 char tmppath[PATH_MAX+1]; local
106 t = tmppath;
113 while (*u && t < tmppath + PATH_MAX)
118 while (*u && t < tmppath + PATH_MAX)
126 if (t < tmppath + PATH_MAX)
130 if (t < tmppath + PATH_MAX)
137 catd = load_msgcat(tmppath);
143 t = tmppath;
/netbsd-6-1-5-RELEASE/usr.bin/crunch/crunchgen/
H A Dcrunchgen.c348 char tmppath[MAXPATHLEN]; local
352 (void)estrlcpy(tmppath, argv[i], sizeof(tmppath));
355 (void)estrlcpy(tmppath, curdir, sizeof(tmppath));
357 (void)estrlcpy(tmppath, topdir, sizeof(tmppath));
358 (void)estrlcat(tmppath, "/", sizeof(tmppath));
359 (void)estrlcat(tmppath, arg
470 char tmppath[MAXPATHLEN]; local
600 char tmppath[MAXPATHLEN]; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/file/dist/src/
H A Dmagic.c132 char *tmppath = NULL;
136 if (tmppath && access(tmppath, R_OK) != -1) { \
138 hmagicpath = tmppath; \
141 PATHSEP, tmppath) >= 0) { \
145 free(tmppath); \
147 tmppath = NULL; \
159 if (asprintf(&tmppath,
162 tmppath = NULL;
164 if (asprintf(&tmppath, "
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/edquota/
H A Dedquota.c1236 int tmpfd, const char *tmppath)
1257 if (editit(tmppath) == 0)
1271 char tmppath[] = _PATH_TMPFILE; local
1274 tmpfd = mkstemp(tmppath);
1278 editone(fs, idtype, names[i], tmpfd, tmppath);
1282 unlink(tmppath);
1235 editone(const char *fs, int idtype, const char *name, int tmpfd, const char *tmppath) argument
/netbsd-6-1-5-RELEASE/sys/dev/
H A Dccd.c261 char *tmppath; local
274 tmppath = kmem_alloc(MAXPATHLEN, KM_SLEEP);
291 memset(tmppath, 0, MAXPATHLEN); /* sanity */
292 error = copyinstr(cpaths[ix], tmppath,
305 memcpy(ci->ci_path, tmppath, ci->ci_pathlen);
420 kmem_free(tmppath, MAXPATHLEN);
429 kmem_free(tmppath, MAXPATHLEN);
H A Dcgd.c740 char *tmppath; local
748 tmppath = malloc(MAXPATHLEN, M_TEMP, M_WAITOK);
749 ret = copyinstr(cpath, tmppath, MAXPATHLEN, &cs->sc_tpathlen);
753 memcpy(cs->sc_tpath, tmppath, cs->sc_tpathlen);
786 free(tmppath, M_TEMP);
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs_pool.c1853 char *tmppath; local
1857 &tmppath) != 0)
1864 rsz = snprintf(physpath + pos, bytes_left, format, tmppath);

Completed in 103 milliseconds