Home
last modified time | relevance | path

Searched refs:mid (Results 1 – 25 of 28) sorted by relevance

12

/php-src/scripts/dev/
H A Dcheck_parameters.php78 $mid = intval(($left + $right)/2);
79 $val = $lines_offset[$mid];
82 if (++$mid > $count || $lines_offset[$mid] > $offset) {
83 $line = $mid;
86 $left = $mid;
89 if ($lines_offset[--$mid] < $offset) {
90 $line = $mid+1;
93 $right = $mid;
96 $line = $mid+1;
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_script_run.c309 int mid; in PRIV() local
319 mid = (top + bot) / 2; in PRIV()
320 if (c <= PRIV(ucd_digit_sets)[mid]) top = mid; else bot = mid; in PRIV()
H A Dpcre2_substring.c493 uint16_t mid = (top + bot) / 2; in pcre2_substring_nametable_scan() local
494 PCRE2_SPTR entry = nametable + entrysize*mid; in pcre2_substring_nametable_scan()
519 if (c > 0) bot = mid + 1; else top = mid; in pcre2_substring_nametable_scan()
/php-src/ext/dom/tests/
H A DDOMXPath_quote.phpt53 '\'foo"bar' => 'concat("\'foo",\'"bar\')', // both; double quotes in mid-string
54 '\'foo"bar"baz' => 'concat("\'foo",\'"bar"baz\')', // multiple double quotes in mid-string
59 '\'foo""bar' => 'concat("\'foo",\'""bar\')', // run of double quotes in mid-string
H A DDOMCharacterData_substringData_basic_001.phpt2 __DOMCharacterData::substringData pull mid section of string
/php-src/Zend/tests/
H A Dns_trailing_comma_error_05.phpt2 Group use declarations mustn't contain two commas mid-list
H A Dns_trailing_comma_error_08.phpt2 Unmixed group use declarations mustn't contain two commas mid-list
/php-src/ext/standard/tests/url/
H A Dbug47174.phpt2 Bug #47174 (base64_decode() interprets pad char in mid string as terminator)
/php-src/Zend/tests/generators/finally/
H A Dfinally_ran_on_close.phpt2 finally is run even if a generator is closed mid-execution
/php-src/ext/date/lib/
H A Dparse_tz.c589 int mid = ((unsigned)left + right) >> 1; in seek_to_tz_position() local
590 int cmp = timelib_strcasecmp(timezone, tzdb->index[mid].id); in seek_to_tz_position()
593 right = mid - 1; in seek_to_tz_position()
595 left = mid + 1; in seek_to_tz_position()
597 (*tzf) = &(tzdb->data[tzdb->index[mid].pos]); in seek_to_tz_position()
842 uint32_t mid = (left + right) >> 1; in timelib_fetch_timezone_offset() local
844 if (ts < tz->trans[mid]) { in timelib_fetch_timezone_offset()
845 right = mid; in timelib_fetch_timezone_offset()
847 left = mid; in timelib_fetch_timezone_offset()
/php-src/ext/dom/lexbor/lexbor/encoding/
H A Dencode.c859 size_t mid, left, right; in lxb_encoding_encode_gb18030_range() local
871 mid = 0; in lxb_encoding_encode_gb18030_range()
874 mid = left + (right - left) / 2; in lxb_encoding_encode_gb18030_range()
876 if (range[mid].codepoint < cp) { in lxb_encoding_encode_gb18030_range()
877 left = mid + 1; in lxb_encoding_encode_gb18030_range()
883 else if (range[mid].codepoint > cp) { in lxb_encoding_encode_gb18030_range()
884 right = mid - 1; in lxb_encoding_encode_gb18030_range()
887 mid = right; in lxb_encoding_encode_gb18030_range()
896 return range[mid].index + cp - range[mid].codepoint; in lxb_encoding_encode_gb18030_range()
H A Ddecode.c1495 size_t mid, left, right; in lxb_encoding_decode_gb18030_range() local
1517 mid = 0; in lxb_encoding_decode_gb18030_range()
1520 mid = left + (right - left) / 2; in lxb_encoding_decode_gb18030_range()
1522 if (range[mid].index < index) { in lxb_encoding_decode_gb18030_range()
1523 left = mid + 1; in lxb_encoding_decode_gb18030_range()
1529 else if (range[mid].index > index) { in lxb_encoding_decode_gb18030_range()
1530 right = mid - 1; in lxb_encoding_decode_gb18030_range()
1533 mid = right; in lxb_encoding_decode_gb18030_range()
1542 return range[mid].codepoint + index - range[mid].index; in lxb_encoding_decode_gb18030_range()
/php-src/ext/fileinfo/libmagic/
H A Dcdf.c448 cdf_secid_t *msa, mid, sec; in cdf_read_sat() local
449 size_t nsatpersec = (ss / sizeof(mid)) - 1; in cdf_read_sat()
485 mid = h->h_secid_first_sector_in_master_sat; in cdf_read_sat()
487 if (mid < 0) in cdf_read_sat()
493 if (cdf_read_sector(info, msa, 0, ss, h, mid) != in cdf_read_sat()
495 DPRINTF(("Reading master sector %d", mid)); in cdf_read_sat()
515 mid = CDF_TOLE4(CAST(uint32_t, msa[nsatpersec])); in cdf_read_sat()
/php-src/ext/phar/tests/
H A Dphar_createdefaultstub.phpt77 'mid' => 'audio/midi',
371 'mid' => 'audio/midi',
673 'mid' => 'audio/midi',
H A Dphar_setdefaultstub.phpt97 'mid' => 'audio/midi',
392 'mid' => 'audio/midi',
687 'mid' => 'audio/midi',
/php-src/ext/phar/tests/files/
H A Dopenssl.phar42 'mid' => 'audio/midi',
H A Dopenssl256.phar42 'mid' => 'audio/midi',
H A Dopenssl512.phar42 'mid' => 'audio/midi',
H A Dinclude_path2.phar42 'mid' => 'audio/midi',
H A Dnophar.phar42 'mid' => 'audio/midi',
/php-src/ext/phar/tests/cache_list/files/
H A Dnophar.phar42 'mid' => 'audio/midi',
H A Dopenssl.phar42 'mid' => 'audio/midi',
/php-src/ext/standard/tests/strings/
H A Dget_html_translation_table_basic5.phpt1038 [∣] => &mid;
H A Dhtml_entity_decode_html5.phpt1360 "&mid;",
3494 &mid; => ∣ e288a3
/php-src/ext/standard/html_tables/
H A Dents_html5.txt1355 mid 02223

Completed in 91 milliseconds

12