/PHP-5.3/scripts/dev/generate-phpt/tests/ |
H A D | gtMethodTest.php | 10 $m->setArgumentNames(); 25 $m->setArgumentNames(); 26 $m->setExtraArgumentList(); 32 $m->setArgumentNames(); 33 $m->setShortArgumentList(); 39 $m->setArgumentNames(); 40 $m->setValidArgumentLists(); 47 $m->setArgumentNames(); 48 $m->setValidArgumentLists(); 56 $m->setArgumentNames(); [all …]
|
/PHP-5.3/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-5.3/ext/ereg/regex/ |
H A D | engine.c | 135 endp = slow(m, m->coldp, stop, gf, gl); 138 assert(m->coldp < m->endp); 153 m->pmatch[i].rm_so = m->pmatch[i].rm_eo = -1; 156 dp = dissect(m, m->coldp, endp, gf, gl); 179 endp = slow(m, m->coldp, endp-1, gf, gl); 204 pmatch[0].rm_so = m->coldp - m->offp; 397 m->pmatch[i].rm_so = sp - m->offp; 402 m->pmatch[i].rm_eo = sp - m->offp; 535 ssp = m->offp + m->pmatch[i].rm_so; 590 m->pmatch[i].rm_so = sp - m->offp; [all …]
|
H A D | regexec.c | 31 #define STATESETUP(m, n) /* nothing */ argument 32 #define STATETEARDOWN(m) /* nothing */ argument 71 #define CLEAR(v) memset(v, 0, m->g->nstates) 75 #define ASSIGN(d, s) memcpy(d, s, m->g->nstates) 76 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0) 78 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \ argument 79 if ((m)->space == NULL) return(REG_ESPACE); \ 80 (m)->vn = 0; } 81 #define STATETEARDOWN(m) { free((m)->space); } argument 82 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
|
/PHP-5.3/ext/mysqlnd/ |
H A D | mysqlnd.h | 136 #define mysqlnd_use_result(conn) (conn)->m->use_result((conn) TSRMLS_CC) 138 #define mysqlnd_next_result(conn) (conn)->m->next_result((conn) TSRMLS_CC) 144 #define mysqlnd_errno(conn) (conn)->m->get_error_no((conn) TSRMLS_CC) 145 #define mysqlnd_error(conn) (conn)->m->get_error_str((conn) TSRMLS_CC) 146 #define mysqlnd_sqlstate(conn) (conn)->m->get_sqlstate((conn) TSRMLS_CC) 162 #define mysqlnd_num_rows(result) (result)->m.num_rows((result) TSRMLS_CC) 208 #define mysqlnd_commit(conn) (conn)->m->tx_commit((conn) TSRMLS_CC) 209 #define mysqlnd_rollback(conn) (conn)->m->tx_rollback((conn) TSRMLS_CC) 221 #define mysqlnd_ping(conn) (conn)->m->ping((conn) TSRMLS_CC) 241 #define mysqlnd_stmt_init(conn) (conn)->m->stmt_init((conn) TSRMLS_CC) [all …]
|
/PHP-5.3/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 MET"))."\n"; 10 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 MEST"))."\n"; 11 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n"; 12 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n"; 13 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n"; 14 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-04"))."\n"; 15 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+04"))."\n"; 16 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0300"))."\n"; [all …]
|
H A D | mktime-1.phpt | 11 echo date("Y-m-d", mktime( 12, 0, 0, 3, 0, 2000)) ."\n"; 12 echo date("Y-m-d", mktime( 12, 0, 0, 3, -1, 2000)) ."\n"; 13 echo date("Y-m-d", mktime( 12, 0, 0, 2, 29, 2000)) ."\n"; 14 echo date("Y-m-d", mktime( 12, 0, 0, 3, 0, 2001)) ."\n"; 15 echo date("Y-m-d", mktime( 12, 0, 0, 2, 29, 2001)) ."\n"; 16 echo date("Y-m-d", mktime( 12, 0, 0, 0, 0, 2000)) ."\n"; 20 echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,0))."\n"; 21 echo date("Y-m-d H:i:s", mktime(12,0,0,3,+90,2000,1))."\n"; 23 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-90,2000,0))."\n"; 26 echo date("Y-m-d H:i:s", mktime(12,0,0,5,-1,2000,0))."\n"; [all …]
|
H A D | bug27719.phpt | 11 echo "$a ".date("m/d/y h:i:s\n",$a); 12 echo "$b ".date("m/d/y h:i:s\n",$b); 13 echo "$c ".date("m/d/y h:i:s\n",$c); 19 echo "$a ".date("m/d/y h:i:s\n",$a); 20 echo "$b ".date("m/d/y h:i:s\n",$b); 21 echo "$c ".date("m/d/y h:i:s\n",$c); 27 echo "$a ".date("m/d/y h:i:s\n",$a); 28 echo "$b ".date("m/d/y h:i:s\n",$b); 29 echo "$c ".date("m/d/y h:i:s\n",$c); 35 echo "$a ".date("m/d/y h:i:s\n",$a); [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 ' ), 26 string(5) "Y-m-d" 45 string(6) "Y-m-d+" 71 string(7) "Y-m-d +" 97 string(6) "Y-m-d+" 121 string(7) "Y-m-d +" [all …]
|
/PHP-5.3/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 1185 (void)memset(m, 0, sizeof(*m)); 1203 (void)memset(m, 0, sizeof(*m)); 1537 m->desc[sizeof(m->desc) - 1] = '\0'; 1571 m->factor_op, m->factor); 1600 m->factor_op, m->factor); 1843 file_names[m->type], m->desc); 1852 file_names[m->type], m->desc); 2510 m->str_range = swap4(m->str_range); 2511 m->str_flags = swap4(m->str_flags); 2514 m->value.q = swap8(m->value.q); [all …]
|
H A D | softmagic.c | 427 if (m->reln == '=' || m->reln == '!') { in mprint() 428 if (file_printf(ms, m->desc, m->value.s) == -1) in mprint() 539 if (file_printf(ms, m->desc, m->value.s) == -1) in mprint() 548 if (file_printf(ms, m->desc, m->value.s) == -1) in mprint() 591 if (m->reln == '=' || m->reln == '!') in moffset() 757 cvt_8(p, m); in mconvert() 760 cvt_16(p, m); in mconvert() 1812 v = file_strncmp(m->value.s, p->s, (size_t)m->vallen, m->str_flags); 1818 v = file_strncmp16(m->value.s, p->s, (size_t)m->vallen, m->str_flags); 1828 slen = MIN(m->vallen, sizeof(m->value.s)); [all …]
|
H A D | cdf_time.c | 69 size_t m; in cdf_getday() local 71 for (m = 0; m < sizeof(mdays) / sizeof(mdays[0]); 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 < sizeof(mdays) / sizeof(mdays[0]); m++) { in cdf_getmonth() 89 days -= mdays[m]; in cdf_getmonth() 90 if (m == 1 && isleap(year)) in cdf_getmonth() 93 return (int)m; in cdf_getmonth() 95 return (int)m; in cdf_getmonth()
|
/PHP-5.3/ext/date/lib/ |
H A D | dow.c | 46 m1 = timelib_is_leap(y) ? m_table_leap[m] : m_table_common[m]; in timelib_day_of_week_ex() 58 return timelib_day_of_week_ex(y, m, d, 0); in timelib_day_of_week() 63 return timelib_day_of_week_ex(y, m, d, 1); in timelib_iso_day_of_week() 74 return (timelib_is_leap(y) ? d_table_leap[m] : d_table_common[m]) + d - 1; in timelib_day_of_year() 77 timelib_sll timelib_days_in_month(timelib_sll y, timelib_sll m) in timelib_days_in_month() argument 79 return timelib_is_leap(y) ? ml_table_leap[m] : ml_table_common[m]; in timelib_days_in_month() 88 doy = timelib_day_of_year(y, m, d) + 1; in timelib_isoweek_from_date() 89 if (y_leap && m > 2) { in timelib_isoweek_from_date() 93 weekday = timelib_day_of_week(y, m, d); in timelib_isoweek_from_date() 151 int timelib_valid_date(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_valid_date() argument [all …]
|
H A D | tm2unixtime.c | 46 (*m)++; in inc_month() 48 *m -= 12; in inc_month() 55 (*m)--; in dec_month() 57 *m += 12; in dec_month() 85 (*m)--; in do_range_limit_days_relative() 95 (*m)--; in do_range_limit_days_relative() 134 (*m)--; in do_range_limit_days() 139 (*m)++; in do_range_limit_days() 206 time->m += time->relative.m; in do_adjust_relative() 293 time->m += time->relative.m; in do_adjust_special_early() [all …]
|
/PHP-5.3/ext/spl/tests/ |
H A D | multiple_iterator_001.phpt | 10 $m = new MultipleIterator(); 13 foreach($m as $value) { 16 var_dump($m->current()); 18 $m->attachIterator($iter1); 26 foreach($m as $value) { 30 $m->current(); 35 $m->key(); 45 foreach($m as $value) { 54 foreach($m as $value) { 61 $m->rewind(); [all …]
|
/PHP-5.3/ext/mbstring/ |
H A D | php_unicode.c | 64 long l, r, m; in prop_lookup() local 78 for (m = 1; n + m < _ucprop_size && _ucprop_offsets[n + m] == 0xffff; m++) in prop_lookup() 88 m = (l + r) >> 1; in prop_lookup() 89 m -= (m & 1); in prop_lookup() 91 l = m + 2; in prop_lookup() 93 r = m - 2; in prop_lookup() 124 long m; in case_lookup() local 134 m = (l + r) >> 1; in case_lookup() 135 m -= (m % 3); in case_lookup() 137 l = m + 3; in case_lookup() [all …]
|
/PHP-5.3/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);
|
/PHP-5.3/Zend/ |
H A D | zend_vm_gen.php | 838 out($f, $m[1].$executor_name.$m[3]."\n"); 850 skip_blanks($f, $m[1], $m[3]."\n"); 873 skip_blanks($f, $m[1], $m[3]); 879 out($f,$m[1]."\tint ret;".$m[3]."\n"); 884 skip_blanks($f, $m[1], $m[3]); 915 $m[1]."}".$m[3]."\n"); 932 out($f, $m[1].$initializer_name.$m[3]."\n"); 1003 $m) == 0) { 1078 $export[] = array("handler",$m[1],$m[2]); 1089 $export[] = array("helper",$m[1],$m[2]); [all …]
|
/PHP-5.3/ext/oci8/tests/ |
H A D | error_parse.phpt | 27 $m = oci_error($c1); 28 var_dump($m); 43 $m = oci_error($c2); 44 var_dump($m); 60 var_dump($m); 65 $m = oci_error(); 67 var_dump($m); 71 $m = oci_error($c1); 75 $m = oci_error($c2); 79 $m = oci_error($c3); [all …]
|