Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 24 of 24) sorted by relevance

/php-src/ext/standard/
H A Dmicrotime.c49 struct timeval tp = {0}; in _php_gettimeofday() local
56 if (gettimeofday(&tp, NULL)) { in _php_gettimeofday()
61 RETURN_DOUBLE((double)(tp.tv_sec + tp.tv_usec / MICRO_IN_SEC)); in _php_gettimeofday()
67 offset = timelib_get_time_zone_info(tp.tv_sec, get_timezone_info()); in _php_gettimeofday()
70 add_assoc_long(return_value, "sec", tp.tv_sec); in _php_gettimeofday()
71 add_assoc_long(return_value, "usec", tp.tv_usec); in _php_gettimeofday()
78 RETURN_NEW_STR(zend_strpprintf(0, "%.8F %ld", tp.tv_usec / MICRO_IN_SEC, (long)tp.tv_sec)); in _php_gettimeofday()
H A Ddns.c642 tp++; in php_parserr()
644 tp += sprintf((char*)tp,"%x",s); in php_parserr()
650 tp++; in php_parserr()
653 tp++; in php_parserr()
655 tp++; in php_parserr()
661 tp++; in php_parserr()
679 tp++; in php_parserr()
687 tp++; in php_parserr()
695 tp++; in php_parserr()
714 tp += sprintf((char*)tp,"%x",s); in php_parserr()
[all …]
H A Ddns_win32.c267 char *tp = buf; in php_parserr() local
282 tp[0] = ':'; in php_parserr()
283 tp++; in php_parserr()
285 tp += sprintf((char*)tp,"%x", out[i]); in php_parserr()
290 tp[0] = ':'; in php_parserr()
291 tp++; in php_parserr()
294 tp++; in php_parserr()
296 tp++; in php_parserr()
302 tp[0] = ':'; in php_parserr()
303 tp++; in php_parserr()
[all …]
H A Dstring.c5144 tp = tbuf;
5146 tbuf = tp = NULL;
5169 pos = tp - tbuf;
5173 *(tp++) = '<';
5233 *(tp++) = '>';
5234 *tp='\0';
5238 tp = tbuf;
5281 *(tp++) = c;
5317 tp = tbuf;
5375 tp = tbuf;
[all …]
/php-src/Zend/tests/type_declarations/intersection_types/
H A Dassigning_intersection_types.phpt25 $tp = new TestParent();
30 $o->prop = $tp;
37 $r = $o->method1($tp);
39 $r = $o->method2($tp);
/php-src/ext/fileinfo/tests/
H A Dfinfo_upstream.phpt14 $tp = dirname($p) . DIRECTORY_SEPARATOR . basename($p, ".testfile") . ".result";
17 $exp = trim(file_get_contents($tp));
H A Dmagic私はガラスを食べられます10709 # skip gluon-ffhat-1.0-tp-link-tl-wr1043n-nd-v2-sysupgrade.bin by printable 2nd character
H A Dmagic10709 # skip gluon-ffhat-1.0-tp-link-tl-wr1043n-nd-v2-sysupgrade.bin by printable 2nd character
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_arm.lua539 if tp then
540 local reg = ovreg or tp.reg
561 if t == tp then
738 local d, tp = parse_gpr(reg)
739 if tp then
741 format(tp.ctypefmt, tailr))
817 if tp then
1034 local tp = map_type[name]
1035 if tp then
1059 local tp = map_type[name]
[all …]
H A Ddasm_arm64.lua257 local tp = map_type[tname or expr]
258 if tp then
259 local reg = ovreg or tp.reg
274 return shl(r, shift), tp
295 return base, tp
488 if tp then
559 if tp then
1147 local tp = map_type[name]
1148 if tp then
1172 local tp = map_type[name]
[all …]
H A Ddasm_mips.lua833 local tp = map_type[tname or expr]
834 if tp then
835 local reg = ovreg or tp.reg
844 if r <= 31 then return r, tp end
896 local r, tp = parse_gpr(reg)
897 if tp then
898 waction("IMM", 32768+16*32, format(tp.ctypefmt, tailr))
1102 local tp = map_type[name]
1103 if tp then
1127 local tp = map_type[name]
[all …]
H A Ddasm_ppc.lua1457 local tp = map_type[tname or expr]
1458 if tp then
1459 local reg = ovreg or tp.reg
1589 local r, tp = parse_gpr(reg)
1591 if tp then
1608 local r, tp = parse_gpr(reg)
1610 if tp then
1840 local tp = map_type[name]
1841 if tp then
1865 local tp = map_type[name]
[all …]
H A Ddasm_x86.lua763 if tp then
764 local reg = ovreg or tp.reg
772 return reg, rnum, tp
801 local tp
803 reg, t.reg, tp = rtexpr(reg)
885 local tp
887 reg, t.reg, tp = rtexpr(reg)
2310 local tp = map_type[name]
2311 if tp then
2338 local tp = map_type[name]
[all …]
/php-src/sapi/phpdbg/
H A Dphpdbg_out.c104 struct timeval tp; in phpdbg_process_print() local
105 if (gettimeofday(&tp, NULL) == SUCCESS) { in phpdbg_process_print()
106 …msgoutlen = phpdbg_asprintf(&msgout, "[%ld %.8F]: %.*s\n", tp.tv_sec, tp.tv_usec / 1000000., msgle… in phpdbg_process_print()
/php-src/sapi/litespeed/
H A Dlscriu.c181 static void LSCRIU_Set_Global_Counter_Type(GlobalCounterType_t tp) in LSCRIU_Set_Global_Counter_Type() argument
183 if ((tp == CRIU_GCOUNTER_SHM) || (tp == CRIU_GCOUNTER_SIG) in LSCRIU_Set_Global_Counter_Type()
184 || (tp == CRIU_GCOUNTER_PIPE)) { in LSCRIU_Set_Global_Counter_Type()
185 s_global_counter_type = tp; in LSCRIU_Set_Global_Counter_Type()
/php-src/ext/mysqlnd/
H A Dmysqlnd_debug.h90 #define DBG_PROFILE_TIMEVAL_TO_DOUBLE(tp) ((tp.tv_sec * 1000000LL)+ tp.tv_usec) argument
94 #define DBG_PROFILE_TIMEVAL_TO_DOUBLE(tp) argument
/php-src/ext/fileinfo/libmagic/
H A Dreadcdf.c139 cdf_timestamp_t tp; in cdf_file_property_info() local
216 tp = info[i].pi_tp; in cdf_file_property_info()
217 if (tp != 0) { in cdf_file_property_info()
219 if (tp < 1000000000000000LL) { in cdf_file_property_info()
221 sizeof(tbuf), tp); in cdf_file_property_info()
227 cdf_timestamp_to_timespec(&ts, tp); in cdf_file_property_info()
H A Dcdf.c1457 cdf_timestamp_t tp; in cdf_dump_property_info() local
1501 tp = info[i].pi_tp; in cdf_dump_property_info()
1502 if (tp < 1000000000000000LL) { in cdf_dump_property_info()
1503 cdf_print_elapsed_time(buf, sizeof(buf), tp); in cdf_dump_property_info()
1507 cdf_timestamp_to_timespec(&ts, tp); in cdf_dump_property_info()
/php-src/ext/date/lib/
H A Dparse_date.re611 for (tp = timelib_reltext_lookup; tp->name; tp++) {
613 value = tp->value;
644 for (tp = timelib_month_lookup; tp->name; tp++) {
646 value = tp->value;
703 for (tp = timelib_relunit_lookup; tp->name; tp++) {
705 value = tp;
778 for (tp = timelib_timezone_lookup; tp->name; tp++) {
784 return tp;
788 return tp;
828 *dst = tp->type;
[all …]
H A Dparse_date.c613 for (tp = timelib_reltext_lookup; tp->name; tp++) { in timelib_lookup_relative_text()
615 value = tp->value; in timelib_lookup_relative_text()
646 for (tp = timelib_month_lookup; tp->name; tp++) { in timelib_lookup_month()
648 value = tp->value; in timelib_lookup_month()
705 for (tp = timelib_relunit_lookup; tp->name; tp++) { in timelib_lookup_relunit()
707 value = tp; in timelib_lookup_relunit()
780 for (tp = timelib_timezone_lookup; tp->name; tp++) { in abbr_search()
786 return tp; in abbr_search()
790 return tp; in abbr_search()
830 *dst = tp->type; in timelib_lookup_abbr()
[all …]
/php-src/main/
H A DSAPI.c1093 struct timeval tp = {0}; in sapi_get_request_time() local
1094 if (!gettimeofday(&tp, NULL)) { in sapi_get_request_time()
1095 SG(global_request_time) = (double)(tp.tv_sec + tp.tv_usec / 1000000.00); in sapi_get_request_time()
/php-src/ext/opcache/jit/ir/
H A Dir_gdb.c230 #define SECTDEF(id, tp, al) \ in ir_gdbjit_secthdr() argument
233 sect->type = ELFSECT_TYPE_##tp; \ in ir_gdbjit_secthdr()
/php-src/ext/date/
H A Dphp_date.c2388 struct timeval tp = {0}; /* For setting microsecond */ in php_date_get_current_time_with_fraction() local
2390 gettimeofday(&tp, NULL); in php_date_get_current_time_with_fraction()
2391 *sec = tp.tv_sec; in php_date_get_current_time_with_fraction()
2392 *usec = tp.tv_usec; in php_date_get_current_time_with_fraction()
/php-src/ext/fileinfo/
H A Dlibmagic.patch1179 cdf_timestamp_t tp;

Completed in 231 milliseconds