Home
last modified time | relevance | path

Searched refs:catalog (Results 1 – 25 of 55) sorted by relevance

123

/glibc-2.36/catgets/
Dopen_catalog.c39 __nl_catd catalog) in __open_catalog() argument
208 catalog->file_size = st.st_size; in __open_catalog()
218 catalog->file_ptr = in __open_catalog()
221 if (__builtin_expect (catalog->file_ptr != (struct catalog_obj *) MAP_FAILED, in __open_catalog()
224 catalog->status = mmapped; in __open_catalog()
231 catalog->file_ptr = malloc (st.st_size); in __open_catalog()
232 if (catalog->file_ptr == NULL) in __open_catalog()
239 size_t now = __read_nocancel (fd, (((char *) catalog->file_ptr) in __open_catalog()
247 free ((void *) catalog->file_ptr); in __open_catalog()
253 catalog->status = malloced; in __open_catalog()
[all …]
Dcatgets.c90 __nl_catd catalog; in catgets() local
98 catalog = (__nl_catd) catalog_desc; in catgets()
100 idx = ((set * message) % catalog->plane_size) * 3; in catgets()
104 if (catalog->name_ptr[idx + 0] == (uint32_t) set in catgets()
105 && catalog->name_ptr[idx + 1] == (uint32_t) message) in catgets()
106 return (char *) &catalog->strings[catalog->name_ptr[idx + 2]]; in catgets()
108 idx += catalog->plane_size * 3; in catgets()
110 while (++cnt < catalog->plane_depth); in catgets()
121 __nl_catd catalog; in catclose() local
130 catalog = (__nl_catd) catalog_desc; in catclose()
[all …]
Dtest-gencat.c9 nl_catd catalog; in do_test() local
14 catalog = catopen ("sample", NL_CAT_LOCALE); in do_test()
15 if (catalog == (nl_catd) -1) in do_test()
21 printf ("%s\n", catgets(catalog, 1, 1, "sample 1")); in do_test()
22 printf ("%s\n", catgets(catalog, 1, 2, "sample 2")); in do_test()
23 printf ("%s\n", catgets(catalog, 1, 3, "sample 3")); in do_test()
24 printf ("%s\n", catgets(catalog, 1, 4, "sample 4")); in do_test()
25 printf ("%s\n", catgets(catalog, 1, 5, "sample 5")); in do_test()
26 printf ("%s\n", catgets(catalog, 1, 6, "sample 6")); in do_test()
27 printf ("%s\n", catgets(catalog, 1, 7, "sample 7")); in do_test()
[all …]
Dgencat.c78 struct catalog struct
143 static struct catalog *read_input_file (struct catalog *current,
145 static void write_out (struct catalog *result, const char *output_name,
147 static struct set_list *find_set (struct catalog *current, int number);
151 static void read_old (struct catalog *catalog, const char *file_name);
159 struct catalog *result; in main()
263 static struct catalog *
264 read_input_file (struct catalog *current, const char *fname) in read_input_file()
293 current = (struct catalog *) xcalloc (1, sizeof (*current)); in read_input_file()
843 write_out (struct catalog *catalog, const char *output_name, in write_out() argument
[all …]
Dsample.SJIS1 $ test message catalog
/glibc-2.36/manual/
Dmessage.texi27 As mentioned above, the message catalog handling provides easy
58 identifier. To retrieve a message from a catalog file solely the
66 Before a message can be translated the catalog file must be located.
68 to find whatever catalog the user wants. This is separated from what
76 * The message catalog files:: Format of the message catalog files.
116 this loaded catalog.
119 no catalog was loaded. The global variable @code{errno} contains a code
123 Locating the catalog file must happen in a way which lets the user of
126 catalog files. All this can be specified by the user by setting some
131 different files but usually the catalog files are grouped by languages
[all …]
/glibc-2.36/po/
Dsl.po1 # -*- mode: po; coding: utf-8; -*- Slovenian message catalog for GNU libc.
119 msgid "Do not use existing catalog, force new output file"
128 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\…
253 msgid "while opening old catalog file"
Dhu.po107 msgid "Do not use existing catalog, force new output file"
116 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\…
228 msgid "while opening old catalog file"
Dbe.po128 msgid "Do not use existing catalog, force new output file"
137 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\…
261 msgid "while opening old catalog file"
Dia.po114 msgid "Do not use existing catalog, force new output file"
123 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\…
249 msgid "while opening old catalog file"
Del.po104 msgid "Do not use existing catalog, force new output file"
202 msgid "while opening old catalog file"
Den_GB.po1604 msgid "Do not use existing catalog, force new output file"
1881 "Generate message catalog.\\vIf INPUT-FILE is -, input is read from standard "
5103 msgid "while opening old catalog file"
Deo.po132 msgid "Do not use existing catalog, force new output file"
141 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\…
268 msgid "while opening old catalog file"
Dzh_TW.po138 msgid "Do not use existing catalog, force new output file"
139 msgstr "不使用現存的 catalog, 強制使用新的輸出檔"
147 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\…
273 msgid "while opening old catalog file"
Dnb.po101 msgid "Do not use existing catalog, force new output file"
199 msgid "while opening old catalog file"
Dsk.po104 msgid "Do not use existing catalog, force new output file"
113 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\…
226 msgid "while opening old catalog file"
Dgl.po103 msgid "Do not use existing catalog, force new output file"
112 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\…
225 msgid "while opening old catalog file"
Dja.po120 msgid "Do not use existing catalog, force new output file"
129 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\…
241 msgid "while opening old catalog file"
Dlibc.pot122 msgid "Do not use existing catalog, force new output file"
131 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard "
249 msgid "while opening old catalog file"
Dbg.po132 msgid "Do not use existing catalog, force new output file"
141 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\…
268 msgid "while opening old catalog file"
Dru.po134 msgid "Do not use existing catalog, force new output file"
143 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\…
270 msgid "while opening old catalog file"
Dsr.po127 msgid "Do not use existing catalog, force new output file"
136 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\…
262 msgid "while opening old catalog file"
Dko.po127 msgid "Do not use existing catalog, force new output file"
136 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\…
262 msgid "while opening old catalog file"
Dzh_CN.po135 msgid "Do not use existing catalog, force new output file"
144 "Generate message catalog.\vIf INPUT-FILE is -, input is read from standard input. If OUTPUT-FILE\…
270 msgid "while opening old catalog file"
/glibc-2.36/
DMakeconfig186 # Where to install the message catalog data files (which are

123