/PHP-5.4/ext/date/lib/ |
H A D | tm2unixtime.c | 152 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() 283 memset(&(time->relative.special), 0, sizeof(time->relative.special)); in do_adjust_special() 293 time->relative.m = 0; in do_adjust_special_early() 298 time->relative.m = 0; in do_adjust_special_early() [all …]
|
H A D | interval.c | 103 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 D | timelib.c | 238 d->relative.y, d->relative.m, d->relative.d, d->relative.h, d->relative.i, d->relative.s); in timelib_dump_date() 239 if (d->relative.first_last_day_of != 0) { in timelib_dump_date() 240 switch (d->relative.first_last_day_of) { in timelib_dump_date() 249 if (d->relative.have_weekday_relative) { in timelib_dump_date() 250 printf(" / %d.%d", d->relative.weekday, d->relative.weekday_behavior); in timelib_dump_date() 252 if (d->relative.have_special_relative) { in timelib_dump_date() 253 switch (d->relative.special.type) { in timelib_dump_date() 255 printf(" / %lld weekday", d->relative.special.amount); in timelib_dump_date()
|
H A D | parse_date.re | 1055 s->time->relative.d = 1; 1594 s->time->relative.y = 0 - s->time->relative.y; 1595 s->time->relative.m = 0 - s->time->relative.m; 1596 s->time->relative.d = 0 - s->time->relative.d; 1597 s->time->relative.h = 0 - s->time->relative.h; 1598 s->time->relative.i = 0 - s->time->relative.i; 1599 s->time->relative.s = 0 - s->time->relative.s; 1600 s->time->relative.weekday = 0 - s->time->relative.weekday; 1605 s->time->relative.special.amount = 0 - s->time->relative.special.amount; 1748 relative [all …]
|
/PHP-5.4/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.4/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.4/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.4/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…
|
H A D | bug35630.phpt | 2 Bug #35630 (strtotime() crashes on non-separated relative modifiers)
|
/PHP-5.4/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.4/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.4/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:
|