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

/macosx-10.9.5/configd-596.15/SystemConfiguration.fproj/
H A DSCP.c91 CFMutableStringRef newPath; local
93 newPath = CFStringCreateMutableCopy(allocator, 0, path);
94 CFStringReplace(newPath,
95 CFRangeMake(CFStringGetLength(newPath)-4, 4),
98 path = newPath;
H A DSCPCommit.c68 prefsPrivate->newPath ? prefsPrivate->newPath : prefsPrivate->path);
199 path = prefsPrivate->newPath ? prefsPrivate->newPath : prefsPrivate->path;
307 if (prefsPrivate->newPath) {
310 (void) symlink(prefsPrivate->newPath, prefsPrivate->path);
313 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.h66 char *newPath; member in struct:__anon7118
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
424 (prefsPrivate->newPath == NULL));
439 if (prefsPrivate->newPath == NULL) {
445 prefsPrivate->newPath = prefsPrivate->path;
454 prefsPrivate->path = prefsPrivate->newPath;
455 prefsPrivate->newPath
[all...]
H A DSCPLock.c398 path = prefsPrivate->newPath ? prefsPrivate->newPath : prefsPrivate->path;
432 prefsPrivate->newPath ? prefsPrivate->newPath : prefsPrivate->path);
/macosx-10.9.5/tcl-102/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.9.5/WebCore-7537.78.1/Modules/filesystem/
H A DDOMFilePath.cpp52 String newPath = path; local
53 newPath.append(DOMFilePath::separator);
54 return newPath;
/macosx-10.9.5/WebCore-7537.78.1/accessibility/mac/
H A DWebAccessibilityObjectWrapperBase.mm260 CGMutablePathRef newPath = conversion->path;
265 CGPathMoveToPoint(newPath, nil, newPoint.x, newPoint.y);
271 CGPathAddLineToPoint(newPath, nil, newPoint.x, newPoint.y);
278 CGPathAddQuadCurveToPoint(newPath, nil, newPoint1.x, newPoint1.y, newPoint2.x, newPoint2.y);
286 CGPathAddCurveToPoint(newPath, nil, newPoint1.x, newPoint1.y, newPoint2.x, newPoint2.y, newPoint3.x, newPoint3.y);
291 CGPathCloseSubpath(newPath);
/macosx-10.9.5/shell_cmds-175/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.9.5/ICU-511.35/icuSources/test/intltest/
H A Ducdtest.cpp200 char newPath[256]; local
206 strcpy(newPath, pathToDataDirectory());
207 strcat(newPath, "unidata" U_FILE_SEP_STRING "DerivedCoreProperties.txt");
220 char *path=newPath;
221 u_parseDelimitedFile(newPath, ';', fields, 2, derivedPropsLineFn, this, &errorCode);
/macosx-10.9.5/WebKit-7537.78.2/mac/Plugins/
H A DWebBasePluginPackage.mm103 NSString *newPath = [thePath stringByResolvingSymlinksInPath];
110 return newPath;
116 return newPath;
120 newPath = [(NSURL *)URL path];
124 return newPath;
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/cg/
H A DPathCG.cpp181 CGMutablePathRef newPath = CGPathCreateMutable(); local
183 CGPathAddPath(newPath, &translation, ensurePlatformPath());
185 m_path = newPath;
/macosx-10.9.5/Security-55471.14.18/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.9.5/Security-55471.14.18/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.9.5/dyld-239.4/src/
H A Ddyld.cpp1353 char* newPath = new char[strlen(val) + (strlen(paths[i]) - keyLen) + 1]; local
1354 strcpy(newPath, val);
1355 strcat(newPath, &paths[i][keyLen]);
1356 paths[i] = newPath;
2618 char newPath[strlen(executablePath) + strlen(path)]; local
2619 strcpy(newPath, executablePath);
2620 char* addPoint = strrchr(newPath,'/');
2624 strcpy(newPath, &path[17]);
2625 image = loadPhase4(newPath, orgPath, context, exceptions);
2649 char newPath[strle local
2682 char newPath[strlen(anRPath) + strlen(trailingPath)+2]; local
2806 char newPath[strlen(*rootPath) + strlen(path)+2]; local
[all...]
H A DImageLoaderMachO.cpp1080 char newPath[PATH_MAX]; local
1081 strlcpy(newPath, *rp, PATH_MAX);
1082 strlcat(newPath, path, PATH_MAX);
1084 if ( stat(newPath, &stat_buf) != -1 ) {
1085 //dyld::log("combined DYLD_ROOT_PATH and LC_RPATH: %s\n", newPath);
1086 pathToAdd = strdup(newPath);
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Grady/
H A DMyWindowController.py16 def initWithPath_(self, newPath):
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Grady/
H A DMyWindowController.py16 def initWithPath_(self, newPath):
/macosx-10.9.5/CF-855.17/
H A DCFInternal.h766 char *newPath = NULL; local
767 asprintf(&newPath, "%s%s", platformRoot, path);
768 if (allocated && newPath) {
771 return newPath;
H A DCFURL.c2466 CFStringRef newPath; local
2469 newPath = _resolvedPath(buf, buf + pathRg.length, '/', true, false, alloc);
2470 if (CFStringGetLength(newPath) != pathRg.length) {
2476 CFStringReplace((CFMutableStringRef)absString, pathRg, newPath);
2478 CFRelease(newPath);
2479 // Do not deallocate buf; newPath took ownership of it.
2521 // Need at least 2 characters between index and pathStr, because we know if index != newPath, then *(index-1) == pathDelimiter, and we need something before that to compact out.
2599 CFStringRef newPath; local
2612 newPath = CFStringCreateWithSubstring(alloc, relString, relPathRg);
2614 newPath
4030 CFStringRef newPath; local
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/test/cintltst/
H A Dcitertst.c1228 char newPath[256]; local
1233 uprv_strcpy(newPath, ctest_dataSrcDir());
1234 uprv_strcat(newPath, "unidata" U_FILE_SEP_STRING );
1235 uprv_strcat(newPath, "FractionalUCA.txt");
1251 result = T_FileStream_open(newPath, "rb");
1256 log_err("Failed to open either %s or %s\n", newPath, backupPath);
/macosx-10.9.5/configd-596.15/SystemConfiguration.fproj/helper/
H A DSCHelper_server.c246 path = (prefsPrivate->newPath != NULL) ? prefsPrivate->newPath : prefsPrivate->path;
379 prefsPrivate->newPath ? prefsPrivate->newPath : prefsPrivate->path,
598 prefsPrivate->newPath ? prefsPrivate->newPath : prefsPrivate->path,
/macosx-10.9.5/dyld-239.4/launch-cache/
H A Dupdate_dyld_shared_cache.cpp402 char newPath[strlen(executablePath) + strlen(dependentPath)+2]; local
405 strcpy(newPath, &executablePath[strlen(fgFileSystemRoot)]);
408 strcpy(newPath, executablePath);
410 char* addPoint = strrchr(newPath,'/');
414 strcpy(newPath, &dependentPath[17]);
415 dependentPath = strdup(newPath);
419 char newPath[strlen(fPath) + strlen(dependentPath)+2]; local
422 strcpy(newPath, &fPath[strlen(fgFileSystemRoot)]);
425 strcpy(newPath, fPath);
427 char* addPoint = strrchr(newPath,'/');
[all...]
/macosx-10.9.5/tcl-102/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 384 milliseconds