Searched defs:sec (Results 1 - 15 of 15) sorted by relevance

/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_process_ctl.c60 static int fpm_pctl_timeout_set(int sec) /* {{{ */ argument
63 fpm_event_add(&pctl_event, sec * 1000);
/PHP_5_4/ext/fileinfo/libmagic/
H A Dcdf_time.c170 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);
H A Dreadcdf.c147 const time_t sec = ts.tv_sec; local
151 c = cdf_ctime(&sec, tbuf);
H A Dcdf.c389 cdf_secid_t *msa, mid, sec; local
440 sec = CDF_TOLE4((uint32_t)msa[k]);
441 if (sec < 0)
450 sec) != (ssize_t)ss) {
/PHP_5_4/ext/sockets/
H A Dsockets.c1029 zval *r_array, *w_array, *e_array, *sec; local
1037 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!a!z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE) {
1057 if (sec != NULL) {
1060 if (Z_TYPE_P(sec) != IS_LONG) {
1061 tmp = *sec;
1064 sec = &tmp;
1067 /* Solaris + BSD do not like microsecond values which are >= 1 sec */
1069 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
1072 tv.tv_sec = Z_LVAL_P(sec);
1078 if (sec
2221 zval **sec, **usec; local
[all...]
/PHP_5_4/ext/standard/
H A Duniqid.c53 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 Dstreamsfuncs.c776 zval *r_array, *w_array, *e_array, **sec = NULL; local
785 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!a!Z!|l", &r_array, &w_array, &e_array, &sec, &usec) == FAILURE)
821 if (sec != NULL) {
822 convert_to_long_ex(sec);
824 if (Z_LVAL_PP(sec) < 0) {
832 /* Solaris + BSD do not like microsecond values which are >= 1 sec */
834 tv.tv_sec = Z_LVAL_PP(sec) + (usec / 1000000);
837 tv.tv_sec = Z_LVAL_PP(sec);
/PHP_5_4/sapi/cgi/
H A Dcgi_main.c2559 int sec; local
2564 sec = (int)(end.tv_sec - start.tv_sec);
2568 sec -= 1;
2571 fprintf(stderr, "\nElapsed time: %d.%06d sec\n", sec, usec);
2574 sec = (int)(end - start);
2575 fprintf(stderr, "\nElapsed time: %d sec\n", sec);
/PHP_5_4/ext/date/lib/
H A Dtimelib.c195 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec) argument
199 *sec = (h - *hour - ((float) *min / 60)) * 3600;
H A Dparse_date.c191 { "sec", TIMELIB_SECOND, 1 },
25035 timelib_sll sec; local
25038 sec = timelib_get_nr_ex((char **) &ptr, 2, &length);
25039 if (sec == TIMELIB_UNSET || length != 2) {
25042 s->time->s = sec;
/PHP_5_4/ext/imap/
H A Dphp_imap.c2332 char *body, *sec; local
2337 if (zend_parse_parameters(argc TSRMLS_CC, "rls|l", &streamind, &msgno, &sec, &sec_len, &flags) == FAILURE) {
2353 body = mail_fetchbody_full(imap_le_struct->imap_stream, msgno, sec, &len, (argc == 4 ? flags : NIL));
2372 char *body, *sec; local
2377 if (zend_parse_parameters(argc TSRMLS_CC, "rls|l", &streamind, &msgno, &sec, &sec_len, &flags) == FAILURE) {
2393 body = mail_fetch_mime(imap_le_struct->imap_stream, msgno, sec, &len, (argc == 4 ? flags : NIL));
/PHP_5_4/ext/mysqli/
H A Dmysqli_nonapi.c772 /* {{{ proto int mysqli_poll(array read, array write, array error, long sec [, long usec]) U
778 long sec = 0, usec = 0; local
782 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a!a!al|l", &r_array, &e_array, &dont_poll_array, &sec, &usec) == FAILURE) {
785 if (sec < 0 || usec < 0) {
786 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Negative values passed for sec and/or usec");
802 ret = mysqlnd_poll(new_r_array, new_e_array, &new_dont_poll_array, sec, usec, &desc_num);
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd.c1217 _mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int * desc_num TSRMLS_DC) argument
1227 if (sec < 0 || usec < 0) {
1228 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Negative values passed for sec and/or usec");
1262 /* Solaris + BSD do not like microsecond values which are >= 1 sec */
1264 tv.tv_sec = sec + (usec / 1000000);
1267 tv.tv_sec = sec;
/PHP_5_4/sapi/litespeed/
H A Dlsapilib.c2670 int sec =0; local
2675 while( g_prefork_server->m_iCurChildren && (sec < maxWait) )
2679 sec++;
/PHP_5_4/ext/date/
H A Dphp_date.c84 ZEND_ARG_INFO(0, sec)
93 ZEND_ARG_INFO(0, sec)
1457 long hou = 0, min = 0, sec = 0, mon = 0, day = 0, yea = 0, dst = -1; local
1463 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lllllll", &hou, &min, &sec, &mon, &day, &yea, &dst) == FAILURE) {
1495 now->s = sec;
1546 /* {{{ proto int mktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
1554 /* {{{ proto int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])

Completed in 77 milliseconds