/PHP-7.0/ext/standard/tests/array/ |
H A D | array_slice_variation5.phpt | 34 -- $offset is -7 -- 48 -- $offset is -6 -- 62 -- $offset is -5 -- 76 -- $offset is -4 -- 112 -- $offset is 0 -- 126 -- $offset is 1 -- 138 -- $offset is 2 -- 148 -- $offset is 3 -- 156 -- $offset is 4 -- 162 -- $offset is 5 -- [all …]
|
H A D | array_splice_variation3.phpt | 13 function test_splice ($offset, $length) 17 var_dump (array_splice ($input_array,$offset,$length)); 118 absolute offset - absolute length - cut from middle 159 absolute offset - absolute length - cut from end 241 absolute offset - absolute length - cut everything 282 absolute offset - absolute length - cut nothing 446 absolute offset - relative length - cut nothing 569 relative offset - absolute length - cut from end 651 relative offset - absolute length - cut everything 692 relative offset - absolute length - cut nothing [all …]
|
/PHP-7.0/ext/dom/ |
H A D | characterdata.c | 33 ZEND_ARG_INFO(0, offset) 42 ZEND_ARG_INFO(0, offset) 47 ZEND_ARG_INFO(0, offset) 176 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_FUNCTION() 260 if (offset < 0 || ZEND_LONG_INT_OVFL(offset) || offset > length) { in PHP_FUNCTION() 267 second = xmlUTF8Strsub(cur, (int)offset, length - (int)offset); in PHP_FUNCTION() 307 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_FUNCTION() 313 if (offset > 0) { in PHP_FUNCTION() 364 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_FUNCTION() 370 if (offset > 0) { in PHP_FUNCTION() [all …]
|
/PHP-7.0/ext/dom/tests/ |
H A D | bug67949.phpt | 25 $offset = ['test']; 26 var_dump($offset); 27 var_dump(isset($nodes[$offset]), $nodes[$offset]->textContent); 28 var_dump($offset); 33 var_dump($offset); 34 var_dump(isset($nodes[$offset]), $nodes[$offset]->textContent); 35 var_dump($offset); 37 $offset = 'test'; 38 var_dump($offset); 39 var_dump(isset($nodes[$offset]), $nodes[$offset]->textContent); [all …]
|
/PHP-7.0/Zend/tests/ |
H A D | bug39018.phpt | 65 Notice: String offset cast occurred in %s on line %d 67 Notice: Uninitialized string offset: %s in %s on line 6 69 Notice: Uninitialized string offset: 0 in %s on line %d 71 Notice: Uninitialized string offset: 0 in %s on line %d 73 Notice: String offset cast occurred in %s on line %d 77 Notice: String offset cast occurred in %s on line %d 81 Notice: Uninitialized string offset: 0 in %s on line %d 93 Notice: String offset cast occurred in %s on line %d 97 Notice: String offset cast occurred in %s on line %d 101 Notice: String offset cast occurred in %s on line %d [all …]
|
H A D | bug64417.phpt | 7 public function offsetSet($offset, $value) { 8 if (is_null($offset)) { 11 $this->container[$offset] = $value; 14 public function offsetExists($offset) { 15 return isset($this->container[$offset]); 17 public function offsetUnset($offset) { 18 unset($this->container[$offset]); 20 public function &offsetGet($offset) { 22 if (isset($this->container[$offset])) { 23 $result = &$this->container[$offset];
|
H A D | dereference_005.phpt | 17 public function offsetSet($offset, $value) { 18 $this->container[$offset] = $value; 20 public function offsetExists($offset) { 21 return isset($this->container[$offset]); 23 public function offsetUnset($offset) { 24 unset($this->container[$offset]); 26 public function offsetGet($offset) { 27 return isset($this->container[$offset]) ? $this->container[$offset] : null;
|
H A D | bug68896.phpt | 7 function offsetGet($offset) { 8 return $this->a[$offset]; 10 function offsetSet($offset, $value) { 11 $this->a[$offset] = $value; 13 function offsetExists($offset) { 14 isset($this->a[$offset]); 16 function offsetUnset($offset) { 17 unset($this->a[$offset]);
|
H A D | bug69955.phpt | 7 function offsetExists($offset) 9 echo "\nInside " . __METHOD__ . "\n"; var_dump($offset); 11 function offsetGet($offset) 13 echo "\nInside " . __METHOD__ . "\n"; var_dump($offset); return 100; 15 function offsetSet($offset, $value) 17 echo "\nInside " . __METHOD__ . "\n"; var_dump($offset); var_dump($value); 19 function offsetUnset($offset) 21 echo "\nInside " . __METHOD__ . "\n"; var_dump($offset);
|
H A D | bug32252.phpt | 8 function offsetExists($offset) 10 echo __METHOD__ . "($offset)\n"; 14 function offsetGet($offset) 16 echo __METHOD__ . "($offset)\n"; 20 function offsetSet($offset, $value) 22 echo __METHOD__ . "($offset, $value)\n"; 26 function offsetUnset($offset) 28 echo __METHOD__ . "($offset)\n";
|
/PHP-7.0/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 186 ms->offset = m->offset; in match() 266 ms->offset = m->offset; in match() 1310 offset = ~offset; in mget() 1346 offset = ~offset; in mget() 1382 offset = ~offset; in mget() 1418 offset = ~offset; in mget() 1456 offset = ~offset; in mget() 1494 offset = ~offset; in mget() 1531 offset = ~offset; in mget() 1566 offset = ~offset; in mget() [all …]
|
/PHP-7.0/ext/spl/ |
H A D | spl_engine.c | 41 PHPAPI zend_long spl_offset_convert_to_long(zval *offset) /* {{{ */ in spl_offset_convert_to_long() argument 46 switch (Z_TYPE_P(offset)) { in spl_offset_convert_to_long() 48 if (ZEND_HANDLE_NUMERIC(Z_STR_P(offset), idx)) { in spl_offset_convert_to_long() 53 return (zend_long)Z_DVAL_P(offset); in spl_offset_convert_to_long() 55 return Z_LVAL_P(offset); in spl_offset_convert_to_long() 61 offset = Z_REFVAL_P(offset); in spl_offset_convert_to_long() 64 return Z_RES_HANDLE_P(offset); in spl_offset_convert_to_long()
|
/PHP-7.0/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_errorinfo.phpt | 22 $offset, $expected, $code); 46 check_error($offset + 2, $db); 50 check_error($offset + 3, $db); 51 check_error($offset + 4, $stmt); 55 check_error($offset + 5, $db); 64 check_error($offset + 9, $db); 65 check_error($offset + 10, $stmt); 72 check_error($offset + 13, $stmt); 73 check_error($offset + 14, $stmt2); 80 check_error($offset + 17, $stmt); [all …]
|
/PHP-7.0/ext/intl/grapheme/ |
H A D | grapheme_util.h | 28 …trrpos_ascii(char *haystack, size_t haystack_len, char *needle, size_t needle_len, int32_t offset); 30 …*haystack, size_t haystack_len, char *needle, size_t needle_len, int32_t offset, int f_ignore_case… 31 …*haystack, size_t haystack_len, char *needle, size_t needle_len, int32_t offset, int *puchar_pos, … 39 int32_t grapheme_get_haystack_offset(UBreakIterator* bi, int32_t offset); 44 …ne OUTSIDE_STRING(offset, max_len) ( offset <= INT32_MIN || offset > INT32_MAX || (offset < 0 ? -o… argument
|
/PHP-7.0/ext/intl/doc/ |
H A D | grapheme_api.php | 33 * @param [int] $offset The optional offset parameter allows you to specify 38 function grapheme_strpos($haystack, $needle, $offset = 0) {} argument 45 * @param [int] $offset The optional offset parameter allows you to specify 50 function grapheme_stripos($haystack, $needle, $offset = 0) {} argument 57 * @param [int] $offset The optional offset parameter allows you to specify 62 function grapheme_strrpos($haystack, $needle, $offset = 0) {} argument 69 * @param [int] $offset The optional offset parameter allows you to specify 74 function grapheme_strripos($haystack, $needle, $offset = 0) {} argument
|
/PHP-7.0/ext/spl/internal/ |
H A D | limititerator.inc | 27 private $offset; 34 * @param offset Offset to first element 39 if ($offset < 0) { 40 throw new exception('Parameter offset must be > 0'); 46 $this->offset = $offset; 52 * @param position offset to seek to (relative to beginning not offset 57 if ($position < $this->offset) { 58 throw new exception('Cannot seek to '.$position.' which is below offset '.$this->offset); 61 …throw new exception('Cannot seek to '.$position.' which is behind offset '.$this->offset.' plus co… 73 /** Rewind to offset specified in constructor [all …]
|
/PHP-7.0/ext/date/tests/ |
H A D | bug62896.phpt | 12 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n"; 15 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n"; 21 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n"; 24 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n"; 29 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n"; 35 2012-08-21 22:00:00 GMT+0000 (offset 0) 36 2012-08-21 22:00:00 GMT+0000 (offset 0) 38 2012-08-22 00:00:00 CEST (offset 7200) 39 2012-08-22 00:00:00 CEST (offset 7200) 41 2012-08-22 00:00:00 CEST (offset 7200) [all …]
|
H A D | bug40861.phpt | 7 $offset = +60; 9 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts)); 12 $offset = -60; 14 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts)); 17 $offset = -60; 19 $result = date("Y-m-d H:i:s", strtotime("-$offset minutes", $ts)); 23 $offset = 60; 25 $result = date("Y-m-d H:i:s", strtotime("+$offset minutes", $ts));
|
H A D | DateTimeZone_listAbbreviations_basic1.phpt | 37 ["offset"]=> 46 ["offset"]=> 55 ["offset"]=> 64 ["offset"]=> 73 ["offset"]=> 82 ["offset"]=> 91 ["offset"]=> 100 ["offset"]=> 109 ["offset"]=> 118 ["offset"]=> [all …]
|
H A D | timezone_abbreviations_list_basic1.phpt | 37 ["offset"]=> 46 ["offset"]=> 55 ["offset"]=> 64 ["offset"]=> 73 ["offset"]=> 82 ["offset"]=> 91 ["offset"]=> 100 ["offset"]=> 109 ["offset"]=> 118 ["offset"]=> [all …]
|
/PHP-7.0/ext/zip/lib/ |
H A D | zip_source_seek.c | 39 zip_source_seek(zip_source_t *src, zip_int64_t offset, int whence) in zip_source_seek() argument 51 args.offset = offset; in zip_source_seek() 59 zip_source_seek_compute_offset(zip_uint64_t offset, zip_uint64_t length, void *data, zip_uint64_t d… in zip_source_seek_compute_offset() argument 70 new_offset = (zip_int64_t)offset + args->offset; in zip_source_seek_compute_offset() 74 new_offset = (zip_int64_t)length + args->offset; in zip_source_seek_compute_offset() 78 new_offset = args->offset; in zip_source_seek_compute_offset()
|
H A D | zip_file_get_offset.c | 53 zip_uint64_t offset; in _zip_file_get_offset() local 56 offset = za->entry[idx].orig->offset; in _zip_file_get_offset() 58 if (zip_source_seek(za->src, (zip_int64_t)offset, SEEK_SET) < 0) { in _zip_file_get_offset() 67 if (offset+(zip_uint32_t)size > ZIP_INT64_MAX) { in _zip_file_get_offset() 72 return offset + (zip_uint32_t)size; in _zip_file_get_offset()
|
/PHP-7.0/Zend/tests/anon/ |
H A D | 004.phpt | 15 public function offsetGet($offset) { return $this->data[$offset]; } 16 public function offsetSet($offset, $data) { return ($this->data[$offset] = $data); } 17 public function offsetUnset($offset) { unset($this->data[$offset]); } 18 public function offsetExists($offset) { return isset($this->data[$offset]); }
|
/PHP-7.0/Zend/ |
H A D | zend_multiply.h | 131 "rm"(offset)); in zend_safe_address() 160 "rm"(offset)); in zend_safe_address() 182 "0"(offset), in zend_safe_address() 204 "r"(offset)); in zend_safe_address() 228 "r"(offset)); in zend_safe_address() 242 uint64_t res = (uint64_t) nmemb * (uint64_t) size + (uint64_t) offset; in zend_safe_address() 256 size_t res = nmemb * size + offset; in zend_safe_address() 257 double _d = (double)nmemb * (double)size + (double)offset; in zend_safe_address() 269 static zend_always_inline size_t zend_safe_address_guarded(size_t nmemb, size_t size, size_t offset) in zend_safe_address_guarded() argument 272 size_t ret = zend_safe_address(nmemb, size, offset, &overflow); in zend_safe_address_guarded() [all …]
|
/PHP-7.0/ext/xmlrpc/libxmlrpc/ |
H A D | base64.c | 30 b->offset = 0; in buffer_new() 39 b->offset++; in buffer_add() 40 if (b->offset == b->length) { in buffer_add() 43 b->ptr = b->data + b->offset; in buffer_add() 51 b->offset = 0; in buffer_delete() 59 int offset = 0; in base64_encode_xmlrpc() local 85 offset++; in base64_encode_xmlrpc() 86 if (offset > length || offset <= 0) { in base64_encode_xmlrpc() 110 if (!(b->offset % 72)) { in base64_encode_xmlrpc() 124 int offset = 0; in base64_decode_xmlrpc() local [all …]
|