Lines Matching refs:dl_url_file_map
52 struct hash_table *dl_url_file_map;
122 local_name = hash_table_get (dl_url_file_map, u->url);
653 /* Book-keeping code for dl_file_url_map, dl_url_file_map,
660 if (!dl_url_file_map) \
661 dl_url_file_map = make_string_hash_table (0); \
727 hash_table_remove (dl_url_file_map, mapping_url);
736 /* Remove all associations from various URLs to FILE from dl_url_file_map. */
742 hash_table_for_each (dl_url_file_map, dissociate_urls_from_file_mapper,
771 && !hash_table_contains (dl_url_file_map, url))
784 multiple entries in dl_url_file_map. For example, if URL1
786 URL1 and URL2 to FILE in dl_url_file_map. (dl_file_url_map
805 assert (!hash_table_contains (dl_url_file_map, url));
816 dl_url_file_map. */
817 if (hash_table_get_pair (dl_url_file_map, url, &old_url, &old_file))
819 hash_table_remove (dl_url_file_map, url);
824 hash_table_put (dl_url_file_map, xstrdup (url), xstrdup (file));
838 file = hash_table_get (dl_url_file_map, to);
840 if (!hash_table_contains (dl_url_file_map, from))
841 hash_table_put (dl_url_file_map, xstrdup (from), xstrdup (file));
895 if (dl_url_file_map)
897 free_keys_and_values (dl_url_file_map);
898 hash_table_destroy (dl_url_file_map);
899 dl_url_file_map = NULL;