Home
last modified time | relevance | path

Searched refs:comment_dot (Results 1 – 18 of 18) sorted by relevance

/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/
H A Dread-catalog.c100 this->comment_dot = NULL; in default_constructor()
120 if (this->comment_dot != NULL) in default_destructor()
121 string_list_free (this->comment_dot); in default_destructor()
162 if (this->comment_dot != NULL) in default_copy_comment_state()
163 for (j = 0; j < this->comment_dot->nitems; ++j) in default_copy_comment_state()
164 message_comment_dot_append (mp, this->comment_dot->item[j]); in default_copy_comment_state()
195 if (this->comment_dot != NULL) in default_reset_comment_state()
197 string_list_free (this->comment_dot); in default_reset_comment_state()
198 this->comment_dot = NULL; in default_reset_comment_state()
278 if (this->comment_dot == NULL) in default_comment_dot()
[all …]
H A Dmsgl-cat.c527 if (mp->comment_dot) in catenate_msgdomain_list()
528 for (i = 0; i < mp->comment_dot->nitems; i++) in catenate_msgdomain_list()
530 mp->comment_dot->item[i]); in catenate_msgdomain_list()
559 if (mp->comment_dot && tmp->comment_dot == NULL) in catenate_msgdomain_list()
560 for (i = 0; i < mp->comment_dot->nitems; i++) in catenate_msgdomain_list()
562 mp->comment_dot->item[i]); in catenate_msgdomain_list()
591 tmp->alternative[i].comment_dot = mp->comment_dot; in catenate_msgdomain_list()
738 if (tmp->alternative[i].comment_dot == NULL in catenate_msgdomain_list()
739 || !string_list_equal (tmp->alternative[i].comment_dot, in catenate_msgdomain_list()
740 first->comment_dot)) in catenate_msgdomain_list()
[all …]
H A Dwrite-properties.c252 if (mp->comment_dot != NULL) in write_properties()
253 for (i = 0; i < mp->comment_dot->nitems; ++i) in write_properties()
254 mp->comment_dot->item[i] = conv_to_java (mp->comment_dot->item[i]); in write_properties()
H A Dmessage.c113 mp->comment_dot = NULL; in message_alloc()
140 if (mp->comment_dot != NULL) in message_free()
141 string_list_free (mp->comment_dot); in message_free()
168 if (mp->comment_dot == NULL) in message_comment_dot_append()
169 mp->comment_dot = string_list_alloc (); in message_comment_dot_append()
170 string_list_append (mp->comment_dot, s); in message_comment_dot_append()
215 if (mp->comment_dot) in message_copy()
217 for (j = 0; j < mp->comment_dot->nitems; ++j) in message_copy()
218 message_comment_dot_append (result, mp->comment_dot->item[j]); in message_copy()
H A Dmsggrep.c757 && mp->comment_dot != NULL && mp->comment_dot->nitems > 0) in is_message_selected_no_invert()
766 for (j = 0; j < mp->comment_dot->nitems; j++) in is_message_selected_no_invert()
767 length += strlen (mp->comment_dot->item[j]) + 1; in is_message_selected_no_invert()
771 for (j = 0; j < mp->comment_dot->nitems; j++) in is_message_selected_no_invert()
773 size_t l = strlen (mp->comment_dot->item[j]); in is_message_selected_no_invert()
775 memcpy (q, mp->comment_dot->item[j], l); in is_message_selected_no_invert()
H A Dwrite-stringtable.c148 if (mp->comment_dot != NULL) in write_message()
152 for (j = 0; j < mp->comment_dot->nitems; ++j) in write_message()
154 const char *s = mp->comment_dot->item[j]; in write_message()
H A Dmessage.h125 string_list_ty *comment_dot; member
165 string_list_ty *comment_dot; member
H A Dmsgl-equal.c166 if (!string_list_equal (mp1->comment_dot, mp2->comment_dot)) in message_equal()
H A Dxgettext.c2068 nitems_before = (mp->comment_dot != NULL ? mp->comment_dot->nitems : 0); in remember_a_message()
2122 nitems_after = (mp->comment_dot != NULL ? mp->comment_dot->nitems : 0); in remember_a_message()
2136 if (strcmp (mp->comment_dot->item[nitems_before - added + i], in remember_a_message()
2137 mp->comment_dot->item[nitems_before + i]) != 0) in remember_a_message()
2146 free ((char *) mp->comment_dot->item[nitems_before + i]); in remember_a_message()
2147 mp->comment_dot->nitems = nitems_before; in remember_a_message()
2728 if (mp->comment_dot != NULL) in arglist_parser_done()
2732 for (j = 0; j < mp->comment_dot->nitems; j++) in arglist_parser_done()
2733 if (strcmp (xcomment, mp->comment_dot->item[j]) == 0) in arglist_parser_done()
H A Dmsgmerge.c1030 if (ref->comment_dot) in message_merge()
1031 for (j = 0; j < ref->comment_dot->nitems; ++j) in message_merge()
1032 message_comment_dot_append (result, ref->comment_dot->item[j]); in message_merge()
1647 if (mp->comment_dot != NULL) in merge()
1649 string_list_free (mp->comment_dot); in merge()
1650 mp->comment_dot = NULL; in merge()
H A Dmsgl-ascii.c66 if (!is_ascii_string_list (mp->comment_dot)) in is_ascii_message()
H A Dread-catalog-abstract.h97 void (*comment_dot) (struct abstract_catalog_reader_ty *pop, const char *s); member
H A Dread-catalog-abstract.c124 if (pop->methods->comment_dot != NULL) in call_comment_dot()
125 pop->methods->comment_dot (pop, s); in call_comment_dot()
H A Dread-catalog.h107 string_list_ty *comment_dot; \
H A Dwrite-po.c188 if (mp->comment_dot != NULL) in message_print_comment_dot()
192 for (j = 0; j < mp->comment_dot->nitems; ++j) in message_print_comment_dot()
194 const char *s = mp->comment_dot->item[j]; in message_print_comment_dot()
H A Dmsgl-iconv.c303 convert_string_list (cd, mp->comment_dot, &context); in iconv_message_list()
554 && iconvable_string_list (cd, mp->comment_dot) in is_message_list_iconvable()
H A DChangeLog.01608 * message.h (struct altstr): New fields 'comment', 'comment_dot'.
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A Dgettext-po.c812 if (mp->comment_dot == NULL || mp->comment_dot->nitems == 0) in po_message_extracted_comments()
815 return string_list_join (mp->comment_dot, '\n', '\n', true); in po_message_extracted_comments()
852 if (mp->comment_dot != NULL) in po_message_set_extracted_comments()
853 string_list_free (mp->comment_dot); in po_message_set_extracted_comments()
855 mp->comment_dot = slp; in po_message_set_extracted_comments()