Searched refs:oldPath (Results 1 - 6 of 6) sorted by relevance

/macosx-10.10/Security-57031.1.35/Security/include/security_filedb/
H A DAtomicFile.cpp801 const char *oldPath = mPath.c_str(); local
810 // oldPath is the "temp filename".
815 if(copyfile(newPath, oldPath, s, COPYFILE_SECURITY | COPYFILE_NOFOLLOW) == -1) // Not fatal
816 secdebug("atomicfile", "copyfile (%s, %s): %s", oldPath, newPath, strerror(errno));
821 ::utimes(oldPath, NULL);
823 if (::rename(oldPath, newPath) == -1)
826 secdebug("atomicfile", "rename (%s, %s): %s", oldPath, newPath, strerror(errno));
833 secdebug("atomicfile", "%p commited %s", this, oldPath);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_filedb/lib/
H A DAtomicFile.cpp801 const char *oldPath = mPath.c_str(); local
810 // oldPath is the "temp filename".
815 if(copyfile(newPath, oldPath, s, COPYFILE_SECURITY | COPYFILE_NOFOLLOW) == -1) // Not fatal
816 secdebug("atomicfile", "copyfile (%s, %s): %s", oldPath, newPath, strerror(errno));
821 ::utimes(oldPath, NULL);
823 if (::rename(oldPath, newPath) == -1)
826 secdebug("atomicfile", "rename (%s, %s): %s", oldPath, newPath, strerror(errno));
833 secdebug("atomicfile", "%p commited %s", this, oldPath);
/macosx-10.10/configd-699.1.5/SystemConfiguration.fproj/
H A DSCNetworkSet.c1919 CFStringRef oldPath = NULL; local
1946 oldPath = SCPreferencesPathKeyCreateSet(NULL, setPrivate->setID);
1947 entity = SCPreferencesPathGetValue(setPrivate->prefs, oldPath);
1959 ok = SCPreferencesPathRemoveValue(setPrivate->prefs, oldPath);
1985 if (oldPath != NULL) {
1986 CFRelease(oldPath);
H A DSCNetworkService.c1946 CFStringRef oldPath = NULL; local
1975 oldPath = SCPreferencesPathKeyCreateNetworkServiceEntity(NULL, // allocator
1978 entity = SCPreferencesPathGetValue(servicePrivate->prefs, oldPath);
1988 ok = SCPreferencesPathRemoveValue(servicePrivate->prefs, oldPath);
2022 if (oldPath != NULL) {
2023 CFRelease(oldPath);
H A DSCNetworkInterface.c3433 CFStringRef oldPath = NULL; local
3437 oldPath = interfacePrivate->path;
3438 if (isA_CFString(oldPath) == NULL) {
3441 newPath = CFStringCreateWithFormat(NULL, NULL, CFSTR("Migrated_From: %@"), oldPath);
/macosx-10.10/Heimdal-398.1.2/lib/sqlite/
H A Dsqlite3.c30884 char *oldPath = pCtx->lockProxyPath; local
[all...]

Completed in 315 milliseconds