Searched refs:block (Results 226 - 250 of 1057) sorted by relevance

1234567891011>>

/macosx-10.10.1/ruby-106/ruby/ext/psych/lib/
H A Dpsych.rb181 # If a block is given, a Psych::Nodes::Document node will be yielded to the
182 # block as it's being parsed.
202 def self.parse_stream yaml, filename = nil, &block
204 parser = Psych::Parser.new(Handlers::DocumentStream.new(&block))
272 # as a list. If a block is given, each document will be converted to ruby
273 # and passed to the block during parsing
304 def self.add_domain_type domain, type_tag, &block
306 @domain_types[key] = [key, block]
307 @domain_types["tag:#{type_tag}"] = [key, block]
310 def self.add_builtin_type type_tag, &block
[all...]
/macosx-10.10.1/xnu-2782.1.97/tools/tests/libMicro/
H A Dcascade_cond.c173 block(int index) function
239 /* block their first move */
240 e += block(ts->ts_them0);
252 /* wait to be unblocked (id == 0 will not block) */
253 e += block(ts->ts_us0);
256 /* allow them to block us again */
259 /* block their next + 1 move */
260 e += block(ts->ts_them1);
266 e += block(ts->ts_us1);
270 e += block(t
[all...]
/macosx-10.10.1/libpcap-48/libpcap/
H A Dgencode.c167 static struct block *root;
214 static inline struct block *new_block(int);
216 static struct block *gen_retblk(int);
219 static void backpatch(struct block *, struct block *);
220 static void merge(struct block *, struct block *);
221 static struct block *gen_cmp(enum e_offrel, u_int, u_int, bpf_int32);
222 static struct block *gen_cmp_gt(enum e_offrel, u_int, u_int, bpf_int32);
223 static struct block *gen_cmp_g
[all...]
/macosx-10.10.1/CPANInternal-159.1/Crypt-Rijndael-1.10/
H A D_rijndael.c29 print_block(UINT8 *block)
34 printf("%02x", block[i]);
477 UINT8 block[RIJNDAEL_BLOCKSIZE], block2[RIJNDAEL_BLOCKSIZE], oldptxt; local
488 case MODE_CBC: /* Cipher block chaining */
490 memcpy(block, iv, RIJNDAEL_BLOCKSIZE);
493 block[j] ^= input[i*RIJNDAEL_BLOCKSIZE + j] & 0xff;
494 rijndael_encrypt(ctx, block, block);
495 memcpy(&output[RIJNDAEL_BLOCKSIZE*i], block, RIJNDAEL_BLOCKSIZE);
499 memcpy(block, i
546 UINT8 block[RIJNDAEL_BLOCKSIZE], block2[RIJNDAEL_BLOCKSIZE]; local
[all...]
/macosx-10.10.1/libpcap-48/libpcap/tests/ngofflinereadtest/
H A Dngofflinereadtest.c87 interface_option_iterator(pcapng_block_t block, struct pcapng_option_info *option_info, void *context) argument
138 new_interface_info(struct section_info *section_info, pcapng_block_t block) argument
154 (void) pcnapng_block_iterate_options(block,
182 block_option_iterator(pcapng_block_t block, struct pcapng_option_info *option_info, void *context) argument
185 pcap_ng_block_get_type(block), context,
201 * Each block type has its own option code space
203 switch (pcap_ng_block_get_type(block)) {
353 /* Access the raw block */
452 /* Create block object */
454 pcapng_block_t block local
[all...]
/macosx-10.10.1/msdosfs-209.1.1/fsck_msdos.tproj/
H A Dfat.c107 uint32_t length; /* Size of this block, in bytes */
174 * overhead of finding a cache block?
309 * Find the FAT cache block associated with the given cluster. If not found,
310 * try to find an unused cache block. Otherwise, recycle the least recently
311 * used block (writing it out first if it was dirty). Move the found cache
312 * block to the head of the most recently used list.
435 struct fat_cache_block *block; local
445 block = fat_cache_find(cluster*4);
446 if (block == NULL)
450 p = block
464 struct fat_cache_block *block; local
493 struct fat_cache_block *block; local
533 struct fat_cache_block *block; local
570 struct fat_cache_block *block; local
604 struct fat_cache_block *block; local
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/dfg/
H A DDFGStackLayoutPhase.cpp61 BasicBlock* block = m_graph.block(blockIndex); local
62 if (!block)
64 for (unsigned nodeIndex = block->size(); nodeIndex--;) {
65 Node* node = block->at(nodeIndex);
238 BasicBlock* block = m_graph.block(blockIndex); local
239 if (!block)
241 for (unsigned nodeIndex = block->size(); nodeIndex--;) {
242 Node* node = block
[all...]
/macosx-10.10.1/Security-57031.1.35/SecurityTests/cspxutils/utilLib/
H A DrijndaelApi.c88 /* Save IV in rectangular block format */
158 /* Hey! This code was broken for multi-block ops! */
175 word8 block[4][MAXBC]; // working memory: encrypt/decrypt in place here local
209 block[t][j] = input[4*j+t];
211 _rijndaelDecrypt (block, key->keyLen, cipher->blockLen, key->keySched);
215 outBuffer[4*j+t] = (BYTE) block[t][j];
228 block[t][j] = input[4*j+t];
232 memmove(cblock, block, 4*MAXBC);
233 _rijndaelDecrypt (block, key->keyLen, cipher->blockLen, key->keySched);
243 outBuffer[4*j+t] = (block[
315 word8 block[4][MAXBC]; // working memory: encrypt/decrypt in place here local
[all...]
/macosx-10.10.1/IOCDStorageFamily-51/
H A DIOCDBlockStorageDriver.cpp333 UInt32 block; local
343 * nor one that is misaligned with a block.
345 assert((byteStart % context->block.size) == 0);
346 assert((buffer->getLength() % context->block.size) == 0);
348 block = byteStart / context->block.size;
349 nblks = buffer->getLength() / context->block.size;
354 if (context->block.type == kBlockTypeCD) {
356 * the block type is specifically set to CDDA, rather than "unknown";
360 if (context->block
[all...]
/macosx-10.10.1/ruby-106/ruby/bootstraptest/
H A Dtest_block.rb16 def each(&block)
17 [1, 2, 3].each(&block)
366 }, "block parameter (shouldn't SEGV: [ruby-dev:31143])"
482 define_method(:foo) do |arg, &block|
483 if block then block.call else arg end
491 define_method(:xyz) do |o, k, &block|
492 block.call(o, k)
500 define_method(:xyz) do |*args, &block|
501 block
[all...]
/macosx-10.10.1/libauto-186/
H A DReferenceIterator.h115 // Visits all live block references. The Configuration type parameter must contains 3 typedefs:
131 // The info parameter classifies the reference slot, root, stack, conservatively scanned block, exact scanned block, etc. It is a tagged
133 // The block being referenced is either a small/medium block, represented by the subzone / quantum pair, or a Large block.
206 const unsigned char* layout_map_for_block(void *block) { return Configuration::ScanningStrategy::layout_map_for_block(_zone, block); } argument
212 // to see if it actually points in the collector heap. if it does, it is marked. If it a block that should be
248 void *block local
357 void *block = subzone->quantum_address(q); local
369 void *block = large->address(); local
497 push_associations(void *block) argument
544 scan_block(ReferenceIterator &scanner, void *block, usword_t size, usword_t layout, WriteBarrier *wb) argument
551 layout_map_for_block(Zone *zone, void *block) argument
562 associations_should_be_scanned(void *block) argument
584 void *block = i->first; local
688 scan_block(ReferenceIterator &scanner, void *block, usword_t size, usword_t layout, WriteBarrier *wb) argument
705 layout_map_for_block(Zone *zone, void *block) argument
772 scan_block(ReferenceIterator &scanner, void *block, usword_t size, usword_t layout, WriteBarrier *wb) argument
776 layout_map_for_block(Zone *zone, void *block) argument
[all...]
H A DSubzonePartition.h83 // Applies block to all partitioned admins.
85 void for_each(void (^block) (Admin &admin)) {
87 block(_small[i]);
88 block(_medium[i]);
H A DBlockRef.cpp54 void *block = address(); local
58 PtrIntHashMap::iterator retain_iter = retains.find(block);
59 if (retain_iter != retains.end() && retain_iter->first == block) {
63 refcount = (retains[block] = 2);
/macosx-10.10.1/ruby-106/ruby/lib/
H A Doptparse.rb234 def self.candidate(key, icase = false, pat = nil, &block)
237 block.call do |k, *v|
302 attr_reader :pattern, :conv, :short, :long, :arg, :desc, :block
334 desc = ([] if short or long), block = Proc.new)
336 @pattern, @conv, @short, @long, @arg, @desc, @block =
337 pattern, conv, short, long, arg, desc, block
365 # Parses argument, converts and returns +arg+, +block+ and result of
375 return arg, block, val
381 # block (without newline).
530 return nil, block, ni
[all...]
/macosx-10.10.1/WebInspectorUI-7600.1.17/UserInterface/Views/
H A DBreakpointActionView.css26 .breakpoint-action-block-header {
56 .breakpoint-action-block-body {
66 .breakpoint-action-block-body > input {
/macosx-10.10.1/apr-32/apr-util/apr-util/buckets/
H A Dapr_buckets_alloc.c93 apr_memnode_t *block; local
95 block = apr_allocator_alloc(allocator, ALLOC_AMT);
96 if (!block) {
99 list = (apr_bucket_alloc_t *)block->first_avail;
103 list->blocks = block;
104 block->first_avail += APR_ALIGN_DEFAULT(sizeof(*list));
H A Dapr_buckets_pipe.c20 apr_size_t *len, apr_read_type_e block)
27 if (block == APR_NONBLOCK_READ) {
38 if (block == APR_NONBLOCK_READ) {
19 pipe_bucket_read(apr_bucket *a, const char **str, apr_size_t *len, apr_read_type_e block) argument
H A Dapr_buckets_socket.c20 apr_size_t *len, apr_read_type_e block)
27 if (block == APR_NONBLOCK_READ) {
38 if (block == APR_NONBLOCK_READ) {
19 socket_bucket_read(apr_bucket *a, const char **str, apr_size_t *len, apr_read_type_e block) argument
/macosx-10.10.1/ruby-106/ruby/lib/rdoc/markup/
H A Dpre_process.rb2 # Handle common directives that can occur in a block of text:
29 def self.post_process &block
30 @post_processors << block
41 # Registers +directive+ as one handled by RDoc. If a block is given the
42 # directive will be replaced by the result of the block, otherwise the
45 # The block will be called with the directive name and the directive
52 def self.register directive, &block
53 @registered[directive] = block
86 # Options that we don't handle are yielded. If the block returns false the
87 # directive is restored to the text. If the block return
[all...]
/macosx-10.10.1/IOUSBMassStorageClass-370.0.4/
H A DIOUFIStorageServices.h68 UInt32 block,
73 UInt64 block,
79 UInt32 block,
/macosx-10.10.1/libdispatch-442.1.4/src/
H A Dbenchmark.c75 dispatch_benchmark(size_t count, void (^block)(void)) argument
77 return dispatch_benchmark_f(count, block, _dispatch_Block_invoke(block));
/macosx-10.10.1/ruby-106/ruby/test/rake/
H A Dtest_rake_top_level_functions.rb24 block = proc do end
26 namespace("xyz", &block)
29 [[:in_namespace, 'xyz'], block]
/macosx-10.10.1/OpenSSH-189/openssh/
H A Dmdoc2man.awk33 block=0
/macosx-10.10.1/ksh-23/ksh/src/cmd/INIT/
H A Dhurl.sh70 integer limit=0 total=0 block=8*1024
156 then (( limit = (limit + block - 1) / block))
157 dd bs=$block count=$limit silent=1
/macosx-10.10.1/libauto-186/auto_tester/
H A DCollectionChecking.m72 [self fail:@"collection checking did not call callback with block"];
88 malloc_zone_enumerate_discharged_pointers([self auto_zone], ^(void *block, void *info){
89 if (block == _testBlock) {

Completed in 530 milliseconds

1234567891011>>