Home
last modified time | relevance | path

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

12345678910>>...32

/PHP-8.2/ext/mysqli/tests/
H A Dlocal_infile_tools.inc58 function create_standard_csv($offset, $verbose = true) {
63 printf("[%03d + 1] Cannot create CVS file '%s'\n", $offset, $file);
74 printf("[%03d + 3] Cannot write CVS file '%s'\n", $offset, $file);
83 $offset, $file);
89 function try_handler($offset, $link, $file, $handler, $expected = null) {
94 printf("[%03d] Cannot set infile handler to '%s'\n", $offset, $handler);
110 $offset + 2,
115 printf("[%03d] [%d] %s\n", $offset + 3, mysqli_errno($link), mysqli_error($link));
129 $offset + 5, $k,
135 $offset + 6, $k,
[all …]
H A Dmysqli_reap_async_query.phpt25 function poll_async($offset, $link, $links, $errors, $reject, $exp_ready, $use_oo_syntax) {
29 $offset, $exp_ready, $tmp);
38 printf("[%03d + 2] %s\n", $offset, var_export($res->fetch_assoc(), true));
41 $offset, mysqli_errno($mysqli), mysqli_error($mysqli));
43 … printf("[%03d + 4] Cannot fetch and no error set - non resultset query (no SELECT)!\n", $offset);
49 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
53 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
H A Dmysqli_stmt_bind_limits.phpt16 function bind_many($offset, $link, $num_params, $rows, $eval = true) {
46 printf("[%03d + 01] [%d] %s\n", $offset, $link->errno, $link->error);
52 printf("[%03d + 02] [%d] %s\n", $offset, $link->errno, $link->error);
56 …printf("[%03d + 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stm…
63 printf("[%03d + 03] [%d] %s\n", $offset, $stmt->errno, $stmt->error);
73 printf("[%03d + 03] [%d] %s\n", $offset, $stmt->errno, $stmt->error);
78 …printf("[%03d + 03] Parameter count should be %d but got %d\n", $offset, $num_params * $rows, $stm…
83 printf("[%03d + 04] [%d] %s\n", $offset, $stmt->errno, $stmt->error);
91 printf("[%03d + 05] [%d] %s\n", $offset, $link->errno, $link->error);
100 printf("[%03d + 06] [%d] %s\n", $offset, $link->errno, $link->error);
/PHP-8.2/ext/standard/tests/file/
H A Dinclude_streams.phpt68 function stream_seek($offset, $whence)
72 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
73 $this->position = $offset;
80 if ($offset >= 0) {
81 $this->position += $offset;
88 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) {
89 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
H A Duserstreams.phpt126 function stream_seek($offset, $whence)
130 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
131 $this->position = $offset;
138 if ($offset >= 0) {
217 $offset = rand(0, $DATALEN - 1);
218 $position = $offset;
221 $offset = -rand(0, $DATALEN - 1);
222 $position = $DATALEN + $offset;
225 $offset = rand(0, $DATALEN - 1);
226 $offset -= $position;
[all …]
/PHP-8.2/ext/pcre/pcre2lib/sljit/
H A DsljitNativeX86_32.c881 offset -= SSIZE_OF(sw); in tail_call_with_args()
885 offset -= SSIZE_OF(sw); in tail_call_with_args()
889 offset -= SSIZE_OF(sw); in tail_call_with_args()
898 offset -= SSIZE_OF(sw); in tail_call_with_args()
905 offset -= SSIZE_OF(f64); in tail_call_with_args()
910 offset -= SSIZE_OF(f32); in tail_call_with_args()
942 if (offset == 0) in tail_call_with_args()
987 offset += SSIZE_OF(sw); in tail_call_reg_arg_with_args()
989 offset += SSIZE_OF(sw); in tail_call_reg_arg_with_args()
991 offset += SSIZE_OF(sw); in tail_call_reg_arg_with_args()
[all …]
H A DsljitNativeMIPS_32.c69 sljit_u32 offset = 0; in call_with_args() local
86 *offsets_ptr = (sljit_u8)offset; in call_with_args()
90 if (offset & 0x7) { in call_with_args()
91 offset += sizeof(sljit_sw); in call_with_args()
92 *offsets_ptr = (sljit_u8)offset; in call_with_args()
98 offset += sizeof(sljit_f64); in call_with_args()
105 offset += sizeof(sljit_f32); in call_with_args()
109 offset += sizeof(sljit_sw); in call_with_args()
121 if (offset > 4 * sizeof(sljit_sw) && (!is_tail_call || offset > compiler->args_size)) { in call_with_args()
123 offset = (offset + sizeof(sljit_sw) + 15) & ~(sljit_uw)0xf; in call_with_args()
[all …]
/PHP-8.2/ext/opcache/tests/jit/
H A Dgh12723-A.phpt2 GH-12723: Function JIT emits "Uninitialized string offset" warning at the same time as invalid offs…
20 Cannot access offset of type array on string
H A Dgh12747.phpt2 GH-12747: Function JIT returns invalid error message for coalesce operator on invalid offset
31 Cannot access offset of type stdClass in isset or empty
33 Cannot access offset of type stdClass in isset or empty
35 Cannot access offset of type stdClass on array
/PHP-8.2/ext/standard/tests/serialize/
H A Dserialization_objects_018.phpt23 Warning: unserialize(): Error at offset 9 of 15 bytes in %s on line %d
26 Warning: unserialize(): Error at offset 10 of 15 bytes in %s on line %d
29 Warning: unserialize(): Error at offset 14 of 15 bytes in %s on line %d
32 Warning: unserialize(): Error at offset 8 of 8 bytes in %s on line %d
H A Dunserialize_extra_data_001.phpt13 Warning: unserialize(): Extra data starting at offset 4 of 8 bytes in %s on line %d
16 Warning: unserialize(): Extra data starting at offset 2 of 6 bytes in %s on line %d
19 Warning: unserialize(): Extra data starting at offset 4 of 8 bytes in %s on line %d
22 Warning: unserialize(): Extra data starting at offset 20 of 24 bytes in %s on line %d
/PHP-8.2/ext/intl/grapheme/
H A Dgrapheme_string.c88 int32_t offset = 0; in PHP_FUNCTION() local
102 offset = (int32_t) loffset; in PHP_FUNCTION()
103 noffset = offset >= 0 ? offset : (int32_t)haystack_len + offset; in PHP_FUNCTION()
107 if (offset >= 0 && grapheme_ascii_check((unsigned char *)haystack, haystack_len) >= 0) { in PHP_FUNCTION()
138 int32_t offset = 0; in PHP_FUNCTION() local
152 offset = (int32_t) loffset; in PHP_FUNCTION()
160 int32_t noffset = offset >= 0 ? offset : (int32_t)haystack_len + offset; in PHP_FUNCTION()
199 int32_t offset = 0; in PHP_FUNCTION() local
213 offset = (int32_t) loffset; in PHP_FUNCTION()
254 int32_t offset = 0; in PHP_FUNCTION() local
[all …]
/PHP-8.2/ext/spl/tests/
H A Dbug66834.phpt9 public function offsetExists($offset): bool {
11 return parent::offsetExists($offset);
14 public function offsetGet($offset): mixed {
16 return parent::offsetGet($offset);
23 public function offsetExists($offset): bool {
25 return parent::offsetExists($offset);
32 public function offsetGet($offset): mixed {
34 return parent::offsetGet($offset);
41 public function offsetGet($offset): mixed
43 return parent::offsetGet(str_rot13($offset));
[all …]
/PHP-8.2/ext/zend_test/
H A Dobject_handlers.c245 static void dimension_common_helper(zend_object *object, zval *offset, int prop_access_type) { in dimension_common_helper() argument
248 ZVAL_BOOL(OBJ_PROP_NUM(object, 5), offset != NULL); in dimension_common_helper()
249 if (offset) { in dimension_common_helper()
250 ZVAL_COPY(OBJ_PROP_NUM(object, 7), offset); in dimension_common_helper()
255 dimension_common_helper(object, offset, 0); in dimension_handlers_no_ArrayAccess_read_dimension()
264 static void dimension_handlers_no_ArrayAccess_write_dimension(zend_object *object, zval *offset, zv… in dimension_handlers_no_ArrayAccess_write_dimension() argument
265 dimension_common_helper(object, offset, 1); in dimension_handlers_no_ArrayAccess_write_dimension()
268 static int dimension_handlers_no_ArrayAccess_has_dimension(zend_object *object, zval *offset, int c… in dimension_handlers_no_ArrayAccess_has_dimension() argument
271 dimension_common_helper(object, offset, 2); in dimension_handlers_no_ArrayAccess_has_dimension()
277 static void dimension_handlers_no_ArrayAccess_unset_dimension(zend_object *object, zval *offset) { in dimension_handlers_no_ArrayAccess_unset_dimension() argument
[all …]
/PHP-8.2/ext/intl/resourcebundle/
H A Dresourcebundle_class.c171 static void resourcebundle_array_fetch(zend_object *object, zval *offset, zval *return_value, int f… in resourcebundle_array_fetch() argument
183 if(Z_TYPE_P(offset) == IS_LONG) { in resourcebundle_array_fetch()
185 meindex = (int32_t)Z_LVAL_P(offset); in resourcebundle_array_fetch()
187 } else if(Z_TYPE_P(offset) == IS_STRING) { in resourcebundle_array_fetch()
188 mekey = Z_STRVAL_P(offset); in resourcebundle_array_fetch()
226 zval *resourcebundle_array_get(zend_object *object, zval *offset, int type, zval *rv) in resourcebundle_array_get() argument
228 if(offset == NULL) { in resourcebundle_array_get()
232 resourcebundle_array_fetch(object, offset, rv, 1); in resourcebundle_array_get()
241 zval * offset; in PHP_FUNCTION() local
248 resourcebundle_array_fetch(Z_OBJ_P(object), offset, return_value, fallback); in PHP_FUNCTION()
[all …]
/PHP-8.2/ext/dom/tests/
H A DDOMComment_insertData_error1.phpt11 //Negative offset
18 echo "Throws DOMException for -ve offset\n";
24 Throws DOMException for -ve offset
H A DDOMComment_replaceData_error1.phpt11 //Negative offset
18 echo "Throws DOMException for -ve offset\n";
24 Throws DOMException for -ve offset
H A DDOMComment_insertData_error2.phpt11 //offset to large
18 echo "Throws DOMException for offset too large\n";
24 Throws DOMException for offset too large
H A DDOMComment_replaceData_error2.phpt11 //offset to large
18 echo "Throws DOMException for offset too large\n";
24 Throws DOMException for offset too large
/PHP-8.2/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_blobfromstream.phpt34 function blob_from_stream($offset, $db, $file, $blob) {
39 printf("[%03d + 1] Cannot remove old test file\n", $offset);
45 printf("[%03d + 2] Cannot create test file '%s'\n", $offset, $file);
52 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 …]
/PHP-8.2/Zend/tests/offsets/
H A Dinvalid_container_offset_behaviour.phpt23 Warning: Trying to access array offset on $containerStr in %s on line 8
29 Warning: Trying to access array offset on $containerStr in %s on line 22
40 Cannot unset offset in a non-array variable
43 Warning: Trying to access array offset on $containerStr in %s on line 62
45 Warning: Trying to access array offset on null in %s on line 62
58 Cannot unset offset in a non-array variable
/PHP-8.2/ext/calendar/tests/
H A Djddayofweek.phpt11 for ($offset = 0; $offset <= 7; $offset++) {
12 echo jddayofweek($jd + $offset, $mode). "\n";
/PHP-8.2/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 Dbug81159.phpt2 Bug #81159: Object to int warning when using an object as a string offset
20 Cannot access offset of type stdClass on string
21 Cannot access offset of type stdClass on string
/PHP-8.2/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()

Completed in 52 milliseconds

12345678910>>...32