Lines Matching refs:msgid
138 /* Return the Java hash code of a (msgctxt, msgid) pair mod 2^31. */
140 msgid_hashcode (const char *msgctxt, const char *msgid)
143 return string_hashcode (msgid);
147 size_t msgid_len = strlen (msgid);
155 memcpy (combined + msgctxt_len + 1, msgid, msgid_len + 1);
183 hashcodes[j] = msgid_hashcode (mlp->item[j]->msgctxt, mlp->item[j]->msgid);
326 msgid_hashcode (mlp->item[j]->msgctxt, mlp->item[j]->msgid);
401 /* Write a (msgctxt, msgid) pair as a string in Java Unicode notation to the
407 const char *msgid = mp->msgid;
410 write_java_string (stream, msgid);
414 size_t msgid_len = strlen (msgid);
421 memcpy (combined + msgctxt_len + 1, msgid, msgid_len + 1);
463 named 'msgid'. */
467 fprintf (stream, " int hash_val = msgid.hashCode() & 0x7fffffff;\n");
475 fprintf (stream, " if (msgid.equals(found))\n");
487 fprintf (stream, " if (msgid.equals(found))\n");
494 fprintf (stream, " if (found != null && msgid.equals(found))\n");
760 /* Emit the table of pairs (msgid, msgstr). If there are plurals,
809 fprintf (stream, " public java.lang.Object lookup (java.lang.String msgid) {\n");
816 fprintf (stream, " public java.lang.Object handleGetObject (java.lang.String msgid) throws java.util.MissingResourceException {\n");
819 fprintf (stream, " java.lang.Object value = lookup(msgid);\n");
887 fprintf (stream, " public java.lang.Object lookup (java.lang.String msgid) {\n");
888 fprintf (stream, " return table.get(msgid);\n");
894 fprintf (stream, " public java.lang.Object handleGetObject (java.lang.String msgid) throws java.util.MissingResourceException {\n");
897 fprintf (stream, " java.lang.Object value = table.get(msgid);\n");
901 fprintf (stream, " return table.get(msgid);\n");