/php-src/main/streams/ |
H A D | mmap.c | 21 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mm… in _php_stream_mmap_range() argument 25 range.offset = offset; in _php_stream_mmap_range()
|
/php-src/ext/standard/tests/strings/ |
H A D | strrpos_variation8.phpt | 15 for($offset = -1; $offset <= strlen($haystack); $offset++ ) { 17 var_dump( strrpos($haystack, $needle, $offset) );
|
H A D | unpack_offset.phpt | 2 unpack() with offset 28 unpack(): Argument #3 ($offset) must be contained in argument #2 ($data) 29 unpack(): Argument #3 ($offset) must be contained in argument #2 ($data)
|
/php-src/ext/intl/tests/ |
H A D | gh12020.phpt | 16 string(128) "pattern syntax error (parse error at offset 19, after " message with {", before or at … 18 string(116) "pattern syntax error (parse error at offset 6, after "some {", before or at "wrong.for… 20 string(128) "pattern syntax error (parse error at offset 19, after " message with {", before or at … 22 string(116) "pattern syntax error (parse error at offset 6, after "some {", before or at "wrong.for…
|
/php-src/ext/standard/ |
H A D | flock_compat.c | 107 OVERLAPPED offset = 116 UnlockFileEx(hdl, 0, low, high, &offset); 121 0, low, high, &offset)) 126 0, low, high, &offset))
|
/php-src/ext/intl/grapheme/ |
H A D | grapheme_string.c | 88 int32_t offset = 0; in PHP_FUNCTION() local 102 offset = (int32_t) loffset; in PHP_FUNCTION() 103 noffset = offset >= 0 ? offset : (int32_t)haystack_len + offset; in PHP_FUNCTION() 107 if (offset >= 0 && grapheme_ascii_check((unsigned char *)haystack, haystack_len) >= 0) { in PHP_FUNCTION() 138 int32_t offset = 0; in PHP_FUNCTION() local 152 offset = (int32_t) loffset; in PHP_FUNCTION() 160 int32_t noffset = offset >= 0 ? offset : (int32_t)haystack_len + offset; in PHP_FUNCTION() 199 int32_t offset = 0; in PHP_FUNCTION() local 213 offset = (int32_t) loffset; in PHP_FUNCTION() 254 int32_t offset = 0; in PHP_FUNCTION() local [all …]
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_stmt_result_metadata_sqltests.phpt | 19 $offset, $sql, 32 $offset + 1, $sql); 36 $offset + 2, $sql); 42 $offset + 3, $sql, 88 $offset + 6, $sql, 96 $offset + 7, $sql, 101 $offset + 8, $sql, 108 $offset + 9, $sql, 114 $offset + 10, $sql, 145 $offset + 11, $sql); [all …]
|
H A D | mysqli_fetch_assoc_zerofill.phpt | 14 function zerofill($offset, $link, $datatype, $insert = 1) { 25 $offset, mysqli_errno($link), mysqli_error($link)); 31 $offset, mysqli_errno($link), mysqli_error($link)); 45 printf("[%03d] Expecting '%s' got '%s'\n", $offset, $expected, $row['zero']); 50 printf("[%03d] Length reported is too small to run test\n", $offset);
|
H A D | mysqli_next_result.phpt | 22 function func_test_mysqli_next_result($link, $query, $offset, $num_results) { 25 printf("[%03d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link)); 36 … printf("[%03d] Expecting %d result(s), got %d result(s)\n", $offset + 2, $num_results, $i); 40 … printf("[%03d] mysqli_more_results() indicates more results than expected\n", $offset + 3); 43 printf("[%03d] [%d] %s\n", $offset + 4, mysqli_errno($link), mysqli_error($link));
|
/php-src/ext/ftp/ |
H A D | ftp.stub.php | 107 …onnection $ftp, $stream, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): bool {} 110 …Connection $ftp, $stream, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): int {} 112 … string $local_filename, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): bool {} 113 …ng $local_filename, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): int|false {} 117 …onnection $ftp, string $remote_filename, $stream, int $mode = FTP_BINARY, int $offset = 0): bool {} 120 …Connection $ftp, string $remote_filename, $stream, int $mode = FTP_BINARY, int $offset = 0): int {} 121 … string $remote_filename, string $local_filename, int $mode = FTP_BINARY, int $offset = 0): bool {} 123 …ng $remote_filename, string $local_filename, int $mode = FTP_BINARY, int $offset = 0): int|false {}
|
/php-src/ext/standard/tests/file/ |
H A D | include_userstream_003.phpt | 54 function stream_seek($offset, $whence) 57 return fseek($this->stream, $offset, $whence); 61 if ($offset < $this->data && $offset >= 0) { 62 $this->pos = $offset; 69 if ($offset >= 0) { 70 $this->pos += $offset; 77 if (strlen($this->data) + $offset >= 0) { 78 $this->pos = strlen($this->data) + $offset;
|
/php-src/Zend/tests/ |
H A D | bug80972.phpt | 2 Bug #80972: Memory exhaustion on invalid string offset 27 * the offset is invalid */ 39 Cannot access offset of type string on string 40 Cannot access offset of type string on string
|
H A D | bug40833.phpt | 38 function offsetUnset($offset): void 44 function offsetSet($offset, $value): void 48 function offsetGet($offset): mixed 53 function offsetExists($offset): bool
|
/php-src/ext/mbstring/tests/ |
H A D | mb_ereg_search_setpos.phpt | 40 mb_ereg_search_setpos(): Argument #1 ($offset) is out of range 51 mb_ereg_search_setpos(): Argument #1 ($offset) is out of range 55 mb_ereg_search_setpos(): Argument #1 ($offset) is out of range 71 mb_ereg_search_setpos(): Argument #1 ($offset) is out of range
|
/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativeX86_32.c | 929 offset -= SSIZE_OF(sw); in tail_call_with_args() 933 offset -= SSIZE_OF(sw); in tail_call_with_args() 937 offset -= SSIZE_OF(sw); in tail_call_with_args() 946 offset -= SSIZE_OF(sw); in tail_call_with_args() 953 offset -= SSIZE_OF(f64); in tail_call_with_args() 958 offset -= SSIZE_OF(f32); in tail_call_with_args() 990 if (offset == 0) in tail_call_with_args() 1029 offset += SSIZE_OF(sw); in tail_call_reg_arg_with_args() 1031 offset += SSIZE_OF(sw); in tail_call_reg_arg_with_args() 1033 offset += SSIZE_OF(sw); in tail_call_reg_arg_with_args() [all …]
|
/php-src/ext/standard/tests/array/ |
H A D | array_slice_basic.phpt | 13 $offset = 2; 19 var_dump( array_slice($input, $offset, $length, $preserve_keys) ); 23 var_dump( array_slice($input, $offset) );
|
/php-src/ext/date/tests/ |
H A D | unserialize-test.phpt | 28 %s: unserialize(): Error at offset 39 of 39 bytes in %sunserialize-test.php on line %d 33 %s: unserialize(): Error at offset 26 of 26 bytes in %sunserialize-test.php on line %d 39 %s: unserialize(): Error at offset 230 of 509 bytes in %sunserialize-test.php on line %d 44 %s: unserialize(): Error at offset 39 of 39 bytes in %sunserialize-test.php on line %d
|
H A D | bug80963.phpt | 23 ["offset"]=> 36 ["offset"]=> 49 ["offset"]=>
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_fetch_both.phpt | 15 function fetch($offset, &$db, $query, $expect = null) { 28 printf("[%03d] Suspicious FETCH_BOTH result, dumping\n", $offset); 34 printf("[%03d] Expected differs from returned data, dumping\n", $offset); 40 $offset,
|
/php-src/ext/openssl/tests/ |
H A D | ServerClientTestCase.inc | 31 $offset = 0; 34 while ($offset < $dataLength) { 36 if ($offset + 5 > $dataLength) { 41 $length = unpack("n", substr($rawData, $offset + 3, 2))[1]; 44 if ($offset + 5 + $length > $dataLength) { 49 $records[] = substr($rawData, $offset, 5 + $length); 51 // Move the offset past the current record. 52 $offset += 5 + $length;
|
/php-src/ext/fileinfo/tests/ |
H A D | bug61964-mb.phpt | 53 Warning: finfo_open(): offset `string' invalid in %sbug61964-mb.php on line %d 55 Warning: finfo_open(): offset ` Core' invalid in %sbug61964-mb.php on line %d 57 Warning: finfo_open(): offset ` Me' invalid in %sbug61964-mb.php on line %d 59 Warning: finfo_open(): offset `a' invalid in %sbug61964-mb.php on line %d 61 Warning: finfo_open(): offset `b' invalid in %sbug61964-mb.php on line %d
|
H A D | bug61964.phpt | 53 Warning: finfo_open(): offset `string' invalid in %sbug61964.php on line %d 55 Warning: finfo_open(): offset ` Core' invalid in %sbug61964.php on line %d 57 Warning: finfo_open(): offset ` Me' invalid in %sbug61964.php on line %d 59 Warning: finfo_open(): offset `a' invalid in %sbug61964.php on line %d 61 Warning: finfo_open(): offset `b' invalid in %sbug61964.php on line %d
|
/php-src/ext/standard/tests/general_functions/ |
H A D | parse_ini_basic.data | 49 [offset values] 50 foo1[] = "basic offset 1" 51 foo1[ ] = "basic offset 2" 52 foo2[123] = "long offset" 53 foo3[abc] = "string offset" 54 foo4[""] = "quoted offset 1" 55 foo4[" "] = "quoted offset 2" 56 foo4["sqfoobar"] = "quoted string offset" 57 foo4['dqfoobar'] = "single quoted offset"
|
/php-src/Zend/ |
H A D | zend_attributes.h | 59 uint32_t offset; member 73 …tribute *zend_get_parameter_attribute(HashTable *attributes, zend_string *lcname, uint32_t offset); 74 …d_get_parameter_attribute_str(HashTable *attributes, const char *str, size_t len, uint32_t offset); 87 uint32_t flags, uint32_t offset, uint32_t lineno); 103 …nd_attribute *zend_add_parameter_attribute(zend_function *func, uint32_t offset, zend_string *name… in zend_add_parameter_attribute() argument 106 return zend_add_attribute(&func->common.attributes, name, argc, flags, offset + 1, 0); in zend_add_parameter_attribute()
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_read_buffer.c | 38 memcpy(dest, buffer->data + buffer->offset, count); in mysqlnd_read_buffer_read() 39 buffer->offset += count; in mysqlnd_read_buffer_read() 82 ret->offset = 0; in mysqlnd_create_read_buffer()
|