| /PHP_TRUNK/sapi/fpm/fpm/ |
| H A D | fpm_process_ctl.c | 60 static int fpm_pctl_timeout_set(int sec) /* {{{ */ argument 63 fpm_event_add(&pctl_event, sec * 1000);
|
| /PHP_TRUNK/ext/imap/ |
| H A D | php_imap.c | 2333 char *body, *sec; local 2338 if (zend_parse_parameters(argc TSRMLS_CC, "rls|l", &streamind, &msgno, &sec, &sec_len, &flags) == FAILURE) { 2354 body = mail_fetchbody_full(imap_le_struct->imap_stream, msgno, sec, &len, (argc == 4 ? flags : NIL)); 2373 char *body, *sec; local 2378 if (zend_parse_parameters(argc TSRMLS_CC, "rls|l", &streamind, &msgno, &sec, &sec_len, &flags) == FAILURE) { 2394 body = mail_fetch_mime(imap_le_struct->imap_stream, msgno, sec, &len, (argc == 4 ? flags : NIL));
|
| /PHP_TRUNK/ext/standard/ |
| H A D | uniqid.c | 53 int sec, usec, prefix_len = 0; local 72 sec = (int) tv.tv_sec; 79 spprintf(&uniqid, 0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg(TSRMLS_C) * 10); 81 spprintf(&uniqid, 0, "%s%08x%05x", prefix, sec, usec);
|
| H A D | streamsfuncs.c | 772 zval *r_array, *w_array, *e_array, **sec = NULL; local 781 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!a!Z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE) 817 if (sec != NULL) { 818 convert_to_long_ex(sec); 820 if (Z_LVAL_PP(sec) < 0) { 828 /* Solaris + BSD do not like microsecond values which are >= 1 sec */ 830 tv.tv_sec = Z_LVAL_PP(sec) + (usec / 1000000); 833 tv.tv_sec = Z_LVAL_PP(sec);
|
| /PHP_TRUNK/sapi/litespeed/ |
| H A D | lsapilib.c | 1768 int sec =0; local 1773 while( g_prefork_server->m_iCurChildren && (sec < maxWait) ) { 1776 sec++;
|
| /PHP_TRUNK/ext/mysqli/ |
| H A D | mysqli_nonapi.c | 770 /* {{{ proto int mysqli_poll(array read, array write, array error, long sec [, long usec]) U 776 long sec = 0, usec = 0; local 780 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!al|l", &r_array, &e_array, &dont_poll_array, &sec, &usec) == FAILURE) { 783 if (sec < 0 || usec < 0) { 784 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Negative values passed for sec and/or usec"); 800 ret = mysqlnd_poll(new_r_array, new_e_array, &new_dont_poll_array, sec, usec, &desc_num);
|
| /PHP_TRUNK/ext/date/lib/ |
| H A D | timelib.c | 197 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec) argument 201 *sec = (h - *hour - ((float) *min / 60)) * 3600;
|
| H A D | parse_date.c | 189 { "sec", TIMELIB_SECOND, 1 }, 24999 timelib_sll sec; local 25002 sec = timelib_get_nr_ex((char **) &ptr, 2, &length); 25003 if (sec == TIMELIB_UNSET || length != 2) { 25006 s->time->s = sec;
|
| /PHP_TRUNK/ext/fileinfo/libmagic/ |
| H A D | cdf.c | 387 cdf_secid_t *msa, mid, sec; local 438 sec = CDF_TOLE4((uint32_t)msa[k]); 439 if (sec < 0) 448 sec) != (ssize_t)ss) {
|
| H A D | cdf_time.c | 170 cdf_ctime(const time_t *sec, char *buf) argument 172 char *ptr = ctime_r(sec, buf); 175 (void)snprintf(buf, 26, "*Bad* 0x%16.16llx\n", (long long)*sec);
|
| /PHP_TRUNK/sapi/cgi/ |
| H A D | cgi_main.c | 2558 int sec; local 2563 sec = (int)(end.tv_sec - start.tv_sec); 2567 sec -= 1; 2570 fprintf(stderr, "\nElapsed time: %d.%06d sec\n", sec, usec); 2573 sec = (int)(end - start); 2574 fprintf(stderr, "\nElapsed time: %d sec\n", sec);
|
| /PHP_TRUNK/ext/mysqlnd/ |
| H A D | mysqlnd.c | 1329 _mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, uint * desc_num TSRMLS_DC) argument 1339 if (sec < 0 || usec < 0) { 1340 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Negative values passed for sec and/or usec"); 1373 /* Solaris + BSD do not like microsecond values which are >= 1 sec */ 1375 tv.tv_sec = sec + (usec / 1000000); 1378 tv.tv_sec = sec;
|
| /PHP_TRUNK/ext/date/ |
| H A D | php_date.c | 80 ZEND_ARG_INFO(0, sec) 89 ZEND_ARG_INFO(0, sec) 1486 long hou = 0, min = 0, sec = 0, mon = 0, day = 0, yea = 0, dst = -1; local 1492 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lllllll", &hou, &min, &sec, &mon, &day, &yea, &dst) == FAILURE) { 1524 now->s = sec; 1575 /* {{{ proto int mktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]]) 1583 /* {{{ proto int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
|
| /PHP_TRUNK/ext/sockets/ |
| H A D | sockets.c | 842 zval *r_array, *w_array, *e_array, *sec; local 850 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!a!z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE) { 870 if (sec != NULL) { 873 if (Z_TYPE_P(sec) != IS_LONG) { 874 tmp = *sec; 877 sec = &tmp; 880 /* Solaris + BSD do not like microsecond values which are >= 1 sec */ 882 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000); 885 tv.tv_sec = Z_LVAL_P(sec); 891 if (sec 1948 zval **sec, **usec; local [all...] |