• Home
  • Raw
  • Download

Lines Matching refs:weight

55   int weight;  member
64 int weight; member
115 int weight, in _xdg_glob_list_append() argument
134 new_element->weight = weight; in _xdg_glob_list_append()
173 printf (" - %s %d\n", glob_hash_node->mime_type, glob_hash_node->weight); in _xdg_glob_hash_node_dump()
188 int weight, in _xdg_glob_hash_insert_ucs4() argument
274 child->weight = weight; in _xdg_glob_hash_insert_ucs4()
285 node->weight = weight; in _xdg_glob_hash_insert_ucs4()
291 … node->child = _xdg_glob_hash_insert_ucs4 (node->child, text, mime_type, weight, case_sensitive); in _xdg_glob_hash_insert_ucs4()
301 int weight, in _xdg_glob_hash_insert_text() argument
310 node = _xdg_glob_hash_insert_ucs4 (glob_hash_node, unitext, mime_type, weight, case_sensitive); in _xdg_glob_hash_insert_text()
317 int weight; member
359 mime_types[n].weight = node->weight; in _xdg_glob_hash_node_lookup_file_name()
370 mime_types[n].weight = node->weight; in _xdg_glob_hash_node_lookup_file_name()
388 return bb->weight - aa->weight; in compare_mime_weight()
422 mimes[i].weight = MAX (mimes[i].weight, mimes[j].weight); in filter_out_dupes()
425 mimes[j].weight = mimes[last].weight; in filter_out_dupes()
492 mimes[n].weight = list->weight; in _xdg_glob_hash_lookup_file_name()
582 int weight, in _xdg_glob_hash_append_glob() argument
595 …b_list_append (glob_hash->literal_list, strdup (glob), strdup (mime_type), weight, case_sensitive); in _xdg_glob_hash_append_glob()
598 …= _xdg_glob_hash_insert_text (glob_hash->simple_node, glob + 1, mime_type, weight, case_sensitive); in _xdg_glob_hash_append_glob()
601 …glob_list_append (glob_hash->full_list, strdup (glob), strdup (mime_type), weight, case_sensitive); in _xdg_glob_hash_append_glob()
620 printf (" %s - %s %d\n", (char *)list->data, list->mime_type, list->weight); in _xdg_glob_hash_dump()
640 printf (" %s - %s %d\n", (char *)list->data, list->mime_type, list->weight); in _xdg_glob_hash_dump()
666 int weight; in _xdg_mime_glob_read_from_file() local
683 weight = atoi (p); in _xdg_mime_glob_read_from_file()
687 weight = 50; in _xdg_mime_glob_read_from_file()
724 _xdg_glob_hash_append_glob (glob_hash, glob, mimetype, weight, case_sensitive); in _xdg_mime_glob_read_from_file()