/PHP-8.1/ext/date/lib/ |
H A D | interval.c | 41 …if (rt->y == 0 && rt->m == 0 && rt->d == 0 && rt->h == 0 && rt->i == 0 && rt->s == 0 && rt->us == … in swap_if_negative() 44 …if (rt->y >= 0 && rt->m >= 0 && rt->d >= 0 && rt->h >= 0 && rt->i >= 0 && rt->s >= 0 && rt->us >= … in swap_if_negative() 48 rt->invert = 1 - rt->invert; in swap_if_negative() 49 rt->y = 0 - rt->y; in swap_if_negative() 50 rt->m = 0 - rt->m; in swap_if_negative() 51 rt->d = 0 - rt->d; in swap_if_negative() 52 rt->h = 0 - rt->h; in swap_if_negative() 53 rt->i = 0 - rt->i; in swap_if_negative() 54 rt->s = 0 - rt->s; in swap_if_negative() 55 rt->us = 0 - rt->us; in swap_if_negative() [all …]
|
H A D | tm2unixtime.c | 179 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) in timelib_do_rel_normalize() argument 181 do_range_limit(0, 1000000, 1000000, &rt->us, &rt->s); in timelib_do_rel_normalize() 182 do_range_limit(0, 60, 60, &rt->s, &rt->i); in timelib_do_rel_normalize() 183 do_range_limit(0, 60, 60, &rt->i, &rt->h); in timelib_do_rel_normalize() 184 do_range_limit(0, 24, 24, &rt->h, &rt->d); in timelib_do_rel_normalize() 185 do_range_limit(0, 12, 12, &rt->m, &rt->y); in timelib_do_rel_normalize() 187 do_range_limit_days_relative(&base->y, &base->m, &rt->y, &rt->m, &rt->d, rt->invert); in timelib_do_rel_normalize() 188 do_range_limit(0, 12, 12, &rt->m, &rt->y); in timelib_do_rel_normalize()
|
/PHP-8.1/ext/reflection/tests/ |
H A D | static_type.phpt | 13 $rt = $rm->getReturnType(); 14 var_dump($rt->isBuiltin()); 15 var_dump($rt->getName()); 16 var_dump((string) $rt);
|
H A D | internal_property_union_type.phpt | 8 $rt = $rp->getType(); 9 echo $rt, "\n";
|
H A D | ReflectionType_002.phpt | 9 $rt = $rp->getType(); 12 var_dump($rt->getName(), $rrt->getName());
|
H A D | intersection_types.phpt | 6 function dumpType(ReflectionIntersectionType $rt) { 7 echo "Type $rt:\n"; 8 echo "Allows null: " . json_encode($rt->allowsNull()) . "\n"; 9 foreach ($rt->getTypes() as $type) {
|
H A D | bug78774.phpt | 13 $rt = $rp->getType(); 22 var_dump($rt->getName());
|
H A D | union_types.phpt | 6 function dumpType(ReflectionUnionType $rt) { 7 echo "Type $rt:\n"; 8 echo "Allows null: " . ($rt->allowsNull() ? "true" : "false") . "\n"; 9 foreach ($rt->getTypes() as $type) {
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | fscanf.phpt | 10 $fp = fopen($filename, "rt"); 15 $fp = fopen($filename, "rt"); 20 $fp = fopen($filename, "rt"); 32 $fp = fopen($filename, "rt"); 44 $fp = fopen($filename, "rt"); 57 $fp = fopen($filename, "rt"); 64 $fp = fopen($filename, "rt");
|
H A D | 007_variation9.phpt | 2 Test fopen and fclose() functions - usage variations - "rt" mode 6 /* Test fopen() and fclose(): Opening the file in "rt" mode, 18 echo "*** Test fopen() & fclose() functions: with 'rt' mode ***\n"; 19 $file_handle = fopen($file, "rt"); //opening the file in "rt" mode 33 *** Test fopen() & fclose() functions: with 'rt' mode ***
|
H A D | fflush_variation4.phpt | 12 $file_modes = array("r", "rb", "rt"); 46 -- Iteration 3 with file opened in rt mode --
|
H A D | fwrite_variation1-win32-mb.phpt | 2 Test fwrite() function : usage variations - r, rb & rt modes 17 Test fwrite with file opened in mode : r,rb,rt 21 $file_modes = array("r","rb","rt"); 108 -- Opening file in rt -- 158 -- Opening file in rt -- 208 -- Opening file in rt -- 258 -- Opening file in rt --
|
H A D | fwrite_variation1.phpt | 2 Test fwrite() function : usage variations - r, rb & rt modes 11 Test fwrite with file opened in mode : r,rb,rt 15 $file_modes = array("r","rb","rt"); 100 -- Opening file in rt -- 150 -- Opening file in rt -- 200 -- Opening file in rt -- 250 -- Opening file in rt --
|
H A D | fgetc_variation1.phpt | 16 $file_modes = array("r", "rb", "rt", "r+", "r+b", "r+t"); 62 -- File opened in mode : rt --
|
H A D | fgetcsv_variation12.phpt | 27 $file_modes = array ("r","rb", "rt", "r+", "r+b", "r+t", 103 -- Testing fgetcsv() with file opened using rt mode -- 148 -- Testing fgetcsv() with file opened using rt mode -- 193 -- Testing fgetcsv() with file opened using rt mode -- 238 -- Testing fgetcsv() with file opened using rt mode -- 283 -- Testing fgetcsv() with file opened using rt mode -- 328 -- Testing fgetcsv() with file opened using rt mode -- 373 -- Testing fgetcsv() with file opened using rt mode -- 418 -- Testing fgetcsv() with file opened using rt mode --
|
H A D | fopen_variation5.phpt | 36 $modes = array("r", "r+", "rt"); 133 ** testing with mode=rt **
|
H A D | fopen_variation8.phpt | 36 $modes = array("r", "r+", "rt"); 132 ** testing with mode=rt **
|
H A D | fgetcsv_variation8.phpt | 30 $file_modes = array ("r","rb", "rt", "r+", "r+b", "r+t", 110 -- Testing fgetcsv() with file opened using rt mode -- 230 -- Testing fgetcsv() with file opened using rt mode -- 350 -- Testing fgetcsv() with file opened using rt mode -- 470 -- Testing fgetcsv() with file opened using rt mode -- 590 -- Testing fgetcsv() with file opened using rt mode -- 710 -- Testing fgetcsv() with file opened using rt mode -- 830 -- Testing fgetcsv() with file opened using rt mode -- 950 -- Testing fgetcsv() with file opened using rt mode --
|
H A D | fgetcsv_variation9.phpt | 34 $file_modes = array ("r","rb", "rt", "r+", "r+b", "r+t", 112 -- Testing fgetcsv() with file opened using rt mode -- 232 -- Testing fgetcsv() with file opened using rt mode -- 352 -- Testing fgetcsv() with file opened using rt mode -- 472 -- Testing fgetcsv() with file opened using rt mode -- 592 -- Testing fgetcsv() with file opened using rt mode -- 712 -- Testing fgetcsv() with file opened using rt mode -- 832 -- Testing fgetcsv() with file opened using rt mode -- 952 -- Testing fgetcsv() with file opened using rt mode --
|
H A D | fgetcsv_variation18.phpt | 29 $file_modes = array ("r","rb", "rt", "r+", "r+b", "r+t", 106 -- Testing fgetcsv() with file opened using rt mode -- 226 -- Testing fgetcsv() with file opened using rt mode -- 346 -- Testing fgetcsv() with file opened using rt mode -- 466 -- Testing fgetcsv() with file opened using rt mode -- 586 -- Testing fgetcsv() with file opened using rt mode --
|
H A D | fgetcsv_variation21.phpt | 15 $file_modes = array ("r","rb", "rt", "r+", "r+b", "r+t", 83 -- Testing fgetcsv() with file opened using rt mode --
|
/PHP-8.1/.github/scripts/ |
H A D | setup-slapd.sh | 165 rt=$? 166 if [ $rt -eq 0 ]; then 172 echo "exit failure $rt" 173 exit $rt
|
/PHP-8.1/ext/opcache/tests/ |
H A D | preload.inc | 5 if (isset($rt)) { 68 if (!isset($rt)) {
|
H A D | preload_001.phpt | 19 $rt = true;
|
/PHP-8.1/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_file_variation1.phpt | 9 'rt', 'rt+', 'wt', 'wt+', 'at', 'at+', 'xt', 'xt+'); 363 string(2) "rt" 383 string(3) "rt+"
|