Searched refs:blk (Results 1 - 25 of 67) sorted by relevance

123

/macosx-10.10/apr-32/apr-util/apr-util/misc/
H A Dapr_rmm.c82 struct rmm_block_t *blk = (rmm_block_t*)((char*)rmm->base + next); local
92 next = blk->next;
104 struct rmm_block_t *blk = (rmm_block_t*)((char*)rmm->base + next); local
106 if (blk->size == size)
109 if (blk->size >= size) {
114 if (!bestsize || (blk->size < bestsize)) {
115 bestsize = blk->size;
120 next = blk->next;
124 struct rmm_block_t *blk = (rmm_block_t*)((char*)rmm->base + best); local
127 new->size = blk
145 struct rmm_block_t *blk = (rmm_block_t*)((char*)rmm->base + this); local
218 rmm_block_t *blk; local
251 rmm_block_t *blk; local
359 struct rmm_block_t *blk; local
389 struct rmm_block_t *blk; local
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/dev/dtrace/
H A Dblist.c132 static daddr_t blst_leaf_alloc(blmeta_t *scan, daddr_t blk, int count);
133 static daddr_t blst_meta_alloc(blmeta_t *scan, daddr_t blk,
137 daddr_t radix, int skip, daddr_t blk);
138 static void blst_copy(blmeta_t *scan, daddr_t blk, daddr_t radix,
143 static void blst_radix_print(blmeta_t *scan, daddr_t blk,
222 daddr_t blk = SWAPBLK_NONE; local
226 blk = blst_leaf_alloc(bl->bl_root, 0, count);
228 blk = blst_meta_alloc(bl->bl_root, 0, count,
230 if (blk != SWAPBLK_NONE)
233 return(blk);
318 blst_leaf_alloc(blmeta_t *scan, daddr_t blk, int count) argument
395 blst_meta_alloc(blmeta_t *scan, daddr_t blk, daddr_t count, daddr_t radix, int skip) argument
477 blst_leaf_free(blmeta_t *scan, daddr_t blk, int count) argument
518 blst_meta_free(blmeta_t *scan, daddr_t freeBlk, daddr_t count, daddr_t radix, int skip, daddr_t blk) argument
606 blst_copy(blmeta_t *scan, daddr_t blk, daddr_t radix, daddr_t skip, blist_t dest, daddr_t count) argument
775 blst_radix_print(blmeta_t *scan, daddr_t blk, daddr_t radix, int skip, int tab) argument
897 daddr_t blk = blist_alloc(bl, count); local
[all...]
/macosx-10.10/zlib-55/zlib/examples/
H A Dfitblk.c132 unsigned char *blk; /* intermediate and final stream */ local
147 blk = malloc(size + EXCESS);
152 if (ret != Z_OK || blk == NULL)
157 def.next_out = blk;
166 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout))
172 free(blk);
194 inf.next_in = blk;
211 def.next_out = blk;
219 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout))
228 free(blk);
[all...]
/macosx-10.10/gnutar-453/gnutar/src/
H A Dsparse.c302 union block *blk;
313 blk = find_next_block ();
314 bytes_read = safe_read (file->fd, blk->buffer, bufsize);
325 memset (blk->buffer + bytes_read, 0, BLOCKSIZE - bytes_read);
329 set_next_block_after (blk);
355 union block *blk = find_next_block ();
356 if (!blk)
361 set_next_block_after (blk);
362 count = full_write (file->fd, blk->buffer, wrbytes);
527 union block *blk
301 union block *blk; local
354 union block *blk = find_next_block (); local
524 union block *blk = find_next_block (); local
707 union block *blk; local
922 union block *blk; local
983 union block *blk; local
1092 union block *blk; local
[all...]
H A Dcreate.c1023 union block *blk;
1027 blk = find_next_block ();
1028 memset (blk->buffer, 0, BLOCKSIZE);
1029 set_next_block_after (blk);
1039 union block *blk;
1042 blk = start_header (st);
1043 if (!blk)
1048 blk->header.typeflag = CONTTYPE;
1050 finish_header (st, blk, block_ordinal);
1059 blk
1018 union block *blk; local
1034 union block *blk; local
1108 union block *blk = NULL; local
1390 union block *blk; local
[all...]
/macosx-10.10/libpcap-48/libpcap/
H A Dgrammar.y254 } blk;
258 %type <blk> expr id nid pid term rterm qid
259 %type <blk> head
263 %type <blk> and or paren not null prog
266 %type <blk> atmfield
267 %type <blk> atmfieldvalue atmvalue atmlistvalue
269 %type <blk> mtp3field
270 %type <blk> mtp3fieldvalue mtp3value mtp3listvalue
330 and: AND { $$ = $<blk>0; }
332 or: OR { $$ = $<blk>
[all...]
/macosx-10.10/ruby-106/ruby/lib/
H A Dbenchmark.rb205 def bm(label_width = 0, *labels, &blk) # :yield: report
206 benchmark(CAPTION, label_width, FORMAT, *labels, &blk)
322 def item(label = "", &blk) # :yield:
327 @list << [label, blk]
361 def item(label = "", *format, &blk) # :yield:
363 @list << res = Benchmark.measure(label, &blk)
422 # Tms object, plus the time required to execute the code block (+blk+).
424 def add(&blk) # :yield:
425 self + Benchmark.measure(&blk)
431 def add!(&blk)
[all...]
H A Doptparse.rb918 def accept(*args, &blk) top.accept(*args, &blk) end
922 def self.accept(*args, &blk) top.accept(*args, &blk) end
931 def reject(*args, &blk) top.reject(*args, &blk) end
935 def self.reject(*args, &blk) top.reject(*args, &blk) end
1062 def summarize(to = [], width = @summary_width, max = width - 1, indent = @summary_indent, &blk)
1063 blk ||
[all...]
/macosx-10.10/emacs-93/emacs/lisp/gnus/
H A Dnndoc.el708 (let ((i 0) blk p tp)
712 (setq blk (nndoc-oe-dbx-decode-block)))
713 (while (and blk (> (car blk) 0) (or (zerop (nth 3 blk))
714 (> (nth 3 blk) p)))
716 (while (and (> (car blk) 0) (> (nth 3 blk) p))
717 (goto-char (1+ (nth 3 blk)))
718 (setq blk (nndo
[all...]
/macosx-10.10/ruby-106/ruby/test/ripper/
H A Ddummyparser.rb104 def on_args_add_block(list, blk)
105 if blk
106 list.push('&' + blk.to_s)
/macosx-10.10/system_cmds-643.1.1/arch.tproj/
H A Darch.c268 char *blk; local
270 while((blk = strsep(&str, ";")) != NULL) {
271 if(*blk == 0)
274 char *n = strsep(&blk, ":");
275 if(blk) {
276 char *p = strsep(&blk, ":");
277 if(!blk) { /* there is only one colon, so no execpath */
278 blk = p;
282 if(!*blk)
288 while((t = strsep(&blk, ",")) !
[all...]
/macosx-10.10/libarchive-30/libarchive/libarchive/test/
H A Dtest_fuzz.c75 const void *blk; local
154 &blk, &blk_size, &blk_offset))
/macosx-10.10/ruby-106/ruby/ext/tk/lib/tkextlib/tcllib/
H A Dchatwidget.rb93 def hook_add(type, *args, &blk) # args -> [prior, cmd], [prior], [cmd]
107 cmd = args.shift || blk
/macosx-10.10/ruby-106/ruby/test/ruby/
H A Dtest_keyword.rb67 def f6(str: "foo", num: 424242, **h, &blk)
68 [str, num, h, blk]
126 assert_equal([[:key, :str], [:key, :num], [:keyrest, :h], [:block, :blk]], method(:f6).parameters);
187 Proc.new do |str: "foo", num: 424242, **h, &blk|
188 [str, num, h, blk]
242 assert_equal([[:key, :str], [:key, :num], [:keyrest, :h], [:block, :blk]], p4.parameters);
253 blk = Proc.new {|str: "foo", num: 424242| [str, num] }
254 assert_equal(["foo", 424242], m1(&blk))
255 assert_equal(["bar", 424242], m1(str: "bar", &blk))
256 assert_equal(["foo", 111111], m1(num: 111111, &blk))
[all...]
/macosx-10.10/libfs-13/
H A DFSFormatName.h82 static int getblk(int fd, unsigned long blk, int blksize, char* buf);
/macosx-10.10/cxxfilt-11/cxxfilt/bfd/
H A Ddwarf2.c63 struct dwarf_block *blk; member in union:attribute::__anon7492
557 struct dwarf_block *blk; local
572 blk = bfd_alloc (abfd, amt);
573 blk->size = read_2_bytes (abfd, info_ptr);
575 blk->data = read_n_bytes (abfd, info_ptr, blk->size);
576 info_ptr += blk->size;
577 attr->u.blk = blk;
581 blk
[all...]
/macosx-10.10/ruby-106/ruby/lib/minitest/
H A Dmock.rb35 # +blk+, and returns +retval+.
58 def expect(name, retval, args=[], &blk)
61 @expected_calls[name] << { :retval => retval, :block => blk }
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_lockf.c1325 struct lockf *lf, *blk; local
1344 TAILQ_FOREACH(blk, &lf->lf_blkhd, lf_block) {
1345 printf("\n\t\tlock request %p for ", (void *)blk);
1346 if (blk->lf_flags & F_POSIX)
1348 (long)((struct proc *)blk->lf_id)->p_pid);
1350 printf("id %p", (void *)blk->lf_id);
1352 blk->lf_type == F_RDLCK ? "shared" :
1353 blk->lf_type == F_WRLCK ? "exclusive" :
1354 blk->lf_type == F_UNLCK ? "unlock" :
1355 "unknown", (intmax_t)blk
[all...]
/macosx-10.10/BerkeleyDB-21/db/hmac/
H A Dsha1.c86 /* blk0() and blk() perform the initial expand. */
91 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ macro
97 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5); \
99 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30);
100 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5); \
102 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/
H A Dsha1.c54 * blk0() and blk() perform the initial expand.
63 #define blk(i) (block[i&15] = rol(block[(i+13)&15]^block[(i+8)&15] \ macro
70 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30);
71 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30);
72 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30);
73 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);
/macosx-10.10/eap8021x-198/EAP8021X.fproj/
H A Dfr_sha1.c21 /* blk0() and blk() perform the initial expand. */
26 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ macro
31 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30);
32 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30);
33 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30);
34 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);
/macosx-10.10/ppp-786.1.1/Helpers/pppd/
H A Dsha1.c28 /* blk0() and blk() perform the initial expand. */
31 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ macro
36 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30);
37 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30);
38 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30);
39 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);
/macosx-10.10/xnu-2782.1.97/osfmk/prng/YarrowCoreLib/src/
H A Dsha1mod.c49 /* blk0() and blk() perform the initial expand. */
57 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ macro
62 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30);
63 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30);
64 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30);
65 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);
/macosx-10.10/file_cmds-242/pax/
H A Dtar.c273 tar_chksm(char *blk, int len) argument
282 pt = blk;
283 stop = blk + CHK_OFFSET;
294 stop = blk + len;
314 tar_id(char *blk, int size) argument
321 hd = (HD_TAR *)blk;
322 uhd = (HD_USTAR *)blk;
335 if (asc_ul(hd->chksum,sizeof(hd->chksum),OCT) != tar_chksm(blk,BLKMULT))
714 ustar_id(char *blk, int size) argument
720 hd = (HD_USTAR *)blk;
[all...]
/macosx-10.10/tcsh-65/tcsh/
H A Dsh.sem.c767 Char *blk[2]; local
773 blk[0] = Dfix1(cp); /* expand $ */
774 blk[1] = NULL;
776 gflag = tglob(blk);
778 pv = globall(blk, gflag);
780 setname(short2str(blk[0]));
781 xfree(blk[0]);
789 xfree(blk[0]);
790 blk[0] = pv[0];
799 blk[
[all...]

Completed in 311 milliseconds

123