Home
last modified time | relevance | path

Searched refs:offset (Results 226 – 250 of 706) sorted by relevance

12345678910>>...29

/PHP-8.0/ext/intl/
H A Dphp_intl.stub.php199 /** @param int $offset */
200 function datefmt_parse(IntlDateFormatter $formatter, string $string, &$offset = null): int|float|fa… argument
202 /** @param int $offset */
215 /** @param int $offset */
222 * @param int $offset
252 function grapheme_strpos(string $haystack, string $needle, int $offset = 0): int|false {} argument
254 function grapheme_stripos(string $haystack, string $needle, int $offset = 0): int|false {} argument
256 function grapheme_strrpos(string $haystack, string $needle, int $offset = 0): int|false {} argument
258 function grapheme_strripos(string $haystack, string $needle, int $offset = 0): int|false {} argument
260 function grapheme_substr(string $string, int $offset, ?int $length = null): string|false {} argument
[all …]
/PHP-8.0/ext/standard/tests/serialize/
H A Dbug72663_2.phpt24 Notice: unserialize(): Error at offset 46 of 47 bytes in %s on line %d
26 Notice: unserialize(): Error at offset 79 of 80 bytes in %s on line %d
H A Dbug70436.phpt49 Notice: unserialize(): Error at offset 0 of 3 bytes in %sbug70436.php on line %d
51 Notice: unserialize(): Error at offset 93 of 94 bytes in %sbug70436.php on line %d
/PHP-8.0/ext/iconv/
H A Diconv.stub.php7 function iconv_substr(string $string, int $offset, ?int $length = null, ?string $encoding = null): … argument
9 function iconv_strpos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null):… argument
/PHP-8.0/ext/iconv/tests/
H A Diconv_strpos_error2.phpt17 $offset = 2;
20 var_dump( iconv_strpos($haystack, $needle, $offset, $encoding) );
/PHP-8.0/ext/phar/
H A Dphar_internal.h244 zend_long offset; member
325 zend_long offset; member
406 …tic inline void phar_set_fp_type(phar_entry_info *entry, enum phar_fp_type type, zend_off_t offset) in phar_set_fp_type() argument
412 entry->offset = offset; in phar_set_fp_type()
417 data->offset = offset; in phar_set_fp_type()
431 return entry->offset; in phar_get_fp_offset()
434 if (!PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset) { in phar_get_fp_offset()
435 PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offset; in phar_get_fp_offset()
438 return PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset; in phar_get_fp_offset()
566 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int f…
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_poll.phpt51 function poll_async($offset, $link, $links, $errors, $reject, $exp_ready, $use_oo_syntax) {
64 printf("[%03d + 2] Can fetch resultset although no query has been run!\n", $offset);
67 $offset, mysqli_errno($mysqli), mysqli_error($mysqli));
69 … printf("[%03d + 4] Cannot fetch and no error set - non resultset query (no SELECT)!\n", $offset);
75 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
79 $offset, mysqli_thread_id($mysqli), mysqli_errno($mysqli), mysqli_error($mysqli));
/PHP-8.0/ext/opcache/tests/jit/
H A Dassign_dim_002.phpt40 $array[offset()] = 2;
50 function offset() {
127 Illegal offset type
/PHP-8.0/ext/standard/tests/strings/
H A Dbug72663.phpt24 Notice: unserialize(): Error at offset 46 of 47 bytes in %sbug72663.php on line %d
26 Notice: unserialize(): Error at offset 79 of 80 bytes in %sbug72663.php on line %d
H A Dstripos_error.phpt27 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
30 stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
H A Dstripos_variation8.phpt26 for($offset = 0; $offset <= strlen($haystack); $offset++ ) {
27 var_dump( stripos($haystack, $needles[$index], $offset) );
/PHP-8.0/ext/shmop/
H A Dshmop_arginfo.h13 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
28 ZEND_ARG_TYPE_INFO(0, offset, IS_LONG, 0)
/PHP-8.0/ext/calendar/tests/
H A Djdmonthname.phpt11 for ($offset = 0; $offset <= 12; $offset++) {
12 echo jdmonthname($jd + $offset * 30, $mode). "\n";
/PHP-8.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_exec_load_data.phpt33 function exec_and_count($offset, &$db, $sql, $exp) {
40 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
54 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
90 foreach ($expected as $offset => $exp) {
92 if ($ret[$offset][$key] != $value) {
H A Dpdo_mysql_types.phpt13 …function test_type(&$db, $offset, $sql_type, $value, $ret_value = NULL, $pattern = NULL, $alternat…
24 $stmt->bindValue(1, $offset);
27 printf("[%03d + 1] INSERT failed, %s\n", $offset, var_export($stmt->errorInfo(), true));
36 …printf("[%03d + 2] Fetched result seems wrong, dumping result: %s\n", $offset, var_export($row, tr…
40 if ($row['id'] != $offset) {
41 printf("[%03d + 3] Expecting %s got %s\n", $offset, $row['id']);
48 $offset, $pattern, var_export($row['label'], true));
61 … printf("[%03d + 4] %s - input = %s/%s, output = %s/%s (alternative type: %s)\n", $offset,
H A Dpdo_mysql_bit.phpt16 function test_type(&$db, $offset, $sql_type, $value, $ret_value = NULL, $pattern = NULL) {
27 $stmt->bindValue(1, $offset);
30 printf("[%03d + 1] INSERT failed, %s\n", $offset, var_export($stmt->errorInfo(), true));
/PHP-8.0/ext/date/lib/
H A Dparse_tz.c259 tz->type[i].offset = 0; in read_64bit_types()
260 …tz->type[i].offset += (int32_t) (((uint32_t) buffer[j]) << 24) + (buffer[j + 1] << 16) + (buffer[j… in read_64bit_types()
412 (long int) tz->type[0].offset, in timelib_dump_tzinfo()
422 (long int) tz->type[tz->trans_idx[i]].offset, in timelib_dump_tzinfo()
434 tz->leap_times[i].offset); in timelib_dump_tzinfo()
695 int32_t offset = 0, leap_secs = 0; in timelib_get_time_zone_info() local
701 offset = to->offset; in timelib_get_time_zone_info()
706 offset = 0; in timelib_get_time_zone_info()
713 leap_secs = -tl->offset; in timelib_get_time_zone_info()
716 tmp->offset = offset; in timelib_get_time_zone_info()
[all …]
/PHP-8.0/ext/gd/tests/
H A Dbug47946.phpt25 function makeFilter($resource, $matrix, $offset = 1.0)
31 return imageconvolution($resource, $matrix, $divisor, $offset);
/PHP-8.0/Zend/tests/
H A Ddereference_014.phpt30 Warning: Trying to access array offset on value of type null in %s on line %d
35 Warning: Trying to access array offset on value of type null in %s on line %d
/PHP-8.0/ext/com_dotnet/tests/
H A Dbug77177.phpt44 Notice: unserialize(): Error at offset 13 of 14 bytes in %s on line %d
49 Notice: unserialize(): Error at offset 16 of 17 bytes in %s on line %d
54 Notice: unserialize(): Error at offset 17 of 18 bytes in %s on line %d
/PHP-8.0/ext/pdo_oci/tests/
H A Dpdo_oci_stmt_getcolumnmeta.phpt53 // invalid offset
84 // invalid offset
100 function test_return($meta, $offset, $native_type, $pdo_type){
102 printf("[%03d + 2] getColumnMeta() failed, %d - %s\n", $offset,
109 printf("[%03d + 3] Element %s missing, %s\n", $offset,
116 printf("[%03d + 4] Element native_type missing, %s\n", $offset,
133 printf("[%03d + 5] Expecting native type %s, %s\n", $offset,
140 printf("[%03d + 6] Expecting PDO type %s got %s (%s)\n", $offset,
168 printf("[%03d] + 1] Insert failed, %d - %s\n", $offset,
176 return test_return($meta, $offset, $native_type, $pdo_type);
[all …]
/PHP-8.0/main/streams/
H A Dmemory.c134 if (offset < 0) { in php_stream_memory_seek()
135 if (ms->fpos < (size_t)(-offset)) { in php_stream_memory_seek()
140 ms->fpos = ms->fpos + offset; in php_stream_memory_seek()
146 if (ms->fpos + (size_t)(offset) > ms->fsize) { in php_stream_memory_seek()
151 ms->fpos = ms->fpos + offset; in php_stream_memory_seek()
158 if (ms->fsize < (size_t)(offset)) { in php_stream_memory_seek()
163 ms->fpos = offset; in php_stream_memory_seek()
169 if (offset > 0) { in php_stream_memory_seek()
173 } else if (ms->fsize < (size_t)(-offset)) { in php_stream_memory_seek()
178 ms->fpos = ms->fsize + offset; in php_stream_memory_seek()
[all …]
/PHP-8.0/ext/com_dotnet/
H A Dcom_handlers.c80 static zval *com_read_dimension(zend_object *object, zval *offset, int type, zval *rv) in com_read_dimension() argument
93 DISPATCH_METHOD|DISPATCH_PROPERTYGET, &v, 1, offset, 0, 0)) { in com_read_dimension()
98 convert_to_long(offset); in com_read_dimension()
101 if (php_com_safearray_get_elem(&obj->v, &v, (LONG)Z_LVAL_P(offset))) { in com_read_dimension()
106 php_com_saproxy_create(object, rv, offset); in com_read_dimension()
116 static void com_write_dimension(zend_object *object, zval *offset, zval *value) in com_write_dimension() argument
125 if (offset == NULL) { in com_write_dimension()
131 ZVAL_COPY_VALUE(&args[0], offset); in com_write_dimension()
149 convert_to_long(offset); in com_write_dimension()
150 indices = (LONG)Z_LVAL_P(offset); in com_write_dimension()
[all …]
/PHP-8.0/ext/pdo/tests/
H A Dpdo_035.phpt46 Cannot write to PDORow offset
48 Cannot unset PDORow offset
/PHP-8.0/ext/intl/tests/
H A Dtimezone_getOffset_error.phpt8 /* INF being an invalid offset depends on UB in float->int cast behavior. */
23 Warning: IntlTimeZone::getOffset(): intltz_get_offset: error obtaining offset in %s on line %d

Completed in 77 milliseconds

12345678910>>...29