Home
last modified time | relevance | path

Searched refs:offset (Results 176 – 200 of 700) sorted by relevance

12345678910>>...28

/PHP-7.4/ext/date/tests/
H A Ddate_create-relative.phpt45 foreach ($offsets AS $offset) {
47 $dt = date_create("$base_time $direction$offset");
48 echo "$direction$offset: " . date_format($dt, DATE_ISO8601) . "\n";
/PHP-7.4/Zend/tests/
H A Ddereference_010.phpt24 Notice: Trying to access array offset on value of type int in %s on line %d
27 Notice: Trying to access array offset on value of type int in %s on line %d
H A Dbug80781.phpt28 Fatal error: Uncaught ErrorException: Illegal offset type in isset or empty in %s:%d
30 #0 %s(%d): handle(2, 'Illegal offset ...', %s, %d, Array)
H A Ddereference_001.phpt15 var_dump(b()[0]); // Notice: Undefined offset: 0
47 Notice: Undefined offset: 0 in %s on line %d
H A Dstr_offset_004.phpt2 string offset 004
44 Warning: Illegal string offset: -20 in %sstr_offset_004.php on line %d
/PHP-7.4/ext/exif/tests/
H A Dbug77563.phpt11 Warning: exif_thumbnail(bug77563.jpg): IFD data too short: 0x0009 offset 0x0008 in %s%ebug77563.php…
13 Warning: exif_thumbnail(bug77563.jpg): Illegal IFD offset in %s%ebug77563.php on line %d
/PHP-7.4/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
/PHP-7.4/ext/phar/
H A Dphar_internal.h234 zend_long offset; member
317 zend_long offset; member
398 …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
404 entry->offset = offset; in phar_set_fp_type()
409 data->offset = offset; in phar_set_fp_type()
423 return entry->offset; in phar_get_fp_offset()
426 if (!PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset) { in phar_get_fp_offset()
427 PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offset; in phar_get_fp_offset()
430 return PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset; in phar_get_fp_offset()
549 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int f…
/PHP-7.4/Zend/
H A Dzend_sort.c36 size_t offset; in zend_qsort() local
46 offset = (end - begin) >> Z_L(1); in zend_qsort()
47 swp(begin, begin + (offset - (offset % siz))); in zend_qsort()
325 size_t offset = (nmemb >> Z_L(1)); in zend_sort() local
326 char *pivot = start + (offset * siz); in zend_sort()
329 size_t delta = (offset >> Z_L(1)) * siz; in zend_sort()
/PHP-7.4/ext/standard/tests/strings/
H A Dstrripos_variation3.phpt5 /* Prototype : int strripos ( string $haystack, string $needle [, int $offset] );
32 echo "\n-- Multi line strings with no offset -- \n";
54 -- Multi line strings with no offset --
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
/PHP-7.4/ext/calendar/tests/
H A Djdmonthname.phpt11 for ($offset = 0; $offset <= 12; $offset++) {
12 echo jdmonthname($jd + $offset * 30, $mode). "\n";
/PHP-7.4/ext/iconv/tests/
H A Diconv_strpos_variation5.phpt2 Test iconv_strpos() function : usage variations - Pass different integers as $offset argument
12 /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]])
18 * Test how iconv_strpos() behaves when passed different integers as $offset argument
34 * Loop through integers as multiples of ten for $offset argument
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_num_rows.phpt24 function func_test_mysqli_num_rows($link, $query, $expected, $offset, $test_free = false) {
27 printf("[%03d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
32 printf("[%03d] Expecting %s/%d, got %s/%d\n", $offset + 1,
39 printf("[%03d] Expecting false, got %s/%s\n", $offset + 2, gettype($tmp), $tmp);
/PHP-7.4/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()));
91 foreach ($expected as $offset => $exp) {
93 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-7.4/ext/mbstring/tests/
H A Dmb_stripos_variation5_Bug45923.phpt2 Test mb_stripos() function : usage variations - Pass different integers as $offset argument
10 /* Prototype : int mb_stripos(string $haystack, string $needle [, int $offset [, string $encoding]…
16 * Test how mb_stripos() behaves when passed different integers as $offset argument
32 * Loop through integers as multiples of ten for $offset argument
33 * mb_stripos should not be able to accept negative values as $offset.
H A Dmb_strpos_variation5.phpt2 Test mb_strpos() function : usage variations - Pass different integers as $offset argument
10 /* Prototype : int mb_strpos(string $haystack, string $needle [, int $offset [, string $encoding]])
16 * Test how mb_strpos() behaves when passed different integers as $offset argument
32 * Loop through integers as multiples of ten for $offset argument
33 * mb_strpos should not be able to accept negative values as $offset.
H A Dmb_strripos_variation5_Bug45923.phpt2 Test mb_strripos() function : usage variations - Pass different integers as $offset argument
10 /* Prototype : int mb_strripos(string haystack, string needle [, int offset [, string encoding]])
17 * Test how mb_strripos() behaves when passed different integers as $offset argument
33 * Loop through integers as multiples of ten for $offset argument
34 * mb_strripos should not be able to accept negative values as $offset.
/PHP-7.4/ext/date/lib/
H A Dparse_tz.c237 tz->type[i].offset = 0; in read_64bit_types()
238 …tz->type[i].offset += (int32_t) (((uint32_t) buffer[j]) << 24) + (buffer[j + 1] << 16) + (buffer[j… in read_64bit_types()
389 (long int) tz->type[0].offset, in timelib_dump_tzinfo()
399 (long int) tz->type[tz->trans_idx[i]].offset, in timelib_dump_tzinfo()
411 tz->leap_times[i].offset); in timelib_dump_tzinfo()
666 int32_t offset = 0, leap_secs = 0; in timelib_get_time_zone_info() local
672 offset = to->offset; in timelib_get_time_zone_info()
677 offset = 0; in timelib_get_time_zone_info()
684 leap_secs = -tl->offset; in timelib_get_time_zone_info()
687 tmp->offset = offset; in timelib_get_time_zone_info()
[all …]
/PHP-7.4/ext/date/
H A Dphp_date.c1136 offset->offset = (t->z + (t->dst * 3600)); in date_format()
1142 offset->offset = (t->z); in date_format()
1215 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1233 ((offset->offset < 0) ? '-' : '+'), in date_format()
1234 abs(offset->offset / 3600), in date_format()
1235 abs((offset->offset % 3600) / 60) in date_format()
1348 offset->offset = (t->z + (t->dst * 3600)); in php_idate()
1354 offset->offset = (t->z + (t->dst * 3600)); in php_idate()
1719 ta.tm_gmtoff = offset->offset; in php_strftime()
3586 RETVAL_LONG(offset->offset); in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/pdo_oci/tests/
H A Dpdo_oci_stmt_getcolumnmeta.phpt46 // invalid offset
58 // invalid offset
74 function test_return($meta, $offset, $native_type, $pdo_type){
76 printf("[%03d + 2] getColumnMeta() failed, %d - %s\n", $offset,
83 printf("[%03d + 3] Element %s missing, %s\n", $offset,
90 printf("[%03d + 4] Element native_type missing, %s\n", $offset,
107 printf("[%03d + 5] Expecting native type %s, %s\n", $offset,
114 printf("[%03d + 6] Expecting PDO type %s got %s (%s)\n", $offset,
123 function test_meta(&$db, $offset, $sql_type, $value, $native_type, $pdo_type) {
142 printf("[%03d] + 1] Insert failed, %d - %s\n", $offset,
[all …]
/PHP-7.4/ext/gd/tests/
H A Dbug47946.phpt25 function makeFilter($resource, $matrix, $offset = 1.0)
31 return imageconvolution($resource, $matrix, $divisor, $offset);
/PHP-7.4/ext/com_dotnet/tests/
H A Dbug77177.phpt45 Notice: unserialize(): Error at offset 13 of 14 bytes in %s on line %d
50 Notice: unserialize(): Error at offset 16 of 17 bytes in %s on line %d
55 Notice: unserialize(): Error at offset 17 of 18 bytes in %s on line %d

Completed in 61 milliseconds

12345678910>>...28