Home
last modified time | relevance | path

Searched refs:offset (Results 51 – 75 of 807) sorted by relevance

12345678910>>...33

/php-src/ext/hash/sha3/generic64lc/
H A DKeccakP-1600-opt64.c37 #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 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 Dbug39297.phpt13 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 Doffset_string.phpt53 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 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.
/php-src/ext/date/tests/
H A Dbug-gh9763.phpt2 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 D010.phpt16 ["offset"]=>
25 ["offset"]=>
34 ["offset"]=>
43 ["offset"]=>
52 ["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 DDateTimeZone_listAbbreviations_basic1.phpt30 ["offset"]=>
39 ["offset"]=>
48 ["offset"]=>
57 ["offset"]=>
66 ["offset"]=>
75 ["offset"]=>
/php-src/ext/mbstring/tests/
H A Dmb_strripos_variation5_Bug45923.phpt2 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 Dmb_stripos_invalid_offset.phpt84 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 Dmb_strpos_invalid_offset.phpt84 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 Dmb_strpos_offset_errors.phpt51 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 Dgh10834.phpt26 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 DArrayObject_container_offset_behaviour.phpt137 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 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));
/php-src/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-src/ext/opcache/tests/jit/
H A Dfetch_dim_r_004.phpt41 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 Dfetch_dim_r_003.phpt45 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 Dassign_dim_006.phpt19 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 Dzend_object_handlers.h32 #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 Dgrapheme_out_of_bounds.phpt211 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 DArrayObject_illegal_offset.phpt2 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 Dstrripos_offset.phpt2 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 Dstrrpos_offset.phpt2 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)

Completed in 59 milliseconds

12345678910>>...33