Home
last modified time | relevance | path

Searched refs:msgid_len (Results 1 – 8 of 8) sorted by relevance

/third_party/gettext/gnulib-local/lib/
Dgettext.h224 size_t msgid_len = strlen (msgid) + 1; in dcpgettext_expr() local
227 char msg_ctxt_id[msgctxt_len + msgid_len]; in dcpgettext_expr()
231 (msgctxt_len + msgid_len <= sizeof (buf) in dcpgettext_expr()
233 : (char *) malloc (msgctxt_len + msgid_len)); in dcpgettext_expr()
240 memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); in dcpgettext_expr()
272 size_t msgid_len = strlen (msgid) + 1; in dcnpgettext_expr() local
275 char msg_ctxt_id[msgctxt_len + msgid_len]; in dcnpgettext_expr()
279 (msgctxt_len + msgid_len <= sizeof (buf) in dcnpgettext_expr()
281 : (char *) malloc (msgctxt_len + msgid_len)); in dcnpgettext_expr()
288 memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); in dcnpgettext_expr()
/third_party/gettext/gettext-tools/src/
Dread-mo.c321 size_t msgid_len; in read_mo_file() local
324 &msgid_len); in read_mo_file()
377 size_t msgid_len; in read_mo_file() local
379 &msgid_len); in read_mo_file()
408 size_t msgid_len; in read_mo_file() local
415 &msgid_len); in read_mo_file()
424 msgid_len -= msgid - msgctxt; in read_mo_file()
435 (strlen (msgid) + 1 < msgid_len in read_mo_file()
464 size_t msgid_len; in read_mo_file() local
473 msgid = get_sysdep_string (&bf, offset, &header, &msgid_len); in read_mo_file()
[all …]
Dmessage.c315 size_t msgid_len = strlen (mp->msgid); in message_list_hash_insert_entry() local
316 keylen = msgctxt_len + 1 + msgid_len + 1; in message_list_hash_insert_entry()
320 memcpy (alloced_key + msgctxt_len + 1, mp->msgid, msgid_len + 1); in message_list_hash_insert_entry()
516 size_t msgid_len = strlen (msgid); in message_list_search() local
517 keylen = msgctxt_len + 1 + msgid_len + 1; in message_list_search()
521 memcpy (alloced_key + msgctxt_len + 1, msgid, msgid_len + 1); in message_list_search()
Dwrite-java.c149 size_t msgid_len = strlen (msgid); in msgid_hashcode() local
150 size_t combined_len = msgctxt_len + 1 + msgid_len; in msgid_hashcode()
157 memcpy (combined + msgctxt_len + 1, msgid, msgid_len + 1); in msgid_hashcode()
416 size_t msgid_len = strlen (msgid); in write_java_msgid() local
417 size_t combined_len = msgctxt_len + 1 + msgid_len; in write_java_msgid()
423 memcpy (combined + msgctxt_len + 1, msgid, msgid_len + 1); in write_java_msgid()
Dwrite-csharp.c233 size_t msgid_len = strlen (msgid); in write_csharp_msgid() local
234 size_t combined_len = msgctxt_len + 1 + msgid_len; in write_csharp_msgid()
240 memcpy (combined + msgctxt_len + 1, msgid, msgid_len + 1); in write_csharp_msgid()
/third_party/glib/glib/
Dggettext.c277 size_t msgid_len = strlen (msgid) + 1; in g_dpgettext2() local
281 msg_ctxt_id = g_alloca (msgctxt_len + msgid_len); in g_dpgettext2()
285 memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); in g_dpgettext2()
/third_party/gettext/gettext-runtime/intl/
Ddcigettext.c840 size_t msgid_len; in gl_dcigettext() local
844 msgid_len = strlen (msgid1) + 1; in gl_dcigettext()
846 + msgid_len + domainname_len + 1; in gl_dcigettext()
860 msgid_len); in gl_dcigettext()
DChangeLog.01401 msgid_len until it is needed.