Home
last modified time | relevance | path

Searched refs:server (Results 1 – 25 of 471) sorted by relevance

12345678910>>...19

/PHP-5.3/ext/xmlrpc/libxmlrpc/
H A Dsystem_methods.c292 static XMLRPC_VALUE xsm_system_multicall_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userD…
299 static void xsm_lazy_doc_methods_cb(XMLRPC_SERVER server, void* userData) { in xsm_lazy_doc_methods_cb() argument
301 XMLRPC_ServerAddIntrospectionData(server, xDesc); in xsm_lazy_doc_methods_cb()
305 void xsm_register(XMLRPC_SERVER server) { in xsm_register() argument
306 xi_register_system_methods(server); in xsm_register()
308 XMLRPC_ServerRegisterMethod(server, xsm_token_system_multicall, xsm_system_multicall_cb); in xsm_register()
309 …XMLRPC_ServerRegisterMethod(server, xsm_token_system_get_capabilities, xsm_system_get_capabilities… in xsm_register()
312 XMLRPC_ServerRegisterIntrospectionCallback(server, xsm_lazy_doc_methods_cb); in xsm_register()
315 XMLRPC_VALUE xsm_system_multicall_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData) { in xsm_system_multicall_cb() argument
335 XMLRPC_ServerCallMethod(server, request, userData)); in xsm_system_multicall_cb()
[all …]
H A Dxmlrpc_introspection.c95 if(server) { in check_docs_loaded()
96 q_iter qi = Q_Iter_Head_F(&server->docslist); in check_docs_loaded()
100 dm->method(server, userData); in check_docs_loaded()
130 check_docs_loaded(server, userData); in xi_system_describe_methods_cb()
176 q_iter qi = Q_Iter_Head_F(&server->methodlist); in xi_system_list_methods_cb()
195 check_docs_loaded(server, userData); in xi_system_method_signature_cb()
254 check_docs_loaded(server, userData); in xi_system_method_help_cb()
502 if(server && desc) { in XMLRPC_ServerAddIntrospectionData()
527 if(!server->xIntrospection) { in XMLRPC_ServerAddIntrospectionData()
579 if(server && cb) { in XMLRPC_ServerRegisterIntrospectionCallback()
[all …]
/PHP-5.3/ext/sockets/tests/
H A Dipv4loop.phpt11 /* Setup socket server */
12 $server = socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp'));
13 if (!$server) {
14 die('Unable to create AF_INET socket [server]');
16 if (!socket_bind($server, '127.0.0.1', 31337)) {
19 if (!socket_listen($server, 2)) {
29 die('Unable to connect to server socket');
33 $socket = socket_accept($server);
45 socket_close($server);
H A Dipv6loop.phpt12 /* Setup socket server */
13 $server = socket_create(AF_INET6, SOCK_STREAM, getprotobyname('tcp'));
14 if (!$server) {
15 die('Unable to create AF_INET6 socket [server]');
17 if (!socket_bind($server, '::1', 31337)) {
20 if (!socket_listen($server, 2)) {
30 die('Unable to connect to server socket');
34 $socket = socket_accept($server);
46 socket_close($server);
H A Dunixloop.phpt19 /* Setup socket server */
20 $server = socket_create(AF_UNIX, SOCK_STREAM, 0);
21 if (!$server) {
22 die('Unable to create AF_UNIX socket [server]');
24 if (!socket_bind($server, $sock_path)) {
27 if (!socket_listen($server, 2)) {
37 die('Unable to connect to server socket');
41 $socket = socket_accept($server);
53 socket_close($server);
H A Dsocket_getpeername_ipv4loop.phpt20 /* Setup socket server */
21 $server = socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp'));
22 if (!$server) {
23 die('Unable to create AF_INET socket [server]');
26 if (!socket_bind($server, $localhost, $port)) {
29 if (!socket_listen($server, 2)) {
39 die('Unable to connect to server socket');
43 $socket = socket_accept($server);
55 socket_close($server);
H A Dsocket_getpeername_ipv6loop.phpt21 /* Setup socket server */
22 $server = socket_create(AF_INET6, SOCK_STREAM, getprotobyname('tcp'));
23 if (!$server) {
24 die('Unable to create AF_INET6 socket [server]');
27 if (!socket_bind($server, $localhost, $port)) {
30 if (!socket_listen($server, 2)) {
40 die('Unable to connect to server socket');
44 $socket = socket_accept($server);
56 socket_close($server);
/PHP-5.3/ext/xmlrpc/tests/
H A Dbug50285.phpt24 $server = xmlrpc_server_create();
25 $result = xmlrpc_server_register_method($server, 'test1', 'test1');
33 $response = xmlrpc_server_call_method($server, $HTTP_RAW_POST_DATA, null);
38 $server = xmlrpc_server_create();
39 $result = xmlrpc_server_register_method($server, 'test2', 'test2');
47 $response = xmlrpc_server_call_method($server, $HTTP_RAW_POST_DATA, null);
52 $server = xmlrpc_server_create();
53 $result = xmlrpc_server_register_method($server, 'test3', 'test3');
61 $response = xmlrpc_server_call_method($server, $HTTP_RAW_POST_DATA, null);
66 $server = xmlrpc_server_create();
[all …]
/PHP-5.3/ext/standard/tests/network/
H A Dudp4loop.phpt5 /* Setup socket server */
6 $server = stream_socket_server('udp://127.0.0.1:31338', $errno, $errstr, STREAM_SERVER_BIND);
7 if (!$server) {
8 die('Unable to create AF_INET socket [server]');
19 $data = fread($server, 10);
23 fclose($server);
H A Dtcp4loop.phpt5 /* Setup socket server */
6 $server = stream_socket_server('tcp://127.0.0.1:31337');
7 if (!$server) {
8 die('Unable to create AF_INET socket [server]');
18 $socket = stream_socket_accept($server);
30 fclose($server);
H A Dudgloop.phpt14 /* Setup socket server */
15 $server = stream_socket_server("udg:///tmp/$uniqid.sock", $errno, $errstr, STREAM_SERVER_BIND);
16 if (!$server) {
17 die('Unable to create AF_UNIX socket [server]');
28 $data = fread($server, 10);
32 fclose($server);
H A Dunixloop.phpt14 /* Setup socket server */
15 $server = stream_socket_server("unix:///tmp/$uniqid.sock");
16 if (!$server) {
17 die('Unable to create AF_UNIX socket [server]');
27 $socket = stream_socket_accept($server);
39 fclose($server);
H A Dshutdown.phpt9 /* Setup socket server */
10 $server = stream_socket_server('tcp://127.0.0.1:31337');
11 if (!$server) {
12 die('Unable to create AF_INET socket [server]');
34 $socket = stream_socket_accept($server);
47 $socket = stream_socket_accept($server);
61 fclose($server);
H A Dtcp6loop.phpt13 /* Setup socket server */
14 $server = stream_socket_server('tcp://[::1]:31337');
15 if (!$server) {
16 die('Unable to create AF_INET6 socket [server]');
26 $socket = stream_socket_accept($server);
38 fclose($server);
H A Dudp6loop.phpt19 /* Setup socket server */
20 $server = stream_socket_server('udp://[::1]:31337', $errno, $errstr, STREAM_SERVER_BIND);
21 if (!$server) {
22 die('Unable to create AF_INET6 socket [server]');
33 $data = fread($server, 10);
37 fclose($server);
/PHP-5.3/ext/soap/interop/
H A Dindex.php9 $server = $_SERVER['HTTP_HOST'].':'.$_SERVER['SERVER_PORT']; variable
10 $base = (isset($_SERVER['HTTPS'])?"https://":"http://").$server.dirname($_SERVER['PHP_SELF'])."/int…
11 $groupb = (isset($_SERVER['HTTPS'])?"https://":"http://").$server.dirname($_SERVER['PHP_SELF'])."/i…
12 $groupc = (isset($_SERVER['HTTPS'])?"https://":"http://").$server.dirname($_SERVER['PHP_SELF'])."/e…
/PHP-5.3/ext/pdo_mysql/
H A Dmysql_driver.c82 einfo->errcode = mysql_errno(H->server); in _pdo_mysql_error()
170 if (H->server) { in mysql_handle_closer()
171 mysql_close(H->server); in mysql_handle_closer()
172 H->server = NULL; in mysql_handle_closer()
238 if (mysql_errno(H->server) == 1295) { in mysql_handle_preparer()
302 while (mysql_more_results(H->server)) { in mysql_handle_doer()
303 if (mysql_next_result(H->server)) { in mysql_handle_doer()
306 result = mysql_store_result(H->server); in mysql_handle_doer()
520 if (mysql_ping(H->server)) {
525 mysql_stat(H->server);
[all …]
/PHP-5.3/ext/pdo_pgsql/
H A Dpgsql_driver.c180 self->conn = H->server; in pdo_pgsql_create_lob_stream()
198 if (H->server) { in pgsql_handle_closer()
199 PQfinish(H->server); in pgsql_handle_closer()
200 H->server = NULL; in pgsql_handle_closer()
290 if (!(res = PQexec(H->server, sql))) { in pgsql_handle_doer()
403 switch (PQstatus(H->server)) { in pdo_pgsql_get_attribute()
437 int spid = PQbackendPID(H->server); in pdo_pgsql_get_attribute()
462 PQreset(H->server); in pdo_pgsql_check_liveness()
474 res = PQexec(H->server, cmd); in pdo_pgsql_transaction_cmd()
921 lfd = lo_open(H->server, oid, mode); in PHP_METHOD()
[all …]
/PHP-5.3/
H A DREADME.TESTING24 specific to server-tests.php.
6 server-tests.php is backward compatible with tests developed for
21 see server-tests-config.php for details.
28 must be copied to a directory under the web server
42 php server-tests.php -p /path/to/php-cli
45 php server-tests.php -p /path/to/php-cgi
51 php server-tests.php -w -u http://localhost/test
54 php server-tests.php -c /path/to/server-tests-config.php
58 php server-tests.php -c /path/to/server-tests-config.php -w -t 3 -d /path/to/testdir
66 under server-tests.
[all …]
/PHP-5.3/ext/standard/tests/file/
H A Dfgets_socket_variation1.phpt8 /* Setup socket server */
9 $server = stream_socket_server('tcp://127.0.0.1:31337');
19 $socket = stream_socket_accept($server);
31 echo "\n\nClose the server side socket and read the remaining data from the client\n";
33 fclose($server);
55 Close the server side socket and read the remaining data from the client
/PHP-5.3/ext/soap/tests/interop/Round3/GroupD/
H A Dround3_groupD_compound2.inc9 $server = new SoapServer(dirname(__FILE__)."/round3_groupD_compound2.wsdl");
10 $server->setClass("SOAP_Interop_GroupD");
11 $server->handle($HTTP_RAW_POST_DATA);
H A Dround3_groupD_emptysa.inc11 $server = new SoapServer(dirname(__FILE__)."/round3_groupD_emptysa.wsdl");
12 $server->setClass("SOAP_Interop_GroupD");
13 $server->handle($HTTP_RAW_POST_DATA);
H A Dround3_groupD_import1.inc11 $server = new SoapServer(dirname(__FILE__)."/round3_groupD_import1.wsdl");
12 $server->setClass("SOAP_Interop_GroupD");
13 $server->handle($HTTP_RAW_POST_DATA);
H A Dround3_groupD_import2.inc11 $server = new SoapServer(dirname(__FILE__)."/round3_groupD_import2.wsdl");
12 $server->setClass("SOAP_Interop_GroupD");
13 $server->handle($HTTP_RAW_POST_DATA);
/PHP-5.3/ext/soap/tests/interop/Round3/GroupF/
H A Dround3_groupF_ext.inc11 $server = new SoapServer(dirname(__FILE__)."/round3_groupF_ext.wsdl");
12 $server->setClass("SOAP_Interop_GroupF");
13 $server->handle($HTTP_RAW_POST_DATA);

Completed in 33 milliseconds

12345678910>>...19