Home | History | Annotate | Download | only in adb

Lines Matching defs:local_name

688     if (l->local_name)
689 free((char*)l->local_name);
750 int local_len = strlen(l->local_name);
756 l->transport->serial, l->local_name, l->connect_to);
788 static int remove_listener(const char *local_name, atransport* transport)
793 if (!strcmp(local_name, l->local_name)) {
821 static install_status_t install_listener(const char *local_name,
828 //printf("install_listener('%s','%s')\n", local_name, connect_to);
831 if(strcmp(local_name, l->local_name) == 0) {
849 //printf("rebinding '%s' to '%s'\n", local_name, connect_to);
862 if((l->local_name = strdup(local_name)) == 0) goto nomem;
866 l->fd = local_name_to_fd(local_name);
868 free((void*) l->local_name);
871 printf("cannot bind '%s'\n", local_name);
1281 char local_name[30];
1282 build_local_name(local_name, sizeof(local_name), server_port);
1283 if(install_listener(local_name, "*smartsocket*", NULL, 0)) {
1335 char local_name[30];
1336 build_local_name(local_name, sizeof(local_name), server_port);
1337 if(install_listener(local_name, "*smartsocket*", NULL, 0)) {