/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/TinyTinyEdit/ |
H A D | TinyTinyEdit.py | 7 path = None variable in class:TinyTinyDocument 12 def readFromFile_ofType_(self, path, tp): 15 self.path = path 18 self.readFromUTF8(path) 21 def writeToFile_ofType_(self, path, tp): 22 f = file(path, "w") 29 if self.path: 30 self.readFromUTF8(self.path) 32 def readFromUTF8(self, path) [all...] |
/macosx-10.9.5/CPANInternal-140/URI/URI/file/ |
H A D | Win32.pm | 29 my($class, $path) = @_; 30 $path =~ s,\\,/,g; 31 #$path =~ s,//+,/,g; 32 $path =~ s,(/\.)+/,/,g; 35 $path =~ s,^([a-zA-Z]:),/$1,; 38 return $path; 42 my($class, $path) = @_; 43 return $path =~ m,^[a-zA-Z]:, || $path =~ m,^[/\\],; 66 my @path [all...] |
H A D | Base.pm | 9 my $path = shift; 10 $path = "" unless defined $path; 14 ($auth, $escaped_auth) = $class->_file_extract_authority($path); 15 ($path, $escaped_path) = $class->_file_extract_path($path); 21 if (defined $path) { 22 $path = "/$path" unless substr($path, [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/file_io/os2/ |
H A D | filesys.c | 55 apr_status_t filepath_root_test(char *path, apr_pool_t *p) argument 57 char drive = apr_toupper(path[0]); 59 if (drive >= 'A' && drive <= 'Z' && path[1] == ':' && IS_SLASH(path[2])) 69 char path[APR_PATH_MAX]; local 72 ULONG bufsize = sizeof(path) - 3; 74 path[0] = drive; 75 path[1] = ':'; 76 path[2] = '/'; 78 rc = DosQueryCurrentDir(apr_toupper(drive) - 'A', path 112 char path[APR_PATH_MAX]; local [all...] |
/macosx-10.9.5/apr-30/apr/apr/file_io/os2/ |
H A D | filesys.c | 55 apr_status_t filepath_root_test(char *path, apr_pool_t *p) argument 57 char drive = apr_toupper(path[0]); 59 if (drive >= 'A' && drive <= 'Z' && path[1] == ':' && IS_SLASH(path[2])) 69 char path[APR_PATH_MAX]; local 72 ULONG bufsize = sizeof(path) - 3; 74 path[0] = drive; 75 path[1] = ':'; 76 path[2] = '/'; 78 rc = DosQueryCurrentDir(apr_toupper(drive) - 'A', path 112 char path[APR_PATH_MAX]; local [all...] |
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/path/ |
H A D | pathpath.c | 27 * return full path to p with mode access using $PATH 32 * full path returned in path buffer 33 * if path==0 then the space is malloc'd 41 pathpath(char* path, const char* p, const char* a, int mode) argument 43 return pathpath_20100601(p, a, mode, path, PATH_MAX); 51 pathpath_20100601(const char* p, const char* a, int mode, register char* path, size_t size) argument 59 if (!path) 60 path = buf; 70 strcpy(path, [all...] |
/macosx-10.9.5/tcl-102/tcl_ext/bwidget/bwidget/ |
H A D | listbox.tcl | 123 proc ListBox::create { path args } { 124 Widget::init ListBox $path $args 126 variable $path 127 upvar 0 $path data 129 frame $path -class ListBox -bd 0 -highlightthickness 0 -relief flat \ 132 catch {$path configure -padx 0 -pady 0} 151 eval [list canvas $path.c] [Widget::subcget $path .c] \ 153 pack $path.c -expand yes -fill both 155 DragSite::setdrag $path [all...] |
H A D | label.tcl | 56 proc Label::create { path args } { 60 BWidget::wrap frame $path \ 63 Widget::initFromODB Label $path $maps(Label) 65 eval [list label $path.l] $maps(.l) 67 if { [Widget::cget $path -state] == "normal" } { 68 set fg [Widget::cget $path -foreground] 70 set fg [Widget::cget $path -disabledforeground] 73 set var [Widget::cget $path -textvariable] 75 [Widget::cget $path -image] == "" && 76 [Widget::cget $path [all...] |
H A D | labelentry.tcl | 38 proc LabelEntry::create { path args } { 42 eval [list BWidget::wrap frame $path] \ 46 Widget::initFromODB LabelEntry $path $maps(LabelEntry) 48 set labf [eval [list LabelFrame::create $path.labf] $maps(.labf) \ 49 [list -relief flat -borderwidth 0 -focus $path.e]] 51 set entry [eval [list Entry::create $path.e] $maps(.e)] 56 bindtags $path [list $path BwLabelEntry [winfo toplevel $path] all] 58 return [Widget::create LabelEntry $path] [all...] |
/macosx-10.9.5/bind9-45.100/bind9/unit/atf-src/atf-c++/detail/ |
H A D | fs_test.cpp | 66 // Test cases for the "path" class. 72 set_md_var("descr", "Tests the path's normalization"); 76 using atf::fs::path; 78 ATF_REQUIRE_EQ(path(".").str(), "."); 79 ATF_REQUIRE_EQ(path("..").str(), ".."); 81 ATF_REQUIRE_EQ(path("foo").str(), "foo"); 82 ATF_REQUIRE_EQ(path("foo/bar").str(), "foo/bar"); 83 ATF_REQUIRE_EQ(path("foo/bar/").str(), "foo/bar"); 85 ATF_REQUIRE_EQ(path("/foo").str(), "/foo"); 86 ATF_REQUIRE_EQ(path("/fo [all...] |
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/CurrencyConverter/ |
H A D | rb_main.rb | 5 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 6 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 8 rbfiles.each do |path| 9 require( File.basename(path) )
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/DotView/ |
H A D | rb_main.rb | 8 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 9 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 11 rbfiles.each do |path| 12 require( File.basename(path) )
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/HybridLangApp/ |
H A D | rb_main.rb | 12 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 13 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 15 rbfiles.each do |path| 16 require( File.basename(path) )
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/MakefileApp/ |
H A D | rb_main.rb | 8 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 9 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 11 rbfiles.each do |path| 12 require( File.basename(path) )
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/MakefileApp2/ |
H A D | rb_main.rb | 8 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 9 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 11 rbfiles.each do |path| 12 require( File.basename(path) )
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/MultiNib/ |
H A D | rb_main.rb | 8 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 9 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 11 rbfiles.each do |path| 12 require( File.basename(path) )
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/Pong/ |
H A D | rb_main.rb | 8 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 9 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 11 rbfiles.each do |path| 12 require( File.basename(path) )
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/RaiseMan/ |
H A D | rb_main.rb | 8 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 9 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 11 rbfiles.each do |path| 12 require( File.basename(path) )
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/RoundTransparentWindow/ |
H A D | rb_main.rb | 8 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 9 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 11 rbfiles.each do |path| 12 require( File.basename(path) )
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/RubyRocks/ |
H A D | rb_main.rb | 4 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 5 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 7 rbfiles.each do |path| 8 require( File.basename(path) )
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/SimpleApp/ |
H A D | rb_main.rb | 8 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 9 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 11 rbfiles.each do |path| 12 require( File.basename(path) )
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/Spotlight/ |
H A D | rb_main.rb | 12 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 13 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 15 rbfiles.each do |path| 16 require( File.basename(path) )
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/Thread/ |
H A D | rb_main.rb | 8 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 9 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 11 rbfiles.each do |path| 12 require( File.basename(path) )
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/TypingTutor/ |
H A D | rb_main.rb | 8 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 9 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 11 rbfiles.each do |path| 12 require( File.basename(path) )
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/ViewModelDemo/ |
H A D | rb_main.rb | 12 path = OSX::NSBundle.mainBundle.resourcePath.fileSystemRepresentation 13 rbfiles = Dir.entries(path).select {|x| /\.rb\z/ =~ x} 15 rbfiles.each do |path| 16 require( File.basename(path) )
|