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 += snprintf((char*)tp, sizeof(name) - (tp - (uint8_t *) name), "%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 += snprintf((char*)tp, sizeof(name) - (tp - (uint8_t *) name),"%x",s); in php_parserr()
[all …]
H A Ddns_win32.c250 char *tp = buf; in php_parserr() local
265 tp[0] = ':'; in php_parserr()
266 tp++; in php_parserr()
268 tp += snprintf((char*)tp, sizeof(buf) - (tp - (char *) buf), "%x", out[i]); in php_parserr()
273 tp[0] = ':'; in php_parserr()
274 tp++; in php_parserr()
277 tp++; in php_parserr()
279 tp++; in php_parserr()
285 tp[0] = ':'; in php_parserr()
286 tp++; in php_parserr()
[all …]
H A Dstring.c5099 tp = tbuf;
5101 tbuf = tp = NULL;
5124 pos = tp - tbuf;
5128 *(tp++) = '<';
5188 *(tp++) = '>';
5189 *tp='\0';
5193 tp = tbuf;
5236 *(tp++) = c;
5272 tp = tbuf;
5330 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.c179 static void LSCRIU_Set_Global_Counter_Type(GlobalCounterType_t tp) in LSCRIU_Set_Global_Counter_Type() argument
181 if ((tp == CRIU_GCOUNTER_SHM) || (tp == CRIU_GCOUNTER_SIG) in LSCRIU_Set_Global_Counter_Type()
182 || (tp == CRIU_GCOUNTER_PIPE)) { in LSCRIU_Set_Global_Counter_Type()
183 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.re615 for (tp = timelib_reltext_lookup; tp->name; tp++) {
617 value = tp->value;
648 for (tp = timelib_month_lookup; tp->name; tp++) {
650 value = tp->value;
707 for (tp = timelib_relunit_lookup; tp->name; tp++) {
709 value = tp;
782 for (tp = timelib_timezone_lookup; tp->name; tp++) {
788 return tp;
792 return tp;
832 *dst = tp->type;
[all …]
H A Dparse_date.c617 for (tp = timelib_reltext_lookup; tp->name; tp++) { in timelib_lookup_relative_text()
619 value = tp->value; in timelib_lookup_relative_text()
650 for (tp = timelib_month_lookup; tp->name; tp++) { in timelib_lookup_month()
652 value = tp->value; in timelib_lookup_month()
709 for (tp = timelib_relunit_lookup; tp->name; tp++) { in timelib_lookup_relunit()
711 value = tp; in timelib_lookup_relunit()
784 for (tp = timelib_timezone_lookup; tp->name; tp++) { in abbr_search()
790 return tp; in abbr_search()
794 return tp; in abbr_search()
834 *dst = tp->type; in timelib_lookup_abbr()
[all …]
/php-src/main/
H A DSAPI.c1094 struct timeval tp = {0}; in sapi_get_request_time() local
1095 if (!gettimeofday(&tp, NULL)) { in sapi_get_request_time()
1096 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.c2355 struct timeval tp = {0}; /* For setting microsecond */ in php_date_get_current_time_with_fraction() local
2357 gettimeofday(&tp, NULL); in php_date_get_current_time_with_fraction()
2358 *sec = tp.tv_sec; in php_date_get_current_time_with_fraction()
2359 *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 270 milliseconds