Home
last modified time | relevance | path

Searched refs:xstrdup (Results 1 – 25 of 146) sorted by relevance

123456

/third_party/gettext/gettext-tools/tests/
Dgettextpo-1-prg.c48 xstrdup (const char *s) in xstrdup() function
432 char *arg = xstrdup (""); in main()
449 char *arg = xstrdup (header); in main()
454 char *arg = xstrdup ("Test case for the libgettextpo library.\n"); in main()
463 char *arg = xstrdup ("cannot restore fd %d: dup2 failed"); in main()
469 xstrdup ("Ausgabedatei \302\273%s\302\253 kann nicht erstellt werden"); in main()
474 char *arg = xstrdup ("gnulib-lib/w32spawn.h"); in main()
485 char *arg = xstrdup ("%s subprocess"); in main()
490 char *arg = xstrdup ("Subproze\303\237 %s"); in main()
495 char *arg = xstrdup ("gnulib-lib/wait-process.c"); in main()
[all …]
/third_party/gettext/gettext-tools/src/
Dwrite-resources.c132 multiline_error (xstrdup (""), in msgdomain_write_csharp_resources()
133 xstrdup (_("\ in msgdomain_write_csharp_resources()
151 multiline_error (xstrdup (""), in msgdomain_write_csharp_resources()
152 xstrdup (_("\ in msgdomain_write_csharp_resources()
Dwrite-tcl.c158 multiline_error (xstrdup (""), in msgdomain_write_tcl()
159 xstrdup (_("\ in msgdomain_write_tcl()
177 multiline_error (xstrdup (""), in msgdomain_write_tcl()
178 xstrdup (_("\ in msgdomain_write_tcl()
Dread-csharp.c107 culture_name = xstrdup (locale_name); in msgdomain_read_csharp()
126 culture_name = xstrdup ("sr-SP-Latn"); in msgdomain_read_csharp()
131 culture_name = xstrdup ("uz-UZ-Latn"); in msgdomain_read_csharp()
Dformat-invalid.h22 xstrdup (_("The string ends in the middle of a directive."))
25xstrdup (_("The string refers to arguments both through absolute argument numbers and through unnu…
Dxgettext.c532 output_dir = xstrdup (optarg); in main()
772 file_name = xstrdup (output_file); in main()
872 reduced = xstrdup (base); in main()
1773 logical_file_name = xstrdup (fn); in xgettext_find_file()
1777 new_name = xstrdup (fn); in xgettext_find_file()
1781 logical_file_name = xstrdup (new_name); in xgettext_find_file()
1798 new_name = xstrdup (_("standard input")); in xgettext_open()
1799 logical_file_name = xstrdup (new_name); in xgettext_open()
1831 logical_file_name = xstrdup (fn); in xgettext_open()
1835 new_name = xstrdup (fn); in xgettext_open()
[all …]
Dwrite-qt.c667 multiline_error (xstrdup (""), in msgdomain_write_qt()
668 xstrdup (_("\ in msgdomain_write_qt()
693 multiline_error (xstrdup (""), in msgdomain_write_qt()
694 xstrdup (_("\ in msgdomain_write_qt()
717 multiline_error (xstrdup (""), in msgdomain_write_qt()
718 xstrdup (_("\ in msgdomain_write_qt()
Dmsginit.c299 multiline_error (xstrdup (""), in main()
325 multiline_error (xstrdup (""), in main()
515 found = xstrdup (name); in find_pot()
518 multiline_error (xstrdup (""), in find_pot()
519 xstrdup (_("\ in find_pot()
539 multiline_error (xstrdup (""), in find_pot()
540 xstrdup (_("\ in find_pot()
844 old_LC_ALL = (tmp != NULL ? xstrdup (tmp) : NULL); in canonical_locale_charset()
1453 last_dir = xstrdup (gettextcldrdir); in plural_forms()
1685 old_LC_ALL = (tmp != NULL ? xstrdup (tmp) : NULL); in get_title()
[all …]
Dformat-sh.c78 xstrdup (_("The string refers to a shell variable with a non-ASCII name."))
80xstrdup (_("The string refers to a shell variable with complex shell brace syntax. This syntax is …
82xstrdup (_("The string refers to a shell variable whose value may be different inside shell functi…
84 xstrdup (_("The string refers to a shell variable with an empty name."))
Dopen-catalog.c56 *real_file_name_p = xstrdup (_("<stdin>")); in try_open_catalog_file()
103 *real_file_name_p = xstrdup (input_name); in try_open_catalog_file()
Dread-desktop.c285 tp->string = xstrdup (buffer); in desktop_lex()
301 tp->string = xstrdup (buffer); in desktop_lex()
458 tp->string = xstrdup (buffer); in desktop_lex()
472 gram_pos.file_name = xstrdup (logical_filename); in desktop_parse()
Dits.c88 _value.name = xstrdup (name); in its_value_list_append()
89 _value.value = xstrdup (value); in its_value_list_append()
130 _value->value = xstrdup (value); in its_value_list_set_value()
158 value->value = xstrdup (other_value->value); in its_value_list_merge()
385 result = xstrdup ((const char *) value); in _its_get_attribute()
397 return xstrdup (text); in normalize_whitespace()
406 char *result = xstrdup (text); in normalize_whitespace()
486 char *result = xstrdup (text); in normalize_whitespace()
599 econtent = xstrdup ((const char *) xcontent); in _its_collect_text_content()
688 buffer = xstrdup (""); in _its_collect_text_content()
[all …]
Dsearch-path.c137 name = xstrdup (gettextdatadir); in get_search_path()
156 combined_sub = xstrdup ("gettext"); in get_search_path()
Dhostname.c259 return xstrdup (hostname); in xgethostname()
266 return xstrdup (hostname); in xgethostname()
272 return xstrdup (utsname.nodename); in xgethostname()
Dx-csharp.c220 multiline_error (xstrdup (""), in phase2_getc()
268 multiline_error (xstrdup (""), in phase2_getc()
284 multiline_error (xstrdup (""), in phase2_getc()
296 multiline_error (xstrdup (""), in phase2_getc()
305 multiline_error (xstrdup (""), in phase2_getc()
337 multiline_error (xstrdup (""), in phase2_getc()
2056 logical_file_name = xstrdup (logical_filename); in extract_csharp()
Dmessage.c134 mp->msgid_plural = (msgid_plural != NULL ? xstrdup (msgid_plural) : NULL); in message_alloc()
225 pp->file_name = xstrdup (name); in message_comment_filepos()
236 result = message_alloc (mp->msgctxt != NULL ? xstrdup (mp->msgctxt) : NULL, in message_copy()
237 xstrdup (mp->msgid), mp->msgid_plural, in message_copy()
263 (mp->prev_msgctxt != NULL ? xstrdup (mp->prev_msgctxt) : NULL); in message_copy()
265 (mp->prev_msgid != NULL ? xstrdup (mp->prev_msgid) : NULL); in message_copy()
267 (mp->prev_msgid_plural != NULL ? xstrdup (mp->prev_msgid_plural) : NULL); in message_copy()
Dx-javascript.c234 multiline_error (xstrdup (""), in phase2_getc()
282 multiline_error (xstrdup (""), in phase2_getc()
298 multiline_error (xstrdup (""), in phase2_getc()
310 multiline_error (xstrdup (""), in phase2_getc()
319 multiline_error (xstrdup (""), in phase2_getc()
351 multiline_error (xstrdup (""), in phase2_getc()
1230 tp->string = xstrdup (buffer); in phase5_get()
1818 logical_file_name = xstrdup (logical_filename); in extract_javascript()
/third_party/popt/src/
Dsystem.h27 char * xstrdup (const char *str);
48 #define xstrdup(_str) (strcpy((malloc(strlen(_str)+1) ? : vmefail()), (_str))) macro
53 #define xstrdup(_str) strdup(_str) macro
/third_party/toybox/toys/pending/
Dfsck.c96 temp->device = xstrdup(f_info->mnt_fsname); in create_db()
97 temp->mountpt = xstrdup(f_info->mnt_dir); in create_db()
98 if (strchr(f_info->mnt_type, ',')) temp->type = xstrdup("auto"); in create_db()
99 else temp->type = xstrdup(f_info->mnt_type); in create_db()
100 temp->opts = xstrdup(f_info->mnt_opts); in create_db()
207 if(*toys.optargs[j]) args[i++] = xstrdup(toys.optargs[j]); in do_fsck()
235 child->dev_name = xstrdup(finfo->device); in do_fsck()
373 dlist_add(&TT.devices, xstrdup(*arg)); in fsck_main()
/third_party/gettext/gnulib-local/modules/
Dxalloc7 lib/xstrdup.c
20 lib_SOURCES += xalloc.h xmalloc.c xstrdup.c
/third_party/gettext/gettext-tools/libgettextpo/
Dgettext-po.c324 return xstrdup (header); in po_file_domain_header()
464 iterator->domain = xstrdup (domain); in po_message_iterator()
523 return (po_message_t) message_alloc (NULL, NULL, NULL, xstrdup (""), 1, &pos); in po_message_create()
549 mp->msgctxt = (msgctxt != NULL ? xstrdup (msgctxt) : NULL); in po_message_set_msgctxt()
578 mp->msgid = xstrdup (msgid); in po_message_set_msgid()
609 mp->msgid_plural = (msgid_plural != NULL ? xstrdup (msgid_plural) : NULL); in po_message_set_msgid_plural()
640 mp->msgstr = xstrdup (msgstr); in po_message_set_msgstr()
693 msgstr = copied_msgstr = xstrdup (msgstr); in po_message_set_msgstr_plural()
779 char *copy = xstrdup (comments); in po_message_set_comments()
834 char *copy = xstrdup (comments); in po_message_set_extracted_comments()
[all …]
/third_party/gettext/libtextstyle/gnulib-local/lib/
Dnoop-styled-ostream.oo.c93 char *ref_copy = (ref != NULL ? xstrdup (ref) : NULL); in set_hyperlink()
94 char *id_copy = (id != NULL ? xstrdup (id) : NULL); in set_hyperlink()
Dterm-ostream.oo.c2204 hyperlink->ref = xstrdup (ref); in set_hyperlink()
2207 hyperlink->id = xstrdup (id); in set_hyperlink()
2257 return xstrdup (str); in xstrdup0()
2424 stream->filename = xstrdup (filename); in term_ostream_create()
2564 stream->set_a_foreground = xstrdup ("\033[3%dm"); in term_ostream_create()
2570 stream->set_a_background = xstrdup ("\033[4%dm"); in term_ostream_create()
2592 stream->set_a_foreground = xstrdup ("\033[3%p1%dm"); in term_ostream_create()
2593 stream->set_a_background = xstrdup ("\033[4%p1%dm"); in term_ostream_create()
2594 stream->orig_pair = xstrdup ("\033[39;49m"); in term_ostream_create()
2595 stream->enter_bold_mode = xstrdup ("\033[1m"); in term_ostream_create()
[all …]
/third_party/toybox/toys/net/
Drfkill.c87 if (strstart(&s, "RFKILL_NAME=")) name = xstrdup(s); in rfkill_main()
88 else if (strstart(&s, "RFKILL_TYPE=")) type = xstrdup(s); in rfkill_main()
/third_party/wayland_standard/src/
Dscanner.c282 xstrdup(const char *s) in xstrdup() function
293 u = xstrdup(src); in uppercase_dup()
430 message->name = xstrdup(name); in create_message()
453 arg->name = xstrdup(name); in create_arg()
516 enumeration->name = xstrdup(name); in create_enumeration()
531 entry->name = xstrdup(name); in create_entry()
533 entry->value = xstrdup(value); in create_entry()
571 interface->name = xstrdup(name); in create_interface()
753 ctx->protocol->name = xstrdup(name); in start_element()
816 arg->interface_name = xstrdup(interface_name); in start_element()
[all …]

123456