Searched defs:serv (Results 1 - 5 of 5) sorted by relevance

/PHP_5_4/sapi/apache/
H A Dphp_apache.c172 server_rec *serv; local
179 serv = ((request_rec *) SG(server_context))->server;
207 snprintf(output_buf, sizeof(output_buf), "%s:%u", serv->server_hostname, serv->port);
212 snprintf(output_buf, sizeof(output_buf), "Per Child: %d - Keep Alive: %s - Max Per Connection: %d", max_requests_per_child, serv->keep_alive ? "on":"off", serv->keep_alive_max);
215 snprintf(output_buf, sizeof(output_buf), "Connection: %d - Keep-Alive: %d", serv->timeout, serv->keep_alive_timeout);
/PHP_5_4/sapi/apache2handler/
H A Dphp_functions.c373 server_rec *serv = ((php_struct *) SG(server_context))->r->server; local
402 if (serv->server_admin && *(serv->server_admin)) {
403 php_info_print_table_row(2, "Server Administrator", serv->server_admin);
406 snprintf(tmp, sizeof(tmp), "%s:%u", serv->server_hostname, serv->port);
419 snprintf(tmp, sizeof(tmp), "Per Child: %d - Keep Alive: %s - Max Per Connection: %d", max_requests, (serv->keep_alive ? "on":"off"), serv->keep_alive_max);
424 apr_time_sec(serv->timeout), apr_time_sec(serv
[all...]
/PHP_5_4/sapi/apache_hooks/
H A Dphp_apache.c1585 server_rec *serv; local
1592 serv = ((request_rec *) SG(server_context))->server;
1618 snprintf(output_buf, sizeof(output_buf), "%s:%u", serv->server_hostname, serv->port);
1623 snprintf(output_buf, sizeof(output_buf), "Per Child: %d - Keep Alive: %s - Max Per Connection: %d", max_requests_per_child, serv->keep_alive ? "on":"off", serv->keep_alive_max);
1626 snprintf(output_buf, sizeof(output_buf), "Connection: %d - Keep-Alive: %d", serv->timeout, serv->keep_alive_timeout);
/PHP_5_4/ext/odbc/
H A Dbirdstep.c289 char *serv, *user, *pass; local
296 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss", &serv, &serv_len, &user, &user_len, &pass, &pass_len) == FAILURE) {
310 stat = SQLConnect(hdbc, serv, SQL_NTS, user, SQL_NTS, pass, SQL_NTS);
312 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Birdstep: Could not connect to server \"%s\" for %s", serv, user);
/PHP_5_4/ext/standard/
H A Dbasic_functions.c5561 struct servent *serv; local
5576 serv = getservbyname(name, proto);
5578 if (serv == NULL) {
5582 RETURN_LONG(ntohs(serv->s_port));
5595 struct servent *serv; local
5601 serv = getservbyport(htons((unsigned short) port), proto);
5603 if (serv == NULL) {
5607 RETURN_STRING(serv->s_name, 1);

Completed in 14 milliseconds