/php-src/ext/hash/sha3/generic64lc/ |
H A D | KeccakP-1600-opt64.c | 37 #define ROL64(a, offset) _rotl64(a, offset) argument 46 #define ROL64(a, offset) ((((UINT64)a) << offset) ^ (((UINT64)a) >> (64-offset))) argument 113 lane <<= offset*8; in KeccakP1600_AddBytesInLane() 118 lane |= ((UINT64)data[i]) << ((i+offset)*8); in KeccakP1600_AddBytesInLane() 188 lane <<= (offset%8)*8; in KeccakP1600_AddByte() 189 ((UINT64*)state)[offset/8] ^= lane; in KeccakP1600_AddByte() 209 ((unsigned char*)state)[lanePosition*8+offset+i] = ~data[i]; in KeccakP1600_OverwriteBytesInLane() 334 memcpy(data, (UINT8*)lane1+offset, length); in KeccakP1600_ExtractBytesInLane() 338 lane >>= offset*8; in KeccakP1600_ExtractBytesInLane() 412 output[i] = input[i] ^ ((UINT8*)lane1)[offset+i]; in KeccakP1600_ExtractAndAddBytesInLane() [all …]
|
/php-src/Zend/tests/ |
H A D | bug30346.phpt | 9 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 D | bug39297.phpt | 13 public function offsetExists($offset): bool { 16 public function offsetUnset($offset): void { 19 public function offsetSet($offset, $value): void { 21 $cannonicalName = strtolower($offset); 26 public function offsetGet($offset): mixed { 28 $cannonicalName = strtolower($offset);
|
H A D | offset_string.phpt | 53 Warning: String offset cast occurred in %s on line %d 56 Warning: String offset cast occurred in %s on line %d 58 Cannot access offset of type string on string 60 Cannot access offset of type string on string 62 Warning: Illegal string offset "15 and then some" in %s on line %d 65 Warning: String offset cast occurred in %s on line %d 68 Warning: String offset cast occurred in %s on line %d 70 Cannot access offset of type resource on string 71 Cannot access offset of type stdClass on string 72 Cannot access offset of type array on string
|
H A D | list_keyed_evaluation_order_nested.phpt | 15 "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.
|
/php-src/ext/date/tests/ |
H A D | bug-gh9763.phpt | 2 Test bug GH-9763: DateTimeZone ctr mishandles input and adds null byte if the argument is an offset… 21 Testing +99:60: DateInvalidTimeZoneException: DateTimeZone::__construct(): Timezone offset is out o… 22 Testing +99:62: DateInvalidTimeZoneException: DateTimeZone::__construct(): Timezone offset is out o… 23 Testing -99:62: DateInvalidTimeZoneException: DateTimeZone::__construct(): Timezone offset is out o… 24 Testing -99:60: DateInvalidTimeZoneException: DateTimeZone::__construct(): Timezone offset is out o… 25 Testing +9960: DateInvalidTimeZoneException: DateTimeZone::__construct(): Timezone offset is out of… 26 Testing -9960: DateInvalidTimeZoneException: DateTimeZone::__construct(): Timezone offset is out of…
|
H A D | 010.phpt | 16 ["offset"]=> 25 ["offset"]=> 34 ["offset"]=> 43 ["offset"]=> 52 ["offset"]=>
|
H A D | strtotime-relative.phpt | 11 // 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 D | DateTimeZone_listAbbreviations_basic1.phpt | 30 ["offset"]=> 39 ["offset"]=> 48 ["offset"]=> 57 ["offset"]=> 66 ["offset"]=> 75 ["offset"]=>
|
/php-src/ext/mbstring/tests/ |
H A D | mb_strripos_variation5_Bug45923.phpt | 2 Test mb_strripos() function : usage variations - Pass different integers as $offset argument 8 * Test how mb_strripos() behaves when passed different integers as $offset argument 24 * Loop through integers as multiples of ten for $offset argument 25 * mb_strripos should not be able to accept negative values as $offset. 75 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 77 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 81 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 83 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 87 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 89 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) [all …]
|
H A D | mb_stripos_invalid_offset.phpt | 84 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 85 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 86 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 87 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 88 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 89 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 90 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 91 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 92 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 93 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
H A D | mb_strpos_invalid_offset.phpt | 84 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 85 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 86 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 87 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 88 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 89 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 90 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 91 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 92 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 93 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
H A D | mb_strpos_offset_errors.phpt | 51 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 52 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 53 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 54 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 55 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 56 mb_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 57 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 58 mb_strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
/php-src/ext/exif/tests/ |
H A D | gh10834.phpt | 26 function stream_seek($offset, $whence) { 29 if ($offset < strlen($this->data) && $offset >= 0) { 30 $this->position = $offset; 37 if ($offset >= 0) { 38 $this->position += $offset; 45 if (strlen($this->data) + $offset >= 0) { 46 $this->position = strlen($this->data) + $offset;
|
/php-src/Zend/tests/offsets/ |
H A D | ArrayObject_container_offset_behaviour.phpt | 137 Cannot access offset of type %s on ArrayObject 139 Cannot access offset of type %s on ArrayObject 141 Cannot access offset of type %s on ArrayObject 143 Cannot access offset of type %s on ArrayObject 151 Cannot access offset of type %s on ArrayObject 153 Cannot unset offset of type %s on ArrayObject 155 Cannot access offset of type %s on ArrayObject 157 Cannot access offset of type %s on ArrayObject 169 Cannot unset offset of type %s on ArrayObject 336 foreach ($offsets as $offset) { [all …]
|
/php-src/ext/iconv/tests/ |
H A D | iconv_substr.phpt | 17 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));
|
/php-src/ext/standard/tests/file/ |
H A D | include_userstream_001.phpt | 39 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-src/ext/opcache/tests/jit/ |
H A D | fetch_dim_r_004.phpt | 41 Warning: String offset cast occurred in %s on line %d 46 Warning: String offset cast occurred in %s on line %d 49 Warning: String offset cast occurred in %s on line %d 52 Warning: String offset cast occurred in %s on line %d 54 Cannot access offset of type string on string 55 Cannot access offset of type string on string 57 Warning: Illegal string offset "2x" in %sfetch_dim_r_004.php on line 5 60 Warning: Illegal string offset "2x" in %sfetch_dim_r_004.php on line 5
|
H A D | fetch_dim_r_003.phpt | 45 Warning: String offset cast occurred in %s on line %d 50 Warning: String offset cast occurred in %s on line %d 53 Warning: String offset cast occurred in %s on line %d 56 Warning: String offset cast occurred in %s on line %d 58 Cannot access offset of type string on string 59 Cannot access offset of type string on string 61 Warning: Illegal string offset "2x" in %sfetch_dim_r_003.php on line 24 64 Warning: Illegal string offset "2x" in %sfetch_dim_r_003.php on line 27
|
H A D | assign_dim_006.phpt | 19 Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5 21 Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5 23 Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5 25 Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5 27 Warning: Illegal string offset -5 in %sassign_dim_006.php on line 5
|
/php-src/Zend/ |
H A D | zend_object_handlers.h | 32 #define IS_VALID_PROPERTY_OFFSET(offset) ((intptr_t)(offset) > 0) argument 33 #define IS_WRONG_PROPERTY_OFFSET(offset) ((intptr_t)(offset) == 0) argument 34 #define IS_DYNAMIC_PROPERTY_OFFSET(offset) ((intptr_t)(offset) < 0) argument 36 #define IS_UNKNOWN_DYNAMIC_PROPERTY_OFFSET(offset) (offset == ZEND_DYNAMIC_PROPERTY_OFFSET) argument 37 #define ZEND_DECODE_DYN_PROP_OFFSET(offset) ((uintptr_t)(-(intptr_t)(offset) - 2)) argument 38 #define ZEND_ENCODE_DYN_PROP_OFFSET(offset) ((uintptr_t)(-((intptr_t)(offset) + 2))) argument 81 typedef void (*zend_object_unset_dimension_t)(zend_object *object, zval *offset); 163 int offset; member 221 ZEND_API void zend_std_write_dimension(zend_object *object, zval *offset, zval *value); 222 ZEND_API int zend_std_has_dimension(zend_object *object, zval *offset, int check_empty); [all …]
|
/php-src/ext/intl/tests/ |
H A D | grapheme_out_of_bounds.phpt | 211 grapheme_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 212 grapheme_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 213 grapheme_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 215 grapheme_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 216 grapheme_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 217 grapheme_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 220 grapheme_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 221 grapheme_stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 224 grapheme_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 229 grapheme_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) [all …]
|
/php-src/ext/spl/tests/ |
H A D | ArrayObject_illegal_offset.phpt | 2 ArrayObject illegal offset 35 Cannot access offset of type array on ArrayObject 36 Cannot access offset of type array on ArrayObject 37 Cannot access offset of type array on ArrayObject 38 Cannot access offset of type array in isset or empty 39 Cannot unset offset of type array on ArrayObject
|
/php-src/ext/standard/tests/strings/ |
H A D | strripos_offset.phpt | 2 strripos() offset integer overflow 39 strripos(): Argument #3 ($offset) must be of type int, float given 40 strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 41 strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 42 strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 43 strripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|
H A D | strrpos_offset.phpt | 2 strrpos() offset integer overflow 39 strrpos(): Argument #3 ($offset) must be of type int, float given 40 strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 41 strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 42 strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 43 strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
|