/PHP-5.6/ext/date/lib/ |
H A D | tm2unixtime.c | 163 time->relative.weekday = 7; in do_adjust_for_weekday() 171 …if ((time->relative.d < 0 && difference < 0) || (time->relative.d >= 0 && difference <= -time->rel… in do_adjust_for_weekday() 212 time->s += time->relative.s; in do_adjust_relative() 213 time->i += time->relative.i; in do_adjust_relative() 214 time->h += time->relative.h; in do_adjust_relative() 216 time->d += time->relative.d; in do_adjust_relative() 217 time->m += time->relative.m; in do_adjust_relative() 294 memset(&(time->relative.special), 0, sizeof(time->relative.special)); in do_adjust_special() 304 time->relative.m = 0; in do_adjust_special_early() 309 time->relative.m = 0; in do_adjust_special_early() [all …]
|
H A D | interval.c | 107 t->relative.y = interval->y * bias; in timelib_add() 108 t->relative.m = interval->m * bias; in timelib_add() 109 t->relative.d = interval->d * bias; in timelib_add() 110 t->relative.h = interval->h * bias; in timelib_add() 111 t->relative.i = interval->i * bias; in timelib_add() 112 t->relative.s = interval->s * bias; in timelib_add() 142 t->relative.y = 0 - (interval->y * bias); in timelib_sub() 143 t->relative.m = 0 - (interval->m * bias); in timelib_sub() 144 t->relative.d = 0 - (interval->d * bias); in timelib_sub() 145 t->relative.h = 0 - (interval->h * bias); in timelib_sub() [all …]
|
H A D | timelib.c | 262 d->relative.y, d->relative.m, d->relative.d, d->relative.h, d->relative.i, d->relative.s); in timelib_dump_date() 263 if (d->relative.first_last_day_of != 0) { in timelib_dump_date() 264 switch (d->relative.first_last_day_of) { in timelib_dump_date() 273 if (d->relative.have_weekday_relative) { in timelib_dump_date() 274 printf(" / %d.%d", d->relative.weekday, d->relative.weekday_behavior); in timelib_dump_date() 276 if (d->relative.have_special_relative) { in timelib_dump_date() 277 switch (d->relative.special.type) { in timelib_dump_date() 279 printf(" / %lld weekday", d->relative.special.amount); in timelib_dump_date()
|
H A D | parse_date.re | 1004 s->time->relative.d = 1; 1543 s->time->relative.y = 0 - s->time->relative.y; 1544 s->time->relative.m = 0 - s->time->relative.m; 1545 s->time->relative.d = 0 - s->time->relative.d; 1546 s->time->relative.h = 0 - s->time->relative.h; 1547 s->time->relative.i = 0 - s->time->relative.i; 1548 s->time->relative.s = 0 - s->time->relative.s; 1549 s->time->relative.weekday = 0 - s->time->relative.weekday; 1554 s->time->relative.special.amount = 0 - s->time->relative.special.amount; 1697 relative [all …]
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | array_splice_variation3.phpt | 64 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.6/ext/standard/tests/file/windows_acls/ |
H A D | bug44859_4.phpt | 22 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.6/ext/standard/tests/file/ |
H A D | unlink_variation6.phpt | 13 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 D | glob_variation2.phpt | 2 Test glob() function with relative path 21 echo "Testing glob() with relative paths:\n"; 40 Testing glob() with relative paths:
|
H A D | rename_variation12.phpt | 2 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 D | fopen_variation6.phpt | 2 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 D | rename_variation12-win32.phpt | 2 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 D | symlink_to_symlink.phpt | 2 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 D | tempnam_variation8-win32.phpt | 2 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 D | tempnam_variation2-win32.phpt | 2 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 D | rename_variation11-win32.phpt | 2 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 D | tempnam_variation2.phpt | 2 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 D | file_variation5-win32.phpt | 29 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 D | realpath_basic2.phpt | 2 realpath() with relative directory
|
/PHP-5.6/ext/date/tests/ |
H A D | bug50055.phpt | 2 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.6/ext/zlib/tests/ |
H A D | gzopen_variation6.phpt | 2 Test gzopen() function : variation: relative/absolute file 26 gzwrite($h, "This is a relative file"); 46 This is a relative file
|
/PHP-5.6/ext/standard/tests/dir/ |
H A D | chdir_basic.phpt | 11 * 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 D | opendir_basic.phpt | 11 * 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 D | opendir_error2.phpt | 26 echo "\n-- Pass a non-existent relative path: --\n"; 39 -- Pass a non-existent relative path: --
|
/PHP-5.6/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_file_variation4.phpt | 2 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.6/ext/opcache/tests/ |
H A D | opcache-2.blacklist | 2 ; wildcard and relative entries
|