Home
last modified time | relevance | path

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

/dragonfly/bin/cpdup/
H A Dcpdup.c98 char *spath; member
355 info.spath = src; in main()
361 info.spath = src; in main()
684 const char *spath = info->spath; in DoCopy() local
770 (dpath ? dpath : spath)); in DoCopy()
851 (dpath ? dpath : spath)); in DoCopy()
876 (dpath ? dpath : spath) in DoCopy()
992 info->spath = nspath; in DoCopy()
1003 info->spath = NULL; in DoCopy()
1207 (dpath ? dpath : spath), in DoCopy()
[all …]
H A Dmd5.c21 static void md5_cache(const char *spath, int sdirlen);
71 md5_cache(const char *spath, int sdirlen) in md5_cache() argument
82 strncmp(spath, MD5SCache, sdirlen) == 0 in md5_cache()
183 md5_check(const char *spath, const char *dpath) in md5_check() argument
193 if ((sfile = strrchr(spath, '/')) != NULL) in md5_check()
196 sfile = spath; in md5_check()
197 sdirlen = sfile - spath; in md5_check()
199 md5_cache(spath, sdirlen); in md5_check()
208 char *scode = doMD5File(spath, NULL, 0); in md5_check()
231 node->md_Code = doMD5File(spath, NULL, 0); in md5_check()
[all …]
H A Dcpdup.h65 int md5_check(const char *spath, const char *dpath);
/dragonfly/usr.bin/dsynth/
H A Drepo.c42 char *spath; member
370 DistFilesPath, item->spath); in PurgeDistfiles()
374 printf("Deleted %s\n", item->spath); in PurgeDistfiles()
440 return (strcmp(item1->spath, item2->spath)); in pinfocmp()
457 res = strcmp(spath, item->spath); in pinfofind()
477 char *spath; in scanit() local
500 asprintf(&spath, "%s/%s", in scanit()
502 scanit(npath, spath, countp, in scanit()
504 free(spath); in scanit()
512 asprintf(&item->spath, "%s/%s", in scanit()
[all …]
H A Dmount.c40 const char *spath, const char *dpath,
306 domount(worker_t *work, int type, const char *spath, const char *dpath, in domount() argument
382 spath = tmp; in domount()
384 if (spath[0] == '$') { in domount()
385 ++spath; in domount()
396 sbase, spath, work->basedir, dpath); in domount()
432 makeDiscreteCopies(const char *spath, const char *discretefmt) in makeDiscreteCopies() argument
443 if (spath[0] == '$') { in makeDiscreteCopies()
446 SystemPath + 1, spath + 1); in makeDiscreteCopies()
449 SystemPath, spath + 1); in makeDiscreteCopies()
[all …]
H A Ddsynth.c294 char *spath; in main() local
298 asprintf(&spath, "%s/%s", StatsBase, STATS_FILE); in main()
300 MonitorDirective(spath, lpath); in main()
301 free(spath); in main()
/dragonfly/libexec/pppoed/
H A Dpppoed.c117 char *epath, *spath; in ConfigureNode() local
232 spath = (char *)alloca(strlen(ngc->peerhook) + 3); in ConfigureNode()
233 strcpy(spath, ".:"); in ConfigureNode()
234 strcpy(spath + 2, ngc->ourhook); in ConfigureNode()
239 spath, provider); in ConfigureNode()
241 fprintf(stderr, "Sending PPPOE_LISTEN to %s\n", spath); in ConfigureNode()
244 if (NgSendMsg(cs, spath, NGM_PPPOE_COOKIE, NGM_PPPOE_LISTEN, in ConfigureNode()
247 spath, strerror(errno)); in ConfigureNode()
/dragonfly/sys/netproto/802_11/
H A Ddofbsddiff11 set spath = "$i"
20 diff -w -u $dpath $spath
/dragonfly/contrib/tcsh-6/
H A Dsh.file.c275 char *spath; in filetype() local
279 spath = short2str(path); in filetype()
281 if (lstat(spath, &statb) == 0) { in filetype()
287 if (stat(spath, &statb) == 0 && /* follow it out */ in filetype()