Searched refs:conn (Results 1 – 10 of 10) sorted by relevance
| /memcached-1.4.29/t/lib/ |
| H A D | MemcachedTest.pm | 158 my $conn = IO::Socket::INET->new(PeerAddr => "$host:$port"); 159 if ($conn) { 160 return Memcached::Handle->new(conn => $conn, 164 croak("Failed to connect to specified memcached server.") unless $conn; 191 my $conn = IO::Socket::UNIX->new(Peer => $filename) || 195 conn => $conn, 205 my $conn = IO::Socket::INET->new(PeerAddr => "127.0.0.1:$port"); 206 if ($conn) { 208 conn => $conn, 242 if ($self->{conn} && ($self->{domainsocket} || getpeername($self->{conn}))) { [all …]
|
| /memcached-1.4.29/ |
| H A D | memcached.h | 472 typedef struct conn conn; typedef 473 struct conn { struct 564 extern conn **conns; 592 enum delta_result_type do_add_delta(conn *c, const char *key, 619 int dispatch_event_add(int thread, conn *c); 621 void sidethread_conn_close(conn *c); 624 enum delta_result_type add_delta(conn *c, const char *key, 629 conn *conn_from_freelist(void); 630 bool conn_add_to_freelist(conn *c); 631 void conn_close_idle(conn *c); [all …]
|
| H A D | memcached.c | 104 static int add_msghdr(conn *c); 108 static void conn_free(conn *c); 115 conn **conns; 307 conn *c; in conn_timeout_thread() 456 conn *c; in conn_new() 462 if (!(c = (conn *)calloc(1, sizeof(conn)))) { in conn_new() 643 void conn_free(conn *c) { in conn_free() 1647 conn *c = (conn*)cookie; in append_stats() 4301 conn *next; in do_accept_new_conns() 4815 conn *c; in event_handler() [all …]
|
| H A D | items.h | 32 item *do_item_get(const char *key, const size_t nkey, const uint32_t hv, conn *c); 33 item *do_item_touch(const char *key, const size_t nkey, uint32_t exptime, const uint32_t hv, conn *…
|
| H A D | thread.c | 407 conn *c = conn_new(item->sfd, item->init_state, item->event_flags, in thread_libevent_process() 489 void redispatch_conn(conn *c) { in redispatch_conn() 507 item->conn = c; in redispatch_conn() 512 void sidethread_conn_close(conn *c) { in sidethread_conn_close() 548 item *item_get(const char *key, const size_t nkey, conn *c) { in item_get() 558 item *item_touch(const char *key, size_t nkey, uint32_t exptime, conn *c) { in item_touch() 630 enum delta_result_type add_delta(conn *c, const char *key, in add_delta() 647 enum store_item_type store_item(item *item, int comm, conn* c) { in store_item()
|
| H A D | sizes.c | 21 display("Connection", sizeof(conn)); in main()
|
| H A D | sasl_defs.c | 30 static int sasl_server_userdb_checkpass(sasl_conn_t *conn, in sasl_server_userdb_checkpass() argument
|
| H A D | items.c | 752 item *do_item_get(const char *key, const size_t nkey, const uint32_t hv, conn *c) { in do_item_get() 830 const uint32_t hv, conn *c) { in do_item_touch()
|
| H A D | ChangeLog | 268 use of conn *c without checking to see if c is NULL first.
|
| /memcached-1.4.29/t/ |
| H A D | maxconns.t | 24 foreach my $conn (1..10) { 26 ok(defined($sock), "Made connection $conn");
|