/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Base/ |
H A D | URLUtilities.js | 34 function relativePath(path, basePath) 36 console.assert(path.charAt(0) === "/"); 39 var pathComponents = path.split("/"); 79 return {scheme: null, host: null, port: null, path: null, queryString: null, fragment: null, lastPathComponent: null}; 86 var path = wholePath; variable 89 // Split the path and the query string. 93 path = wholePath.substring(0, indexOfQuery); 96 path = resolveDotsInPath(path); 99 // Find last path componen [all...] |
/macosx-10.10/apr-32/apr/apr/file_io/unix/ |
H A D | filepath.c | 40 char path[APR_PATH_MAX]; local 42 if (!getcwd(path, sizeof(path))) { 48 *defpath = apr_pstrdup(p, path); 56 APR_DECLARE(apr_status_t) apr_filepath_set(const char *path, apr_pool_t *p) 58 if (chdir(path) != 0) 87 char *path; local 89 apr_size_t maxlen; /* maximum total path length */ 91 apr_size_t pathlen; /* is the length of the result path */ 95 /* Treat null as an empty path [all...] |
/macosx-10.10/postfix-255/postfix/src/fsstone/ |
H A D | fsstone.c | 80 char path[BUFSIZ]; local 85 sprintf(path, "%06d", seqno); 86 if ((fp = fopen(path, "w")) == 0) 87 msg_fatal("open %s: %m", path); 96 if ((fp = fopen(path, "r")) == 0) 97 msg_fatal("open %s: %m", path); 98 while (fgets(path, sizeof(path), fp)) 108 char path[BUFSIZ]; local 112 sprintf(path, " 135 char path[BUFSIZ]; local 146 char path[BUFSIZ]; local [all...] |
/macosx-10.10/WebKit2-7600.1.25/Shared/mac/ |
H A D | SandboxInitialiationParametersMac.mm | 42 void SandboxInitializationParameters::appendPathInternal(const char* name, const char* path) 45 if (!realpath(path, normalizedPath)) 56 char path[PATH_MAX]; 57 if (confstr(confID, path, PATH_MAX) <= 0) 58 path[0] = '\0'; 60 appendPathInternal(name, path); 63 void SandboxInitializationParameters::addPathParameter(const char* name, NSString *path) 65 appendPathInternal(name, [path length] ? [(NSString *)path fileSystemRepresentation] : ""); 68 void SandboxInitializationParameters::addPathParameter(const char* name, const char* path) [all...] |
/macosx-10.10/bash-94.1.2/bash-3.2/examples/loadables/ |
H A D | pathchk.c | 3 /* Usage: pathchk [-p] path ... 165 portable_chars_only (path) 166 const char *path; 170 for (p = path; *p; ++p) 173 builtin_error ("path `%s' contains nonportable character `%c'", path, *p); 204 dir_ok (path) 205 const char *path; 209 if (SAFE_STAT (path, &stats)) 214 builtin_error ("`%s' is not a directory", path); [all...] |
/macosx-10.10/ruby-106/ruby/ext/tk/lib/tk/ |
H A D | textwindow.rb | 16 @path = TkTextMark.new(@t, tk_call_without_enc(@t.path, 'index', 19 if tk_call_without_enc(@t.path,'index',index.path) == tk_call_without_enc(@t.path,'index','end') 20 @path = TkTextMark.new(@t, tk_call_without_enc(@t.path, 'index', 23 @path = TkTextMark.new(@t, tk_call_without_enc(@t.path, 'index', 24 index.path)) [all...] |
/macosx-10.10/tcl-105/tcl_ext/bwidget/bwidget/ |
H A D | labelframe.tcl | 50 proc LabelFrame::create { path args } { 51 Widget::init LabelFrame $path $args 53 set path [eval [list BWidget::wrap frame $path] \ 54 [Widget::subcget $path :cmd] \ 58 set label [eval [list Label::create $path.l] \ 59 [Widget::subcget $path .l] \ 63 set frame [eval [list BWidget::wrap frame $path.f] \ 64 [Widget::subcget $path .f] \ 67 switch [Widget::getoption $path [all...] |
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/tie/ |
H A D | tie_file.tcl | 67 set path [::file normalize $thepath] 68 if {[::file exists $path]} { 69 set chan [open $path {RDWR EXCL APPEND}] 71 set chan [open $path {RDWR EXCL CREAT APPEND}] 87 if {![::file size $path]} {return {}} 105 if {![::file size $path]} {return {}} 111 if {![::file size $path]} {return 0} 117 if {![::file size $path]} { 140 variable path {} ; # Path to journal file. 180 set jchan [open $path [all...] |
/macosx-10.10/apr-32/apr-util/apr-util/misc/ |
H A D | apu_dso.c | 117 char path[APR_PATH_MAX + 1]; local 133 /* Retrieve our path search list or prepare for a single search */ 139 /* Always search our prefix path, but on some platforms such as 152 eos = path; 158 eos = apr_cpystrn(path, ((char**)paths->elts)[i], sizeof(path)); 159 if ((eos > path) && (eos - path < sizeof(path) - 1)) 162 apr_cpystrn(eos, module, sizeof(path) [all...] |
/macosx-10.10/postfix-255/postfix/src/util/ |
H A D | scan_dir.c | 9 /* SCAN_DIR *scan_dir_open(path) 10 /* const char *path; 98 char *path; /* directory name */ member in struct:SCAN_INFO 106 #define SCAN_DIR_PATH(scan) (scan->current->path) 109 /* scan_dir_path - return the path of the directory being read. */ 118 void scan_dir_push(SCAN_DIR *scan, const char *path) argument 125 info->path = concatenate(SCAN_DIR_PATH(scan), "/", path, (char *) 0); 127 info->path = mystrdup(path); 159 scan_dir_open(const char *path) argument [all...] |
/macosx-10.10/ruby-106/ruby/ext/tk/lib/tkextlib/tcllib/ |
H A D | ctext.rb | 42 tk_call_without_enc(self.class::TkCommandNames[0], @path, 45 tk_call_without_enc(self.class::TkCommandNames[0], @path) 94 tk_call('ctext::addHighlightClass', @path, klass, col, keywords.flatten) 100 @path, klass, col, chrs.join('')) 106 @path, klass, col, tcl_regexp) 112 @path, klass, col, chr) 117 tk_call('ctext::clearHighlightClasses', @path) 122 tk_split_simplelist(tk_call('ctext::getHighlightClasses', @path)) 126 tk_call('ctext::deleteHighlightClass', @path, klass) 131 tk_call('ctext::enableComments', @path) [all...] |
/macosx-10.10/JavaScriptCore-7600.1.17/ |
H A D | build-symbol-table-index.py | 17 binary_file_directory = os.path.join(os.getenv("OBJECT_FILE_DIR_" + os.getenv("CURRENT_VARIANT")), current_arch) 19 if not os.path.isdir(binary_file_directory): 23 framework_directory = os.path.join(os.getenv("BUILT_PRODUCTS_DIR"), os.getenv("JAVASCRIPTCORE_RESOURCES_DIR"), "Runtime", current_arch) 25 symbol_table_location = os.path.join(framework_directory, "Runtime.symtbl") 33 if os.path.isfile(symbol_table_location): 34 symbol_table_modification_time = os.path.getmtime(symbol_table_location) 39 for bitcode_file in glob.iglob(os.path.join(framework_directory, "*." + file_suffix)): 40 bitcode_basename = os.path.basename(bitcode_file) 41 binary_file = os.path.join(binary_file_directory, bitcode_basename[:-file_suffix_length] + "o") 42 if os.path [all...] |
/macosx-10.10/WebKit-7600.1.25/mac/Misc/ |
H A D | WebNSFileManagerExtras.mm | 51 CFStringRef path; 58 WKSetMetadataURL((NSString *)info->URLString, (NSString *)info->referrer, (NSString *)info->path); 64 if (info->path) 65 CFRelease(info->path); 73 - (void)_webkit_setMetadataURL:(NSString *)URLString referrer:(NSString *)referrer atPath:(NSString *)path 76 ASSERT(path); 94 info->path = path ? CFStringCreateCopy(0, (CFStringRef)path) : 0; 109 // -[NSFileManager fileExistsAtPath:] returns NO if there is a broken symlink at the path [all...] |
/macosx-10.10/bless-103/libbless/Misc/ |
H A D | BLGetPreBootEnvironmentType.c | 52 const char *path = NULL; local 67 path = kIODeviceTreePlane ":" kBootRomPath; 69 entry = IORegistryEntryFromPath(masterPort, path); 72 path = kIODeviceTreePlane ":" kEFIPath; 74 entry = IORegistryEntryFromPath(masterPort, path); 77 path = kIODeviceTreePlane ":" kiBootPath; 79 entry = IORegistryEntryFromPath(masterPort, path); 87 contextprintf(context, kBLLogLevelVerbose, "iBoot found at %s\n", path); 92 contextprintf(context, kBLLogLevelVerbose, "EFI found at %s\n", path); 112 contextprintf(context, kBLLogLevelVerbose, "No 'model' property for %s\n", path); [all...] |
/macosx-10.10/tcl-105/tcl/tcl/tests/ |
H A D | winPipe.test | 19 unset -nocomplain path 38 set path(little) [makeFile {} little] 39 set f [open $path(little) w] 43 set path(big) [makeFile {} big] 44 set f [open $path(big) w] 55 set path(more) [makeFile { 61 set path(stdout) [makeFile {} stdout] 62 set path(stderr) [makeFile {} stderr] 65 exec $cat32 < $path(little) > $path(stdou [all...] |
/macosx-10.10/xnu-2782.1.97/bsd/net/ |
H A D | pf_ruleset.c | 142 int c = strcmp(a->path, b->path); 197 pf_find_anchor(const char *path) argument 203 strlcpy(key->path, path, sizeof (key->path)); 210 pf_find_ruleset(const char *path) argument 214 while (*path == '/') 215 path++; 216 if (!*path) 226 pf_find_ruleset_with_owner(const char *path, const char *owner, int is_anchor, int *error) argument 249 pf_find_or_create_ruleset(const char *path) argument 372 char *p, *path; local [all...] |
/macosx-10.10/emacs-93/emacs/lisp/ |
H A D | pcvs-parse.el | 87 The path names should be interpreted as relative to SUBDIR (defaults 168 (defun cvs-parsed-fileinfo (type path &optional directory &rest keys) 182 (file path)) 185 ;; else, if the directory is true, the path should be trusted 186 (setq dir (or (file-name-directory path) (if directory ""))) 187 (setq file (file-name-nondirectory path))) 204 (let (c file dir path base-rev subtype) 213 ;; (and (cvs-match "M \\(.*\\)$" (path 1)) 214 ;; (cvs-parse-merge path)) 218 (cvs-match "\\([MARCUPNJ?]\\) \\(.*\\)$" (c 1) (path [all...] |
/macosx-10.10/apr-32/apr/apr/file_io/win32/ |
H A D | filesys.c | 66 apr_status_t filepath_root_test(char *path, apr_pool_t *p) argument 74 / sizeof(apr_wchar_t), path))) 80 rv = GetDriveType(path); 91 char path[APR_PATH_MAX]; local 106 if ((rv = unicode_to_utf8_path(path, sizeof(path), wpath))) 119 if (!GetFullPathName(drivestr, sizeof(path), path, &ignored)) 124 for (*rootpath = path; **rootpath; ++*rootpath) { 129 *rootpath = apr_pstrdup(p, path); 162 char path[APR_PATH_MAX]; local 176 char path[APR_PATH_MAX]; local [all...] |
/macosx-10.10/tcl-105/tcl_ext/incrtcl/iwidgets/generic/ |
H A D | menubar.itk | 104 method add { type path args } { } 106 method index { path } { } 110 method menuconfigure { path args } { } 111 method path { args } { } 112 method type { path } { } 132 method _deleteAMenu { path } { } 133 method _addEntry { type path args } { } 134 method _addCascade { tkMenuPath path args } { } 136 method _insertCascade { bfIndex tkMenuPath path args } { } 138 method _configureMenu { path tkPat [all...] |
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-NULL-RTLD_FIRST/ |
H A D | main.c | 39 const char* path; member in struct:info 44 static info dlopen_or_fail(const char* path, int options) argument 47 result.path = path; 48 result.handle = dlopen(path, options); 50 FAIL("dlsym-NULL-RTLD_FIRST: dlopen(\"%s\") failed: %s", path, dlerror()); 53 //fprintf(stderr, "dlopen(%s, 0x%0X) => %p\n", path, options, result.handle); 61 FAIL("dlsym-NULL-RTLD_FIRST: dlsym(handle-%s, \"%s\") should have failed", hp.path, symbol); 70 FAIL("dlsym-NULL-RTLD_FIRST: dlsym(handle-%s, \"%s\") failed", hp.path, symbol);
|
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-RTLD_NOLOAD-fallback/ |
H A D | main.c | 32 /// This tests that RTLD_NOLOAD does not find an image via a fallback path 38 const char* path = argv[1]; local 39 void* handle = dlopen(path, RTLD_NOLOAD);
|
/macosx-10.10/Heimdal-398.1.2/lib/roken/ |
H A D | getcwd.c | 46 getcwd(char *path, size_t size) argument 52 strlcpy(path, xxx, size);
|
/macosx-10.10/Libinfo-459/gen.subproj/ |
H A D | configuration_profile.c | 31 #define NOTIFY_PATH_SERVICE "com.apple.system.notify.service.path:0x87:" 58 char path[MAXPATHLEN]; local 66 path[0] = '\0'; 69 snprintf(path, sizeof(path), "%s", ident); 75 snprintf(path, sizeof(path), "%s/%s.plist", CPROF_PATH, ident); 79 if (path[0] == '\0') return NULL; 81 fd = open(path, O_RDONLY, 0);
|
/macosx-10.10/Security-57031.1.35/Security/sec/SOSCircle/CloudKeychainProxy/ |
H A D | CKDPersistentState.h | 35 + (id)read:(NSURL *)path error:(NSError **)error; 36 + (BOOL)write:(NSURL *)path data:(id)plist error:(NSError **)error;
|
/macosx-10.10/Security-57031.1.35/Security/utilities/SecurityTool/ |
H A D | readline.h | 49 extern CFDataRef copyFileContents(const char *path); 51 extern bool writeFileContents(const char *path, CFDataRef data);
|