| /dragonfly/bin/cpdup/ |
| HD | cpdup.c | 98 char *spath; member 123 static char *checkHLPath(struct stat *st, const char *spath, const char *dpath); 124 static int validate_check(const char *spath, const char *dpath); 355 info.spath = src; in main() 361 info.spath = src; in main() 603 checkHLPath(struct stat *st1, const char *spath, const char *dpath) in checkHLPath() argument 629 error = validate_check(spath, hpath); in checkHLPath() 643 validate_check(const char *spath, const char *dpath) in validate_check() argument 649 fd1 = hc_open(&SrcHost, spath, O_RDONLY, 0); in validate_check() 684 const char *spath = info->spath; in DoCopy() local [all …]
|
| HD | md5.c | 21 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() 99 MD5SCache = mprintf("%*.*s%s", sdirlen, sdirlen, spath, MD5CacheFile); 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() [all …]
|
| HD | cpdup.h | 65 int md5_check(const char *spath, const char *dpath);
|
| /dragonfly/usr.bin/dsynth/ |
| HD | repo.c | 42 char *spath; member 52 pinfo_t *pinfofind(pinfo_t **ary, int count, char *spath); 370 DistFilesPath, item->spath); in PurgeDistfiles() 374 printf("Deleted %s\n", item->spath); in PurgeDistfiles() 440 return (strcmp(item1->spath, item2->spath)); in pinfocmp() 444 pinfofind(pinfo_t **ary, int count, char *spath) in pinfofind() argument 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() [all …]
|
| HD | mount.c | 40 const char *spath, const char *dpath, 43 static void makeDiscreteCopies(const char *spath, const char *discretefmt); 312 domount(worker_t *work, int type, const char *spath, const char *dpath, in domount() argument 388 spath = tmp; in domount() 390 if (spath[0] == '$') { in domount() 391 ++spath; in domount() 402 sbase, spath, work->basedir, dpath); in domount() 438 makeDiscreteCopies(const char *spath, const char *discretefmt) in makeDiscreteCopies() argument 449 if (spath[0] == '$') { in makeDiscreteCopies() 452 SystemPath + 1, spath + 1); in makeDiscreteCopies() [all …]
|
| HD | dsynth.c | 294 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/ |
| HD | pppoed.c | 117 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/ |
| HD | dofbsddiff | 11 set spath = "$i" 20 diff -w -u $dpath $spath
|
| /dragonfly/contrib/tcsh-6/ |
| HD | sh.file.c | 275 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()
|