Home
last modified time | relevance | path

Searched refs:offset (Results 101 – 125 of 706) sorted by relevance

12345678910>>...29

/PHP-8.0/main/streams/
H A Dphp_stream_mmap.h47 size_t offset; member
68 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mm…
69 #define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((str… argument
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_stmt_bind_param_type_juggling.phpt15 printf("[%03d + 1] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
22 printf("[%03d + 2] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
27 printf("[%03d + 3] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
32 … printf("[%03d + 4] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
37 … printf("[%03d + 5] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
42 … printf("[%03d + 6] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
47 … printf("[%03d + 7] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
51 … printf("[%03d + 8] [%d] %s\n", $offset, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
57 printf("[%03d + 9] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
68 $offset, $bind_value1, $bind_value1,
[all …]
H A Dbug42378.phpt18 $offset,
28 $offset + 1,
41 $offset + 2,
54 $offset,
67 $offset + 1,
74 $offset + 2,
81 $offset + 3,
91 $offset + 4,
98 $offset + 5,
105 $offset + 6,
[all …]
H A Dlocal_infile_tools.inc50 function create_standard_csv($offset, $verbose = true) {
55 printf("[%03d + 1] Cannot create CVS file '%s'\n", $offset, $file);
66 printf("[%03d + 3] Cannot write CVS file '%s'\n", $offset, $file);
75 $offset, $file);
81 function try_handler($offset, $link, $file, $handler, $expected = null) {
86 printf("[%03d] Cannot set infile handler to '%s'\n", $offset, $handler);
102 $offset + 2,
107 printf("[%03d] [%d] %s\n", $offset + 3, mysqli_errno($link), mysqli_error($link));
121 $offset + 5, $k,
127 $offset + 6, $k,
[all …]
/PHP-8.0/ext/standard/tests/file/
H A Dinclude_userstream_002.phpt53 function stream_seek($offset, $whence)
56 return fseek($this->stream, $offset, $whence);
60 if ($offset < $this->data && $offset >= 0) {
61 $this->pos = $offset;
68 if ($offset >= 0) {
69 $this->pos += $offset;
76 if (strlen($this->data) + $offset >= 0) {
77 $this->pos = strlen($this->data) + $offset;
H A Dbug38450_3.phpt48 function stream_seek($offset, $whence)
52 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
53 $this->position = $offset;
61 if ($offset >= 0) {
62 $this->position += $offset;
70 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) {
71 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
H A Dfopencookie.phpt45 function stream_seek($offset, $whence)
49 if ($offset < strlen($this->data) && $offset >= 0) {
50 $this->position = $offset;
57 if ($offset >= 0) {
58 $this->position += $offset;
65 if (strlen($this->data) + $offset >= 0) {
66 $this->position = strlen($this->data) + $offset;
H A Dinclude_streams.phpt67 function stream_seek($offset, $whence)
71 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
72 $this->position = $offset;
79 if ($offset >= 0) {
80 $this->position += $offset;
87 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) {
88 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
/PHP-8.0/ext/standard/tests/general_functions/
H A Dparse_ini_basic.data49 [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-8.0/TSRM/
H A DTSRM.h94 TSRM_API ts_rsrc_id ts_allocate_fast_id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_alloca…
163 #define TSRMG_FAST(offset, type, element) (TSRMG_FAST_BULK(offset, type)->element) argument
164 #define TSRMG_FAST_BULK(offset, type) ((type) (((char*) tsrm_get_ls_cache())+(offset))) argument
168 #define TSRMG_FAST_STATIC(offset, type, element) (TSRMG_FAST_BULK_STATIC(offset, type)->element) argument
169 #define TSRMG_FAST_BULK_STATIC(offset, type) ((type) (((char*) TSRMLS_CACHE)+(offset))) argument
/PHP-8.0/ext/intl/breakiterator/
H A Dbreakiterator.stub.php34 public function following(int $offset) {} argument
52 public function isBoundary(int $offset) {} argument
58 public function next(?int $offset = null) {} argument
61 public function preceding(int $offset) {} argument
/PHP-8.0/tests/strings/
H A Doffsets_chaining_5.phpt2 testing the behavior of string offset chaining
18 Warning: Illegal string offset "0foo" in %s on line %d
22 Warning: Illegal string offset "0foo" in %s on line %d
24 Warning: Illegal string offset "0bar" in %s on line %d
/PHP-8.0/ext/intl/formatter/
H A Dformatter.stub.php22 * @param int $offset
26 …public function parse(string $string, int $type = NumberFormatter::TYPE_DOUBLE, &$offset = null) {} argument
36 * @param int $offset
40 public function parseCurrency(string $string, &$currency, &$offset = null) {} argument
/PHP-8.0/ext/standard/tests/serialize/
H A Dunserialize_large.phpt13 Notice: unserialize(): Error at offset 14 of 15 bytes in %s on line %d
16 Notice: unserialize(): Error at offset 2 of 20 bytes in %s on line %d
19 Notice: unserialize(): Error at offset 18 of 21 bytes in %s on line %d
24 Notice: unserialize(): Error at offset 20 of 21 bytes in %s on line %d
/PHP-8.0/ext/intl/tests/
H A Dbug74264.phpt9 foreach (range(-5, -1) as $offset) {
11 grapheme_strrpos('déjàààà', 'à', $offset),
12 grapheme_strripos('DÉJÀÀÀÀ', 'à', $offset)
/PHP-8.0/ext/intl/dateformat/
H A Ddateformat.stub.php115 * @param int $offset
119 public function parse(string $string, &$offset = null) {} argument
122 * @param int $offset
126 public function localtime(string $string, &$offset = null) {} argument
/PHP-8.0/ext/mbstring/tests/
H A Dbug43840.phpt13 * Multibyte string was not returning error message until offset was passed the
52 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
54 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
58 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
60 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
64 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
66 mb_strpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
/PHP-8.0/ext/ftp/
H A Dftp.stub.php62 function ftp_fget($ftp, $stream, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0):… argument
68 function ftp_nb_fget($ftp, $stream, string $remote_filename, int $mode = FTP_BINARY, int $offset = … argument
74 … string $local_filename, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): bool {} argument
77 …, string $local_filename, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0): int {} argument
86 function ftp_fput($ftp, string $remote_filename, $stream, int $mode = FTP_BINARY, int $offset = 0):… argument
92 function ftp_nb_fput($ftp, string $remote_filename, $stream, int $mode = FTP_BINARY, int $offset = … argument
95 … string $remote_filename, string $local_filename, int $mode = FTP_BINARY, int $offset = 0): bool {} argument
101 …ng $remote_filename, string $local_filename, int $mode = FTP_BINARY, int $offset = 0): int|false {} argument
/PHP-8.0/ext/spl/
H A Dspl_array.c285 if (!offset || Z_ISUNDEF_P(offset) || !ht) { in spl_array_get_dimension_ptr()
375 ZVAL_DEREF(offset); in spl_array_get_dimension_ptr()
401 if (!offset) { in spl_array_read_dimension_ex()
403 offset = &tmp; in spl_array_read_dimension_ex()
447 if (!offset) { in spl_array_write_dimension_ex()
449 offset = &tmp; in spl_array_write_dimension_ex()
454 zval_ptr_dtor(offset); in spl_array_write_dimension_ex()
464 if (!offset) { in spl_array_write_dimension_ex()
499 ZVAL_DEREF(offset); in spl_array_write_dimension_ex()
585 ZVAL_DEREF(offset); in spl_array_unset_dimension_ex()
[all …]
/PHP-8.0/ext/dom/tests/
H A DDOMComment_insertData_error1.phpt11 //Negative offset
18 echo "Throws DOMException for -ve offset\n";
24 Throws DOMException for -ve offset
H A DDOMComment_insertData_error2.phpt11 //offset to large
18 echo "Throws DOMException for offset too large\n";
24 Throws DOMException for offset too large
H A DDOMComment_replaceData_error1.phpt11 //Negative offset
18 echo "Throws DOMException for -ve offset\n";
24 Throws DOMException for -ve offset
H A DDOMComment_replaceData_error2.phpt11 //offset to large
18 echo "Throws DOMException for offset too large\n";
24 Throws DOMException for offset too large
/PHP-8.0/Zend/tests/
H A Dbug81159.phpt2 Bug #81159: Object to int warning when using an object as a string offset
20 Cannot access offset of type stdClass on string
21 Cannot access offset of type stdClass on string
/PHP-8.0/ext/intl/grapheme/
H A Dgrapheme_string.c108 int32_t offset = 0; in PHP_FUNCTION() local
122 offset = (int32_t) loffset; in PHP_FUNCTION()
123 noffset = offset >= 0 ? offset : (int32_t)haystack_len + offset; in PHP_FUNCTION()
158 int32_t offset = 0; in PHP_FUNCTION() local
172 offset = (int32_t) loffset; in PHP_FUNCTION()
180 int32_t noffset = offset >= 0 ? offset : (int32_t)haystack_len + offset; in PHP_FUNCTION()
219 int32_t offset = 0; in PHP_FUNCTION() local
233 offset = (int32_t) loffset; in PHP_FUNCTION()
241 ret_pos = grapheme_strrpos_ascii(haystack, haystack_len, needle, needle_len, offset); in PHP_FUNCTION()
274 int32_t offset = 0; in PHP_FUNCTION() local
[all …]

Completed in 54 milliseconds

12345678910>>...29