/macosx-10.10/apr-32/apr/apr/test/ |
H A D | testnames.c | 41 char *dstpath = NULL; local 44 rv = apr_filepath_merge(&dstpath, ABS_ROOT"foo", ABS_ROOT"bar", APR_FILEPATH_NOTABOVEROOT, 48 ABTS_PTR_EQUAL(tc, NULL, dstpath); 55 char *dstpath = NULL; local 57 rv = apr_filepath_merge(&dstpath, ABS_ROOT"foo", ABS_ROOT"foo/bar", 59 ABTS_PTR_NOTNULL(tc, dstpath); 61 ABTS_STR_EQUAL(tc, ABS_ROOT"foo/bar", dstpath); 67 char *dstpath = NULL; local 69 rv = apr_filepath_merge(&dstpath, ABS_ROOT"foo", ABS_ROOT"foo/bar", 0, p); 70 ABTS_PTR_NOTNULL(tc, dstpath); 78 char *dstpath = NULL; local 102 char *dstpath = NULL; local 120 char *dstpath = NULL; local 131 char *dstpath = NULL; local 143 char *dstpath = NULL; local 158 char *dstpath = NULL; local 173 char *dstpath = NULL; local [all...] |
/macosx-10.10/kext_tools-384.1.4/ |
H A D | safecalls.c | 508 _copyfiledata(int srcfd, struct stat *srcsb, int dstfdvol, const char *dstpath) argument 518 (void)sunlink(dstfdvol, dstpath); 519 dstfd = sopen(dstfdvol, dstpath, O_CREAT|O_WRONLY, srcsb->st_mode|S_IWUSR); 550 char srcpath[PATH_MAX], dstpath[PATH_MAX]; local 572 PATHCPY(dstpath, dstdir); 573 PATHCAT(dstpath, "/"); 574 PATHCAT(dstpath, fname); 577 bsderr = scopyitem(srcfdvol, srcpath, dstfdvol, dstpath); 588 scopyitem(int srcfdvol, const char *srcpath, int dstfdvol, const char *dstpath) argument 604 PATHCPY(dstparent, dstpath); [all...] |
H A D | update_boot.c | 421 char srcpath[PATH_MAX], dstpath[PATH_MAX]; local 440 makebootpath(dstpath, up->caches->miscpaths[i].rpath); 445 if (stat(dstpath, &sb) != 0 && errno == ENOENT) { 459 makebootpath(dstpath, up->caches->efibooter.rpath); 460 if (stat(dstpath, &sb) != 0 && errno == ENOENT) { 470 makebootpath(dstpath, up->caches->ofbooter.rpath); 471 if (stat(dstpath, &sb) != 0 && errno == ENOENT) { 2152 writeBootPrefs(struct updatingVol *up, char *dstpath) argument 2165 if (strlcpy(dstparent,dirname(dstpath),PATH_MAX) >= PATH_MAX) { 2174 (void)sunlink(up->curbootfd, dstpath); 2234 _writeFDEPropsToHelper(struct updatingVol *up, char *dstpath) argument 2372 char srcpath[PATH_MAX], dstpath[PATH_MAX]; local 2578 char srcpath[PATH_MAX], dstpath[PATH_MAX]; local [all...] |
H A D | bootcaches.h | 217 char *cspvbsd, char *dstpath);
|
H A D | bootcaches.c | 2008 * 0) provided dstpath = /path/to/S/L/Caches/com.apple.corestorage 2021 CFStringRef wipeKeyUUID, char *dstpath) 2032 pathcpy(parentpath, dstpath); 2035 rval = EINVAL; LOGERRxlate(dstpath, "missing" kFDECacheFile, rval); 2066 if (-1 == stat(dstpath, &sb)) { 2067 rval = errno; LOGERRxlate(dstpath, NULL, rval); goto finish; 2085 char *cspvbsd, char *dstpath) 2107 if ((errnum = szerofile(scopefd, dstpath)) || 2108 ((errnum = sunlink(scopefd, dstpath)) && errno != ENOENT)) { 2110 "WARNING: %s: %s", dstpath, strerro 2020 _writeCSFDENoFD(int scopefd, CFDictionaryRef ectx, CFStringRef wipeKeyUUID, char *dstpath) argument 2084 writeCSFDEProps(int scopefd, CFDictionaryRef ectx, char *cspvbsd, char *dstpath) argument [all...] |
/macosx-10.10/syslog-267/syslogd.tproj/ |
H A D | asl_action.c | 401 char dstpath[MAXPATHLEN]; local 414 snprintf(dstpath, sizeof(dstpath), "%s/%s", r->dst->path, FILE_ASL_STORE_DATA); 417 status = stat(dstpath, &sb); 421 as_data->storedata = fopen(dstpath, "r+"); 424 asldebug("_asl_dir_storedata_open: fopen existing %s: %s\n", dstpath, strerror(errno)); 436 as_data->storedata = fopen(dstpath, "w+"); 439 asldebug("_asl_dir_storedata_open: fopen new %s: %s\n", dstpath, strerror(errno)); 452 if (chown(dstpath, r->dst->uid[0], r->dst->gid[0]) != 0) 454 asldebug("_asl_dir_storedata_open: chown %d %d new %s: %s\n", dstpath, 585 char dstpath[MAXPATHLEN]; local [all...] |
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/build/ |
H A D | shtool | 905 dstpath="$1" 909 if [ -d $dstpath ]; then 910 dstpath=`echo "$dstpath" | sed -e 's:/$::'` 922 dst=$dstpath
|
/macosx-10.10/copyfile-118.1.2/ |
H A D | copyfile.c | 586 char srcpath[PATH_MAX * 2 + 1], dstpath[PATH_MAX * 2 + 1]; local 649 if (realpath(dst, dstpath) == NULL && 650 (errno == ENOENT && realpath(dirname(dst), dstpath) == NULL)) { 654 if (strstr(srcpath, dstpath) != NULL) {
|