Home
last modified time | relevance | path

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

1234

/PHP-7.3/ext/standard/tests/strings/
H A Dstrripos_basic2.phpt15 echo "\n-- regular string for haystack & needle, with various offsets --\n";
21 echo "\n-- heredoc string for haystack & needle, with various offsets --\n";
28 echo "\n-- various +ve offsets --\n";
33 echo "\n-- various -ve offsets --\n";
42 -- regular string for haystack & needle, with various offsets --
48 -- heredoc string for haystack & needle, with various offsets --
55 -- various +ve offsets --
60 -- various -ve offsets --
H A Dstrripos_variation3.phpt11 * with various needles & offsets
22 echo "\n-- Multi line strings with +ve offsets -- \n";
27 echo "\n-- Multi line strings with +ve offsets -- \n";
44 -- Multi line strings with +ve offsets --
49 -- Multi line strings with +ve offsets --
H A Dstrrpos_basic2.phpt16 //regular string for haystack & needle, with various offsets
22 //heredoc string for haystack & needle, with various offsets
29 //various offsets
H A Dstripos_basic2.phpt16 //regular string for haystack & needle, with various offsets
25 //heredoc string for haystack & needle, with various offsets
34 //various offsets
H A Dstrrpos_variation8.phpt11 * and with various needles & offsets
18 /* loop through to consider various offsets in getting the position of the needle in haystack strin…
H A Dstripos_variation14.phpt33 $offsets = array (
79 for($index = 0; $index < count($offsets); $index ++) {
81 var_dump( stripos($haystack, $needle, $offsets[$index]) );
/PHP-7.3/ext/pcre/
H A Dphp_pcre.c1151 if (offsets[1] < offsets[0]) { in php_pcre_match_impl()
1166 offsets[(i<<1)+1] - offsets[i<<1], offsets[i<<1], NULL, unmatched_as_null); in php_pcre_match_impl()
1245 offsets[(i<<1)+1] - offsets[i<<1], offsets[i<<1], NULL, unmatched_as_null); in php_pcre_match_impl()
1276 offsets[(i<<1)+1] - offsets[i<<1], in php_pcre_match_impl()
1290 offsets[(i<<1)+1] - offsets[i<<1]); in php_pcre_match_impl()
1309 offsets[(i<<1)+1] - offsets[i<<1], in php_pcre_match_impl()
1504 add_next_index_stringl(&arg, &subject[offsets[i<<1]], offsets[(i<<1)+1] - offsets[i<<1]); in preg_do_repl_func()
1532 result_str = zend_string_init(&subject[offsets[0]], offsets[1] - offsets[0], 0); in preg_do_repl_func()
1637 if (UNEXPECTED(offsets[1] < offsets[0])) { in php_pcre_replace_impl()
1893 if (UNEXPECTED(offsets[1] < offsets[0])) { in php_pcre_replace_func_impl()
[all …]
/PHP-7.3/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.phpt13 echo "--- Testing with different offsets ---\n";
23 /* Positive offsets */
33 /* Negative offsets, the file pointer should be at the end of file
77 --- Testing with different offsets ---
/PHP-7.3/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.phpt34 echo "-- Tests with invalid offsets --\n";
55 -- Tests with invalid offsets --
/PHP-7.3/Zend/tests/
H A Dbug49866.phpt2 Bug #49866 (Making reference on string offsets crashes PHP)
10 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.phpt35 string(27) "Cannot unset string offsets"
37 string(41) "Cannot increment/decrement string offsets"
H A Dstr_offset_002.phpt9 Fatal error: Uncaught Error: Cannot create references to/from string offsets in %sstr_offset_002.ph…
H A Dbug47704.phpt2 Bug #47704 (crashes on some "bad" operations with 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 Dbug69889.phpt2 Bug #69889: Null coalesce operator doesn't work for string offsets
H A Dbug73792.phpt17 Fatal error: Uncaught Error: Cannot iterate on string offsets by reference in %sbug73792.php:4
H A Dneg_num_string.phpt2 Test edge-cases for negative num strings in interpolated string offsets
/PHP-7.3/ext/pcre/pcre2lib/sljit/
H A DsljitNativeMIPS_32.c449 sljit_u8 offsets[4]; in call_with_args() local
503 if (offsets[arg_count] < 254) in call_with_args()
509 if (offsets[arg_count] < 254) in call_with_args()
514 if (offsets[arg_count - 1] >= 16) in call_with_args()
543 if (offsets[arg_count] == 254) in call_with_args()
545 else if (offsets[arg_count] < 16) in call_with_args()
546 ins = LW | S(SLJIT_SP) | TA(4 + (offsets[arg_count] >> 2)) | IMM(offsets[arg_count]); in call_with_args()
550 if (offsets[arg_count] == 254) in call_with_args()
552 else if (offsets[arg_count] < 16) { in call_with_args()
555 prev_ins = LW | S(SLJIT_SP) | TA(4 + (offsets[arg_count] >> 2)) | IMM(offsets[arg_count]); in call_with_args()
[all …]
/PHP-7.3/ext/spl/tests/
H A DArrayObject_illegal_offset_leak.phpt2 Assignments to illegal ArrayObject offsets shouldn't leak
/PHP-7.3/Zend/tests/generators/
H A Dyield_array_offset_by_ref.phpt2 Array offsets can be yielded by reference

Completed in 30 milliseconds

1234