Home
last modified time | relevance | path

Searched refs:offset (Results 126 – 150 of 649) sorted by relevance

12345678910>>...26

/PHP-5.5/ext/date/tests/
H A Dtimezone_name_from_abbr_basic1.phpt24 echo "-- Lookup with name and offset--\n";
40 var_dump( timezone_name_from_abbr("", 5400) ); // offset = 1.5 hrs
41 var_dump( timezone_name_from_abbr("", 62400) ); // offset = 24 hrs
52 -- Lookup with name and offset--
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-5.5/ext/mysqli/tests/
H A Dmysqli_next_result.phpt65 function func_test_mysqli_next_result($link, $query, $offset, $num_results, $strict_on) {
68 printf("[%03d] [%d] %s\n", $offset, mysqli_errno($link), mysqli_error($link));
85 printf("[%03d] Strict Standards warning missing\n", $offset + 1);
93 printf("[%03d] Expecting %d result(s), got %d result(s)\n", $offset + 2, $num_results, $i);
97 printf("[%03d] mysqli_more_results() indicates more results than expected\n", $offset + 3);
100 printf("[%03d] [%d] %s\n", $offset + 4, mysqli_errno($link), mysqli_error($link));
H A Dmysqli_stmt_bind_result_format.phpt19 $offset,
28 $offset + 1,
41 $offset + 2,
54 $offset,
66 $offset + 1,
73 $offset + 2,
80 $offset + 3,
90 $offset + 4,
97 $offset + 5,
104 $offset + 6,
[all …]
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,
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_get_attribute.phpt25 function set_and_get($offset, $db, $attribute, $value) {
32 $offset, $attribute, var_export($tmp, true));
38 $offset, $value_type, gettype($value));
45 …$offset, $attribute, var_export($value, true), gettype($value), var_export($tmp, true), gettype($t…
51 $offset, $e->getMessage(),
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,
H A Dpdo_mysql_exec_load_data.phpt22 function exec_and_count($offset, &$db, $sql, $exp) {
29 $offset, $exp, gettype($exp), $ret, gettype($ret), $sql,
43 $offset, $sql, $db->errorCode(), implode(' ', $db->errorInfo()));
80 foreach ($expected as $offset => $exp) {
82 if ($ret[$offset][$key] != $value) {
/PHP-5.5/ext/standard/tests/strings/
H A Dstripos_variation8.phpt5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
31 for($offset = 0; $offset <= strlen($haystack); $offset++ ) {
32 var_dump( stripos($haystack, $needles[$index], $offset) );
H A Dsubstr_count_error.phpt13 /* offset as negative value */
16 /* offset > size of the string */
19 /* Using offset and length to go beyond the size of the string:
20 Warning message expected, as length+offset > length of string */
H A Dstripos_variation14.phpt2 Test stripos() function : usage variations - unexpected inputs for 'offset' argument
5 /* Prototype : int stripos ( string $haystack, string $needle [, int $offset] );
10 /* Test stripos() function with unexpected inputs for 'offset' argument */
12 echo "*** Testing stripos() function with unexpected values for offset ***\n";
88 *** Testing stripos() function with unexpected values for offset ***
H A Dstrrpos_variation14.phpt2 Test strrpos() function : usage variations - unexpected inputs for 'offset' argument
5 /* Prototype : int strrpos ( string $haystack, string $needle [, int $offset] );
10 /* Test strrpos() function with unexpected inputs for 'offset' argument */
12 echo "*** Testing strrpos() function: with unexpected values for offset ***\n";
88 *** Testing strrpos() function: with unexpected values for offset ***
/PHP-5.5/ext/date/lib/
H A Dparse_tz.c163 …tz->type[i].offset = (buffer[j] * 16777216) + (buffer[j + 1] * 65536) + (buffer[j + 2] * 256) + bu… in read_types()
191 tz->leap_times[i].offset = timelib_conv_int(leap_buffer[i * 2 + 1]); in read_types()
273 (long int) tz->type[0].offset, in timelib_dump_tzinfo()
283 (long int) tz->type[tz->trans_idx[i]].offset, in timelib_dump_tzinfo()
295 tz->leap_times[i].offset); in timelib_dump_tzinfo()
477 int32_t offset = 0, leap_secs = 0; in timelib_get_time_zone_info() local
483 offset = to->offset; in timelib_get_time_zone_info()
488 offset = 0; in timelib_get_time_zone_info()
495 leap_secs = -tl->offset; in timelib_get_time_zone_info()
498 tmp->offset = offset; in timelib_get_time_zone_info()
[all …]
/PHP-5.5/ext/spl/tests/
H A Dbug51119.phpt2 SPL: LimitIterator zero is valid offset
33 Parameter offset must be >= 0
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-5.5/ext/standard/tests/array/
H A Darray_slice_variation3.phpt7 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]])
8 * Description: Returns elements specified by offset and length
20 $offset = 2;
78 var_dump( array_slice($input_array, $offset, $input) );
/PHP-5.5/ext/date/
H A Dphp_date.c1076 offset->offset = (t->z - (t->dst * 60)) * -60; in date_format()
1082 offset->offset = (t->z) * -60; in date_format()
1153 localtime ? abs(offset->offset / 3600) : 0, in date_format()
1171 ((offset->offset < 0) ? '-' : '+'), in date_format()
1172 abs(offset->offset / 3600), in date_format()
1173 abs((offset->offset % 3600) / 60) in date_format()
1287 offset->offset = (t->z - (t->dst * 60)) * -60; in php_idate()
1293 offset->offset = (t->z - (t->dst * 60)) * -60; in php_idate()
1682 ta.tm_gmtoff = offset->offset; in php_strftime()
3390 RETVAL_LONG(offset->offset); in PHP_FUNCTION()
[all …]
/PHP-5.5/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-5.5/ext/fileinfo/tests/
H A Dbug61964.phpt53 Notice: finfo_open(): Warning: offset `string' invalid in %sbug61964.php on line %d
55 Notice: finfo_open(): Warning: offset ` Core' invalid in %sbug61964.php on line %d
59 Notice: finfo_open(): Warning: offset `a' invalid in %sbug61964.php on line %d
63 Notice: finfo_open(): Warning: offset `b' invalid in %sbug61964.php on line %d
/PHP-5.5/ext/phar/
H A Dphar_internal.h272 long offset; member
355 long offset; member
436 static inline void phar_set_fp_type(phar_entry_info *entry, enum phar_fp_type type, off_t offset TS… in phar_set_fp_type()
442 entry->offset = offset; in phar_set_fp_type()
447 data->offset = offset; in phar_set_fp_type()
461 return entry->offset; in phar_get_fp_offset()
464 if (!PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].offset) { in phar_get_fp_offset()
465 …HAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].offset = entry->offset; in phar_get_fp_offset()
468 return PHAR_GLOBALS->cached_fp[entry->phar->phar_pos].manifest[entry->manifest_pos].offset; in phar_get_fp_offset()
608 int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_link…
/PHP-5.5/ext/com_dotnet/
H A Dcom_saproxy.c91 static zval *saproxy_read_dimension(zval *object, zval *offset, int type TSRMLS_DC) in saproxy_read_dimension() argument
115 args[i-1] = offset; in saproxy_read_dimension()
129 php_com_saproxy_create(object, return_value, offset TSRMLS_CC); in saproxy_read_dimension()
142 convert_to_long(offset); in saproxy_read_dimension()
157 if (Z_LVAL_P(offset) < lbound || Z_LVAL_P(offset) > ubound) { in saproxy_read_dimension()
179 indices[dims-1] = Z_LVAL_P(offset); in saproxy_read_dimension()
205 php_com_saproxy_create(object, return_value, offset TSRMLS_CC); in saproxy_read_dimension()
227 args[i-1] = offset; in saproxy_write_dimension()
253 convert_to_long(offset); in saproxy_write_dimension()
254 indices[dims-1] = Z_LVAL_P(offset); in saproxy_write_dimension()
[all …]
/PHP-5.5/ext/mssql/
H A Dphp_mssql.c100 ZEND_ARG_INFO(0, offset)
935 if (dbdata(mssql_ptr->link,offset) == NULL && dbdatlen(mssql_ptr->link,offset) == 0) {
954 char *data = charcol(offset);
984 char *data = charcol(offset);
1032 …res_length = dbconvert(NULL,coltype(offset),dbdata(mssql_ptr->link,offset), res_length, SQLCHAR,re…
1050 …docref(NULL TSRMLS_CC, E_WARNING, "column %d has unknown data type (%d)", offset, coltype(offset));
1112 …res_length = dbconvert(NULL,coltype(offset),dbdata(mssql_ptr->link,offset), res_length, SQLCHAR, r…
1130 …docref(NULL TSRMLS_CC, E_WARNING, "column %d has unknown data type (%d)", offset, coltype(offset));
1615 long offset; local
1624 if (offset < 0 || offset >= result->num_rows) {
[all …]
/PHP-5.5/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

Completed in 48 milliseconds

12345678910>>...26