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

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dqueue.c856 int low, mid, hi, val; local
862 mid = (low + hi) / 2;
863 val = Comp(key, index[ mid ]);
866 hi = mid - 1;
869 low = mid + 1;
872 return mid;
/PHP_TRUNK/scripts/dev/
H A Dcheck_parameters.php87 $mid = intval(($left + $right)/2); variable
88 $val = $lines_offset[$mid];
91 if (++$mid > $count || $lines_offset[$mid] > $offset) {
92 $line = $mid;
95 $left = $mid;
98 if ($lines_offset[--$mid] < $offset) {
99 $line = $mid+1;
102 $right = $mid;
105 $line = $mid
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_get.c118 int mid = (top + bot) / 2; local
119 pcre_uchar *entry = nametable + entrysize*mid;
123 if (c > 0) bot = mid + 1; else top = mid;
202 int mid = (top + bot) / 2; local
203 pcre_uchar *entry = nametable + entrysize*mid;
234 if (c > 0) bot = mid + 1; else top = mid;
/PHP_TRUNK/ext/date/lib/
H A Dparse_tz.c273 int mid = ((unsigned)left + right) >> 1; local
274 int cmp = strcasecmp(timezone, tzdb->index[mid].id);
277 right = mid - 1;
279 left = mid + 1;
281 (*tzf) = &(tzdb->data[tzdb->index[mid].pos]);
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c6906 ** sqlite3_backup_step(), the source database may be modified mid-way
97562 int lwr, upr, mid; /* Binary search bounds */ local
[all...]
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcdf.c389 cdf_secid_t *msa, mid, sec; local
390 size_t nsatpersec = (ss / sizeof(mid)) - 1;
426 mid = h->h_secid_first_sector_in_master_sat;
428 if (mid < 0)
435 if (cdf_read_sector(info, msa, 0, ss, h, mid) != (ssize_t)ss) {
436 DPRINTF(("Reading master sector %d", mid));
456 mid = CDF_TOLE4((uint32_t)msa[nsatpersec]);

Completed in 156 milliseconds