Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 806) sorted by path

12345678910>>...33

/php-src/
H A D.gdbinit235 set $val = (zval*)((char*)$zobj + $prop->offset)
486 set $ptr_to_val = (zval*)((char*)$pi->ce->default_properties_table + $pi->offset - $initial_offset)
488 printf " offset = %p\n", $pi->offset
H A DNEWS83 - TypeError for invalid offset types
113 . Fixed bug GH-13834 (Applying non-zero offset 36 to null pointer in
H A DUPGRADING50 - TypeError for invalid offset types
/php-src/TSRM/
H A DTSRM.c79 #define TSRM_SAFE_RETURN_RSRC(array, offset, range) \ argument
81 int unshuffled_offset = TSRM_UNSHUFFLE_RSRC_ID(offset); \
83 if (offset==0) { \
97 #define TSRM_SAFE_RETURN_RSRC(array, offset, range) \ argument
98 if (offset==0) { \
101 return array[TSRM_UNSHUFFLE_RSRC_ID(offset)]; \
323 TSRM_API ts_rsrc_id ts_allocate_fast_id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_alloca… in ts_allocate_fast_id() argument
337 *offset = 0; in ts_allocate_fast_id()
342 *offset = TSRM_ALIGNED_SIZE(sizeof(tsrm_tls_entry)) + tsrm_reserved_pos; in ts_allocate_fast_id()
361 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].fast_offset = *offset; in ts_allocate_fast_id()
H A DTSRM.h95 TSRM_API ts_rsrc_id ts_allocate_fast_id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_alloca…
168 #define TSRMG_FAST(offset, type, element) (TSRMG_FAST_BULK(offset, type)->element) argument
169 #define TSRMG_FAST_BULK(offset, type) ((type) (((char*) tsrm_get_ls_cache())+(offset))) argument
173 #define TSRMG_FAST_STATIC(offset, type, element) (TSRMG_FAST_BULK_STATIC(offset, type)->element) argument
174 #define TSRMG_FAST_BULK_STATIC(offset, type) ((type) (((char*) TSRMLS_CACHE)+(offset))) argument
/php-src/Zend/Optimizer/
H A Doptimize_temp_vars_5.c45 int offset = op_array->last_var; in zend_optimize_temporary_variables() local
68 start_of_T[VAR_NUM(opline->result.var) - offset] = opline; in zend_optimize_temporary_variables()
80 currT = VAR_NUM(opline->op1.var) - offset; in zend_optimize_temporary_variables()
93 opline->op1.var = NUM_VAR(var + offset); in zend_optimize_temporary_variables()
134 opline->op1.var = NUM_VAR(map_T[currT] + offset); in zend_optimize_temporary_variables()
139 currT = VAR_NUM(opline->op2.var) - offset; in zend_optimize_temporary_variables()
144 opline->op2.var = NUM_VAR(map_T[currT] + offset); in zend_optimize_temporary_variables()
148 currT = VAR_NUM(opline->result.var) - offset; in zend_optimize_temporary_variables()
154 opline->result.var = NUM_VAR(map_T[currT] + offset); in zend_optimize_temporary_variables()
H A Dpass1.c129 zval *offset; in zend_optimizer_pass1() local
134 …if ((offset = zend_get_constant_str("__COMPILER_HALT_OFFSET__", sizeof("__COMPILER_HALT_OFFSET__")… in zend_optimizer_pass1()
137 replace_by_const_or_qm_assign(op_array, opline, offset); in zend_optimizer_pass1()
/php-src/Zend/tests/
H A D024.phpt20 Warning: Trying to access array offset on null in %s on line %d
27 Warning: Trying to access array offset on null in %s on line %d
52 Warning: Trying to access array offset on null in %s on line %d
H A D033.phpt30 Warning: Trying to access array offset on null in %s on line %d
32 Warning: Trying to access array offset on null in %s on line %d
34 Warning: Trying to access array offset on null in %s on line %d
36 Warning: Trying to access array offset on null in %s on line %d
38 Warning: Trying to access array offset on null in %s on line %d
42 Warning: Trying to access array offset on null in %s on line %d
44 Warning: Trying to access array offset on null in %s on line %d
46 Warning: Trying to access array offset on null in %s on line %d
48 Warning: Trying to access array offset on null in %s on line %d
50 Warning: Trying to access array offset on null in %s on line %d
[all …]
H A D036.phpt2 Trying to use lambda in array offset
14 Cannot access offset of type Closure on array
H A D038.phpt14 Cannot access offset of type Closure on array
H A Dalternative_offset_syntax_compile_error_in_const_expr.phpt2 Alternative offset syntax should emit E_COMPILE_ERROR in const expression
9 Fatal error: Array and string offset access syntax with curly braces is no longer supported in %s o…
H A Dalternative_offset_syntax_compile_error_outside_const_expr.phpt2 Alternative offset syntax should emit E_COMPILE_ERROR outside const expression
9 Fatal error: Array and string offset access syntax with curly braces is no longer supported in %s o…
H A Dalternative_offset_syntax_in_encaps_string.phpt2 Alternative offset syntax should emit only E_COMPILE_ERROR in string interpolation
6 Fatal error: Array and string offset access syntax with curly braces is no longer supported in %s o…
H A Dargument_restriction_005.phpt11 …:offsetSet(): void must be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): vo…
H A Darray_offset.phpt2 Ensure "undefined offset" notice formats message correctly when undefined key is negative
H A Dassign_dim_obj_null_return.phpt75 Cannot access offset of type array on array
76 Cannot access offset of type stdClass on array
79 Cannot access offset of type array on array
80 Cannot access offset of type stdClass on array
H A Dassign_to_var_003.phpt16 Warning: Trying to access array offset on float in %s on line %d
H A Dbug26281.phpt2 Bug #26281 (switch() crash when condition is a string offset)
H A Dbug29883.phpt18 Warning: Uninitialized string offset -10 in %s on line %d
H A Dbug30346.phpt9 public function offsetExists( $offset ): bool { return false; }
10 public function offsetGet( $offset ): mixed { return $offset; }
11 public function offsetSet( $offset, $data ): void { }
12 public function offsetUnset( $offset ): void { }
H A Dbug31098.phpt62 Cannot access offset of type string on string
64 Cannot access offset of type string on string
H A Dbug32252.phpt8 function offsetExists($offset): bool
10 echo __METHOD__ . "($offset)\n";
14 function offsetGet($offset): mixed
16 echo __METHOD__ . "($offset)\n";
20 function offsetSet($offset, $value): void
22 echo __METHOD__ . "($offset, $value)\n";
26 function offsetUnset($offset): void
28 echo __METHOD__ . "($offset)\n";
/php-src/Zend/tests/anon/
H A D004.phpt15 public function offsetGet($offset): mixed { return $this->data[$offset]; }
16 public function offsetSet($offset, $data): void { $this->data[$offset] = $data; }
17 public function offsetUnset($offset): void { unset($this->data[$offset]); }
18 … public function offsetExists($offset): bool { return isset($this->data[$offset]); }
H A D005.phpt17 public function offsetGet($offset): mixed { return $this->data[$offset]; }
18 public function offsetSet($offset, $data): void { $this->data[$offset] = $data; }
19 public function offsetUnset($offset): void { unset($this->data[$offset]); }
20 public function offsetExists($offset): bool { return isset($this->data[$offset]); }

Completed in 31 milliseconds

12345678910>>...33