Home
last modified time | relevance | path

Searched refs:offset (Results 101 – 125 of 700) sorted by relevance

12345678910>>...28

/PHP-7.4/Zend/tests/
H A Dbug80972.phpt2 Bug #80972: Memory exhaustion on invalid string offset
27 * the offset is invalid */
39 Illegal string offset '1.0E+121'
40 Illegal string offset 'wrong'
H A Dbug40833.phpt38 function offsetUnset($offset)
44 function offsetSet($offset, $value)
48 function offsetGet($offset)
53 function offsetExists($offset)
H A Dbug79947.phpt2 Bug #79947: Memory leak on invalid offset type in compound assignment
11 Warning: Illegal offset type in %s on line %d
H A Dbug39304.phpt2 Bug #39304 (Segmentation fault with list unpacking of string offset)
10 Notice: Uninitialized string offset: 0 in %sbug39304.php on line %d
H A Dlist_006.phpt10 Notice: Undefined offset: 0 in %s on line %d
12 Notice: Undefined offset: 1 in %s on line %d
H A Dstring_offset_int_min_max.phpt12 Notice: Uninitialized string offset: %d in %s on line %d
15 Notice: Uninitialized string offset: -%d in %s on line %d
/PHP-7.4/ext/mbstring/tests/
H A Dmb_strrpos_variation5.phpt10 /* Prototype : int mb_strrpos(string $haystack, string $needle [, int $offset [, string $encoding]…
47 …Passing the encoding as third parameter is deprecated. Use an explicit zero offset in %s on line %d
51 …Passing the encoding as third parameter is deprecated. Use an explicit zero offset in %s on line %d
57 …Passing the encoding as third parameter is deprecated. Use an explicit zero offset in %s on line %d
61 …Passing the encoding as third parameter is deprecated. Use an explicit zero offset in %s on line %d
67 …Passing the encoding as third parameter is deprecated. Use an explicit zero offset in %s on line %d
71 …Passing the encoding as third parameter is deprecated. Use an explicit zero offset in %s on line %d
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_bindparam_types.phpt31 printf("[%03d/%s + 1] %s\n", $offset, ($native) ? 'native' : 'emulated',
36 printf("[%03d/%s + 2] %s\n", $offset, ($native) ? 'native' : 'emulated',
44 printf("[%03d/%s + 3] %s\n", $offset, ($native) ? 'native' : 'emulated',
49 printf("[%03d/%s + 4] %s\n", $offset, ($native) ? 'native' : 'emulated',
55 printf("[%03d/%s + 5] %s\n", $offset, ($native) ? 'native' : 'emulated',
63 $offset, ($native) ? 'native' : 'emulated',
71 printf("[%03d/%s + 7] %s\n", $offset, ($native) ? 'native' : 'emulated',
78 $offset, ($native) ? 'native' : 'emulated',
85 $offset, ($native) ? 'native' : 'emulated',
94 function pdo_mysql_stmt_bindparam_types($db, $offset, $sql_type, $value) {
[all …]
H A Dpdo_mysql_fetch_both.phpt15 function fetch($offset, &$db, $query, $expect = null) {
29 printf("[%03d] Suspicious FETCH_BOTH result, dumping\n", $offset);
35 printf("[%03d] Expected differes from returned data, dumping\n", $offset);
43 $offset,
/PHP-7.4/ext/standard/tests/strings/
H A Dsubstr_count_error.phpt15 /* offset before start */
18 /* offset > size of the string */
21 /* Using offset and length to go beyond the size of the string:
22 Warning message expected, as length+offset > length of string */
25 /* Invalid offset argument */
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_stmt_result_metadata_sqltests.phpt19 $offset, $sql,
32 $offset + 1, $sql);
36 $offset + 2, $sql);
42 $offset + 3, $sql,
79 $offset + 5, $sql);
90 $offset + 6, $sql,
98 $offset + 7, $sql,
103 $offset + 8, $sql,
110 $offset + 9, $sql,
116 $offset + 10, $sql,
[all …]
H A Dmysqli_reap_async_query.phpt39 function poll_async($offset, $link, $links, $errors, $reject, $exp_ready, $use_oo_syntax) {
43 $offset, $exp_ready, $tmp);
52 printf("[%03d + 2] %s\n", $offset, var_export($res->fetch_assoc(), true));
55 $offset, mysqli_errno($mysqli), mysqli_error($mysqli));
57 … printf("[%03d + 4] Cannot fetch and no error set - non resultset query (no SELECT)!\n", $offset);
63 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
67 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
H A Dmysqli_fetch_assoc_zerofill.phpt14 function zerofill($offset, $link, $datatype, $insert = 1) {
25 $offset, mysqli_errno($link), mysqli_error($link));
31 $offset, mysqli_errno($link), mysqli_error($link));
45 printf("[%03d] Expecting '%s' got '%s'\n", $offset, $expected, $row['zero']);
50 printf("[%03d] Length reported is too small to run test\n", $offset);
H A Dmysqli_fetch_array_large.phpt14 function mysqli_fetch_array_large($offset, $link, $package_size) {
35 … printf("[%03d + 1] len = %d, [%d] %s\n", $offset, $len, mysqli_errno($link), mysqli_error($link));
41 … printf("[%03d + 2] len = %d, [%d] %s\n", $offset, $len, mysqli_errno($link), mysqli_error($link));
48 … $offset, $random_char, $row['label'], $len, mysqli_errno($link), mysqli_error($link));
55 … printf("[%03d + 4] len = %d, [%d] %s\n", $offset, $len, mysqli_errno($link), mysqli_error($link));
61 …printf("[%03d + 5] len = %d, [%d] %s, [%d] %s\n", $offset, $len, mysqli_stmt_errno($stmt), mysqli_…
67 …printf("[%03d + 6] len = %d, [%d] %s, [%d] %s\n", $offset, $len, mysqli_stmt_errno($stmt), mysqli_…
74 … $offset, $random_char, $label, $len, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
121 $offset = 3;
135 if (!mysqli_fetch_array_large($offset++, $link, $package_size)) {
/PHP-7.4/ext/standard/tests/file/
H A Dinclude_userstream_003.phpt53 function stream_seek($offset, $whence)
56 return fseek($this->stream, $offset, $whence);
60 if ($offset < $this->data && $offset >= 0) {
61 $this->pos = $offset;
68 if ($offset >= 0) {
69 $this->pos += $offset;
76 if (strlen($this->data) + $offset >= 0) {
77 $this->pos = strlen($this->data) + $offset;
/PHP-7.4/ext/iconv/tests/
H A Diconv_strpos.phpt14 function foo($haystk, $needle, $offset, $to_charset = false, $from_charset = false)
19 var_dump(strpos($haystk, $needle, $offset));
21 var_dump(iconv_strpos($haystk, $needle, $offset, $to_charset));
23 var_dump(iconv_strpos($haystk, $needle, $offset));
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_read_buffer.c40 memcpy(dest, buffer->data + buffer->offset, count); in mysqlnd_read_buffer_read()
41 buffer->offset += count; in mysqlnd_read_buffer_read()
84 ret->offset = 0; in mysqlnd_create_read_buffer()
/PHP-7.4/ext/intl/resourcebundle/
H A Dresourcebundle_class.c179 static void resourcebundle_array_fetch(zval *object, zval *offset, zval *return_value, int fallback) in resourcebundle_array_fetch() argument
190 if(Z_TYPE_P(offset) == IS_LONG) { in resourcebundle_array_fetch()
192 meindex = (int32_t)Z_LVAL_P(offset); in resourcebundle_array_fetch()
194 } else if(Z_TYPE_P(offset) == IS_STRING) { in resourcebundle_array_fetch()
195 mekey = Z_STRVAL_P(offset); in resourcebundle_array_fetch()
233 zval *resourcebundle_array_get(zval *object, zval *offset, int type, zval *rv) in resourcebundle_array_get() argument
235 if(offset == NULL) { in resourcebundle_array_get()
239 resourcebundle_array_fetch(object, offset, rv, 1); in resourcebundle_array_get()
258 zval * offset; in ZEND_END_ARG_INFO() local
267 resourcebundle_array_fetch(object, offset, return_value, fallback); in ZEND_END_ARG_INFO()
[all …]
/PHP-7.4/ext/spl/tests/
H A Dbug53362.phpt7 public function offsetSet($offset, $value) {
8 var_dump($offset);
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_trace_mach.c83 size_t offset = ((uintptr_t) (addr) % fpm_pagesize); in fpm_trace_get_long() local
84 vm_offset_t base = (uintptr_t) (addr) - offset; in fpm_trace_get_long()
92 *data = * (long *) (local_page + offset); in fpm_trace_get_long()
/PHP-7.4/ext/standard/
H A Dflock_compat.c120 OVERLAPPED offset =
129 UnlockFileEx(hdl, 0, low, high, &offset);
134 0, low, high, &offset))
139 0, low, high, &offset))
/PHP-7.4/ext/fileinfo/tests/
H A Dbug61964.phpt52 Notice: finfo_open(): Warning: offset `string' invalid in %sbug61964.php on line %d
54 Notice: finfo_open(): Warning: offset ` Core' invalid in %sbug61964.php on line %d
56 Notice: finfo_open(): Warning: offset ` Me' invalid in %sbug61964.php on line %d
58 Notice: finfo_open(): Warning: offset `a' invalid in %sbug61964.php on line %d
60 Notice: finfo_open(): Warning: offset `b' invalid in %sbug61964.php on line %d
H A Dbug61964-mb.phpt52 Notice: finfo_open(): Warning: offset `string' invalid in %sbug61964-mb.php on line %d
54 Notice: finfo_open(): Warning: offset ` Core' invalid in %sbug61964-mb.php on line %d
56 Notice: finfo_open(): Warning: offset ` Me' invalid in %sbug61964-mb.php on line %d
58 Notice: finfo_open(): Warning: offset `a' invalid in %sbug61964-mb.php on line %d
60 Notice: finfo_open(): Warning: offset `b' invalid in %sbug61964-mb.php on line %d
/PHP-7.4/ext/intl/tests/
H A Dtimezone_getErrorCodeMessage_basic.phpt7 /* INF being an invalid offset depends on UB in float->int cast behavior. */
32 Warning: IntlTimeZone::getOffset(): intltz_get_offset: error obtaining offset in %s on line %d
35 string(67) "intltz_get_offset: error obtaining offset: U_ILLEGAL_ARGUMENT_ERROR"
/PHP-7.4/ext/oci8/tests/
H A Dbug51291_1.phpt151 ["offset"]=>
162 ["offset"]=>
177 ["offset"]=>
192 ["offset"]=>
205 ["offset"]=>
216 ["offset"]=>
230 ["offset"]=>
243 ["offset"]=>
257 ["offset"]=>
271 ["offset"]=>
[all …]

Completed in 36 milliseconds

12345678910>>...28