/macosx-10.10.1/ruby-106/ruby/lib/rake/ |
H A D | alt_system.rb | 36 def define_module_function(name, &block) 37 define_method(name, &block)
|
H A D | task_arguments.rb | 42 def each(&block) 43 @hash.each(&block)
|
H A D | task_manager.rb | 17 def create_rule(*args, &block) 20 @rules << [pattern, deps, block] 23 def define_task(task_class, *args, &block) 34 task.enhance(deps, &block) 130 @rules.each do |pattern, extensions, block| 132 task = attempt_rule(task_name, extensions, block, level) 201 # Evaluate the block in a nested namespace named +name+. Create 245 def attempt_rule(task_name, extensions, block, level) 260 task = FileTask.define_task({task_name => prereqs}, &block)
|
/macosx-10.10.1/ruby-106/ruby/lib/rss/ |
H A D | xml.rb | 33 def each(&block) 34 @children.each(&block)
|
/macosx-10.10.1/ruby-106/ruby/lib/ |
H A D | timeout.rb | 25 # Raised by Timeout#timeout when the block times out. 36 # Perform an operation in a block, raising an error if it takes longer than 39 # +sec+:: Number of seconds to wait for the block to terminate. Any number 41 # value of 0 or +nil+ will execute the block without any timeout. 42 # +klass+:: Exception Class to raise if the block fails to terminate 45 # Returns the result of the block *if* the block completed before 92 # Timeout::timeout(n, e, &block). 96 def timeout(n, e = nil, &block) 97 Timeout::timeout(n, e, &block) [all...] |
/macosx-10.10.1/ruby-106/ruby/test/ |
H A D | inlinetest.rb | 31 def self.in_critical(&block) 32 @mutex.synchronize(&block)
|
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/ppm/ |
H A D | ppm.c | 699 int width, height; /* Dimensions of block of photo image to 739 int width, height; /* Dimensions of block of photo image to 747 Tk_PhotoImageBlock block; 809 block.pixelSize = 1; 810 block.offset[1] = 0; 811 block.offset[2] = 0; 814 block.pixelSize = 3; 815 block.offset[1] = 1; 816 block.offset[2] = 2; 818 block 745 Tk_PhotoImageBlock block; local [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/hfscommon/BTree/ |
H A D | BTreeScanner.c | 150 BlockDescriptor block; local 193 block.blockHeader = NULL; /* No buffer cache buffer */ 194 block.buffer = scanState->currentNodePtr; 195 block.blockNum = scanState->nodeNum; 196 block.blockSize = scanState->btcb->nodeSize; 197 block.blockReadFromDisk = 1; 198 block.isModified = 0; 206 err = hfs_swap_BTNode(&block, fref, kSwapBTNodeBigToHost, true); 256 // map logical block in catalog btree file to physical block o [all...] |
/macosx-10.10.1/xnu-2782.1.97/tools/tests/libMicro/ |
H A D | file_lock.c | 47 block(int index) function 99 e += block(0);
|
/macosx-10.10.1/hfs-285/fsck_hfs/dfalib/ |
H A D | fsck_journal.c | 81 // we use it to checksum the journal header and the block list 178 uint8_t block[jinfo->bSize]; local 179 block_list_header *hdr = (void*)█ 183 memset(block, 0, sizeof(block)); 184 nread = journalRead(jinfo, block, sizeof(block)); 186 (size_t)nread != sizeof(block)) { 188 plog("%s: wanted %zd, got %zd\n", __FUNCTION__, sizeof(block), nread); 205 * it's not a valid header, we don't want to read more than a block [all...] |
/macosx-10.10.1/network_cmds-457/kdumpd.tproj/ |
H A D | kdumpd.c | 482 volatile unsigned int block; local 488 block = 0; 491 if (block == 0) 495 ap->th_block = htonl((unsigned int)block); 496 block++; 520 syslog(KDUMPD_DEBUG_LEVEL, "Received packet type %u, block %u\n", (unsigned)dp->th_opcode, (unsigned)dp->th_block); 533 if (dp->th_block == block) 557 if (dp->th_block == (block-1)) 559 syslog (LOG_DAEMON|LOG_ERR, "Retransmitting seek ack - current block %u, received block [all...] |
/macosx-10.10.1/ruby-106/ruby/lib/net/ |
H A D | pop.rb | 84 # 3. Close POP session by calling POP3#finish or use the block form of #start. 89 # some utility methods. First, the block form of Net::POP3.start can 243 # yielding it to the +block+. 264 isapop = false, &block) # :yields: message 266 pop.each_mail(&block) 271 # If a block is given, each POPMail object is yielded to it before 285 isapop = false, &block) 287 pop.delete_all(&block) 389 # If +block+ is provided, yields the newly-opened POP3 object to it, 403 isapop = false, &block) # [all...] |
/macosx-10.10.1/JavaScriptCore-7600.1.17/dfg/ |
H A D | DFGWatchpointCollectionPhase.cpp | 51 BasicBlock* block = m_graph.block(blockIndex); local 52 if (!block) 55 for (unsigned nodeIndex = block->size(); nodeIndex--;) { 56 m_node = block->at(nodeIndex);
|
H A D | DFGPredictionPropagationPhase.cpp | 651 BasicBlock* block = m_graph.block(blockIndex); local 652 if (!block) 654 ASSERT(block->isReachable); 655 for (unsigned i = 0; i < block->size(); ++i) { 656 m_currentNode = block->at(i); 665 BasicBlock* block = m_graph.block(blockIndex); local 666 if (!block) 668 ASSERT(block 811 BasicBlock* block = m_graph.block(blockIndex); local [all...] |
/macosx-10.10.1/JavaScriptCore-7600.1.17/heap/ |
H A D | CopiedBlock.h | 65 // The payload is the region of the block that is usable for allocations. 70 // The data is the region of the block that has been used for allocations. 75 // The wilderness is the region of the block that is usable for allocations 92 void zeroFillWilderness(); // Can be called at any time to zero-fill to the end of the block. 108 inline CopiedBlock* CopiedBlock::createNoZeroFill(DeadBlock* block) argument 110 Region* region = block->region(); 111 return new(NotNull, block) CopiedBlock(region); 114 inline CopiedBlock* CopiedBlock::create(DeadBlock* block) argument 116 CopiedBlock* newBlock = createNoZeroFill(block);
|
H A D | GCThreadSharedData.cpp | 188 for (CopiedBlock* block = m_copiedSpace->m_newGen.fromSpace->head(); block; block = block->next()) 189 m_blocksToCopy.append(block); 199 // The GCThreads then request a block from the CopiedSpace when the copying phase
|
/macosx-10.10.1/emacs-93/emacs/nt/ |
H A D | preprep.c | 631 IMAGE_BASE_RELOCATION *relocs, *block, *start_block, *end_block; local 647 for (block = relocs, start_block = 0; 648 (DWORD) block - (DWORD) relocs < reloc_dir->Size; 649 block = (void *)((DWORD) block + block->SizeOfBlock)) 651 if (block->VirtualAddress >= import_section->VirtualAddress + import_section->Misc.VirtualSize) 653 end_block = block; 656 if (block->VirtualAddress >= import_section->VirtualAddress) 659 start_block = block; [all...] |
/macosx-10.10.1/libpcap-48/libpcap/pcap/ |
H A D | pcap-ng.h | 42 * - a block header composed of the block type and the block length 43 * - a set of fixed fields specific to the block type 44 * - for some block types a list of records 46 * - a block trailer that repeats the block length 80 * The pcap_ng_xxx_fields structures describe for each type of block 81 * the part of the block body that follows the common block heade [all...] |
/macosx-10.10.1/ruby-106/ruby/lib/rdoc/ |
H A D | any_method.rb | 182 # are preferred over parsed method and block params. 222 # If this method has explicit block parameters, remove any explicit 223 # &block 226 block = @block_params.gsub(/\s*\#.*/, '') 227 block = block.tr("\n", " ").squeeze(" ") 228 if block[0] == ?( 229 block.sub!(/^\(/, '').sub!(/\)/, '') 231 params << " { |#{block}| ... }"
|
/macosx-10.10.1/ruby-106/ruby/test/benchmark/ |
H A D | test_benchmark.rb | 26 def bench(type = :bm, *args, &block) 27 if block 28 Benchmark.send(type, *args, &block) 42 def capture_bench_output(type, *args, &block) 43 capture_output { bench(type, *args, &block) } 162 it '[ruby-dev:40906] can add in-place the time of execution of the block given' do
|
/macosx-10.10.1/ruby-106/ruby/test/rss/ |
H A D | test_setup_maker_itunes.rb | 9 block = true 31 channel.itunes_block = block 45 item.itunes_block = block 65 assert_equal(block, channel.itunes_block?) 66 assert_equal(block, item.itunes_block?)
|
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/ps/ |
H A D | ps.c | 246 Tk_PhotoImageBlock block; local 351 block.pixelSize = 1; 352 block.pitch = block.width = width; 353 block.height = 1; 354 block.offset[0] = 0; 355 block.offset[1] = 0; 356 block.offset[2] = 0; 357 block.offset[3] = 0; 365 block [all...] |
/macosx-10.10.1/WebInspectorUI-7600.1.17/UserInterface/Views/ |
H A D | DOMTreeOutline.css | 43 display: block; 65 display: block; 70 display: block; 98 display: block; 157 display: inline-block;
|
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/png/ |
H A D | png.c | 272 Tk_PhotoImageBlock block; local 322 Tk_PhotoGetImage(imageHandle, &block); 327 block.offset[1] = 2; 328 block.offset[2] = 4; 336 block.pixelSize = png_get_channels(png_ptr, info_ptr); 337 block.pitch = png_get_rowbytes(png_ptr, info_ptr); 341 block.offset[1] = 0; 342 block.offset[2] = 0; 344 block.width = width; 345 block [all...] |
/macosx-10.10.1/BerkeleyDB-21/db/hmac/ |
H A D | sha1.c | 88 #define blk0(i) is_bigendian ? block->l[i] : \ 89 (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \ 90 |(rol(block->l[i],8)&0x00FF00FF)) 91 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ 92 ^block->l[(i+2)&15]^block->l[i&15],1)) 122 /* Hash a single 512-bit block 139 CHAR64LONG16* block; local [all...] |