Searched refs:mid (Results 1 - 25 of 210) sorted by relevance

123456789

/macosx-10.10/lsof-53/lsof/lib/
H A Dfino.c68 int low, hi, mid; local
76 low = mid = 0;
82 mid = (low + hi) / 2;
83 tdev = BSdev[mid]->rdev;
85 hi = mid - 1;
87 low = mid + 1;
91 if (DCunsafe && !BSdev[mid]->v && !vfy_dev(BSdev[mid]))
95 Lf->inode = BSdev[mid]->inode;
114 int low, hi, mid; local
[all...]
H A Dlkud.c76 int low, hi, mid; local
97 low = mid = 0;
100 mid = (low + hi) / 2;
101 dp = BSdev[mid];
103 hi = mid - 1;
105 low = mid + 1;
117 hi = mid - 1;
119 low = mid + 1;
151 int low, hi, mid; local
172 low = mid
[all...]
/macosx-10.10/ksh-23/ksh/src/lib/libast/string/
H A Dstrsearch.c44 register char* mid; local
49 mid = lo + (((hi - lo) / siz) / 2) * siz;
50 if (!(v = context ? (*(Strcmp_context_f)comparf)(name, *((char**)mid), context) : (*comparf)(name, *((char**)mid))))
51 return (void*)mid;
53 lo = mid + siz;
54 else hi = mid - siz;
H A Dstrpsearch.c57 register char* mid; local
73 mid = lo + (sequential ? 0 : (((hi - lo) / siz) / 2) * siz);
74 if (!(v = c - MAP(m, *(s = *((unsigned char**)mid)))) || *s == '[' && !(v = c - MAP(m, *++s)) && (v = 1))
95 return (void*)mid;
99 while ((mid -= siz) >= lo && (s = *((unsigned char**)mid)) && ((c == MAP(m, *s)) || *s == '[' && c == MAP(m, *(s + 1))));
120 lo = mid + siz;
122 hi = mid - siz;
/macosx-10.10/ruby-106/ruby/ext/-test-/method/
H A Darity.c4 obj_method_arity(VALUE self, VALUE obj, VALUE mid) argument
6 int arity = rb_obj_method_arity(obj, rb_check_id(&mid));
11 mod_method_arity(VALUE self, VALUE mod, VALUE mid) argument
13 int arity = rb_mod_method_arity(mod, rb_check_id(&mid));
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/tie/
H A Dtie.tcl84 set mid [TraceManager thearray]
85 if {$mid eq ""} return
95 foreach {mid dso} $tie($tid) break
98 if {$mid ne $midvar} {
102 set pos [lsearch -exact $mgr($mid) $tid]
103 set mgr($mid) [lreplace $mgr($mid) $pos $pos]
110 if {[llength $mgr($mid)]} return
118 Untie $mid thearray
129 set mid [TraceManage
[all...]
/macosx-10.10/CPANInternal-159.1/Perl4-CoreLibs-0.003/lib/
H A Dlook.pl14 local($max,$min,$mid,$_);
22 $mid = int(($max + $min) / 2);
23 seek(FH,$mid * $blksize,0);
24 $_ = <FH> if $mid; # probably a partial line
30 $min = $mid;
33 $max = $mid;
/macosx-10.10/bc-21/bc/lib/
H A Dtestmul.c128 int min, max, mid; local
163 mid = (min+max)/2;
164 if (debug) fprintf (stderr,"Checking %d...\n", mid);
166 bc_int2num (&expo, mid);
170 mul_base_digits = 2*mid+1;
174 mul_base_digits = 2*mid-1;
179 min = mid+1;
181 max = mid-1;
211 mid = (min+max)/2;
212 if (debug) fprintf (stderr, "Checking %d...\n", mid);
[all...]
/macosx-10.10/mDNSResponder-561.1.1/mDNSWindows/DNSServiceBrowser/WindowsCE/Sources/
H A DBrowserDialog.cpp263 INT_PTR mid; local
272 mid = 0;
277 mid = ( lo + hi ) / 2;
278 result = entry->name.CompareNoCase( mBrowserEntries[ mid ].name );
285 hi = mid - 1;
289 lo = mid + 1;
294 mBrowserEntries[ mid ].ip = entry->ip;
295 mBrowserEntries[ mid ].text = entry->text;
301 mid += 1;
303 mBrowserEntries.InsertAt( mid, *entr
319 INT_PTR mid; local
[all...]
/macosx-10.10/ruby-106/ruby/benchmark/
H A Dbm_vm2_method_missing.rb2 def method_missing mid
/macosx-10.10/emacs-93/emacs/lisp/
H A Drfn-eshadow.el176 (mid (overlay-end rfn-eshadow-overlay))
181 (and mid
182 (or (eq mid end)
183 (not (rfn-eshadow-sifn-equal goal (1+ mid))))
184 (or (eq mid start)
185 (rfn-eshadow-sifn-equal goal mid)))
195 (setq mid (/ (+ start end) 2))
196 (if (rfn-eshadow-sifn-equal goal mid)
197 (setq start mid)
198 (setq end mid)))
[all...]
/macosx-10.10/ruby-106/ruby/
H A Dvm_method.c22 ID mid; /* method's id */ member in struct:cache_entry
84 rb_add_method_cfunc(VALUE klass, ID mid, VALUE (*func)(ANYARGS), int argc, rb_method_flag_t noex) argument
91 rb_add_method(klass, mid, VM_METHOD_TYPE_CFUNC, &opt, noex);
94 rb_define_notimplement_method_id(klass, mid, noex);
211 rb_add_refined_method_entry(VALUE refined_class, ID mid) argument
213 rb_method_entry_t *me = lookup_method_table(refined_class, mid);
219 rb_add_method(refined_class, mid, VM_METHOD_TYPE_REFINED, 0,
225 rb_method_entry_make(VALUE klass, ID mid, rb_method_type_t type, argument
247 (mid == idInitialize || mid
361 method_added(VALUE klass, ID mid) argument
404 rb_add_method(VALUE klass, ID mid, rb_method_type_t type, void *opts, rb_method_flag_t noex) argument
466 method_entry_set(VALUE klass, ID mid, const rb_method_entry_t *me, rb_method_flag_t noex, VALUE defined_class) argument
477 rb_method_entry_set(VALUE klass, ID mid, const rb_method_entry_t *me, rb_method_flag_t noex) argument
672 remove_method(VALUE klass, ID mid) argument
707 rb_remove_method_id(VALUE klass, ID mid) argument
991 rb_mod_method_defined(VALUE mod, VALUE mid) argument
1004 check_definition(VALUE mod, VALUE mid, rb_method_flag_t noex) argument
1044 rb_mod_public_method_defined(VALUE mod, VALUE mid) argument
1076 rb_mod_private_method_defined(VALUE mod, VALUE mid) argument
1108 rb_mod_protected_method_defined(VALUE mod, VALUE mid) argument
1615 VALUE mid, priv; local
1645 obj_respond_to_missing(VALUE obj, VALUE mid, VALUE priv) argument
[all...]
H A Dvm_eval.c43 ci->mid = id;
58 RUBY_DTRACE_CMETHOD_ENTRY_HOOK(th, ci->defined_class, ci->mid);
59 EXEC_EVENT_HOOK(th, RUBY_EVENT_C_CALL, ci->recv, ci->mid, ci->defined_class, Qnil);
87 EXEC_EVENT_HOOK(th, RUBY_EVENT_C_RETURN, ci->recv, ci->mid, ci->defined_class, val);
88 RUBY_DTRACE_CMETHOD_RETURN_HOOK(th, ci->defined_class, ci->mid);
103 ID mid = ci->mid; local
106 RUBY_DTRACE_CMETHOD_ENTRY_HOOK(th, defined_class, mid);
107 EXEC_EVENT_HOOK(th, RUBY_EVENT_C_CALL, recv, mid, defined_class, Qnil);
125 EXEC_EVENT_HOOK(th, RUBY_EVENT_C_RETURN, recv, mid, defined_clas
311 rb_call0(VALUE recv, ID mid, int argc, const VALUE *argv, call_type scope, VALUE self) argument
355 check_funcall_respond_to(rb_thread_t *th, VALUE klass, VALUE recv, ID mid) argument
388 check_funcall_missing(rb_thread_t *th, VALUE klass, VALUE recv, ID mid, int argc, VALUE *argv) argument
408 rb_check_funcall(VALUE recv, ID mid, int argc, VALUE *argv) argument
427 rb_check_funcall_with_hook(VALUE recv, ID mid, int argc, VALUE *argv, rb_check_funcall_hook *hook, VALUE arg) argument
484 rb_search_method_entry(VALUE recv, ID mid, VALUE *defined_class_ptr) argument
581 rb_call(VALUE recv, ID mid, int argc, const VALUE *argv, call_type scope) argument
744 rb_apply(VALUE recv, ID mid, VALUE args) argument
773 rb_funcall(VALUE recv, ID mid, int n, ...) argument
804 rb_funcall2(VALUE recv, ID mid, int argc, const VALUE *argv) argument
819 rb_funcall3(VALUE recv, ID mid, int argc, const VALUE *argv) argument
825 rb_funcall_passing_block(VALUE recv, ID mid, int argc, const VALUE *argv) argument
833 rb_funcall_with_block(VALUE recv, ID mid, int argc, const VALUE *argv, VALUE pass_procval) argument
1115 ID mid; member in struct:iter_method_arg
1130 rb_block_call(VALUE obj, ID mid, int argc, VALUE * argv, VALUE (*bl_proc) (ANYARGS), VALUE data2) argument
1152 rb_check_block_call(VALUE obj, ID mid, int argc, VALUE * argv, VALUE (*bl_proc) (ANYARGS), VALUE data2) argument
[all...]
/macosx-10.10/WebCore-7600.1.25/page/
H A DGestureTapHighlighter.cpp156 LayoutRect mid;
162 mid.uniteIfNonZero(rects.at(i));
169 // If the mid box is empty at this point, unite it with the first box. This allows the first box to be
173 if (mid.isEmpty() || mid.intersects(rects.first()))
174 mid.unite(rects.first());
177 shiftXEdgesToContainIfStrikes(mid, first, /* isFirst */ true);
184 if (mid.intersects(rects.last()))
185 mid.unite(rects.last());
188 shiftXEdgesToContainIfStrikes(mid, las
[all...]
/macosx-10.10/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/lib/
H A Ducsmap.c271 int hi, lo, mid; local
293 mid = (lo + hi) / 2;
294 if (v < e[mid].ucs)
295 hi = mid - 1;
296 else if (v > e[mid].ucs)
297 lo = mid + 1;
300 if (tolen < e[mid].len)
302 memcpy(to, e[mid].map, sizeof(*to) * e[mid].len);
303 *maplenp = e[mid]
[all...]
/macosx-10.10/groff-38/groff/src/preproc/eqn/
H A Ddelim.cpp37 const char *mid; member in struct:delimiter
202 static void build_extensible(const char *ext, const char *top, const char *mid, argument
217 if (mid) {
220 mid);
236 if (mid)
241 if (mid)
248 if (mid)
273 if (mid) {
277 mid);
338 build_extensible(d->ext, d->top, d->mid,
[all...]
/macosx-10.10/syslog-267/aslcommon/
H A Dasl_memory.h38 uint64_t mid; member in struct:__anon12677
78 uint32_t asl_memory_save(asl_memory_t *s, asl_msg_t *msg, uint64_t *mid);
79 uint32_t asl_memory_fetch(asl_memory_t *s, uint64_t mid, asl_msg_t **msg, int32_t ruid, int32_t rgid);
/macosx-10.10/tcl-105/tcl/tcl/generic/
H A Dregexec.c668 chr *mid;
691 mid = shortest(v, d, begin, begin, end, NULL, NULL);
693 mid = longest(v, d, begin, end, NULL);
695 if (mid == NULL) {
700 MDEBUG(("tentative midpoint %ld\n", LOFF(mid)));
706 while (longest(v, d2, mid, end, NULL) != end) {
711 if (mid == stop) {
722 mid = shortest(v, d, begin, mid+1, end, NULL, NULL);
724 mid
658 chr *mid; local
835 chr *mid; local
953 chr *mid; local
[all...]
/macosx-10.10/tcl-105/tcl84/tcl/generic/
H A Dregexec.c586 chr *mid; local
606 mid = shortest(v, d, begin, begin, end, (chr **)NULL,
609 mid = longest(v, d, begin, end, (int *)NULL);
610 if (mid == NULL) {
615 MDEBUG(("tentative midpoint %ld\n", LOFF(mid)));
618 while (longest(v, d2, mid, end, (int *)NULL) != end) {
620 if (mid == stop) {
628 mid = shortest(v, d, begin, mid+1, end, (chr **)NULL,
631 mid
749 chr *mid; local
844 chr *mid; local
[all...]
/macosx-10.10/pcre-7/pcre/
H A Dpcre_get.c88 int mid = (top + bot) / 2; local
89 uschar *entry = nametable + entrysize*mid;
92 if (c > 0) bot = mid + 1; else top = mid;
139 int mid = (top + bot) / 2; local
140 uschar *entry = nametable + entrysize*mid;
160 if (c > 0) bot = mid + 1; else top = mid;
/macosx-10.10/tcl-105/tk/tk/library/demos/
H A Dradio.tcl28 labelframe $w.mid -pady 2 -text "Color" -padx 2
36 grid $w.mid -column 1 -row 1 -pady .5c -padx .5c -rowspan 2
48 radiobutton $w.mid.$lower -text $c -variable color \
50 -command "$w.mid configure -fg \$color" \
52 pack $w.mid.$lower -side top -pady 2 -fill x
H A Dimage2.tcl82 frame $w.mid
83 pack $w.mid -fill both -expand 1
108 grid $w.dir - -sticky ew -padx 1m -pady 1m -in $w.mid
109 grid $w.f $w.image -sticky nw -padx 1m -pady 1m -in $w.mid
110 grid columnconfigure $w.mid 1 -weight 1
/macosx-10.10/tcl-105/tk84/tk/library/demos/
H A Dradio.tcl30 labelframe $w.mid -pady 2 -text "Color" -padx 2
32 pack $w.left $w.mid $w.right -side left -expand yes -pady .5c -padx .5c
42 radiobutton $w.mid.$lower -text $c -variable color \
44 -command "$w.mid configure -fg \$color"
45 pack $w.mid.$lower -side top -pady 2 -fill x
H A Dimage2.tcl77 frame $w.mid
78 pack $w.mid -fill both -expand 1
102 grid $w.dir - -sticky ew -padx 1m -pady 1m -in $w.mid
103 grid $w.f $w.image -sticky nw -padx 1m -pady 1m -in $w.mid
104 grid columnconfigure $w.mid 1 -weight 1
/macosx-10.10/libunwind-35.3/src/
H A DUnwindCursor.hpp558 uint32_t mid = (low + high)/2; local
559 //if ( log ) fprintf(stderr, "\tmid=%d, low=%d, high=%d, *mid=0x%08X\n", mid, low, high, topIndex.functionOffset(mid));
560 if ( topIndex.functionOffset(mid) <= targetFunctionOffset ) {
561 if ( (mid == last) || (topIndex.functionOffset(mid+1) > targetFunctionOffset) ) {
562 low = mid;
566 low = mid+1;
570 high = mid;
597 uint32_t mid = (low + high)/2; local
641 uint32_t mid = (low + high)/2; local
693 uint32_t mid = (low + high)/2; local
[all...]

Completed in 179 milliseconds

123456789