/external/avahi/avahi-core/ |
announce.h | 39 AvahiServer *server; member in struct:AvahiAnnouncer
|
browse-service-type.c | 34 AvahiServer *server; member in struct:AvahiSServiceTypeBrowser 78 AvahiServer *server, 91 assert(server); 94 AVAHI_CHECK_VALIDITY_RETURN_NULL(server, AVAHI_IF_VALID(interface), AVAHI_ERR_INVALID_INTERFACE); 95 AVAHI_CHECK_VALIDITY_RETURN_NULL(server, AVAHI_PROTO_VALID(protocol), AVAHI_ERR_INVALID_PROTOCOL); 96 AVAHI_CHECK_VALIDITY_RETURN_NULL(server, !domain || avahi_is_valid_domain_name(domain), AVAHI_ERR_INVALID_DOMAIN_NAME); 97 AVAHI_CHECK_VALIDITY_RETURN_NULL(server, AVAHI_FLAGS_VALID(flags, AVAHI_LOOKUP_USE_WIDE_AREA|AVAHI_LOOKUP_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS); 100 domain = server->domain_name; 103 avahi_server_set_errno(server, r); 108 avahi_server_set_errno(server, AVAHI_ERR_NO_MEMORY) [all...] |
browse.h | 36 AvahiServer *server; member in struct:AvahiSRecordBrowser 55 void avahi_browser_cleanup(AvahiServer *server);
|
querier-test.c | 42 static AvahiServer *server = NULL; variable 72 service_browser2 = avahi_s_service_browser_new(server, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, SERVICE_TYPE, DOMAIN, 0, sb_callback, NULL); 102 server = avahi_server_new(poll_api, &config, NULL, NULL, NULL); 103 assert(server); 106 service_browser1 = avahi_s_service_browser_new(server, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, SERVICE_TYPE, DOMAIN, 0, sb_callback, NULL); 118 avahi_server_free(server);
|
update-test.c | 43 avahi_log_debug("server state: %i", state); 71 AvahiServer *server; local 83 server = avahi_server_new(poll_api, &config, server_callback, NULL, NULL); 84 assert(server); 87 poll_api->timeout_new(poll_api, avahi_elapse_time(&tv, 1000*10, 0), modify_txt_callback, server);
|
/external/avahi/examples/ |
core-browse-services.c | 47 static AvahiServer *server = NULL; variable 70 fprintf(stderr, "(Resolver) Failed to resolve service '%s' of type '%s' in domain '%s': %s\n", name, type, domain, avahi_strerror(avahi_server_errno(server))); 122 fprintf(stderr, "(Browser) %s\n", avahi_strerror(avahi_server_errno(server))); 130 function we free it. If the server is terminated before 131 the callback function is called the server will free 172 /* Set a unicast DNS server for wide area DNS-SD */ 177 /* Allocate a new server */ 178 server = avahi_server_new(avahi_simple_poll_get(simple_poll), &config, NULL, NULL, &error); 183 /* Check wether creating the server object succeeded */ 184 if (!server) { [all...] |
core-publish-service.c | 120 /* Tell the server to register the service */ 135 /* Called whenever the server state changes */ 152 /* A host name collision happened. Let's pick a new name for the server */ 171 /* Let's drop our registered services. When the server is back 183 fprintf(stderr, "Server failure: %s\n", avahi_strerror(avahi_server_errno(s))); 194 AvahiServer *server = NULL; local 209 /* Let's set the host name for this server. */ 214 /* Allocate a new server */ 215 server = avahi_server_new(avahi_simple_poll_get(simple_poll), &config, server_callback, NULL, &error); 220 /* Check wether creating the server object succeeded * [all...] |
/external/caliper/caliper/src/test/java/com/google/caliper/bridge/ |
GcLogMessageGenerator.java | 40 MBeanServer server = ManagementFactory.getPlatformMBeanServer(); local 42 server, HOTSPOT_BEAN_NAME, HotSpotDiagnosticMXBean.class);
|
/external/dbus/dbus/ |
dbus-server-launchd.c | 1 /* dbus-server-launchd.c Server methods for interacting with launchd. 29 #include "dbus-server-launchd.h" 43 #include "dbus-server-socket.h" 50 * @brief Creates a new server from launchd. 53 * file descriptor of this socket and create a server on it. 55 * containing the path to the socket. This is used to init the server's 60 * @returns the new server, or #NULL on failure. 67 DBusServer *server; local 186 server = _dbus_server_new_for_socket (&launchd_fd, 1, &address, 0) [all...] |
/external/dbus/test/name-test/ |
test-privserver.c | 23 new_connection_callback (DBusServer *server, 56 fprintf (stderr, "server exiting loop\n"); 66 DBusServer *server; local 93 server = dbus_server_listen (TEST_LISTEN, &error); 95 server = dbus_server_listen ("unix:tmpdir=/tmp", &error); 97 if (!server) 99 testdata->private_addr = dbus_server_get_address (server); 100 printf ("test server listening on %s\n", testdata->private_addr); 102 dbus_server_set_new_connection_function (server, new_connection_callback, 105 if (!test_server_setup (loop, server)) [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/ |
HttpInput.java | 19 package org.eclipse.jetty.server;
|
SessionIdManager.java | 19 package org.eclipse.jetty.server;
|
UserIdentity.java | 19 package org.eclipse.jetty.server;
|
/external/jetty/src/java/org/eclipse/jetty/server/nio/ |
InheritedChannelConnector.java | 19 package org.eclipse.jetty.server.nio;
|
NetworkTrafficSelectChannelConnector.java | 19 package org.eclipse.jetty.server.nio;
|
/external/jetty/src/java/org/eclipse/jetty/server/session/jmx/ |
AbstractSessionManagerMBean.java | 19 package org.eclipse.jetty.server.session.jmx; 21 import org.eclipse.jetty.server.handler.AbstractHandlerContainer; 22 import org.eclipse.jetty.server.handler.ContextHandler; 23 import org.eclipse.jetty.server.handler.jmx.AbstractHandlerMBean; 24 import org.eclipse.jetty.server.session.AbstractSessionManager; 25 import org.eclipse.jetty.server.session.SessionHandler;
|
/external/libdrm/tests/ |
auth.c | 91 static void server() function 134 server();
|
/external/libvncserver/examples/ |
backchannel.c | 7 * The "back channel" permits sending commands between client and server. 12 * as soon as it gets a back channel message from the server. 14 * This implements the server part. 19 * - your server as well as your client can speak to other clients and 41 const char* text="Server acknowledges back channel encoding\n"; 105 rfbScreenInfoPtr server; local 109 server=rfbGetScreen(&argc,argv,400,300,8,3,4); 110 if(!server) 112 server->frameBuffer=(char*)malloc(400*300*4); 113 rfbInitServer(server); [all...] |
repeater.c | 31 rfbScreenInfoPtr server=rfbGetScreen(&argc,argv,400,300,5,3,2); local 32 if(!server) 34 server->frameBuffer=(char*)malloc(400*300*2); 35 f=(uint16_t*)server->frameBuffer; 43 server->port = -1; /* do not listen on any port */ 44 server->ipv6port = -1; /* do not listen on any port */ 55 cl = rfbNewClient(server, sock); 63 /* Run the server */ 64 rfbInitServer(server); 65 rfbRunEventLoop(server,-1,FALSE) [all...] |
/external/libvncserver/test/ |
copyrecttest.c | 7 static void initBackground(rfbScreenInfoPtr server) 11 for(i=0;i<server->width;i++) 12 for(j=0;j<server->height;j++) { 13 server->frameBuffer[(j*server->width+i)*4+0]=i&0xff; 14 server->frameBuffer[(j*server->width+i)*4+1]=j&0xff; 15 server->frameBuffer[(j*server->width+i)*4+2]=(i*j)&0xff; 24 rfbScreenInfoPtr server=rfbGetScreen(&argc,argv,width,height,8,3,4) local [all...] |
/external/libxml2/include/libxml/ |
uri.h | 37 char *server; /* the server part */ member in struct:_xmlURI
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/example/ |
FtpWorkingDirectory.java | 32 private String server;
field in class:FtpWorkingDirectory 36 * Return the current working directory for the FTP account on the server
43 ftpClient.connect(server, port);
48 * Set the hostname of the FTP server
49 * @param server - the hostname of the FTP server
51 public void setServer(String server) {
52 this.server = server;
56 * Set the port number for the FTP server
[all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/example/ |
FtpWorkingDirectory.java | 32 private String server;
field in class:FtpWorkingDirectory 36 * Return the current working directory for the FTP account on the server
43 ftpClient.connect(server, port);
48 * Set the hostname of the FTP server
49 * @param server - the hostname of the FTP server
51 public void setServer(String server) {
52 this.server = server;
56 * Set the port number for the FTP server
[all...] |
RemoteFile.java | 33 private String server;
field in class:RemoteFile 39 ftpClient.connect(server, port);
52 * Set the hostname of the FTP server
53 * @param server - the hostname of the FTP server
55 public void setServer(String server) {
56 this.server = server;
60 * Set the port number for the FTP server
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
MockWebServerTest.java | 35 private MockWebServer server = new MockWebServer(); field in class:MockWebServerTest 38 server.shutdown(); 101 server.enqueue(new MockResponse().setBody("hello world")); 102 server.play(); 104 URL url = server.getUrl("/"); 112 RecordedRequest request = server.takeRequest(); 118 server.play(); 119 server.enqueue(new MockResponse() 121 .addHeader("Location: " + server.getUrl("/new-path")) 123 server.enqueue(new MockResponse().setBody("This is the new location!")) [all...] |