Home
last modified time | relevance | path

Searched refs:offset (Results 151 – 175 of 722) sorted by relevance

12345678910>>...29

/PHP-7.0/ext/phar/
H A Dphar_internal.h252 zend_long offset; member
335 zend_long offset; member
416 …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
422 entry->offset = offset; in phar_set_fp_type()
427 data->offset = offset; in phar_set_fp_type()
441 return entry->offset; in phar_get_fp_offset()
444 if (!PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset) { in phar_get_fp_offset()
445 PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offset; in phar_get_fp_offset()
448 return PHAR_G(cached_fp)[entry->phar->phar_pos].manifest[entry->manifest_pos].offset; in phar_get_fp_offset()
571 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int f…
/PHP-7.0/ext/date/tests/
H A Dgmstrftime_variation5.phpt23 'Time zone offset' => "%Z",
24 'Time zone offset' => "%z",
48 --Time zone offset--
H A Dstrftime_variation5.phpt22 'Time zone offset' => "%Z",
23 'Time zone offset' => "%z",
47 --Time zone offset--
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.0/ext/date/
H A Dphp_date.c1096 offset->offset = (t->z - (t->dst * 60)) * -60; in date_format()
1102 offset->offset = (t->z) * -60; in date_format()
1175 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1193 ((offset->offset < 0) ? '-' : '+'), in date_format()
1194 abs(offset->offset / 3600), in date_format()
1195 abs((offset->offset % 3600) / 60) in date_format()
1306 offset->offset = (t->z - (t->dst * 60)) * -60; in php_idate()
1312 offset->offset = (t->z - (t->dst * 60)) * -60; in php_idate()
1665 ta.tm_gmtoff = offset->offset; in php_strftime()
3399 RETVAL_LONG(offset->offset); in PHP_FUNCTION()
[all …]
/PHP-7.0/ext/intl/tests/
H A Dtimezone_getErrorCodeMessage_basic.phpt27 Warning: IntlTimeZone::getOffset(): intltz_get_offset: error obtaining offset in %s on line %d
30 string(67) "intltz_get_offset: error obtaining offset: U_ILLEGAL_ARGUMENT_ERROR"
/PHP-7.0/ext/mysqli/tests/
H A Dmysqli_debug_control_string.phpt26 function try_control_string($link, $control_string, $trace_file, $offset) {
30 $offset + 1,
39 $offset + 2,
49 $offset + 3,
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 NULL, got %s/%s\n", $offset + 2, gettype($tmp), $tmp);
/PHP-7.0/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_bindparam.phpt17 function pdo_mysql_stmt_bindparam($db, $offset) {
22 printf("[%03d + 1] Cannot bind parameter, %s %s\n", $offset,
29 printf("[%03d + 2] Cannot bind integer column, %s %s\n", $offset,
33 printf("[%03d + 3] Cannot bind string column, %s %s\n", $offset,
55 printf("[%03d + 4] Cannot bind parameter, %s %s\n", $offset,
59 printf("[%03d + 5] Cannot execute statement, %s %s\n", $offset,
68 printf("[%03d + 6] Cannot bind NULL column, %s %s\n", $offset,
72 printf("[%03d + 3] Cannot bind string column, %s %s\n", $offset,
/PHP-7.0/ext/spl/tests/
H A Diterator_032.phpt46 Cannot seek to 0 which is below the offset 1
48 Cannot seek to 3 which is behind offset 1 plus count 2
/PHP-7.0/ext/standard/tests/serialize/
H A Dbug73341.phpt21 Error at offset 6 of 7 bytes
24 Error at offset 24 of 34 bytes
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.0/ext/zip/lib/
H A Dzip_source_zip_new.c46 zip_uint64_t offset; in _zip_source_zip_new() local
104 if ((offset=_zip_file_get_offset(srcza, srcidx, &za->error)) == 0) in _zip_source_zip_new()
120 if ((src = _zip_source_window_new(srcza->src, offset+start, st2.size, &st2, &za->error)) == NULL) { in _zip_source_zip_new()
125 if ((src = _zip_source_window_new(srcza->src, offset, st.comp_size, &st, &za->error)) == NULL) { in _zip_source_zip_new()
/PHP-7.0/Zend/
H A Dzend_sort.c38 size_t offset; in zend_qsort() local
48 offset = (end - begin) >> Z_L(1); in zend_qsort()
49 swp(begin, begin + (offset - (offset % siz))); in zend_qsort()
327 size_t offset = (nmemb >> Z_L(1)); in zend_sort() local
328 char *pivot = start + (offset * siz); in zend_sort()
331 size_t delta = (offset >> Z_L(1)) * siz; in zend_sort()
/PHP-7.0/tests/strings/
H A Doffsets_general.phpt27 Warning: Illegal string offset 'foo' in %s line %d
35 Warning: Illegal string offset 'foo' in %s line %d
/PHP-7.0/Zend/tests/
H A Ddereference_001.phpt15 var_dump(b()[0]); // Notice: Undefined offset: 0
47 Notice: Undefined offset: 0 in %s on line %d
/PHP-7.0/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 Dstripos_variation14.phpt2 Test stripos() function : usage variations - unexpected inputs for 'offset' argument
7 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
12 /* Test stripos() function with unexpected inputs for 'offset' argument */
14 echo "*** Testing stripos() function with unexpected values for offset ***\n";
90 *** Testing stripos() function with unexpected values for offset ***
H A Dstrrpos_variation14.phpt2 Test strrpos() function : usage variations - unexpected inputs for 'offset' argument
7 /* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] );
12 /* Test strrpos() function with unexpected inputs for 'offset' argument */
14 echo "*** Testing strrpos() function: with unexpected values for offset ***\n";
90 *** Testing strrpos() function: with unexpected values for offset ***
/PHP-7.0/ext/pcre/tests/
H A Dpreg_match_all_error.phpt6 … int preg_match_all(string pattern, string subject, array subpatterns [, int flags [, int offset]])
18 $offset = 10;
20 var_dump(preg_match_all($pattern, $subject, $matches, $flags, $offset, $extra_arg));
H A Dpreg_match_error.phpt6 …o int preg_match(string pattern, string subject [, array subpatterns [, int flags [, int offset]]])
18 $offset = 10;
20 var_dump(preg_match($pattern, $subject, $matches, $flags, $offset, $extra_arg));
/PHP-7.0/ext/mbstring/tests/
H A Dmb_strpos_error1.phpt10 /* Prototype : int mb_strpos(string $haystack, string $needle [, int $offset [, string $encoding]])
26 $offset = 10;
29 var_dump( mb_strpos($haystack, $needle, $offset, $encoding, $extra_arg) );
H A Dmb_strrpos_error1.phpt10 /* Prototype : int mb_strrpos(string $haystack, string $needle [, int $offset [, string $encoding]…
26 $offset = 10;
29 var_dump( mb_strrpos($haystack, $needle, $offset, $encoding, $extra_arg) );
H A Dmb_strrpos_variation3.phpt2 Test mb_strrpos() function : usage variations - Pass different data types as $offset arg
10 /* Prototype : int mb_strrpos(string $haystack, string $needle [, int $offset [, string $encoding]…
16 * Pass mb_strrpos() different data types as $offset argument to test behaviour
43 // unexpected values to be passed to $offset argument
/PHP-7.0/ext/calendar/tests/
H A Djdmonthname.phpt11 for ($offset = 0; $offset <= 12; $offset++) {
12 echo jdmonthname($jd + $offset * 30, $mode). "\n";

Completed in 54 milliseconds

12345678910>>...29