Lines Matching refs:tv
853 struct timeval tv; local
892 tv.tv_sec = Z_LVAL_P(sec) + (usec / 1000000);
893 tv.tv_usec = usec % 1000000;
895 tv.tv_sec = Z_LVAL_P(sec);
896 tv.tv_usec = usec;
899 tv_p = &tv;
1885 struct timeval tv; local
1949 optlen = sizeof(tv);
1951 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&tv, &optlen) != 0) {
1963 tv.tv_sec = timeout ? timeout / 1000 : 0;
1964 tv.tv_usec = timeout ? (timeout * 1000) % 1000000 : 0;
1969 add_assoc_long(return_value, "sec", tv.tv_sec);
1970 add_assoc_long(return_value, "usec", tv.tv_usec);
2000 struct timeval tv; local
2090 tv.tv_sec = Z_LVAL_P(sec);
2091 tv.tv_usec = Z_LVAL_P(usec);
2092 optlen = sizeof(tv);
2093 opt_ptr = &tv;