• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/src/

Lines Matching defs:mdlp

726   msgdomain_list_ty *mdlp;
728 mdlp = XMALLOC (msgdomain_list_ty);
731 mdlp->nitems = 1;
732 mdlp->nitems_max = 1;
733 mdlp->item = XNMALLOC (mdlp->nitems_max, msgdomain_ty *);
734 mdlp->item[0] = msgdomain_alloc (MESSAGE_DOMAIN_DEFAULT, use_hashtable);
735 mdlp->use_hashtable = use_hashtable;
736 mdlp->encoding = NULL;
737 return mdlp;
742 msgdomain_list_free (msgdomain_list_ty *mdlp)
746 for (j = 0; j < mdlp->nitems; ++j)
747 msgdomain_free (mdlp->item[j]);
748 if (mdlp->item)
749 free (mdlp->item);
750 free (mdlp);
755 msgdomain_list_append (msgdomain_list_ty *mdlp, msgdomain_ty *mdp)
757 if (mdlp->nitems >= mdlp->nitems_max)
761 mdlp->nitems_max = mdlp->nitems_max * 2 + 4;
762 nbytes = mdlp->nitems_max * sizeof (msgdomain_ty *);
763 mdlp->item = xrealloc (mdlp->item, nbytes);
765 mdlp->item[mdlp->nitems++] = mdp;
771 msgdomain_list_append_list (msgdomain_list_ty *mdlp, msgdomain_list_ty *mdlp2)
776 msgdomain_list_append (mdlp, mdlp2->item[j]);
782 msgdomain_list_sublist (msgdomain_list_ty *mdlp, const char *domain,
787 for (j = 0; j < mdlp->nitems; j++)
788 if (strcmp (mdlp->item[j]->domain, domain) == 0)
789 return mdlp->item[j]->messages;
793 msgdomain_ty *mdp = msgdomain_alloc (domain, mdlp->use_hashtable);
794 msgdomain_list_append (mdlp, mdp);
806 msgdomain_list_copy (msgdomain_list_ty *mdlp, int copy_level)
815 result->use_hashtable = mdlp->use_hashtable;
816 result->encoding = mdlp->encoding;
818 for (j = 0; j < mdlp->nitems; j++)
820 msgdomain_ty *mdp = mdlp->item[j];
841 msgdomain_list_search (msgdomain_list_ty *mdlp,
846 for (j = 0; j < mdlp->nitems; ++j)
851 mdp = mdlp->item[j];
863 msgdomain_list_search_fuzzy (msgdomain_list_ty *mdlp,
872 for (j = 0; j < mdlp->nitems; ++j)
877 mdp = mdlp->item[j];