Home
last modified time | relevance | path

Searched refs:offset (Results 126 – 150 of 706) sorted by relevance

12345678910>>...29

/PHP-8.0/ext/standard/tests/file/
H A Duserstreams.phpt125 function stream_seek($offset, $whence)
129 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
130 $this->position = $offset;
137 if ($offset >= 0) {
216 $offset = rand(0, $DATALEN - 1);
217 $position = $offset;
220 $offset = -rand(0, $DATALEN - 1);
221 $position = $DATALEN + $offset;
224 $offset = rand(0, $DATALEN - 1);
225 $offset -= $position;
[all …]
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-8.0/ext/calendar/tests/
H A Djddayofweek.phpt11 for ($offset = 0; $offset <= 7; $offset++) {
12 echo jddayofweek($jd + $offset, $mode). "\n";
/PHP-8.0/Zend/tests/
H A Dlist_keyed_evaluation_order.phpt11 …IndexableRetrievable("E", new Indexable(["A" => "value for offset A", "C" => "value for offset C"]…
32 Offset B set to value for offset A.
35 Offset D set to value for offset C.
H A Dbug40833.phpt38 function offsetUnset($offset)
44 function offsetSet($offset, $value)
48 function offsetGet($offset)
53 function offsetExists($offset)
H A Dbug80972.phpt2 Bug #80972: Memory exhaustion on invalid string offset
27 * the offset is invalid */
39 Cannot access offset of type string on string
40 Cannot access offset of type string on string
H A D036.phpt2 Trying to use lambda in array offset
14 Illegal offset type
/PHP-8.0/main/streams/
H A Dmmap.c21 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mm… in _php_stream_mmap_range() argument
25 range.offset = offset; in _php_stream_mmap_range()
/PHP-8.0/ext/spl/tests/
H A Dbug66834.phpt9 public function offsetExists($offset) {
11 return parent::offsetExists($offset);
14 public function offsetGet($offset) {
16 return parent::offsetGet($offset);
23 public function offsetExists($offset) {
25 return parent::offsetExists($offset);
32 public function offsetGet($offset) {
34 return parent::offsetGet($offset);
41 public function offsetGet($offset)
43 return parent::offsetGet(str_rot13($offset));
[all …]
H A Dbug53362.phpt7 public function offsetSet($offset, $value) {
8 var_dump($offset);
/PHP-8.0/ext/intl/resourcebundle/
H A Dresourcebundle_class.c166 static void resourcebundle_array_fetch(zend_object *object, zval *offset, zval *return_value, int f… in resourcebundle_array_fetch() argument
178 if(Z_TYPE_P(offset) == IS_LONG) { in resourcebundle_array_fetch()
180 meindex = (int32_t)Z_LVAL_P(offset); in resourcebundle_array_fetch()
182 } else if(Z_TYPE_P(offset) == IS_STRING) { in resourcebundle_array_fetch()
183 mekey = Z_STRVAL_P(offset); in resourcebundle_array_fetch()
221 zval *resourcebundle_array_get(zend_object *object, zval *offset, int type, zval *rv) in resourcebundle_array_get() argument
223 if(offset == NULL) { in resourcebundle_array_get()
227 resourcebundle_array_fetch(object, offset, rv, 1); in resourcebundle_array_get()
236 zval * offset; in PHP_FUNCTION() local
243 resourcebundle_array_fetch(Z_OBJ_P(object), offset, return_value, fallback); in PHP_FUNCTION()
[all …]
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_stmt_bind_limits.phpt12 function bind_many($offset, $link, $num_params, $rows, $eval = true) {
42 printf("[%03d + 01] [%d] %s\n", $offset, $link->errno, $link->error);
48 printf("[%03d + 02] [%d] %s\n", $offset, $link->errno, $link->error);
52 …printf("[%03d + 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stm…
59 printf("[%03d + 03] [%d] %s\n", $offset, $stmt->errno, $stmt->error);
69 printf("[%03d + 03] [%d] %s\n", $offset, $stmt->errno, $stmt->error);
74 …printf("[%03d + 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stm…
79 printf("[%03d + 04] [%d] %s\n", $offset, $stmt->errno, $stmt->error);
87 printf("[%03d + 05] [%d] %s\n", $offset, $link->errno, $link->error);
96 printf("[%03d + 06] [%d] %s\n", $offset, $link->errno, $link->error);
H A Dmysqli_reap_async_query.phpt28 function poll_async($offset, $link, $links, $errors, $reject, $exp_ready, $use_oo_syntax) {
32 $offset, $exp_ready, $tmp);
41 printf("[%03d + 2] %s\n", $offset, var_export($res->fetch_assoc(), true));
44 $offset, mysqli_errno($mysqli), mysqli_error($mysqli));
46 … printf("[%03d + 4] Cannot fetch and no error set - non resultset query (no SELECT)!\n", $offset);
52 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
56 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
H A Dmysqli_stmt_result_metadata_sqltests.phpt18 $offset, $sql,
31 $offset + 1, $sql);
35 $offset + 2, $sql);
41 $offset + 3, $sql,
78 $offset + 5, $sql);
89 $offset + 6, $sql,
97 $offset + 7, $sql,
102 $offset + 8, $sql,
109 $offset + 9, $sql,
115 $offset + 10, $sql,
[all …]
H A Dmysqli_fetch_assoc_zerofill.phpt13 function zerofill($offset, $link, $datatype, $insert = 1) {
24 $offset, mysqli_errno($link), mysqli_error($link));
30 $offset, mysqli_errno($link), mysqli_error($link));
44 printf("[%03d] Expecting '%s' got '%s'\n", $offset, $expected, $row['zero']);
49 printf("[%03d] Length reported is too small to run test\n", $offset);
/PHP-8.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_blobfromsteam.phpt33 function blob_from_stream($offset, $db, $file, $blob) {
38 printf("[%03d + 1] Cannot remove old test file\n", $offset);
44 printf("[%03d + 2] Cannot create test file '%s'\n", $offset, $file);
51 printf("[%03d + 3] Failed to create test file '%s'\n", $offset, $file);
60 printf("[%03d + 4] %s\n", $offset, var_export($db->errorInfo(), true));
66 printf("[%03d + 5] Cannot create test file '%s'\n", $offset, $file);
75 $offset,
82 … printf("[%03d + 7] Failed to INSERT data, %s\n", $offset, var_export($stmt->errorInfo(), true));
89 printf("[%03d + 8] INSERT and/or SELECT has failed, dumping data.\n", $offset);
102 printf("[%03d + 9] %s\n", $offset, var_export($stmt->errorInfo(), true));
[all …]
H A Dpdo_mysql_stmt_bindparam_types.phpt16 function pdo_mysql_stmt_bindparam_types_do($db, $offset, $native, $sql_type, $value) {
31 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',
63 $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) {
96 pdo_mysql_stmt_bindparam_types_do($db, $offset, true, $sql_type, $value);
[all …]
/PHP-8.0/ext/standard/tests/strings/
H A Dstrrpos_variation8.phpt15 for($offset = -1; $offset <= strlen($haystack); $offset++ ) {
17 var_dump( strrpos($haystack, $needle, $offset) );
H A Dunpack_offset.phpt2 unpack() with offset
28 unpack(): Argument #3 ($offset) must be contained in argument #2 ($data)
29 unpack(): Argument #3 ($offset) must be contained in argument #2 ($data)
/PHP-8.0/ext/standard/tests/general_functions/
H A Dparse_ini_basic.phpt105 ["offset values"]=>
110 string(14) "basic offset 1"
112 string(14) "basic offset 2"
117 string(11) "long offset"
122 string(13) "string offset"
127 string(15) "quoted offset 1"
129 string(15) "quoted offset 2"
131 string(20) "quoted string offset"
133 string(20) "single quoted offset"
/PHP-8.0/ext/standard/tests/array/
H A Darray_slice_basic.phpt13 $offset = 2;
19 var_dump( array_slice($input, $offset, $length, $preserve_keys) );
23 var_dump( array_slice($input, $offset) );
/PHP-8.0/ext/mbstring/tests/
H A Dmb_ereg_search_setpos.phpt39 mb_ereg_search_setpos(): Argument #1 ($offset) is out of range
50 mb_ereg_search_setpos(): Argument #1 ($offset) is out of range
54 mb_ereg_search_setpos(): Argument #1 ($offset) is out of range
70 mb_ereg_search_setpos(): Argument #1 ($offset) is out of range
/PHP-8.0/Zend/
H A Dzend_attributes.h55 uint32_t offset; member
69 …tribute *zend_get_parameter_attribute(HashTable *attributes, zend_string *lcname, uint32_t offset);
70 …d_get_parameter_attribute_str(HashTable *attributes, const char *str, size_t len, uint32_t offset);
82 uint32_t flags, uint32_t offset, uint32_t lineno);
98 …nd_attribute *zend_add_parameter_attribute(zend_function *func, uint32_t offset, zend_string *name… in zend_add_parameter_attribute() argument
101 return zend_add_attribute(&func->common.attributes, name, argc, flags, offset + 1, 0); in zend_add_parameter_attribute()
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_read_buffer.c38 memcpy(dest, buffer->data + buffer->offset, count); in mysqlnd_read_buffer_read()
39 buffer->offset += count; in mysqlnd_read_buffer_read()
82 ret->offset = 0; in mysqlnd_create_read_buffer()
/PHP-8.0/ext/fileinfo/tests/
H A Dbug61964.phpt51 Warning: finfo_open(): offset `string' invalid in %sbug61964.php on line %d
53 Warning: finfo_open(): offset ` Core' invalid in %sbug61964.php on line %d
55 Warning: finfo_open(): offset ` Me' invalid in %sbug61964.php on line %d
57 Warning: finfo_open(): offset `a' invalid in %sbug61964.php on line %d
59 Warning: finfo_open(): offset `b' invalid in %sbug61964.php on line %d

Completed in 46 milliseconds

12345678910>>...29