Lines Matching refs:local_name
678 if (l->local_name) in free_listener()
679 free((char*)l->local_name); in free_listener()
725 static int remove_listener(const char *local_name, const char *connect_to, atransport* transport) in remove_listener() argument
730 if (!strcmp(local_name, l->local_name) && in remove_listener()
742 static int install_listener(const char *local_name, const char *connect_to, atransport* transport) in install_listener() argument
749 if(strcmp(local_name, l->local_name) == 0) { in install_listener()
775 if((l->local_name = strdup(local_name)) == 0) goto nomem; in install_listener()
779 l->fd = local_name_to_fd(local_name); in install_listener()
781 free((void*) l->local_name); in install_listener()
784 printf("cannot bind '%s'\n", local_name); in install_listener()
1114 char local_name[30]; in adb_main() local
1115 build_local_name(local_name, sizeof(local_name), server_port); in adb_main()
1116 if(install_listener(local_name, "*smartsocket*", NULL)) { in adb_main()
1181 char local_name[30]; in adb_main() local
1182 build_local_name(local_name, sizeof(local_name), server_port); in adb_main()
1183 if(install_listener(local_name, "*smartsocket*", NULL)) { in adb_main()