Home
last modified time | relevance | path

Searched refs:XNMALLOC (Results 1 – 25 of 70) sorted by relevance

123

/third_party/gettext/gettext-tools/src/
Dxg-mixed-string.c79 ms->segments = XNMALLOC (1, struct mixed_string_segment *); in mixed_string_alloc_simple()
115 ms->segments = XNMALLOC (1, struct mixed_string_segment *); in mixed_string_alloc_utf8()
141 ms->segments = XNMALLOC (nsegments, struct mixed_string_segment *); in mixed_string_clone()
164 char *string = XNMALLOC (len + 1, char); in mixed_string_contents()
184 char **converted_segments = XNMALLOC (nsegments, char *); in mixed_string_contents()
200 source_encoded_string = XNMALLOC (len + 1, char); in mixed_string_contents()
220 char *string = XNMALLOC (length + 1, char); in mixed_string_contents()
290 ms->segments = XNMALLOC (nsegments, struct mixed_string_segment *); in mixed_string_concat()
314 ms->segments = XNMALLOC (nsegments, struct mixed_string_segment *); in mixed_string_concat()
353 ms->segments = XNMALLOC (nsegments, struct mixed_string_segment *); in mixed_string_concat_free1()
[all …]
Dwrite-mo.c174 msgctid_arr = XNMALLOC (mlp->nitems, char *); in write_table()
176 msg_arr = XNMALLOC (mlp->nitems, struct pre_message); in write_table()
178 sysdep_msg_arr = XNMALLOC (mlp->nitems, struct pre_sysdep_message); in write_table()
192 msgctid = XNMALLOC (msgctlen + strlen (mp->msgid) + 1, char); in write_table()
437 orig_tab = XNMALLOC (nstrings, struct string_desc); in write_table()
442 trans_tab = XNMALLOC (nstrings, struct string_desc); in write_table()
555 hash_tab = XNMALLOC (hash_tab_size, nls_uint32); in write_table()
600 XNMALLOC (n_sysdep_segments, struct sysdep_segment); in write_table()
622 sysdep_tab = XNMALLOC (n_sysdep_strings, nls_uint32); in write_table()
Dread-catalog-abstract.c504 char *string = XNMALLOC (string_length + 1, char); in po_parse_comment_filepos()
546 char *string = XNMALLOC (string_length + 1, char); in po_parse_comment_filepos()
599 char *string = XNMALLOC (string_length + 1, char); in po_parse_comment_filepos()
618 char *string = XNMALLOC (string_length + 1, char); in po_parse_comment_filepos()
717 XNMALLOC (string_length + 1, char); in po_parse_comment_solaris_filepos()
Dmsginit.c371 augmented_path = XNMALLOC (bindir_len + 1 + orig_path_len + 1, char); in main()
778 shorter_locale = XNMALLOC (strlen (locale), char); in catalogname_for_locale()
797 shorter_locale = XNMALLOC (len + 1, char); in catalogname_for_locale()
821 result = XNMALLOC (len + 1, char); in language_of_locale()
909 char *package = XNMALLOC (package_len + 1, char); in project_id()
1159 result = XNMALLOC (fullname_end - fullname + 1, char); in get_user_fullname()
1570 value = XNMALLOC (value_end - value_start + 1, char); in get_field()
1610 new_header = XNMALLOC (strlen (old_header) in put_field()
1635 new_header = XNMALLOC (strlen (old_header) + 1 in put_field()
1771 char *new_str = XNMALLOC (new_len + 1, char); in subst_string()
[all …]
Dmsgfilter.c312 sub_argv = XNMALLOC (sub_argc + 1, const char *); in main()
598 l.result = XNMALLOC (l.allocated, char); in generic_filter()
656 newstr = XNMALLOC (len + 1, char); in process_string_with_newline()
736 substrings = XNMALLOC (nsubstrings, char *); in process_message()
766 total_str = XNMALLOC (total_len, char); in process_message()
Dmsgl-cat.c122 mdlps = XNMALLOC (nfiles, msgdomain_list_ty *); in catenate_msgdomain_list()
127 canon_charsets = XNMALLOC (nfiles, const char **); in catenate_msgdomain_list()
133 canon_charsets[n] = XNMALLOC (mdlp->nitems, const char *); in catenate_msgdomain_list()
217 identifications = XNMALLOC (nfiles, const char **); in catenate_msgdomain_list()
224 identifications[n] = XNMALLOC (mdlp->nitems, const char *); in catenate_msgdomain_list()
256 project_id = XNMALLOC (len + 1, char); in catenate_msgdomain_list()
720 new_msgstr = XNMALLOC (len, char); in catenate_msgdomain_list()
Dwrite-qt.c292 char *result = XNMALLOC (length + 1, char); in conv_to_iso_8859_1()
320 unsigned short *result = XNMALLOC (length, unsigned short); in conv_to_utf16()
520 XNMALLOC (table_size, struct list_cell); in write_qm()
523 struct bucket *buckets = XNMALLOC (table_size, struct bucket); in write_qm()
Dx-po.c85 charset = XNMALLOC (len + 1, char); in extract_add_message()
195 new_header = XNMALLOC (len1 + len2 + len3 + 1, char); in extract()
Dstr-list.c144 result = XNMALLOC (len, char); in string_list_concat()
203 result = XNMALLOC (len, char); in string_list_join()
Dmsgl-english.c59 char *cp = XNMALLOC (len0 + len1, char); in msgdomain_list_english()
Dmsgexec.c204 sub_argv = XNMALLOC (sub_argc + 1, char *); in main()
418 newstr = XNMALLOC (len + 1, char); in process_string()
Dformat-sh.c157 name = XNMALLOC (n + 1, char); in format_parse()
174 name = XNMALLOC (n + 1, char); in format_parse()
Dmsgl-fsearch.c94 index_ty *list = XNMALLOC (2 + 1, index_ty); in new_index()
307 findex->short_messages = XNMALLOC (SHORT_MSG_MAX + 1, message_list_ty *); in message_fuzzy_index_alloc()
393 accu->item2 = XNMALLOC (new_max, struct mult_index); in mult_index_list_accumulate()
Dfilter-sr-latin.c308 char *output = XNMALLOC (allocated, char); in serbian_to_latin()
Dx-smalltalk.c320 name = XNMALLOC (3, char); in phase2_get()
331 name = XNMALLOC (2, char); in phase2_get()
Dx-sh.c252 tp->chars = XNMALLOC (tp->allocated, char); in init_token()
282 str = XNMALLOC (n + 1, char); in string_of_token()
474 str = XNMALLOC (n + 1, char); in string_of_word()
492 str = XNMALLOC (n - offset + 1, char); in substring_of_word()
Dread-desktop.c513 p = buffer = XNMALLOC (strlen (s) * 2 + 1, char); in desktop_escape_string()
566 p = buffer = XNMALLOC (strlen (s) + 1, char); in desktop_unescape_string()
Dfilter-quote.c124 result.output = XNMALLOC (input_len - quote_count in convert_ascii_quote_to_unicode()
Dread-properties.c195 unsigned char *utf8_string = XNMALLOC (2 * length + 1, unsigned char); in conv_from_iso_8859_1()
584 unsigned char *utf8_string = XNMALLOC (utf8_buflen + 1, unsigned char); in read_escaped_string()
/third_party/gettext/gnulib-local/lib/
Dxalloc.h100 # define XNMALLOC(N,T) \ macro
112 # define XNMALLOC(N,T) \ macro
131 XNMALLOC (N, char)
Dxstrdup.c40 return strcpy (XNMALLOC (strlen (string) + 1, char), string); in xstrdup()
Dxgetcwd.c71 char *cwd = XNMALLOC (path_max, char); in xgetcwd()
/third_party/gettext/gettext-runtime/src/
Descapes.h46 char *retval = XNMALLOC (strlen (str), char); in expand_escapes()
/third_party/gettext/libtextstyle/gnulib-local/lib/
Dmemory-ostream.oo.c97 stream->buffer = XNMALLOC (stream->allocated, char); in memory_ostream_create()
/third_party/gettext/gettext-tools/libgettextpo/
Dgettext-po.c290 const char **domains = XNMALLOC (n + 1, const char *); in po_file_domains()
357 value = XNMALLOC (value_end - value_start + 1, char); in po_header_field()
411 result = XNMALLOC (result_len + 1, char); in po_header_set_field()
435 result = XNMALLOC (result_len + 1, char); in po_header_set_field()
1166 const char **list = XNMALLOC (NFORMATS + 1, const char *); in po_format_list()

123