Home
last modified time | relevance | path

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

1234

/PHP-7.4/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…
/PHP-7.4/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.4/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.4/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 Dstring_offset_int_min_max.phpt2 Accessing PHP_INT_MAX and PHP_INT_MIN as string offsets
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
/PHP-7.4/ext/pcre/
H A Dphp_pcre.c1067 subpats, subject, offsets[2*i], offsets[2*i+1], in populate_subpat_array()
1078 &val, subject, offsets[2*i], offsets[2*i+1], unmatched_as_null); in populate_subpat_array()
1320 if (offsets[1] < offsets[0]) { in php_pcre_match_impl()
1335 &match_sets[i], subject, offsets[2*i], offsets[2*i+1], in php_pcre_match_impl()
1576 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()
2607 if (UNEXPECTED(offsets[1] < offsets[0])) { in php_pcre_split_impl()
[all …]
/PHP-7.4/ext/pcre/pcre2lib/sljit/
H A DsljitNativeMIPS_32.c457 sljit_u8 offsets[4]; in call_with_args() local
511 if (offsets[arg_count] < 254) in call_with_args()
517 if (offsets[arg_count] < 254) in call_with_args()
522 if (offsets[arg_count - 1] >= 16) in call_with_args()
551 if (offsets[arg_count] == 254) in call_with_args()
553 else if (offsets[arg_count] < 16) in call_with_args()
554 ins = LW | S(SLJIT_SP) | TA(4 + (offsets[arg_count] >> 2)) | IMM(offsets[arg_count]); in call_with_args()
558 if (offsets[arg_count] == 254) in call_with_args()
560 else if (offsets[arg_count] < 16) { in call_with_args()
563 prev_ins = LW | S(SLJIT_SP) | TA(4 + (offsets[arg_count] >> 2)) | IMM(offsets[arg_count]); in call_with_args()
[all …]
/PHP-7.4/ext/spl/tests/
H A DArrayObject_illegal_offset_leak.phpt2 Assignments to illegal ArrayObject offsets shouldn't leak
/PHP-7.4/Zend/tests/generators/
H A Dyield_array_offset_by_ref.phpt2 Array offsets can be yielded by reference
/PHP-7.4/ext/intl/tests/
H A Dbug74264.phpt2 Bug #74264 (grapheme_sttrpos() broken for negative offsets)

Completed in 43 milliseconds

1234