/macosx-10.10/ruby-106/ruby/test/ruby/ |
H A D | test_dir.rb | 89 a = (0..5).map { d.read } 91 b = (0..5).map { d.read } 149 assert_equal((%w(. ..) + (?a..?z).to_a).map{|f| File.join(@root, f) }, 151 assert_equal([@root] + (?a..?z).map {|f| File.join(@root, f) }.sort, 153 assert_equal([@root] + (?a..?z).map {|f| File.join(@root, f) }.sort, 156 assert_equal((?a..?z).step(2).map {|f| File.join(File.join(@root, f), "") }.sort, 160 assert_equal(%w({} a).map{|f| File.join(@root, f) }, 166 assert_equal((?a..?f).map {|f| File.join(@root, f) }.sort, Dir.glob(File.join(@root, '[abc/def]')).sort) 187 dirs.map {|dir| open("#{dir}/z", "w") {}} 229 assert_equal([*?a..?z, *"symlink-a".."symlink-z"].each_slice(2).map {| [all...] |
H A D | test_backtrace.rb | 93 cs = caller(0); locs = caller_locations(0).map{|loc| 100 cs = caller(0,2); locs = caller_locations(0..1).map { |loc| 133 assert_equal(th_backtrace, th_locations.map{|e| e.to_s}) 135 assert_equal(th_locations.map{|e| e.to_s}, 136 th.backtrace_locations(0).map{|e| e.to_s}) 157 locs = th.backtrace_locations(0..1).map { |loc|
|
/macosx-10.10/xnu-2782.1.97/pexpert/i386/ |
H A D | pe_init.c | 115 uint32_t *map; local 130 if( kSuccess == DTLookupEntry(NULL, "/chosen/memory-map", &entry)) { 131 if( kSuccess == DTGetProperty(entry, "BootCLUT", (void **) &map, &size)) { 132 if (sizeof(appleClut8) <= map[1]) { 133 bcopy( (void *)ml_static_ptovirt(map[0]), appleClut8, sizeof(appleClut8) ); 138 if( kSuccess == DTGetProperty(entry, "Pict-FailedBoot", (void **) &map, &size)) { 139 bootPict = (boot_progress_element *) ml_static_ptovirt(map[0]); 148 if( kSuccess == DTGetProperty(entry, "FailedCLUT", (void **) &map, &size)) { 149 norootClut_lzss = (uint8_t*) ml_static_ptovirt(map[0]); 152 if( kSuccess == DTGetProperty(entry, "FailedImage", (void **) &map, [all...] |
/macosx-10.10/emacs-93/emacs/lisp/net/ |
H A D | quickurl.el | 186 (defvar quickurl-list-mode-map nil 433 (unless quickurl-list-mode-map 434 (let ((map (make-sparse-keymap))) 435 (suppress-keymap map t) 436 (define-key map "a" #'quickurl-list-add-url) 437 (define-key map [(control m)] #'quickurl-list-insert-url) 438 (define-key map "u" #'quickurl-list-insert-naked-url) 439 (define-key map " " #'quickurl-list-insert-with-lookup) 440 (define-key map "l" #'quickurl-list-insert-lookup) 441 (define-key map " [all...] |
/macosx-10.10/ruby-106/ruby/ext/tk/lib/tkextlib/tile/ |
H A D | style.rb | 50 set map [lrange $spec 1 end] 51 if [llength $map] { 52 # return [eval [concat [list ::style element create [lindex $args 2] image [lindex $spec 0] -map $map] [lrange $args 5 end]]] 53 return [uplevel 1 [list ::style element create [lindex $args 2] image [lindex $spec 0] -map $map] [lrange $args 5 end]] 78 set map [lrange $spec 1 end] 79 if [llength $map] { 80 # return [eval [concat [list ::style element create [lindex $args 2] image [lindex $spec 0] -map $map] [lrang 180 def map(style=nil, keys=nil) method in class:__define_wrapper_proc_for_compatibility__!.__define_wrapper_proc_for_compatibility__!.__define_wrapper_proc_for_compatibility__!.__define_themes_and_setTheme_proc__! [all...] |
/macosx-10.10/DiskArbitration-268/diskarbitrationd/ |
H A D | DASupport.c | 403 CFMutableDictionaryRef map = NULL; local 436 map = CFDictionaryCreateMutable( kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks ); 438 if ( map ) 469 CFDictionarySetValue( map, kDAMountMapMountAutomaticKey, automatic ); 476 CFDictionarySetValue( map, kDAMountMapMountOptionsKey, options ); 490 CFDictionarySetValue( map, kDAMountMapMountPathKey, path ); 504 CFDictionarySetValue( map, kDAMountMapProbeKindKey, kind ); 510 CFDictionarySetValue( map, kDAMountMapProbeIDKey, id ); 521 return map; 529 * Determine whether the mount map lis 560 CFDictionaryRef map; local 580 CFMutableDictionaryRef map = NULL; local 671 CFDictionaryRef map; local [all...] |
/macosx-10.10/emacs-93/emacs/lisp/ |
H A D | forms.el | 407 (defvar forms-mode-map nil 409 (defvar forms-mode-ro-map nil 411 (defvar forms-mode-edit-map nil 631 ;(make-local-variable 'forms-mode-map) 632 ;(make-local-variable 'forms-mode-ro-map) 633 ;(make-local-variable 'forms-mode-edit-map) 634 (if forms-mode-map ; already defined 1261 (use-local-map (if forms-read-only 1262 forms-mode-ro-map 1263 forms-mode-edit-map))) [all...] |
H A D | replace.el | 221 To customize possible responses, change the \"bindings\" in `query-replace-map'." 238 (define-key esc-map "%" 'query-replace) 302 (define-key esc-map [?\C-%] 'query-replace-regexp) 367 (defun map-query-replace-regexp (regexp to-strings &optional n start end) 708 (defvar occur-mode-map 709 (let ((map (make-sparse-keymap))) 711 (define-key map [mouse-2] 'occur-mode-mouse-goto) 712 (define-key map "\C-c\C-c" 'occur-mode-goto-occurrence) 713 (define-key map "\C-m" 'occur-mode-goto-occurrence) 714 (define-key map " [all...] |
/macosx-10.10/tcsh-65/tcsh/ |
H A D | tc.bind.c | 59 KEYCMD *map; local 72 map = CcKeyMap; 90 map = CcAltMap; 161 else if (map[ch] == F_XKEY) { 163 map[ch] = F_UNASSIGNED; 166 map[ch] = F_UNASSIGNED; 175 printkey(map, &in); 200 map[ch] = F_XKEY; 212 map[ch] = F_XKEY; 215 ClearXkey(map, 230 printkey(const KEYCMD *map, CStr *in) argument 444 printkeys(KEYCMD *map, int first, int last) argument [all...] |
/macosx-10.10/IOPCIFamily-239.1.2/AppleSamplePCI/ |
H A D | AppleSamplePCI.cpp | 5 * make various kinds of calls into the driver, and map shared memory 25 IOMemoryMap * map; local 69 /* map a range based on its config space base address register, 74 map = fPCIDevice->mapDeviceMemoryWithRegister( 76 if( map ) { 79 map->getPhysicalAddress(), 80 map->getVirtualAddress()); 81 /* release the map object, and the mapping itself */ 82 map->release(); 128 * Method to supply an IOMemoryDescriptor for the user client to map int [all...] |
/macosx-10.10/adv_cmds-158/colldef/ |
H A D | scan.l | 167 errx(EX_UNAVAILABLE, "map expected near line %u of %s", 172 errx(EX_UNAVAILABLE, "map expected near line %u of %s", 259 errx(EX_UNAVAILABLE, "non-ASCII or non-printable character 0x%02x not allowed in the map/name near line %u of %s", 262 errx(EX_UNAVAILABLE, "map/name buffer overflow near line %u of %s, character '%c'", 311 errx(EX_UNAVAILABLE, "unterminated map/name/string near line %u of %s", line_no, s); 377 errx(EX_UNAVAILABLE, "premature EOF in the map near line %u of %s", line_no, map_name);
|
/macosx-10.10/bind9-45.101/bin/ |
H A D | strip | 37 Getopt::Long::GetOptions(\%args, map {"$_$argtype{$_}"} keys(%argtype)); 50 (map {$argtype{$_} eq '' ? "-$_" : ("-$_", $args{$_})} keys(%args)), 56 (map {$argtype{$_} eq '' ? "-$_" : ("-$_", $args{$_})} keys(%args)),
|
/macosx-10.10/emacs-93/emacs/lisp/progmodes/ |
H A D | asm-mode.el | 75 (defvar asm-mode-map 76 (let ((map (make-sparse-keymap))) 78 (define-key map ":" 'asm-colon) 79 (define-key map "\C-c;" 'comment-region) 80 (define-key map "\C-j" 'newline-and-indent) 81 (define-key map "\C-m" 'newline-and-indent) 82 map) 121 \\{asm-mode-map}" 134 ;; Make our own local child of asm-mode-map 136 (use-local-map (ncon [all...] |
/macosx-10.10/postfix-255/postfix/src/util/ |
H A D | dict_nisplus.c | 9 /* DICT *dict_nisplus_open(map, open_flags, dict_flags) 10 /* const char *map; 14 /* dict_nisplus_open() makes the specified NIS+ map accessible via 161 msg_warn("map %s:%s: lookup key with non-printing character 0x%x:" 191 msg_warn("ambiguous match (%d results) for %s in NIS+ map %s:" 223 msg_warn("lookup %s, NIS+ map %s: %s", 236 /* dict_nisplus_close - close NISPLUS map */ 248 /* dict_nisplus_open - open NISPLUS map */ 250 DICT *dict_nisplus_open(const char *map, int open_flags, int dict_flags) argument 260 return (dict_surrogate(DICT_TYPE_NISPLUS, map, open_flag [all...] |
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/ |
H A D | test_cftimezone.py | 38 map = CFTimeZoneCopyAbbreviationDictionary() 39 self.failUnless( isinstance(map, CFDictionaryRef) ) 40 for key, value in map.items(): 50 map = CFTimeZoneCopyAbbreviationDictionary() 51 newmap = map.mutableCopy() 63 CFTimeZoneSetAbbreviationDictionary(map)
|
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/ |
H A D | test_cftimezone.py | 32 map = CFTimeZoneCopyAbbreviationDictionary() 33 self.assertIsInstance(map, CFDictionaryRef) 34 for key, value in map.items(): 42 map = CFTimeZoneCopyAbbreviationDictionary() 43 newmap = map.mutableCopy() 53 CFTimeZoneSetAbbreviationDictionary(map)
|
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/PyObjCTest/ |
H A D | test_cftimezone.py | 48 map = CFTimeZoneCopyAbbreviationDictionary() 49 self.assertIsInstance(map, CFDictionaryRef) 50 for key, value in map.items(): 59 map = CFTimeZoneCopyAbbreviationDictionary() 60 newmap = map.mutableCopy() 70 CFTimeZoneSetAbbreviationDictionary(map)
|
/macosx-10.10/python-89/bin/ |
H A D | strip | 37 Getopt::Long::GetOptions(\%args, map {"$_$argtype{$_}"} keys(%argtype)); 50 (map {$argtype{$_} eq '' ? "-$_" : ("-$_", $args{$_})} keys(%args)), 56 (map {$argtype{$_} eq '' ? "-$_" : ("-$_", $args{$_})} keys(%args)),
|
/macosx-10.10/bind9-45.101/bind9/unit/atf-src/atf-config/ |
H A D | atf-config.cpp | 32 #include <map> 116 std::map< std::string, std::string > cv = atf::config::get_all(); 118 for (std::map< std::string, std::string >::const_iterator iter =
|
/macosx-10.10/gpt-12/ |
H A D | migrate.c | 40 #include "map.h" 153 map_t *map; local 162 map = map_find(MAP_TYPE_MBR); 163 if (map == NULL || map->map_start != 0) { 168 mbr = map->map_data; 199 map = map_last(); 200 if (map->map_type != MAP_TYPE_UNUSED) { 205 if (map->map_size < blocks) 206 blocks = map [all...] |
/macosx-10.10/groff-38/groff/src/libs/libbib/ |
H A D | linear.cpp | 51 static uchar map[256]; variable 64 map[i] = csalnum(i) ? cmlower(i) : '\0'; 98 pat[i] = map[uchar(pattern[i])]; 137 if (map[uchar(*--s)] != uchar(pattern[--j])) 215 && map[uchar(match[matchlen])] != '\0') 229 if (match[-1] == '%' || map[uchar(match[-1])] != '\0') 233 if (map[uchar(match[-1])] != '\0' && match[-2] != '%') 240 if (map[uchar(match[-1])] != '\0' 368 if (map[uchar(*p)] != '\0' 369 && (p[1] == '\0' || map[ucha [all...] |
/macosx-10.10/llvmCore-3425.0.34/lib/CodeGen/ |
H A D | AggressiveAntiDepBreaker.h | 30 #include <map> 86 /// GetRegRefs - Return the RegRefs map. 161 typedef std::map<const TargetRegisterClass *, unsigned> RenameOrderType; 180 std::map<unsigned, unsigned> &RenameMap);
|
H A D | PseudoSourceValue.cpp | 22 #include <map> 30 std::map<int, const PseudoSourceValue *> FSValues; 34 for (std::map<int, const PseudoSourceValue *>::iterator
|
/macosx-10.10/ruby-106/ruby/test/fiddle/ |
H A D | test_c_struct_entry.rb | 14 alignments = types.map { |type| PackInfo::ALIGN_MAP[type] } 31 alignments = types.map { |type| PackInfo::ALIGN_MAP[type] } 64 assert_equal(["Alice", "Bob"], team["names"].map(&:to_s))
|
/macosx-10.10/ruby-106/ruby/test/rubygems/ |
H A D | test_gem_request_set.rb | 30 names = res.map { |s| s.full_name }.sort 45 names = rs.sorted_requests.map { |s| s.full_name } 68 assert_equal %w!b-1 a-1!, installed.map { |s| s.full_name }
|