Home
last modified time | relevance | path

Searched refs:offsets (Results 1 – 25 of 81) sorted by relevance

1234

/PHP-8.1/ext/standard/tests/strings/
H A Dstrripos_basic2.phpt10 echo "\n-- regular string for haystack & needle, with various offsets --\n";
16 echo "\n-- heredoc string for haystack & needle, with various offsets --\n";
23 echo "\n-- various +ve offsets --\n";
28 echo "\n-- various -ve offsets --\n";
36 -- regular string for haystack & needle, with various offsets --
42 -- heredoc string for haystack & needle, with various offsets --
49 -- various +ve offsets --
54 -- various -ve offsets --
H A Dstrripos_variation3.phpt6 * with various needles & offsets
17 echo "\n-- Multi line strings with +ve offsets -- \n";
22 echo "\n-- Multi line strings with +ve offsets -- \n";
38 -- Multi line strings with +ve offsets --
43 -- Multi line strings with +ve offsets --
H A Dstrrpos_basic2.phpt11 //regular string for haystack & needle, with various offsets
17 //heredoc string for haystack & needle, with various offsets
24 //various offsets
H A Dstripos_basic2.phpt11 //regular string for haystack & needle, with various offsets
20 //heredoc string for haystack & needle, with various offsets
29 //various offsets
H A Dstrrpos_variation8.phpt6 * and with various needles & offsets
13 /* loop through to consider various offsets in getting the position of the needle in haystack strin…
/PHP-8.1/ext/standard/tests/file/
H A Dbug39673.phpt2 Bug #39673 (file_get_contents causes bus error on certain offsets)
11 $offsets = array(
23 foreach ($offsets as $offset) {
H A Dfpassthru_variation.phpt7 echo "--- Testing with different offsets ---\n";
17 /* Positive offsets */
27 /* Negative offsets, the file pointer should be at the end of file
71 --- Testing with different offsets ---
/PHP-8.1/ext/date/tests/
H A Ddate_create-relative.phpt2 date_create() with large relative offsets
14 // Most offsets tested in strtotime-relative.phpt. These are tests for dates outside the 32-bit ran…
15 $offsets = array(
45 foreach ($offsets AS $offset) {
H A Dstrtotime-relative.phpt2 strtotime() with relative offsets
10 $offsets = array(
45 foreach ($offsets AS $offset) {
H A Dbug44780.phpt2 Bug #44780 (some time zone offsets not recognized by timezone_name_from_abbr)
H A Dtimezone_name_from_abbr_basic1.phpt28 echo "-- Tests with invalid offsets --\n";
48 -- Tests with invalid offsets --
/PHP-8.1/ext/pcre/
H A Dphp_pcre.c1073 subpats, subject, offsets[2*i], offsets[2*i+1], in populate_subpat_array()
1084 &val, subject, offsets[2*i], offsets[2*i+1], unmatched_as_null); in populate_subpat_array()
1326 if (offsets[1] < offsets[0]) { in php_pcre_match_impl()
1341 &match_sets[i], subject, offsets[2*i], offsets[2*i+1], in php_pcre_match_impl()
1577 result_str = zend_string_init(&subject[offsets[0]], offsets[1] - offsets[0], 0); in preg_do_repl_func()
1686 if (UNEXPECTED(offsets[1] < offsets[0])) { in php_pcre_replace_impl()
1718 new_len += offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1761 match_len = offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1940 if (UNEXPECTED(offsets[1] < offsets[0])) { in php_pcre_replace_func_impl()
2611 if (UNEXPECTED(offsets[1] < offsets[0])) { in php_pcre_split_impl()
[all …]
/PHP-8.1/Zend/tests/
H A Dbug49866.phpt2 Bug #49866 (Making reference on string offsets crashes PHP)
11 Fatal error: Uncaught Error: Cannot create references to/from string offsets in %sbug49866.php:3
H A Dstring_offset_errors.phpt26 Cannot return string offsets by reference
27 Cannot create references to/from string offsets
H A Dbug70089.phpt33 string(27) "Cannot unset string offsets"
35 string(41) "Cannot increment/decrement string offsets"
H A Djmpznz_relative_offsets.phpt2 Check for correct treatment of relative JMPZNZ offsets when copying opline
H A Dstr_offset_002.phpt9 Fatal error: Uncaught Error: Cannot create references to/from string offsets in %sstr_offset_002.ph…
H A Dstring_offset_int_min_max.phpt2 Accessing PHP_INT_MAX and PHP_INT_MIN as string offsets
H A Dlist_assign_ref_string_offset_error.phpt13 Fatal error: Uncaught Error: Cannot create references to/from string offsets in %s:%d
H A Dbug47704.phpt2 Bug #47704 (crashes on some "bad" operations with string offsets)
H A Dbug69889.phpt2 Bug #69889: Null coalesce operator doesn't work for string offsets
/PHP-8.1/ext/pcre/pcre2lib/sljit/
H A DsljitNativeMIPS_32.c454 sljit_u8 offsets[4]; in call_with_args() local
508 if (offsets[arg_count] < 254) in call_with_args()
514 if (offsets[arg_count] < 254) in call_with_args()
519 if (offsets[arg_count - 1] >= 16) in call_with_args()
548 if (offsets[arg_count] == 254) in call_with_args()
550 else if (offsets[arg_count] < 16) in call_with_args()
551 ins = LW | S(SLJIT_SP) | TA(4 + (offsets[arg_count] >> 2)) | IMM(offsets[arg_count]); in call_with_args()
555 if (offsets[arg_count] == 254) in call_with_args()
557 else if (offsets[arg_count] < 16) { in call_with_args()
560 prev_ins = LW | S(SLJIT_SP) | TA(4 + (offsets[arg_count] >> 2)) | IMM(offsets[arg_count]); in call_with_args()
[all …]
/PHP-8.1/Zend/tests/generators/
H A Dyield_array_offset_by_ref.phpt2 Array offsets can be yielded by reference
/PHP-8.1/ext/intl/tests/
H A Dbug74264.phpt2 Bug #74264 (grapheme_sttrpos() broken for negative offsets)
/PHP-8.1/ext/mbstring/tests/
H A Dbug43841.phpt11 $offsets = array(-25, -24, -13, -12);
16 foreach ($offsets as $i) {

Completed in 38 milliseconds

1234