Lines Matching refs:service
169 PRFileDesc *service;
175 service = PR_Accept(stack, &client_address, PR_INTERVAL_NO_TIMEOUT);
182 service, buffer, sizeof(buffer), empty_flags, PR_INTERVAL_NO_TIMEOUT);
189 service, buffer, bytes_read, empty_flags, PR_INTERVAL_NO_TIMEOUT);
199 rv = PR_Shutdown(service, PR_SHUTDOWN_BOTH); PR_ASSERT(PR_SUCCESS == rv);
200 rv = PR_Close(service); PR_ASSERT(PR_SUCCESS == rv);
286 PRFileDesc *client, *service;
363 service = PR_NewTCPSocket(); PR_ASSERT(NULL != service);
366 rv = PR_Bind(service, &any_address); PR_ASSERT(PR_SUCCESS == rv);
367 rv = PR_Listen(service, 10); PR_ASSERT(PR_SUCCESS == rv);
371 PR_USER_THREAD, Server, service,
388 rv = PR_Close(service); PR_ASSERT(PR_SUCCESS == rv);
397 service = PR_NewTCPSocket(); PR_ASSERT(NULL != service);
398 PushLayer(service);
401 rv = PR_Bind(service, &any_address); PR_ASSERT(PR_SUCCESS == rv);
402 rv = PR_Listen(service, 10); PR_ASSERT(PR_SUCCESS == rv);
406 PR_USER_THREAD, Server, service,
423 rv = PR_Close(service); PR_ASSERT(PR_SUCCESS == rv);
431 service = PR_NewTCPSocket(); PR_ASSERT(NULL != service);
432 service_stack = PR_CreateIOLayer(service);
436 rv = PR_Bind(service, &any_address); PR_ASSERT(PR_SUCCESS == rv);
437 rv = PR_Listen(service, 10); PR_ASSERT(PR_SUCCESS == rv);