Searched refs:newPath (Results 1 - 25 of 26) sorted by relevance

12

/macosx-10.10/configd-699.1.5/SystemConfiguration.fproj/
H A DSCP.c92 CFMutableStringRef newPath; local
94 newPath = CFStringCreateMutableCopy(allocator, 0, path);
95 CFStringReplace(newPath,
96 CFRangeMake(CFStringGetLength(newPath)-4, 4),
99 path = newPath;
145 curPath = prefsPrivate->newPath ? prefsPrivate->newPath : prefsPrivate->path;
151 (prefsPrivate->newPath == NULL));
166 CFMutableStringRef newPath = NULL; local
173 newPath
[all...]
H A DSCPCommit.c68 prefsPrivate->newPath ? prefsPrivate->newPath : prefsPrivate->path);
199 path = prefsPrivate->newPath ? prefsPrivate->newPath : prefsPrivate->path;
286 if (prefsPrivate->newPath) {
289 (void) symlink(prefsPrivate->newPath, prefsPrivate->path);
292 prefsPrivate->newPath = NULL;
H A DSCPPath.c348 CFStringRef newPath = NULL; local
373 newPath = CFStringCreateWithFormat(NULL, NULL, CFSTR("%@/%@"), prefix, child);
384 if (!setPath(prefs, newPath, newDict)) {
385 CFRelease(newPath);
386 newPath = NULL;
390 return newPath;
H A DSCPreferencesInternal.h69 char *newPath; member in struct:__anon7187
H A DSCPOpen.c77 prefsPrivate->newPath ? prefsPrivate->newPath : prefsPrivate->path);
109 if (prefsPrivate->newPath) CFAllocatorDeallocate(NULL, prefsPrivate->newPath);
190 prefsPrivate->newPath = NULL; // new prefs path
425 (prefsPrivate->newPath == NULL));
440 if (prefsPrivate->newPath == NULL) {
446 prefsPrivate->newPath = prefsPrivate->path;
455 prefsPrivate->path = prefsPrivate->newPath;
456 prefsPrivate->newPath
[all...]
H A DSCPLock.c398 path = prefsPrivate->newPath ? prefsPrivate->newPath : prefsPrivate->path;
432 prefsPrivate->newPath ? prefsPrivate->newPath : prefsPrivate->path);
H A DSCNetworkSet.c1917 CFStringRef newPath; local
1938 newPath = SCPreferencesPathKeyCreateSet(NULL, newSetID);
1939 entity = SCPreferencesPathGetValue(setPrivate->prefs, newPath);
1954 ok = SCPreferencesPathSetValue(setPrivate->prefs, newPath, entity);
1988 if (newPath != NULL) {
1989 CFRelease(newPath);
H A DSCNetworkService.c1944 CFStringRef newPath; local
1965 newPath = SCPreferencesPathKeyCreateNetworkServiceEntity(NULL, // allocator
1968 entity = SCPreferencesPathGetValue(servicePrivate->prefs, newPath);
1985 ok = SCPreferencesPathSetValue(servicePrivate->prefs, newPath, entity);
2025 if (newPath != NULL) {
2026 CFRelease(newPath);
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/library/
H A Dhelp.tcl149 set newPath {}
154 if {[llength [join $newPath /]] == 0} {
158 lvarpop newPath [expr [llength $newPath]-1]
161 lappend newPath $element
163 set newPath [join $newPath /]
167 if {("$newPath" == "") && [string match "/*" $pathName]} {
168 set newPath "/"
171 return $newPath
[all...]
/macosx-10.10/WebCore-7600.1.25/accessibility/mac/
H A DWebAccessibilityObjectWrapperBase.mm254 CGMutablePathRef newPath = conversion->path;
259 CGPathMoveToPoint(newPath, nil, newPoint.x, newPoint.y);
265 CGPathAddLineToPoint(newPath, nil, newPoint.x, newPoint.y);
272 CGPathAddQuadCurveToPoint(newPath, nil, newPoint1.x, newPoint1.y, newPoint2.x, newPoint2.y);
280 CGPathAddCurveToPoint(newPath, nil, newPoint1.x, newPoint1.y, newPoint2.x, newPoint2.y, newPoint3.x, newPoint3.y);
285 CGPathCloseSubpath(newPath);
/macosx-10.10/WebCore-7600.1.25/platform/geoclue/
H A DGeolocationProviderGeoclue2.cpp155 void GeolocationProviderGeoclue::locationUpdatedCallback(GeoclueClient*, const gchar*, const gchar* newPath, GeolocationProviderGeoclue* provider) argument
157 geoclue_location_proxy_new_for_bus(G_BUS_TYPE_SYSTEM, G_DBUS_PROXY_FLAGS_NONE, gGeoclueBusName, newPath, nullptr,
/macosx-10.10/shell_cmds-179/find/
H A Dfind.c184 static char **addPath(char **array, char *newPath) argument
188 if (newPath == NULL) { /* initialize array */
198 array[pathCounter - 1] = newPath;
/macosx-10.10/ICU-531.30/icuSources/test/intltest/
H A Ducdtest.cpp201 char newPath[256]; local
207 strcpy(newPath, pathToDataDirectory());
208 strcat(newPath, "unidata" U_FILE_SEP_STRING "DerivedCoreProperties.txt");
221 char *path=newPath;
222 u_parseDelimitedFile(newPath, ';', fields, 2, derivedPropsLineFn, this, &errorCode);
/macosx-10.10/WebKit-7600.1.25/mac/Plugins/
H A DWebBasePluginPackage.mm105 NSString *newPath = [thePath stringByResolvingSymlinksInPath];
113 return newPath;
119 return newPath;
123 newPath = [(NSURL *)URL path];
128 return newPath;
/macosx-10.10/Security-57031.1.35/Security/include/security_filedb/
H A DAtomicFile.cpp116 const char *newPath = inNewPath.c_str(); local
120 if (::rename(path, newPath) != 0)
123 secdebug("atomicfile", "rename(%s, %s): %s", path, newPath, strerror(error));
802 const char *newPath = mFile.path().c_str(); local
809 // To clear something up - newPath is the name the keychain will become - which is the name of the file being replaced
815 if(copyfile(newPath, oldPath, s, COPYFILE_SECURITY | COPYFILE_NOFOLLOW) == -1) // Not fatal
816 secdebug("atomicfile", "copyfile (%s, %s): %s", oldPath, newPath, strerror(errno));
823 if (::rename(oldPath, newPath) == -1)
826 secdebug("atomicfile", "rename (%s, %s): %s", oldPath, newPath, strerror(errno));
/macosx-10.10/Security-57031.1.35/Security/libsecurity_filedb/lib/
H A DAtomicFile.cpp116 const char *newPath = inNewPath.c_str(); local
120 if (::rename(path, newPath) != 0)
123 secdebug("atomicfile", "rename(%s, %s): %s", path, newPath, strerror(error));
802 const char *newPath = mFile.path().c_str(); local
809 // To clear something up - newPath is the name the keychain will become - which is the name of the file being replaced
815 if(copyfile(newPath, oldPath, s, COPYFILE_SECURITY | COPYFILE_NOFOLLOW) == -1) // Not fatal
816 secdebug("atomicfile", "copyfile (%s, %s): %s", oldPath, newPath, strerror(errno));
823 if (::rename(oldPath, newPath) == -1)
826 secdebug("atomicfile", "rename (%s, %s): %s", oldPath, newPath, strerror(errno));
/macosx-10.10/WebCore-7600.1.25/platform/graphics/cg/
H A DPathCG.cpp186 CGMutablePathRef newPath = CGPathCreateMutable(); local
188 CGPathAddPath(newPath, &translation, ensurePlatformPath());
190 m_path = newPath;
/macosx-10.10/dyld-353.2.1/src/
H A Ddyld.cpp1379 char* newPath = new char[strlen(val) + (strlen(paths[i]) - keyLen) + 1]; local
1380 strcpy(newPath, val);
1381 strcat(newPath, &paths[i][keyLen]);
1382 paths[i] = newPath;
2736 char newPath[strlen(executablePath) + strlen(path)]; local
2737 strcpy(newPath, executablePath);
2738 char* addPoint = strrchr(newPath,'/');
2742 strcpy(newPath, &path[17]);
2743 image = loadPhase4(newPath, orgPath, context, exceptions);
2767 char newPath[strle local
2800 char newPath[strlen(anRPath) + strlen(trailingPath)+2]; local
2924 char newPath[strlen(*rootPath) + strlen(path)+2]; local
[all...]
H A DImageLoaderMachO.cpp1120 char newPath[PATH_MAX]; local
1121 strlcpy(newPath, *rp, PATH_MAX);
1122 strlcat(newPath, path, PATH_MAX);
1124 if ( stat(newPath, &stat_buf) != -1 ) {
1125 //dyld::log("combined DYLD_ROOT_PATH and LC_RPATH: %s\n", newPath);
1126 pathToAdd = strdup(newPath);
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Grady/
H A DMyWindowController.py16 def initWithPath_(self, newPath):
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Grady/
H A DMyWindowController.py16 def initWithPath_(self, newPath):
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Examples/AppKit/Grady/
H A DMyWindowController.py16 def initWithPath_(self, newPath):
/macosx-10.10/configd-699.1.5/SystemConfiguration.fproj/helper/
H A DSCHelper_server.c250 path = (prefsPrivate->newPath != NULL) ? prefsPrivate->newPath : prefsPrivate->path;
383 prefsPrivate->newPath ? prefsPrivate->newPath : prefsPrivate->path,
602 prefsPrivate->newPath ? prefsPrivate->newPath : prefsPrivate->path,
/macosx-10.10/dyld-353.2.1/launch-cache/
H A Dupdate_dyld_shared_cache.cpp415 char newPath[strlen(executablePath) + strlen(dependentPath)+2]; local
418 strcpy(newPath, &executablePath[strlen(fgFileSystemRoot)]);
421 strcpy(newPath, executablePath);
423 char* addPoint = strrchr(newPath,'/');
427 strcpy(newPath, &dependentPath[17]);
428 dependentPath = strdup(newPath);
432 char newPath[strlen(fPath) + strlen(dependentPath)+2]; local
435 strcpy(newPath, &fPath[strlen(fgFileSystemRoot)]);
438 strcpy(newPath, fPath);
440 char* addPoint = strrchr(newPath,'/');
[all...]
/macosx-10.10/tcl-105/tcl_ext/mk4tcl/metakit/tcl/
H A Dmk4tcl.cpp818 MkPath *newPath = new MkPath(*this, name_, interp); local
819 ip->_paths.Add(newPath);
821 return newPath;

Completed in 475 milliseconds

12