/php-src/ext/mysqli/tests/ |
H A D | mysqli_num_fields.phpt | 13 function func_test_mysqli_num_fields($link, $query, $expected, $offset, $test_free = false) { 16 printf("[%03d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link)); 21 printf("[%03d] Expecting %s/%d, got %s/%d\n", $offset + 1,
|
H A D | mysqli_stmt_param_count.phpt | 22 function func_test_mysqli_stmt_param_count($stmt, $query, $expected, $offset) { 25 printf("[%03d] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_error($stmt)); 30 printf("[%03d] Expecting %s/%d, got %s/%d\n", $offset + 3,
|
H A D | mysqli_stmt_bind_result_format.phpt | 19 $offset, 28 $offset + 1, 41 $offset + 2, 54 $offset, 66 $offset + 1, 73 $offset + 2, 80 $offset + 3, 90 $offset + 4, 97 $offset + 5, 104 $offset + 6, [all …]
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | dtoa.c | 280 int kk, offset, length; in lexbor_prettify() local 317 offset = 2 - kk; in lexbor_prettify() 318 if ((&begin[offset] + length) >= end in lexbor_prettify() 324 memmove(&begin[offset], begin, length); in lexbor_prettify() 328 if (offset - 2 > 0) { in lexbor_prettify() 329 if ((&begin[2] + (offset - 2)) >= end) { in lexbor_prettify() 333 memset(&begin[2], '0', offset - 2); in lexbor_prettify() 336 return (length + offset); in lexbor_prettify()
|
/php-src/Zend/tests/float_to_int/ |
H A D | warning_float_does_not_fit_zend_long_strings.phpt | 2 Implicit float to int conversions when float too large should warn, string offset variant 83 Warning: String offset cast occurred in %s on line %d 87 Warning: String offset cast occurred in %s on line %d 96 Warning: String offset cast occurred in %s on line %d 100 Warning: String offset cast occurred in %s on line %d
|
H A D | warning_float_does_not_fit_zend_long_strings_32bit.phpt | 2 Implicit float to int conversions when float too large should warn, string offset variant, 32bit va… 83 Warning: String offset cast occurred in %s on line %d 87 Warning: String offset cast occurred in %s on line %d 96 Warning: String offset cast occurred in %s on line %d 100 Warning: String offset cast occurred in %s on line %d
|
/php-src/ext/pcre/tests/ |
H A D | pcre_extra.phpt | 11 Warning: preg_match(): Compilation failed: unrecognized character follows \ at offset 1 in %spcre_e… 14 Warning: preg_match(): Compilation failed: unrecognized character follows \ at offset 1 in %spcre_e…
|
/php-src/ext/intl/tests/ |
H A D | bug61487.phpt | 23 grapheme_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 24 grapheme_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
/php-src/ext/standard/tests/file/ |
H A D | bug39673.phpt | 23 foreach ($offsets as $offset) { 24 $r = file_get_contents($filename, false, null, $offset);
|
/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativeMIPS_32.c | 214 sljit_u32 offset = 0; in call_with_args() local 236 *offsets_ptr = (sljit_u8)offset; in call_with_args() 240 if (offset & 0x7) { in call_with_args() 241 offset += sizeof(sljit_sw); in call_with_args() 242 *offsets_ptr = (sljit_u8)offset; in call_with_args() 248 offset += sizeof(sljit_f64); in call_with_args() 255 offset += sizeof(sljit_f32); in call_with_args() 259 offset += sizeof(sljit_sw); in call_with_args() 271 if (offset > 4 * sizeof(sljit_sw) && (!is_tail_call || offset > compiler->args_size)) { in call_with_args() 273 offset = (offset + sizeof(sljit_sw) + 15) & ~(sljit_uw)0xf; in call_with_args() [all …]
|
/php-src/Zend/ |
H A D | zend_weakrefs.c | 346 if (offset == NULL) { in zend_weakmap_read_dimension() 351 ZVAL_DEREF(offset); in zend_weakmap_read_dimension() 352 if (Z_TYPE_P(offset) != IS_OBJECT) { in zend_weakmap_read_dimension() 358 zend_object *obj_addr = Z_OBJ_P(offset); in zend_weakmap_read_dimension() 377 if (offset == NULL) { in zend_weakmap_write_dimension() 382 ZVAL_DEREF(offset); in zend_weakmap_write_dimension() 383 if (Z_TYPE_P(offset) != IS_OBJECT) { in zend_weakmap_write_dimension() 411 ZVAL_DEREF(offset); in zend_weakmap_has_dimension() 412 if (Z_TYPE_P(offset) != IS_OBJECT) { in zend_weakmap_has_dimension() 431 ZVAL_DEREF(offset); in zend_weakmap_unset_dimension() [all …]
|
/php-src/Zend/tests/ |
H A D | offset_assign.phpt | 11 Warning: Illegal string offset "2x" in %s on line %d 13 Fatal error: Uncaught Error: Cannot use string offset as an array in %soffset_assign.php:%d
|
H A D | offset_array.phpt | 49 Warning: Resource ID#%d used as offset, casting to integer (%d) in %s on line %d 51 Cannot access offset of type stdClass on array 52 Cannot access offset of type array on array
|
H A D | bug76534.phpt | 2 Bug #76534 (PHP hangs on 'illegal string offset on string references with an error handler) 13 Fatal error: Uncaught Exception: Illegal string offset "2bar" in %s:%d
|
H A D | bug53432.phpt | 57 Warning: Illegal string offset -1 in %s on line %d 60 Cannot access offset of type string on string 66 Error: Cannot use string offset as an array
|
/php-src/ext/spl/tests/ |
H A D | bug51119.phpt | 2 SPL: LimitIterator zero is valid offset 25 LimitIterator::__construct(): Argument #2 ($offset) must be greater than or equal to 0
|
/php-src/ext/standard/tests/serialize/ |
H A D | serialization_objects_017.phpt | 13 Warning: unserialize(): Error at offset 9 of 22 bytes in %s on line %d 16 Warning: unserialize(): Error at offset 10 of 22 bytes in %s on line %d
|
/php-src/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 242 zval *resourcebundle_array_get(zend_object *object, zval *offset, int type, zval *rv) in resourcebundle_array_get() argument 244 if (offset == NULL) { in resourcebundle_array_get() 249 ZVAL_DEREF(offset); in resourcebundle_array_get() 250 if (Z_TYPE_P(offset) == IS_LONG) { in resourcebundle_array_get() 251 …return resource_bundle_array_fetch(object, /* offset_str */ NULL, Z_LVAL_P(offset), rv, /* fallbac… in resourcebundle_array_get() 252 } else if (Z_TYPE_P(offset) == IS_STRING) { in resourcebundle_array_get() 253 …return resource_bundle_array_fetch(object, Z_STR_P(offset), /* offset_int */ 0, rv, /* fallback */… in resourcebundle_array_get() 255 zend_illegal_container_offset(object->ce->name, offset, type); in resourcebundle_array_get() 430 ResourceBundle_object_handlers.offset = XtOffsetOf(ResourceBundle_object, zend); in resourcebundle_register_class()
|
/php-src/ext/intl/breakiterator/ |
H A D | codepointiterator_internal.h | 70 int32_t following(int32_t offset) override; 72 int32_t preceding(int32_t offset) override; 74 UBool isBoundary(int32_t offset) override;
|
/php-src/ext/com_dotnet/ |
H A D | com_saproxy.c | 106 ZVAL_COPY_VALUE(&args[i-1], offset); in saproxy_read_dimension() 125 php_com_saproxy_create(object, rv, offset); in saproxy_read_dimension() 138 convert_to_long(offset); in saproxy_read_dimension() 153 if (Z_LVAL_P(offset) < lbound || Z_LVAL_P(offset) > ubound) { in saproxy_read_dimension() 175 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_read_dimension() 201 php_com_saproxy_create(object, rv, offset); in saproxy_read_dimension() 207 static void saproxy_write_dimension(zend_object *object, zval *offset, zval *value) in saproxy_write_dimension() argument 223 ZVAL_COPY_VALUE(&args[i-1], offset); in saproxy_write_dimension() 252 convert_to_long(offset); in saproxy_write_dimension() 253 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_write_dimension() [all …]
|
/php-src/ext/date/lib/ |
H A D | unixtime2tm.c | 100 int32_t offset = 0; in timelib_update_from_sse() local 102 timelib_get_time_zone_offset_info(tm->sse, tm->tz_info, &offset, NULL, NULL); in timelib_update_from_sse() 103 timelib_unixtime2gmt(tm, tm->sse + offset); in timelib_update_from_sse() 141 timelib_unixtime2gmt(tm, ts + gmt_offset->offset); in timelib_unixtime2local() 146 tm->z = gmt_offset->offset; in timelib_unixtime2local() 196 t->z = gmt_offset->offset; in timelib_set_timezone()
|
/php-src/ext/mbstring/tests/ |
H A D | mb_stripos_error2.phpt | 14 $offset = 2; 18 var_dump( mb_stripos($haystack, $needle, $offset, $encoding) );
|
H A D | mb_strpos_error2.phpt | 14 $offset = 2; 18 var_dump( mb_strpos($haystack, $needle, $offset, $encoding) );
|
H A D | mb_strripos_error2.phpt | 14 $offset = 2; 18 var_dump( mb_strripos($haystack, $needle, $offset, $encoding) );
|
/php-src/win32/ |
H A D | readdir.c | 86 dp->offset = 0; in opendir() 103 if (dp->offset != 0) { in readdir() 119 dp->offset++; in readdir() 122 dp->dent.d_off = dp->offset; in readdir() 161 dp->offset = 0; in rewinddir()
|