Home
last modified time | relevance | path

Searched refs:rt (Results 1 – 25 of 82) sorted by relevance

1234

/PHP-8.1/ext/date/lib/
H A Dinterval.c41 …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 Dtm2unixtime.c179 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 Dstatic_type.phpt13 $rt = $rm->getReturnType();
14 var_dump($rt->isBuiltin());
15 var_dump($rt->getName());
16 var_dump((string) $rt);
H A Dinternal_property_union_type.phpt8 $rt = $rp->getType();
9 echo $rt, "\n";
H A DReflectionType_002.phpt9 $rt = $rp->getType();
12 var_dump($rt->getName(), $rrt->getName());
H A Dintersection_types.phpt6 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 Dbug78774.phpt13 $rt = $rp->getType();
22 var_dump($rt->getName());
H A Dunion_types.phpt6 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 Dfscanf.phpt10 $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 D007_variation9.phpt2 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 Dfflush_variation4.phpt12 $file_modes = array("r", "rb", "rt");
46 -- Iteration 3 with file opened in rt mode --
H A Dfwrite_variation1-win32-mb.phpt2 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 Dfwrite_variation1.phpt2 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 Dfgetc_variation1.phpt16 $file_modes = array("r", "rb", "rt", "r+", "r+b", "r+t");
62 -- File opened in mode : rt --
H A Dfgetcsv_variation12.phpt27 $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 Dfopen_variation5.phpt36 $modes = array("r", "r+", "rt");
133 ** testing with mode=rt **
H A Dfopen_variation8.phpt36 $modes = array("r", "r+", "rt");
132 ** testing with mode=rt **
H A Dfgetcsv_variation8.phpt30 $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 Dfgetcsv_variation9.phpt34 $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 Dfgetcsv_variation18.phpt29 $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 Dfgetcsv_variation21.phpt15 $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 Dsetup-slapd.sh165 rt=$?
166 if [ $rt -eq 0 ]; then
172 echo "exit failure $rt"
173 exit $rt
/PHP-8.1/ext/opcache/tests/
H A Dpreload.inc5 if (isset($rt)) {
68 if (!isset($rt)) {
H A Dpreload_001.phpt19 $rt = true;
/PHP-8.1/ext/standard/tests/streams/
H A Dstream_get_meta_data_file_variation1.phpt9 'rt', 'rt+', 'wt', 'wt+', 'at', 'at+', 'xt', 'xt+');
363 string(2) "rt"
383 string(3) "rt+"

Completed in 35 milliseconds

1234