/php-src/tests/lang/ |
H A D | 028.phpt | 59 I'm still alive 64 I'm still alive 69 I'm still alive 74 I'm still alive 79 I'm still alive 84 I'm still alive 89 I'm still alive 94 I'm still alive 99 I'm still alive 104 I'm still alive [all …]
|
/php-src/ext/fileinfo/libmagic/ |
H A D | print.c | 56 (m->cont_level & 7) + 1, ">>>>>>>>", m->offset); in file_mdump() 58 if (m->flag & INDIR) { in file_mdump() 61 (m->in_type < file_nnames) ? file_names[m->in_type] : in file_mdump() 68 optyp[m->in_op & FILE_OPS_MASK] : '?', m->in_offset); in file_mdump() 72 (m->type < file_nnames) ? file_names[m->type] : "*bad type"); in file_mdump() 77 if (m->str_flags) { in file_mdump() 109 if (m->str_range) in file_mdump() 119 if (m->num_mask) { in file_mdump() 126 if (m->reln != 'x') { in file_mdump() 127 switch (m->type) { in file_mdump() [all …]
|
H A D | softmagic.c | 312 if (*m->desc) { in match() 602 desc = m->desc; in mprint() 661 if (m->reln == '=' || m->reln == '!') { in mprint() 884 if (m->reln == '=' || m->reln == '!') { in moffset() 1432 if (m->str_range != 0 && m->str_range < sizeof(*p)) in mcopy() 1623 if (mcopy(ms, p, m->type, m->flag & INDIR, s, in mget() 1631 m->type, m->flag, offset, o, nbytes, in mget() 1812 if (mcopy(ms, p, m->type, 0, s, offset, nbytes, m) == -1) in mget() 2218 v = file_strncmp(m->value.s, p->s, CAST(size_t, m->vallen), in magiccheck() 2236 slen = MIN(m->vallen, sizeof(m->value.s)); in magiccheck() [all …]
|
H A D | apprentice.c | 2020 (void)memset(m, 0, sizeof(*m)); in parse() 2032 (void)memset(m, 0, sizeof(*m)); in parse() 2353 m->desc[sizeof(m->desc) - 1] = '\0'; in parse() 2393 m->factor_op, m->factor); in parse_strength() 2430 m->factor_op, m->factor); in parse_strength() 2764 file_names[m->type], m->desc); in check_format() 2773 file_names[m->type], m->desc); in check_format() 3569 m->str_range = swap4(m->str_range); 3570 m->str_flags = swap4(m->str_flags); 3573 m->value.q = swap8(m->value.q); [all …]
|
H A D | cdf_time.c | 69 size_t m; in cdf_getday() local 71 for (m = 0; m < __arraycount(mdays); m++) { in cdf_getday() 72 int sub = mdays[m] + (m == 1 && isleap(year)); in cdf_getday() 86 size_t m; in cdf_getmonth() local 88 for (m = 0; m < __arraycount(mdays); m++) { in cdf_getmonth() 89 days -= mdays[m]; in cdf_getmonth() 90 if (m == 1 && isleap(year)) in cdf_getmonth() 93 return CAST(int, m); in cdf_getmonth() 95 return CAST(int, m); in cdf_getmonth()
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd.h | 106 (result)->m.fetch_row((result), (row_ptr), 0, (fetched)) 145 #define mysqlnd_num_rows(result) (result)->m.num_rows((result)) 146 #define mysqlnd_num_fields(result) (result)->m.num_fields((result)) 165 #define mysqlnd_stmt_num_rows(stmt) (stmt)->m->get_num_rows((stmt)) 170 #define mysqlnd_stmt_errno(stmt) (stmt)->m->get_error_no((stmt)) 171 #define mysqlnd_stmt_error(stmt) (stmt)->m->get_error_str((stmt)) 172 #define mysqlnd_stmt_sqlstate(stmt) (stmt)->m->get_sqlstate((stmt)) 196 #define mysqlnd_ping(conn) ((conn)->data)->m->ping((conn)->data) 222 #define mysqlnd_stmt_execute(stmt) (stmt)->m->execute((stmt)) 237 #define mysqlnd_stmt_reset(stmt) (stmt)->m->reset((stmt)) [all …]
|
H A D | mysqlnd_ext_plugin.h | 127 #define mysqlnd_object_factory_set_methods(m) mysqlnd_plugin_methods_xetters.object_factory.set((m)) argument 130 #define mysqlnd_conn_set_methods(m) mysqlnd_plugin_methods_xetters.connection.set((m)) argument 133 #define mysqlnd_conn_data_set_methods(m) mysqlnd_plugin_methods_xetters.connection_data.set((m)) argument 136 #define mysqlnd_result_set_methods(m) mysqlnd_plugin_methods_xetters.result.set((m)) argument 142 #define mysqlnd_result_buffered_set_methods(m) mysqlnd_plugin_methods_xetters.buffered_result.set(… argument 145 #define mysqlnd_stmt_set_methods(m) mysqlnd_plugin_methods_xetters.statement.set((m)) argument 148 #define mysqlnd_protocol_set_methods(m) mysqlnd_plugin_methods_xetters.protocol.set((m)) argument 151 #define mysqlnd_pfc_set_methods(m) mysqlnd_plugin_methods_xetters.pfc.set((m)) argument 154 #define mysqlnd_vio_set_methods(m) mysqlnd_plugin_methods_xetters.vio.set((m)) argument 157 #define mysqlnd_command_set_methods(m) mysqlnd_plugin_methods_xetters.command.set((m)) argument [all …]
|
/php-src/ext/date/lib/ |
H A D | dow.c | 57 m1 = timelib_is_leap(y) ? m_table_leap[m] : m_table_common[m]; in timelib_day_of_week_ex() 85 return (timelib_is_leap(y) ? d_table_leap[m] : d_table_common[m]) + d - 1; in timelib_day_of_year() 90 return timelib_is_leap(y) ? ml_table_leap[m] : ml_table_common[m]; in timelib_days_in_month() 99 doy = timelib_day_of_year(y, m, d) + 1; in timelib_isoweek_from_date() 100 if (y_leap && m > 2) { in timelib_isoweek_from_date() 104 weekday = timelib_day_of_week(y, m, d); in timelib_isoweek_from_date() 186 *m = 1; in timelib_date_from_isodate() 187 while (daynr > table[*m]) { in timelib_date_from_isodate() 188 daynr -= table[*m]; in timelib_date_from_isodate() 189 *m += 1; in timelib_date_from_isodate() [all …]
|
H A D | tm2unixtime.c | 54 (*m)++; in inc_month() 56 *m -= 12; in inc_month() 63 (*m)--; in dec_month() 65 *m += 12; in dec_month() 93 (*m)--; in do_range_limit_days_relative() 103 (*m)--; in do_range_limit_days_relative() 143 (*m)--; in do_range_limit_days() 148 (*m)++; in do_range_limit_days() 258 time->m += time->relative.m; in do_adjust_relative() 344 time->m += time->relative.m; in do_adjust_special_early() [all …]
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_chkdint.c | 69 PCRE2_SIZE m; in PRIV() local 71 if (__builtin_mul_overflow(a, b, &m)) return TRUE; in PRIV() 73 *r = m; in PRIV() 75 INT64_OR_DOUBLE m; in PRIV() 81 m = (INT64_OR_DOUBLE)a * (INT64_OR_DOUBLE)b; in PRIV() 84 if (sizeof(m) > sizeof(*r) && m > (INT64_OR_DOUBLE)PCRE2_SIZE_MAX) return TRUE; in PRIV() 85 *r = (PCRE2_SIZE)m; in PRIV() 87 if (m > PCRE2_SIZE_MAX) return TRUE; in PRIV() 88 *r = m; in PRIV()
|
/php-src/Zend/tests/zend_ini/ |
H A D | zend_ini_parse_quantity.phpt | 84 # "1m" 87 # "0123m" 90 # "1m " 156 # "1 m" 162 # "1 m " 228 # "+1m" 234 # "+1m " 300 # "+1 m" 372 # "-1m" 378 # "-1m " [all …]
|
/php-src/ext/date/tests/ |
H A D | bug34771.phpt | 9 '12a.m.', '1a.m.', '1p.m.', 11 '12:00a.m.', '1:00a.m.', '1:00p.m.' 24 12a.m. => 2005-12-22T00:00:00+0000 25 1a.m. => 2005-12-22T01:00:00+0000 26 1p.m. => 2005-12-22T13:00:00+0000 30 12:00a.m. => 2005-12-22T00:00:00+0000 31 1:00a.m. => 2005-12-22T01:00:00+0000 32 1:00p.m. => 2005-12-22T13:00:00+0000
|
H A D | bug17988.phpt | 7 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728"))."\n"; 8 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 GMT"))."\n"; 9 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n"; 10 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n"; 11 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n"; 12 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-04"))."\n"; 13 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+04"))."\n"; 14 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0300"))."\n"; 15 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+0300"))."\n"; 16 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0330"))."\n"; [all …]
|
H A D | bug33578.phpt | 6 echo date('m/d/Y', strtotime('Oct 11')), "\n"; 7 echo date('m/d/Y', strtotime('11 Oct')), "\n"; 8 echo date('m/d/Y', strtotime('11 Oct 2005')), "\n"; 9 echo date('m/d/Y', strtotime('Oct11')), "\n"; 10 echo date('m/d/Y', strtotime('11Oct')), "\n"; 11 echo date('m/d/Y', strtotime('11Oct 2005')), "\n"; 12 echo date('m/d/Y', strtotime('11Oct2005')), "\n";
|
H A D | bug51866.phpt | 8 array( 'Y-m-d', '2001-11-29 13:20:01' ), 9 array( 'Y-m-d+', '2001-11-29 13:20:01' ), 11 array( 'Y-m-d+', '2001-11-29' ), 12 array( 'Y-m-d +', '2001-11-29' ), 13 array( 'Y-m-d +', '2001-11-29 ' ), 27 string(5) "Y-m-d" 46 string(6) "Y-m-d+" 72 string(7) "Y-m-d +" 98 string(6) "Y-m-d+" 111 string(7) "Y-m-d +" [all …]
|
/php-src/ext/pcre/tests/ |
H A D | bug47229.phpt | 9 preg_match('/[a\-c]+/', 'a---b', $m); 10 var_dump($m); 12 preg_match('/[a\-c]+/', 'a\-', $m); 13 var_dump($m); 15 preg_match("/a\-{2,}/", 'a----a', $m); 16 var_dump($m); 18 preg_match("/a\-{1,}/", 'a\----a', $m); 19 var_dump($m);
|
H A D | bug40195.phpt | 6 var_dump(preg_match('@^(/([a-z]*))*$@', '//abcde', $m)); var_dump($m); 7 var_dump(preg_match('@^(/(?:[a-z]*))*$@', '//abcde', $m)); var_dump($m); 9 var_dump(preg_match('@^(/([a-z]+))+$@', '/a/abcde', $m)); var_dump($m); 10 var_dump(preg_match('@^(/(?:[a-z]+))+$@', '/a/abcde', $m)); var_dump($m);
|
H A D | bug42298.phpt | 6 preg_match_all('/\S\S/u', $str, $m); var_dump($m); 7 preg_match_all('/\S{2}/u', $str, $m); var_dump($m); 10 preg_match_all('/\W\W/u', $str, $m); var_dump($m); 11 preg_match_all('/\W{2}/u', $str, $m); var_dump($m);
|
H A D | dollar_endonly.phpt | 6 var_dump(preg_match_all('/^\S+.+$/', "aeiou\n", $m)); 7 var_dump($m); 9 var_dump(preg_match_all('/^\S+.+$/D', "aeiou\n", $m)); 10 var_dump($m); 12 var_dump(preg_match_all('/^\S+\s$/D', "aeiou\n", $m)); 13 var_dump($m);
|
H A D | ungreedy.phpt | 6 var_dump(preg_match('/<.*>/', '<aa> <bb> <cc>', $m)); 7 var_dump($m); 9 var_dump(preg_match('/<.*>/U', '<aa> <bb> <cc>', $m)); 10 var_dump($m); 12 var_dump(preg_match('/(?U)<.*>/', '<aa> <bb> <cc>', $m)); 13 var_dump($m);
|
H A D | pcre_extended.phpt | 6 var_dump(preg_match('/a e i o u/', 'aeiou', $m)); 7 var_dump($m); 9 var_dump(preg_match('/a e i o u/x', 'aeiou', $m)); 10 var_dump($m); 12 var_dump(preg_match("/a e\ni\to\ru/x", 'aeiou', $m)); 13 var_dump($m);
|
/php-src/ext/spl/tests/ |
H A D | multiple_iterator_001.phpt | 10 $m = new MultipleIterator(); 13 foreach($m as $value) { 17 var_dump($m->current()); 22 var_dump($m->key()); 27 $m->attachIterator($iter1); 28 $m->attachIterator($iter2); 29 $m->attachIterator($iter3); 39 $m->current(); 44 $m->key(); 70 $m->rewind(); [all …]
|
/php-src/ext/standard/tests/serialize/ |
H A D | bug68594.phpt | 6 $m = new StdClass(); 10 $m->aaa = array(1,2,&$u,4,5); 11 $m->bbb = 1; 12 // $m->ccc = &$u; 13 $m->ddd = str_repeat("A", $i); 15 $z = serialize($m);
|
/php-src/ext/sockets/tests/ |
H A D | mcast_ipv4_recv.phpt | 53 $r = socket_sendto($sends1, $m = "initial packet", strlen($m), 0, $mcastaddr, $port); 69 $r = socket_sendto($sends1, $m = "ignored mcast packet", strlen($m), 0, $mcastaddr, $port); 71 $r = socket_sendto($sends1, $m = "unicast packet", strlen($m), 0, "127.0.0.1", $port); 83 $r = socket_sendto($sends1, $m = "mcast packet", strlen($m), 0, $mcastaddr, $port); 96 $r = socket_sendto($sends1, $m = "unicast packet", strlen($m), 0, "127.0.0.1", $port); 107 … $r = socket_sendto($sends1, $m = "mcast packet from 127.0.0.1", strlen($m), 0, $mcastaddr, $port); 117 $r = socket_sendto($sends1, $m = "ignored mcast packet", strlen($m), 0, $mcastaddr, $port); 119 $r = socket_sendto($sends1, $m = "unicast packet", strlen($m), 0, "127.0.0.1", $port); 130 … $r = socket_sendto($sends1, $m = "mcast packet from 127.0.0.1", strlen($m), 0, $mcastaddr, $port); 141 $r = socket_sendto($sends1, $m = "ignored mcast packet", strlen($m), 0, $mcastaddr, $port); [all …]
|
/php-src/Zend/tests/ |
H A D | bug70898.phpt | 5 function m($f,$a){ 10 echo implode(m("",m("",m("",m("",m("0000000000000000000000000000000000",("")))))));
|