Home
last modified time | relevance | path

Searched refs:relative (Results 1 – 25 of 117) sorted by relevance

12345

/PHP-5.5/ext/date/lib/
H A Dtm2unixtime.c152 time->relative.weekday = 7; in do_adjust_for_weekday()
159 …if ((time->relative.d < 0 && difference < 0) || (time->relative.d >= 0 && difference <= -time->rel… in do_adjust_for_weekday()
200 time->s += time->relative.s; in do_adjust_relative()
201 time->i += time->relative.i; in do_adjust_relative()
202 time->h += time->relative.h; in do_adjust_relative()
204 time->d += time->relative.d; in do_adjust_relative()
205 time->m += time->relative.m; in do_adjust_relative()
282 memset(&(time->relative.special), 0, sizeof(time->relative.special)); in do_adjust_special()
292 time->relative.m = 0; in do_adjust_special_early()
297 time->relative.m = 0; in do_adjust_special_early()
[all …]
H A Dinterval.c103 t->relative.y = interval->y * bias; in timelib_add()
104 t->relative.m = interval->m * bias; in timelib_add()
105 t->relative.d = interval->d * bias; in timelib_add()
106 t->relative.h = interval->h * bias; in timelib_add()
107 t->relative.i = interval->i * bias; in timelib_add()
108 t->relative.s = interval->s * bias; in timelib_add()
138 t->relative.y = 0 - (interval->y * bias); in timelib_sub()
139 t->relative.m = 0 - (interval->m * bias); in timelib_sub()
140 t->relative.d = 0 - (interval->d * bias); in timelib_sub()
141 t->relative.h = 0 - (interval->h * bias); in timelib_sub()
[all …]
H A Dtimelib.c240 d->relative.y, d->relative.m, d->relative.d, d->relative.h, d->relative.i, d->relative.s); in timelib_dump_date()
241 if (d->relative.first_last_day_of != 0) { in timelib_dump_date()
242 switch (d->relative.first_last_day_of) { in timelib_dump_date()
251 if (d->relative.have_weekday_relative) { in timelib_dump_date()
252 printf(" / %d.%d", d->relative.weekday, d->relative.weekday_behavior); in timelib_dump_date()
254 if (d->relative.have_special_relative) { in timelib_dump_date()
255 switch (d->relative.special.type) { in timelib_dump_date()
257 printf(" / %lld weekday", d->relative.special.amount); in timelib_dump_date()
H A Dparse_date.re994 s->time->relative.d = 1;
1533 s->time->relative.y = 0 - s->time->relative.y;
1534 s->time->relative.m = 0 - s->time->relative.m;
1535 s->time->relative.d = 0 - s->time->relative.d;
1536 s->time->relative.h = 0 - s->time->relative.h;
1537 s->time->relative.i = 0 - s->time->relative.i;
1538 s->time->relative.s = 0 - s->time->relative.s;
1539 s->time->relative.weekday = 0 - s->time->relative.weekday;
1544 s->time->relative.special.amount = 0 - s->time->relative.special.amount;
1687 relative
[all …]
/PHP-5.5/ext/standard/tests/array/
H A Darray_splice_variation3.phpt64 echo "relative offset - relative length - cut from beginning\n";
67 echo "relative offset - relative length - cut from middle\n";
70 echo "relative offset - relative length - cut nothing\n";
364 absolute offset - relative length - cut from middle
446 absolute offset - relative length - cut nothing
569 relative offset - absolute length - cut from end
651 relative offset - absolute length - cut everything
692 relative offset - absolute length - cut nothing
733 relative offset - relative length - cut from beginning
774 relative offset - relative length - cut from middle
[all …]
/PHP-5.5/ext/standard/tests/file/windows_acls/
H A Dbug44859_4.phpt22 echo "Testing file with relative path:\n";
38 echo "Testing directory with relative path:\n";
56 Testing file with relative path:
61 Testing directory with relative path:
/PHP-5.5/ext/standard/tests/file/
H A Dunlink_variation6.phpt13 echo "*** Testing unlink() : variation: contexts and relative files ***\n";
15 // test relative directories and stream contexts.
37 *** Testing unlink() : variation: contexts and relative files ***
H A Dglob_variation2.phpt2 Test glob() function with relative path
21 echo "Testing glob() with relative paths:\n";
40 Testing glob() with relative paths:
H A Drename_variation12.phpt2 Test rename() function : variation - various relative, absolute paths
17 /* Creating unique files in various dirs by passing relative paths to $dir arg */
19 echo "*** Testing rename() with absolute and relative paths ***\n";
43 // relative paths
72 *** Testing rename() with absolute and relative paths ***
H A Dfopen_variation6.phpt2 Test fopen() function : variation: use include path and stream context relative/absolute file
22 fwrite($h, "This is a relative file");
43 This is a relative file
H A Drename_variation12-win32.phpt2 Test rename() function : variation - various relative, absolute paths
17 /* Creating unique files in various dirs by passing relative paths to $dir arg */
19 echo "*** Testing rename() with absolute and relative paths ***\n";
43 // relative paths
72 *** Testing rename() with absolute and relative paths ***
H A Dsymlink_to_symlink.phpt2 symlink() using a relative path, and symlink() to a symlink
15 // symlink to a regular file using a relative dest
18 // symlink to a symlink using a relative path
H A Dtempnam_variation8-win32.phpt2 Test tempnam() function: usage variations - various absolute and relative paths
16 /* Creating unique files in various dirs by passing relative paths to $dir arg */
18 echo "*** Testing tempnam() with absolute and relative paths ***\n";
37 // relative paths
90 *** Testing tempnam() with absolute and relative paths ***
H A Dtempnam_variation2-win32.phpt2 Test tempnam() function: usage variations - various absolute and relative paths
14 /* Creating unique files in various dirs by passing relative paths to $dir arg */
16 echo "*** Testing tempnam() with absolute and relative paths ***\n";
36 // relative paths
91 *** Testing tempnam() with absolute and relative paths ***
H A Drename_variation11-win32.phpt2 Test rename() function : variation - various relative, absolute paths
18 echo "*** Testing rename() with absolute and relative paths ***\n";
43 // relative paths
75 *** Testing rename() with absolute and relative paths ***
H A Dtempnam_variation2.phpt2 Test tempnam() function: usage variations - various absolute and relative paths
14 /* Creating unique files in various dirs by passing relative paths to $dir arg */
16 echo "*** Testing tempnam() with absolute and relative paths ***\n";
36 // relative paths
91 *** Testing tempnam() with absolute and relative paths ***
H A Dfile_variation5-win32.phpt29 echo "\nfile() on a relative path from a different working directory\n";
64 file() on a relative path from a different working directory
H A Drealpath_basic2.phpt2 realpath() with relative directory
/PHP-5.5/ext/date/tests/
H A Dbug50055.phpt2 Bug #50555 (DateTime::sub() allows 'relative' time modifications).
26 Warning: date_sub(): Only non-special relative time specifications are supported for subtraction in…
30 Warning: date_sub(): Only non-special relative time specifications are supported for subtraction in…
/PHP-5.5/ext/zlib/tests/
H A Dgzopen_variation6.phpt2 Test gzopen() function : variation: relative/absolute file
26 gzwrite($h, "This is a relative file");
46 This is a relative file
/PHP-5.5/ext/standard/tests/streams/
H A Dstream_get_meta_data_file_variation4.phpt2 stream_get_meta_data() with a relative file path
14 echo "\nChange to file's directory and open with a relative path:\n";
51 Change to file's directory and open with a relative path:
/PHP-5.5/ext/standard/tests/dir/
H A Dchdir_basic.phpt11 * Test basic functionality of chdir() with absolute and relative paths
32 echo "\n-- Testing chdir() with relative paths: --\n";
50 -- Testing chdir() with relative paths: --
H A Dopendir_basic.phpt11 * Test basic functionality of opendir() with absolute and relative paths as $path argument
32 echo "\n-- Testing opendir() with relative paths: --\n";
55 -- Testing opendir() with relative paths: --
H A Dopendir_error2.phpt26 echo "\n-- Pass a non-existent relative path: --\n";
39 -- Pass a non-existent relative path: --
/PHP-5.5/ext/opcache/tests/
H A Dopcache-2.blacklist2 ; wildcard and relative entries

Completed in 50 milliseconds

12345