Home
last modified time | relevance | path

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

12345678910>>...28

/PHP-7.4/Zend/
H A Dzend_compile.c2054 ZEND_ASSERT(count >= offset); in zend_delayed_compile_end()
2055 for (i = offset; i < count; ++i) { in zend_delayed_compile_end()
2756 uint32_t offset; in zend_compile_assign() local
2769 zend_delayed_compile_end(offset); in zend_compile_assign()
2855 uint32_t offset, flags; in zend_compile_assign_ref() local
2862 offset = zend_delayed_compile_begin(); in zend_compile_assign_ref()
2923 uint32_t offset, cache_slot; in zend_compile_compound_assign() local
2932 zend_delayed_compile_end(offset); in zend_compile_compound_assign()
8964 zend_long offset; in zend_eval_const_expr() local
8967 offset = Z_LVAL_P(dim); in zend_eval_const_expr()
[all …]
H A Dzend_compile.h362 uint32_t offset; /* property offset for object properties or member
371 #define OBJ_PROP(obj, offset) \ argument
372 ((zval*)((char*)(obj) + offset))
377 #define OBJ_PROP_TO_NUM(offset) \ argument
378 ((offset - OBJ_PROP_TO_OFFSET(0)) / sizeof(zval))
607 #define ZEND_OFFSET_TO_OPLINE(base, offset) \ argument
608 ((zend_op*)(((char*)(base)) + (int)offset))
610 #define ZEND_OFFSET_TO_OPLINE_NUM(op_array, base, offset) \ argument
611 (ZEND_OFFSET_TO_OPLINE(base, offset) - op_array->opcodes)
H A Dzend_execute.c1393 zend_long offset; in zend_check_string_offset() local
1424 offset = Z_LVAL_P(dim); in zend_check_string_offset()
1427 return offset; in zend_check_string_offset()
1562 zend_long offset; in zend_assign_to_string_offset() local
2405 zend_long offset; in zend_fetch_dimension_address_read() local
2441 offset = Z_LVAL_P(dim); in zend_fetch_dimension_address_read()
2444 if (UNEXPECTED(Z_STRLEN_P(container) < ((offset < 0) ? -(size_t)offset : ((size_t)offset + 1)))) { in zend_fetch_dimension_address_read()
2456 ? (zend_long)Z_STRLEN_P(container) + offset : offset; in zend_fetch_dimension_address_read()
2565 lval = Z_LVAL_P(offset); in zend_isset_dim_slow()
2577 ZVAL_DEREF(offset); in zend_isset_dim_slow()
[all …]
H A Dzend_gc.c1565 current->ref = GC_MAKE_GARBAGE(((char*)obj) - obj->handlers->offset); in zend_gc_collect_cycles()
H A Dzend_inheritance.c972 int parent_num = OBJ_PROP_TO_NUM(parent_info->offset); in do_inherit_property()
973 int child_num = OBJ_PROP_TO_NUM(child_info->offset); in do_inherit_property()
979 child_info->offset = parent_info->offset; in do_inherit_property()
1113 table[OBJ_PROP_TO_NUM(prop->offset)] = prop; in zend_build_properties_info_table()
1294 property_info->offset += parent_ce->default_static_members_count; in zend_do_inheritance_ex()
1296 property_info->offset += parent_ce->default_properties_count * sizeof(zval); in zend_do_inheritance_ex()
1979 op1 = &ce->default_static_members_table[coliding_prop->offset]; in zend_do_traits_property_binding()
1980 op2 = &traits[i]->default_static_members_table[property_info->offset]; in zend_do_traits_property_binding()
1984 op1 = &ce->default_properties_table[OBJ_PROP_TO_NUM(coliding_prop->offset)]; in zend_do_traits_property_binding()
1985 op2 = &traits[i]->default_properties_table[OBJ_PROP_TO_NUM(property_info->offset)]; in zend_do_traits_property_binding()
[all …]
H A Dzend_interfaces.c552 ZEND_ARG_INFO(0, offset)
556 ZEND_ARG_INFO(0, offset)
560 ZEND_ARG_INFO(0, offset)
H A Dzend_language_scanner.l739 size_t offset = SCNG(yy_cursor) - SCNG(yy_start); in zend_get_scanned_file_offset() local
741 size_t original_offset = offset, length = 0; in zend_get_scanned_file_offset()
744 if ((size_t)-1 == SCNG(input_filter)(&p, &length, SCNG(script_org), offset)) { in zend_get_scanned_file_offset()
749 offset--; in zend_get_scanned_file_offset()
751 offset++; in zend_get_scanned_file_offset()
755 return offset; in zend_get_scanned_file_offset()
1232 offset = _offset; \
1247 int offset; in lex_scan() local
2880 zend_copy_value(zendlval, (yytext + offset), (yyleng - offset));
H A Dzend_multiply.h162 if (ZEND_CONST_COND(offset == 0, 0)) { in zend_safe_address()
172 "rm"(offset)); in zend_safe_address()
196 if (ZEND_CONST_COND(offset == 0, 0)) { in zend_safe_address()
209 "rm"(offset)); in zend_safe_address()
231 "0"(offset), in zend_safe_address()
253 "r"(offset)); in zend_safe_address()
277 "r"(offset)); in zend_safe_address()
305 size_t res = nmemb * size + offset; in zend_safe_address()
306 double _d = (double)nmemb * (double)size + (double)offset; in zend_safe_address()
321 size_t ret = zend_safe_address(nmemb, size, offset, &overflow); in zend_safe_address_guarded()
[all …]
H A Dzend_object_handlers.c80 OBJ_PROP(zobj, prop_info->offset)); in rebuild_object_properties()
387 uintptr_t offset; in zend_get_property_offset() local
464 offset = property_info->offset; in zend_get_property_offset()
474 return offset; in zend_get_property_offset()
944 if (offset == NULL) { in zend_std_read_dimension()
948 ZVAL_COPY_DEREF(&tmp_offset, offset); in zend_std_read_dimension()
994 if (!offset) { in zend_std_write_dimension()
997 ZVAL_COPY_DEREF(&tmp_offset, offset); in zend_std_write_dimension()
1017 ZVAL_COPY_DEREF(&tmp_offset, offset); in zend_std_has_dimension()
1198 ZVAL_COPY_DEREF(&tmp_offset, offset); in zend_std_unset_dimension()
[all …]
H A Dzend_object_handlers.h30 #define IS_VALID_PROPERTY_OFFSET(offset) ((intptr_t)(offset) > 0) argument
31 #define IS_WRONG_PROPERTY_OFFSET(offset) ((intptr_t)(offset) == 0) argument
32 #define IS_DYNAMIC_PROPERTY_OFFSET(offset) ((intptr_t)(offset) < 0) argument
34 #define IS_UNKNOWN_DYNAMIC_PROPERTY_OFFSET(offset) (offset == ZEND_DYNAMIC_PROPERTY_OFFSET) argument
35 #define ZEND_DECODE_DYN_PROP_OFFSET(offset) ((uintptr_t)(-(intptr_t)(offset) - 2)) argument
36 #define ZEND_ENCODE_DYN_PROP_OFFSET(offset) ((uintptr_t)(-((intptr_t)(offset) + 2))) argument
90 typedef void (*zend_object_unset_dimension_t)(zval *object, zval *offset);
156 int offset; member
218 ZEND_API void zend_std_write_dimension(zval *object, zval *offset, zval *value);
219 ZEND_API int zend_std_has_dimension(zval *object, zval *offset, int check_empty);
[all …]
H A Dzend_objects_API.c195 ptr = ((char*)object) - object->handlers->offset; in zend_objects_store_del()
H A Dzend_opcode.c164 if (prop_info->ce == ce && p - static_members == prop_info->offset) { in zend_cleanup_internal_class_data()
180 if (prop_info->ce == ce && p - static_members == prop_info->offset) { in zend_cleanup_internal_class_data()
289 if (prop_info->ce == ce && p - ce->default_static_members_table == prop_info->offset) { in destroy_zend_class()
H A Dzend_sort.c36 size_t offset; in zend_qsort() local
46 offset = (end - begin) >> Z_L(1); in zend_qsort()
47 swp(begin, begin + (offset - (offset % siz))); in zend_qsort()
325 size_t offset = (nmemb >> Z_L(1)); in zend_sort() local
326 char *pivot = start + (offset * siz); in zend_sort()
329 size_t delta = (offset >> Z_L(1)) * siz; in zend_sort()
H A Dzend_vm_def.h2104 zval *offset; variable
2267 zval *offset; variable
5725 offset = Z_REFVAL_P(offset);
6167 zval *offset; variable
6201 offset = Z_REFVAL_P(offset);
6240 offset++;
6258 zval *offset; variable
6900 zval *offset; variable
6927 offset = Z_REFVAL_P(offset);
6961 offset++;
[all …]
H A Dzend_vm_execute.h6210 offset = Z_REFVAL_P(offset); in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CONST_HANDLER()
6301 offset = Z_REFVAL_P(offset); in ZEND_ISSET_ISEMPTY_DIM_OBJ_SPEC_CONST_CONST_HANDLER()
8411 offset = Z_REFVAL_P(offset); in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_TMPVAR_HANDLER()
8502 offset = Z_REFVAL_P(offset); in ZEND_ISSET_ISEMPTY_DIM_OBJ_SPEC_CONST_TMPVAR_HANDLER()
9379 offset = Z_REFVAL_P(offset); in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_UNUSED_HANDLER()
10871 offset = Z_REFVAL_P(offset); in ZEND_ADD_ARRAY_ELEMENT_SPEC_CONST_CV_HANDLER()
10962 offset = Z_REFVAL_P(offset); in ZEND_ISSET_ISEMPTY_DIM_OBJ_SPEC_CONST_CV_HANDLER()
15005 offset = Z_REFVAL_P(offset); in ZEND_ISSET_ISEMPTY_DIM_OBJ_SPEC_TMPVAR_CONST_HANDLER()
16429 offset = Z_REFVAL_P(offset); in ZEND_ISSET_ISEMPTY_DIM_OBJ_SPEC_TMPVAR_TMPVAR_HANDLER()
61142 offset = offset * 3;
[all …]
H A Dzend_weakrefs.c202 zend_weakref_handlers.offset = XtOffsetOf(zend_weakref, std); in zend_register_weakref_ce()
/PHP-7.4/docs/
H A Dstreams.md34 PHPAPI int php_stream_seek(php_stream * stream, off_t offset, int whence);
/PHP-7.4/ext/calendar/tests/
H A Djddayofweek.phpt11 for ($offset = 0; $offset <= 7; $offset++) {
12 echo jddayofweek($jd + $offset, $mode). "\n";
H A Djdmonthname.phpt11 for ($offset = 0; $offset <= 12; $offset++) {
12 echo jdmonthname($jd + $offset * 30, $mode). "\n";
/PHP-7.4/ext/com_dotnet/
H A Dcom_handlers.c87 static zval *com_read_dimension(zval *object, zval *offset, int type, zval *rv) in com_read_dimension() argument
100 DISPATCH_METHOD|DISPATCH_PROPERTYGET, &v, 1, offset, 0, 0)) { in com_read_dimension()
105 convert_to_long(offset); in com_read_dimension()
108 if (php_com_safearray_get_elem(&obj->v, &v, (LONG)Z_LVAL_P(offset))) { in com_read_dimension()
113 php_com_saproxy_create(object, rv, offset); in com_read_dimension()
123 static void com_write_dimension(zval *object, zval *offset, zval *value) in com_write_dimension() argument
132 if (offset == NULL) { in com_write_dimension()
138 ZVAL_COPY_VALUE(&args[0], offset); in com_write_dimension()
156 convert_to_long(offset); in com_write_dimension()
157 indices = (LONG)Z_LVAL_P(offset); in com_write_dimension()
[all …]
H A Dcom_persist.c138 off_t offset; in stm_seek() local
156 offset = (off_t) dlibMove.QuadPart; in stm_seek()
158 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek()
H A Dcom_saproxy.c109 ZVAL_COPY_VALUE(&args[i-1], offset); in saproxy_read_dimension()
128 php_com_saproxy_create(object, rv, offset); in saproxy_read_dimension()
141 convert_to_long(offset); in saproxy_read_dimension()
156 if (Z_LVAL_P(offset) < lbound || Z_LVAL_P(offset) > ubound) { in saproxy_read_dimension()
178 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_read_dimension()
204 php_com_saproxy_create(object, rv, offset); in saproxy_read_dimension()
210 static void saproxy_write_dimension(zval *object, zval *offset, zval *value) in saproxy_write_dimension() argument
226 ZVAL_COPY_VALUE(&args[i-1], offset); in saproxy_write_dimension()
255 convert_to_long(offset); in saproxy_write_dimension()
256 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_write_dimension()
[all …]
/PHP-7.4/ext/com_dotnet/tests/
H A Dbug77177.phpt45 Notice: unserialize(): Error at offset 13 of 14 bytes in %s on line %d
50 Notice: unserialize(): Error at offset 16 of 17 bytes in %s on line %d
55 Notice: unserialize(): Error at offset 17 of 18 bytes in %s on line %d
/PHP-7.4/ext/curl/
H A Dinterface.c2128 static int seek_cb(void *arg, curl_off_t offset, int origin) /* {{{ */ in seek_cb() argument
2136 res = php_stream_seek(cb_arg->stream, offset, origin); in seek_cb()
/PHP-7.4/ext/curl/tests/
H A Dbug73147.phpt22 Notice: unserialize(): Error at offset 27 of 44 bytes in %s on line %d

Completed in 440 milliseconds

12345678910>>...28