Searched refs:block (Results 251 - 275 of 1057) sorted by relevance

<<11121314151617181920>>

/macosx-10.10.1/ruby-106/ruby/lib/drb/
H A Dinvokemethod.rb10 @block.call(*x)
/macosx-10.10.1/ruby-106/ruby/lib/rake/ext/
H A Dstring.rb53 def pathmap_replace(patterns, &block)
59 result = result.sub(pattern, &block)
117 # If the replacement text is '*', then a block may be provided to perform
130 def pathmap(spec=nil, &block)
157 result << pathmap('%' + operator).pathmap_replace(patterns, &block)
/macosx-10.10.1/gnutar-453/gnutar/src/
H A Ddelete.c26 static union block *new_record;
32 extern union block *record_start;
33 extern union block *record_end;
34 extern union block *current_block;
35 extern union block *recent_long_name;
36 extern union block *recent_long_link;
96 union block *save_record = record_start;
125 write_recent_blocks (union block *h, size_t blocks)
142 write_recent_blocks ((union block *)data, blocks);
/macosx-10.10.1/libxml2-26/libxml2/
H A DgenUnicode.py20 # blockAliases is a small hack - it is used for mapping block names which
40 # block range
73 for block in blockAliases:
74 alias = string.split(block,':')
281 for block in bkeys:
282 name = string.replace(block, '-', '')
287 output.write(' {"%s", xmlUCSIs%s}' % (block, name))
374 for block in bkeys:
375 name = string.replace(block, '-', '')
379 (block))
[all...]
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/
H A DgenUnicode.py20 # blockAliases is a small hack - it is used for mapping block names which
40 # block range
73 for block in blockAliases:
74 alias = string.split(block,':')
281 for block in bkeys:
282 name = string.replace(block, '-', '')
287 output.write(' {"%s", xmlUCSIs%s}' % (block, name))
374 for block in bkeys:
375 name = string.replace(block, '-', '')
379 (block))
[all...]
/macosx-10.10.1/ruby-106/ruby/lib/net/http/
H A Dresponse.rb171 # If a block is given, the body is passed to the block, and
193 def read_body(dest = nil, &block)
195 raise IOError, "#{self.class}\#read_body called twice" if dest or block
198 to = procdest(dest, block)
246 # bytes in the range may not be a complete deflate block.
325 raise IOError, 'attempt to read body out of block' if @socket.closed?
328 def procdest(dest, block)
329 raise ArgumentError, 'both arg and block given for HTTP method' if
330 dest and block
[all...]
/macosx-10.10.1/ruby-106/ruby/lib/
H A Dprime.rb37 # Iterates the given block over all prime numbers.
40 def Integer.each_prime(ubound, &block) # :yields: prime
41 Prime.each(ubound, &block)
113 # Iterates the given block over all prime numbers.
126 # An evaluated value of the given block at the last time.
128 # if no block given.
132 # Calls +block+ once for each prime number, passing the prime as
147 def each(ubound = nil, generator = EratosthenesGenerator.new, &block)
149 generator.each(&block)
275 # Iterates the given block fo
[all...]
H A Dmutex_m.rb72 def mu_synchronize(&block)
73 @_mutex.synchronize(&block)
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dkern_lockf.c453 struct lockf *block; local
479 * Scan lock list for this file looking for locks that would block us.
481 while ((block = lf_getblock(lock, -1))) {
502 (block->lf_flags & F_POSIX)) {
508 /* The block is waiting on something */
509 wproc = (struct proc *)block->lf_id;
526 * which would block us, and make
581 lock->lf_next = block;
582 TAILQ_INSERT_TAIL(&block->lf_blkhd, lock, lf_block);
585 block
927 struct lockf *block; local
1386 lf_hold_assertion(task_t block_task, struct lockf *block) argument
1408 lf_jump_to_queue_head(struct lockf *block, struct lockf *lock) argument
1426 lf_drop_assertion(struct lockf *block) argument
[all...]
/macosx-10.10.1/libauto-186/
H A DZoneCompaction.cpp249 // every unscanned block.
257 // first word contains a weak reference, so pin the slot's block to avoid problems with forwarding.
287 // weakly referenced Large block. Pin slot's block if not from a __weak ivar.
298 // every unscanned block.
309 // check the callback slot. if it's inside a subzone block, pin that object (for now).
324 // weak reference to SOMETHING that is neither a Subzone nor Large block.
325 // pin the owning block if it's neither a __weak ivar or has layout of type AUTO_MEMORY_ALL_WEAK_POINTERS.
346 ^(void *block) { visit_weak_slot(slot); });
347 if (uintptr_t(ref.block)
668 forward_block(Zone *zone, Subzone *subzone, usword_t q, void *block) argument
683 void *block = subzone->quantum_address(q); local
711 layout_map_for_block(Zone *zone, void *block) argument
871 void *block = subzone->quantum_address(q); local
897 forward_block(Subzone *subzone, usword_t q, void *block) argument
939 move_block(Subzone *subzone, usword_t q, void *block) argument
[all...]
H A DBlockRef.h119 // This template function is used to determine whether an arbitrary pointer is a block start, and dispatches
120 // to a handler based on the type of block. The sieve must implement:
124 // The intended use of this function is to be a fast dispatcher based on the type of block. As such it is
132 SubzoneBlockRef block(sz, q);
133 sieve.processBlock(block);
138 LargeBlockRef block(Large::large((void *)ptr));
139 sieve.processBlock(block);
151 // This template function is used to determine whether an arbitrary pointer is a pointer into a block, and dispatches
152 // to a handler based on the type of block. The sieve must implement:
156 // The intended use of this function is to be a fast dispatcher based on the type of block
[all...]
H A Dauto_dtrace.d60 probe auto_block_lost_thread_locality(void *block, uint64_t size);
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/pcx/
H A Dpcx.c254 Tk_PhotoImageBlock block; local
264 block.pixelSize = 3;
265 block.pitch = fileWidth * 3;
266 block.width = width;
267 block.height = 1;
268 block.offset[0] = 0;
269 block.offset[1] = 1;
270 block.offset[2] = 2;
271 block.offset[3] = 0;
273 block
323 Tk_PhotoImageBlock block; local
375 Tk_PhotoImageBlock block; local
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/sun/
H A Dsun.c507 Tk_PhotoImageBlock block; local
524 block.pixelSize = 1;
525 block.pitch = fileWidth;
526 block.width = width;
527 block.height = 1;
528 block.offset[0] = 0;
529 block.offset[1] = 0;
530 block.offset[2] = 0;
531 block.offset[3] = 0;
532 block
599 Tk_PhotoImageBlock block; local
714 Tk_PhotoImageBlock block; local
[all...]
/macosx-10.10.1/SmartcardCCID-55008/ccid/ccid/src/openct/
H A Dproto-t1.c25 /* I block */
28 /* R block */
34 /* S block stuff */
64 static unsigned int t1_rebuild(t1_state_t *t1, unsigned char *block);
182 /* Send the first block */
331 * block successfully */
348 /* The first I-block sent by the ICC indicates
349 * the last block we sent was received successfully. */
359 /* If the block sent by the card doesn't match
361 * an R block */
553 t1_build(t1_state_t * t1, unsigned char *block, unsigned char dad, unsigned char pcb, ct_buf_t *bp, size_t *lenp) argument
598 t1_rebuild(t1_state_t *t1, unsigned char *block) argument
645 t1_xcv(t1_state_t * t1, unsigned char *block, size_t slen, size_t rmax) argument
[all...]
/macosx-10.10.1/remote_cmds-47/tftp.tproj/
H A Dtftp.c168 volatile unsigned int block; local
191 block = 0;
198 if (block == 0)
208 dp->th_block = htons((u_short)block);
221 if (block)
257 if (ap->th_block == 0 && block == 0) {
268 if (ap->th_block == (u_short)block) {
279 if (ap->th_block == (u_short)(block-1)) {
284 if (block == 0) {
292 if (block >
316 volatile unsigned int block; local
[all...]
/macosx-10.10.1/libpcap-48/libpcap/
H A Doptimize.c103 * A block is marked if only if its mark equals the current mark.
112 static void opt_init(struct block *);
115 static void intern_blocks(struct block *);
117 static void find_inedges(struct block *);
119 static void opt_dump(struct block *);
123 struct block **blocks;
133 struct block **levels;
193 find_levels_r(struct block *b)
218 * with the 'link' field of the struct block.
221 find_levels(struct block *roo
[all...]
/macosx-10.10.1/IOStorageFamily-182.1.1/
H A DIOBlockStorageDevice.cpp130 UInt32 block,UInt32 nblks)
137 UInt32 block, UInt32 nblks,
145 UInt64 block,UInt64 nblks,
148 if ((block >> 32) || (nblks >> 32)) {
151 return(doAsyncReadWrite(buffer,(UInt32)block,(UInt32)nblks,completion));
169 UInt64 block,UInt64 nblks,
176 return(doAsyncReadWrite(buffer,block,nblks,completion ? *completion : (IOStorageCompletion) { 0 }));
207 IOBlockStorageDevice::doDiscard(UInt64 block, UInt64 nblks) argument
129 doSyncReadWrite(IOMemoryDescriptor *buffer, UInt32 block,UInt32 nblks) argument
136 doAsyncReadWrite(IOMemoryDescriptor *buffer, UInt32 block, UInt32 nblks, IOStorageCompletion completion) argument
144 doAsyncReadWrite(IOMemoryDescriptor *buffer, UInt64 block,UInt64 nblks, IOStorageCompletion completion) argument
168 doAsyncReadWrite(IOMemoryDescriptor *buffer, UInt64 block,UInt64 nblks, IOStorageAttributes *attributes, IOStorageCompletion *completion) argument
/macosx-10.10.1/JavaScriptCore-7600.1.17/dfg/
H A DDFGNode.cpp63 if (!block)
66 out.print(*block);
/macosx-10.10.1/Librpcsvc-24/
H A Dklm_prot.x105 bool block;
/macosx-10.10.1/file_cmds-242/dd/
H A Dextern.h43 void block(void);
/macosx-10.10.1/libdispatch-442.1.4/dispatch/
H A Dgroup.h62 * Submits a block to a dispatch queue and associates the block with the given
66 * Submits a block to a dispatch queue and associates the block with the given
71 * A dispatch group to associate with the submitted block.
75 * The dispatch queue to which the block will be submitted for asynchronous
78 * @param block
79 * The block to perform asynchronously.
87 dispatch_block_t block);
94 * Submits a function to a dispatch queue and associates the block wit
[all...]
/macosx-10.10.1/libdispatch-442.1.4/private/
H A Dvoucher_private.h164 * @group Dispatch block objects
176 * Flag indicating that a dispatch block object should not be assigned a voucher
177 * object. If invoked directly, the block object will be executed with the
178 * voucher adopted on the calling thread. If the block object is submitted to a
179 * queue, this replaces the default behavior of associating the submitted block
191 * Create a new dispatch block object on the heap from an existing block and
195 * The provided block is Block_copy'ed to the heap, it and the specified voucher
196 * object are retained by the newly created dispatch block object.
198 * The returned dispatch block objec
[all...]
/macosx-10.10.1/pdisk-9/
H A DATA_media.c194 int ATA_ReadBlock(UInt32 deviceID, ATA_INFO info, UInt32 block_size, UInt32 block, UInt8 *address);
195 int ATA_WriteBlock(UInt32 deviceID, ATA_INFO info, UInt32 block_size, UInt32 block, UInt8 *address);
201 int ATAPI_ReadBlock(UInt32 deviceID, UInt32 block_size, UInt32 block, UInt8 *address);
519 long block; local
540 block = offset / block_size;
545 if (ATA_ReadBlock(a->id, &a->info, block_size, block, buffer) == 0) {
550 block += 1;
562 long block; local
583 block = offset / block_size;
588 if (ATA_WriteBlock(a->id, &a->info, block_size, block, buffe
626 ATA_ReadBlock(UInt32 deviceID, ATA_INFO info, UInt32 block_size, UInt32 block, UInt8 *address) argument
680 ATA_WriteBlock(UInt32 deviceID, ATA_INFO info, UInt32 block_size, UInt32 block, UInt8 *address) argument
830 long block; local
876 ATAPI_ReadBlock(UInt32 deviceID, UInt32 block_size, UInt32 block, UInt8 *address) argument
[all...]
/macosx-10.10.1/ruby-106/ruby/lib/minitest/
H A Dbenchmark.rb283 # Enumerates over +enum+ mapping +block+ if given, returning the
289 def sigma enum, &block
290 enum = enum.map(&block) if block
316 def self.bench name, &block
317 define_method "bench_#{name.gsub(/\W+/, '_')}", &block
329 def self.bench_range &block
330 return super unless block
333 meta.send :define_method, "bench_range", &block

Completed in 292 milliseconds

<<11121314151617181920>>