Home
last modified time | relevance | path

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

1234

/php-src/ext/date/lib/
H A Dinterval.c36 rt->invert = 1; in swap_times()
102 rt->i = (flipped - rt->h * SECS_PER_HOUR) / 60; in timelib_diff_with_tzid()
105 rt->invert = 1 - rt->invert; in timelib_diff_with_tzid()
108 timelib_do_rel_normalize(rt->invert ? one : two, rt); in timelib_diff_with_tzid()
137 rt->d--; in timelib_diff_with_tzid()
138 rt->h = 24; in timelib_diff_with_tzid()
143 return rt; in timelib_diff_with_tzid()
164 rt->h = rt->h + one->dst; in timelib_diff()
167 rt->h = rt->h - two->dst; in timelib_diff()
175 timelib_do_rel_normalize(rt->invert ? one : two, rt); in timelib_diff()
[all …]
H A Dtm2unixtime.c188 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) in timelib_do_rel_normalize() argument
190 do_range_limit(0, 1000000, 1000000, &rt->us, &rt->s); in timelib_do_rel_normalize()
191 do_range_limit(0, 60, 60, &rt->s, &rt->i); in timelib_do_rel_normalize()
192 do_range_limit(0, 60, 60, &rt->i, &rt->h); in timelib_do_rel_normalize()
193 do_range_limit(0, 24, 24, &rt->h, &rt->d); in timelib_do_rel_normalize()
194 do_range_limit(0, 12, 12, &rt->m, &rt->y); in timelib_do_rel_normalize()
196 do_range_limit_days_relative(&base->y, &base->m, &rt->y, &rt->m, &rt->d, rt->invert); in timelib_do_rel_normalize()
197 do_range_limit(0, 12, 12, &rt->m, &rt->y); in timelib_do_rel_normalize()
/php-src/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 Dbug78774.phpt13 $rt = $rp->getType();
22 var_dump($rt->getName());
/php-src/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
34 *** 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 **
/php-src/ext/reflection/tests/types/
H A Dpure_intersection_type_implicitly_nullable.phpt6 function dumpType(ReflectionType $rt, int $indent = 0) {
8 echo $str_indent . "Type $rt is " . $rt::class . ":\n";
9 echo $str_indent . "Allows Null: " . json_encode($rt->allowsNull()) . "\n";
10 foreach ($rt->getTypes() as $type) {
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) {
16 function dumpBCType(ReflectionNamedType $rt) {
17 echo "Type $rt:\n";
18 echo " Name: " . $rt->getName() . "\n";
19 echo " String: " . (string) $rt . "\n";
20 echo " Allows Null: " . ($rt->allowsNull() ? "true" : "false") . "\n";
H A Ddnf_types_with_null.phpt6 function dumpType(ReflectionType $rt, int $indent = 0) {
8 echo $str_indent . "Type $rt is " . $rt::class . ":\n";
9 echo $str_indent . "Allows Null: " . json_encode($rt->allowsNull()) . "\n";
10 foreach ($rt->getTypes() as $type) {
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 Ddnf_types.phpt6 function dumpType(ReflectionType $rt, int $indent = 0) {
8 echo $str_indent . "Type $rt is " . $rt::class . ":\n";
9 foreach ($rt->getTypes() as $type) {
/php-src/ext/opcache/tests/jit/
H A Dgh16572.phpt9 function dumpType(ReflectionType $rt) {
10 var_dump($rt::class);
19 Fatal error: Uncaught TypeError: dumpType(): Argument #1 ($rt) must be of type ReflectionType, null…
/php-src/.github/scripts/
H A Dsetup-slapd.sh167 rt=$?
168 if [ $rt -eq 0 ]; then
174 echo "exit failure $rt"
175 exit $rt
/php-src/ext/opcache/tests/
H A Dpreload.inc5 if (isset($rt)) {
68 if (!isset($rt)) {
H A Dpreload_001.phpt19 $rt = true;
/php-src/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 28 milliseconds

1234