Home
last modified time | relevance | path

Searched refs:offset (Results 26 – 50 of 700) sorted by relevance

12345678910>>...28

/PHP-7.4/Zend/
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.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 …]
/PHP-7.4/ext/standard/tests/serialize/
H A Dbug25378.phpt21 Notice: unserialize(): Error at offset 0 of 8 bytes in %sbug25378.php on line %d
24 Notice: unserialize(): Error at offset 0 of 5 bytes in %sbug25378.php on line %d
27 Notice: unserialize(): Error at offset 13 of 19 bytes in %sbug25378.php on line %d
30 Notice: unserialize(): Error at offset 14 of 19 bytes in %sbug25378.php on line %d
33 Notice: unserialize(): Error at offset 2 of 22 bytes in %sbug25378.php on line %d
36 Notice: unserialize(): Error at offset 17 of 18 bytes in %sbug25378.php on line %d
39 Notice: unserialize(): Error at offset 24 of 33 bytes in %sbug25378.php on line %d
48 Notice: unserialize(): Error at offset 2 of 13 bytes in %sbug25378.php on line %d
51 Notice: unserialize(): Error at offset 2 of 11 bytes in %sbug25378.php on line %d
54 Notice: unserialize(): Error at offset 8 of 9 bytes in %sbug25378.php on line %d
[all …]
/PHP-7.4/Zend/tests/anon/
H A D005.phpt17 public function offsetGet($offset) { return $this->data[$offset]; }
18 public function offsetSet($offset, $data) { return ($this->data[$offset] = $data); }
19 public function offsetUnset($offset) { unset($this->data[$offset]); }
20 public function offsetExists($offset) { return isset($this->data[$offset]); }
/PHP-7.4/Zend/tests/
H A D033.phpt22 Notice: Trying to access array offset on value of type null in %s on line %d
24 Notice: Trying to access array offset on value of type null in %s on line %d
26 Notice: Trying to access array offset on value of type null in %s on line %d
28 Notice: Trying to access array offset on value of type null in %s on line %d
30 Notice: Trying to access array offset on value of type null in %s on line %d
34 Notice: Trying to access array offset on value of type null in %s on line %d
36 Notice: Trying to access array offset on value of type null in %s on line %d
38 Notice: Trying to access array offset on value of type null in %s on line %d
40 Notice: Trying to access array offset on value of type null in %s on line %d
42 Notice: Trying to access array offset on value of type null in %s on line %d
[all …]
H A Dbug30346.phpt9 public function offsetExists( $offset ) { return false; }
10 public function offsetGet( $offset ) { return $offset; }
11 public function offsetSet( $offset, $data ) { }
12 public function offsetUnset( $offset ) { }
H A Darray_offset.phpt2 Ensure "undefined offset" notice formats message corectly when undefined key is negative
14 Notice: Undefined offset: -1 in %s on line 3
16 Notice: Undefined offset: -1 in %s on line 4
18 Notice: Undefined offset: -1 in %s on line 5
20 Notice: Undefined offset: -1 in %s on line 6
H A Dbug39297.phpt13 public function offsetExists($offset) {
16 public function offsetUnset($offset) {
19 public function offsetSet($offset, $value) {
21 $cannonicalName = strtolower($offset);
26 public function offsetGet($offset) {
28 $cannonicalName = strtolower($offset);
H A Doffset_bool.phpt28 Notice: Trying to access array offset on value of type bool in %s on line %d
31 Notice: Trying to access array offset on value of type bool in %s on line %d
34 Notice: Trying to access array offset on value of type bool in %s on line %d
37 Notice: Trying to access array offset on value of type bool in %s on line %d
40 Notice: Trying to access array offset on value of type bool in %s on line %d
43 Notice: Trying to access array offset on value of type bool in %s on line %d
46 Notice: Trying to access array offset on value of type bool in %s on line %d
49 Notice: Trying to access array offset on value of type bool in %s on line %d
52 Notice: Trying to access array offset on value of type bool in %s on line %d
H A Doffset_long.phpt28 Notice: Trying to access array offset on value of type int in %s on line %d
31 Notice: Trying to access array offset on value of type int in %s on line %d
34 Notice: Trying to access array offset on value of type int in %s on line %d
37 Notice: Trying to access array offset on value of type int in %s on line %d
40 Notice: Trying to access array offset on value of type int in %s on line %d
43 Notice: Trying to access array offset on value of type int in %s on line %d
46 Notice: Trying to access array offset on value of type int in %s on line %d
49 Notice: Trying to access array offset on value of type int in %s on line %d
52 Notice: Trying to access array offset on value of type int in %s on line %d
H A Doffset_null.phpt28 Notice: Trying to access array offset on value of type null in %s on line %d
31 Notice: Trying to access array offset on value of type null in %s on line %d
34 Notice: Trying to access array offset on value of type null in %s on line %d
37 Notice: Trying to access array offset on value of type null in %s on line %d
40 Notice: Trying to access array offset on value of type null in %s on line %d
43 Notice: Trying to access array offset on value of type null in %s on line %d
46 Notice: Trying to access array offset on value of type null in %s on line %d
49 Notice: Trying to access array offset on value of type null in %s on line %d
52 Notice: Trying to access array offset on value of type null in %s on line %d
H A Doffset_string.phpt33 Notice: String offset cast occurred in %s on line %d
36 Notice: String offset cast occurred in %s on line %d
39 Warning: Illegal string offset 'run away' in %s on line %d
43 Warning: Illegal string offset '14.5' in %s on line %d
49 Notice: String offset cast occurred in %s on line %d
52 Notice: String offset cast occurred in %s on line %d
55 Warning: Illegal offset type in %s on line %d
58 Warning: Illegal offset type in %s on line %d
63 Warning: Illegal offset type in %s on line %d
H A Dlist_keyed_evaluation_order_nested.phpt15 "A" => "offset value for A",
17 0 => "offset value for 0",
18 1 => "offset value for 1"
21 "G" => "offset value for G",
22 "I" => "offset value for I"
63 Offset B set to offset value for A.
67 Offset D set to offset value for 0.
69 Offset E set to offset value for 1.
74 Offset H set to offset value for G.
77 Offset J set to offset value for I.
H A Dbug78356.phpt6 public function offsetGet($offset)
10 public function offsetExists($offset)
14 public function offsetUnset($offset) {}
15 public function offsetSet($offset, $value) {}
H A Dbug33710.phpt8 function offsetExists($offset) {/*...*/}
9 function offsetGet($offset) {/*...*/}
10 function offsetSet($offset, $value) {/*...*/}
11 function offsetUnset($offset) {/*...*/}
/PHP-7.4/ext/hash/sha3/generic64lc/
H A DKeccakP-1600-opt64.c29 #define ROL64(a, offset) _rotl64(a, offset) argument
38 #define ROL64(a, offset) ((((UINT64)a) << offset) ^ (((UINT64)a) >> (64-offset))) argument
105 lane <<= offset*8; in KeccakP1600_AddBytesInLane()
110 lane |= ((UINT64)data[i]) << ((i+offset)*8); in KeccakP1600_AddBytesInLane()
179 lane <<= (offset%8)*8; in KeccakP1600_AddByte()
180 ((UINT64*)state)[offset/8] ^= lane; in KeccakP1600_AddByte()
200 ((unsigned char*)state)[lanePosition*8+offset+i] = ~data[i]; in KeccakP1600_OverwriteBytesInLane()
325 memcpy(data, (UINT8*)lane1+offset, length); in KeccakP1600_ExtractBytesInLane()
329 lane >>= offset*8; in KeccakP1600_ExtractBytesInLane()
403 output[i] = input[i] ^ ((UINT8*)lane1)[offset+i]; in KeccakP1600_ExtractAndAddBytesInLane()
[all …]
/PHP-7.4/ext/intl/grapheme/
H A Dgrapheme_util.c175 if(offset != 0) { in grapheme_strpos_utf16()
188 if (offset >= 0) { in grapheme_strpos_utf16()
316 if ( 0 == offset ) { in grapheme_get_haystack_offset()
320 if ( offset < 0 ) { in grapheme_get_haystack_offset()
337 offset += iter_incr; in grapheme_get_haystack_offset()
341 if ( offset != 0 ) { in grapheme_get_haystack_offset()
355 if (offset >= 0) { in grapheme_strrpos_ascii()
356 p = haystack + offset; in grapheme_strrpos_ascii()
360 if (needle_len > (size_t)-offset) { in grapheme_strrpos_ascii()
371 return (e - p + (offset > 0 ? offset : 0)); in grapheme_strrpos_ascii()
[all …]
/PHP-7.4/ext/standard/tests/file/
H A Dinclude_userstream_001.phpt39 function stream_seek($offset, $whence)
43 if ($offset < $this->data && $offset >= 0) {
44 $this->pos = $offset;
51 if ($offset >= 0) {
52 $this->pos += $offset;
59 if (strlen($this->data) + $offset >= 0) {
60 $this->pos = strlen($this->data) + $offset;
/PHP-7.4/ext/date/tests/
H A D010.phpt16 ["offset"]=>
25 ["offset"]=>
34 ["offset"]=>
43 ["offset"]=>
52 ["offset"]=>
H A Dtimezone_abbreviations_list_basic1.phpt6 * Description: Returns associative array containing dst, offset and the timezone name
37 ["offset"]=>
46 ["offset"]=>
55 ["offset"]=>
64 ["offset"]=>
73 ["offset"]=>
82 ["offset"]=>
H A Dstrtotime-relative.phpt11 // offset around a day
18 // offset around 7 days
25 // offset around 6 months
32 // offset around 10 years
39 // offset around 25 years (can't do much more reliably with strtotime)
45 foreach ($offsets AS $offset) {
47 …echo "$direction$offset: " . date(DATE_ISO8601, strtotime("$direction$offset", $base_time)) . "\n";
H A Ddate_offset_get_basic1.phpt6 * Description: Returns the daylight saving time offset
19 echo "Winter offset: " . date_offset_get($winter) / 3600 . " hours\n";
20 echo "Summer offset: " . date_offset_get($summer) / 3600 . " hours\n";
26 Winter offset: 0 hours
27 Summer offset: 1 hours
H A DDateTimeZone_listAbbreviations_basic1.phpt6 * Description: Returns associative array containing dst, offset and the timezone name
37 ["offset"]=>
46 ["offset"]=>
55 ["offset"]=>
64 ["offset"]=>
73 ["offset"]=>
82 ["offset"]=>
/PHP-7.4/tests/strings/
H A Doffsets_general.phpt26 Deprecated: Array and string offset access syntax with curly braces is deprecated in %s line %d
28 Deprecated: Array and string offset access syntax with curly braces is deprecated in %s line %d
30 Deprecated: Array and string offset access syntax with curly braces is deprecated in %s line %d
32 Deprecated: Array and string offset access syntax with curly braces is deprecated in %s line %d
34 Deprecated: Array and string offset access syntax with curly braces is deprecated in %s line %d
36 Deprecated: Array and string offset access syntax with curly braces is deprecated in %s line %d
38 Deprecated: Array and string offset access syntax with curly braces is deprecated in %s line %d
40 Deprecated: Array and string offset access syntax with curly braces is deprecated in %s line %d
42 Deprecated: Array and string offset access syntax with curly braces is deprecated in %s line %d
49 Warning: Illegal string offset 'foo' in %s line %d
[all …]
/PHP-7.4/ext/iconv/tests/
H A Diconv_substr.phpt17 function foo($str, $offset, $len, $charset) {
18 hexdump(substr($str, $offset, $len));
19 hexdump(iconv_substr($str, $offset, $len, $charset));
22 function bar($str, $offset, $len = false) {
24 var_dump(substr($str, $offset));
25 var_dump(iconv_substr($str, $offset));
27 var_dump(substr($str, $offset, $len));
28 var_dump(iconv_substr($str, $offset, $len));

Completed in 46 milliseconds

12345678910>>...28