Home
last modified time | relevance | path

Searched full:gettext (Results 1 – 25 of 1094) sorted by relevance

12345678910>>...44

/external/mesa3d/src/util/xmlpool/
Dt_options.h32 * gettext(). xgettext can be used to extract translatable
34 * with GNU gettext. gen_xmlpool.py takes this template and fills in
56 DRI_CONF_DESC(en,gettext("Debugging"))
60 DRI_CONF_DESC(en,gettext("Disable 3D acceleration")) \
65 DRI_CONF_DESC(en,gettext("Show performance boxes")) \
70 DRI_CONF_DESC(en,gettext("Enable flushing batchbuffer after each draw call")) \
75 DRI_CONF_DESC(en,gettext("Enable flushing GPU caches with each draw call")) \
80 DRI_CONF_DESC(en,gettext("Disable throttling on first batch after flush")) \
85 DRI_CONF_DESC(en,gettext("Force GLSL extension default behavior to 'warn'")) \
90 DRI_CONF_DESC(en,gettext("Disable dual source blending")) \
[all …]
/external/python/cpython3/Lib/test/
Dtest_gettext.py3 import gettext
107 MOFILE = os.path.join(LOCALEDIR, 'gettext.mo')
130 gettext._translations.clear()
149 gettext.install('gettext', self.localedir)
188 gettext message catalog library.'''),
197 t = gettext.GNUTranslations(fp)
206 t.install(names=["gettext", "lgettext"])
207 eq(_, t.gettext)
208 eq(builtins.gettext, t.gettext)
210 del builtins.gettext
[all …]
/external/python/cpython2/Lib/test/
Dtest_gettext.py4 import gettext
58 MOFILE = os.path.join(LOCALEDIR, 'gettext.mo')
76 gettext._translations.clear()
95 gettext.install('gettext', self.localedir)
134 gettext message catalog library.'''),
143 t = gettext.GNUTranslations(fp)
152 t.install(unicode=True, names=["gettext", "lgettext"])
154 eq(__builtin__.gettext, t.ugettext)
156 del __builtin__.gettext
165 gettext.bindtextdomain('gettext', self.localedir)
[all …]
/external/elfutils/m4/
DChangeLog21 * gettext.m4: Upgrade to gettext-0.18.2.
22 * iconv.m4: Upgrade to gettext-0.18.2.
23 * po.m4: Upgrade to gettext-0.18.2.
27 * gettext.m4: Upgrade to gettext-0.17.
28 * iconv.m4: Upgrade to gettext-0.17.
29 * po.m4: Upgrade to gettext-0.17.
46 * gettext.m4: Update from gettext 0.16.1.
70 2002-03-22 gettextize <bug-gnu-gettext@gnu.org>
72 * codeset.m4: Upgrade to gettext-0.11.
73 * gettext.m4: Upgrade to gettext-0.11.
[all …]
Dgettext.m41 # gettext.m4 serial 66 (gettext-0.18.2)
9 dnl License but which still want to provide support for the GNU gettext
11 dnl Please note that the actual code of the GNU gettext library is covered
13 dnl gettext package package is covered by the GNU General Public License.
20 dnl Macro to add for using GNU gettext.
32 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
35 dnl 'need-formatstring-macros', then GNU gettext implementations that don't
41 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
45 dnl 2) GNU gettext has been found in the system's C library.
53 dnl GNU format catalogs when building on a platform with an X/Open gettext),
[all …]
/external/elfutils/src/
Delflint.c154 error (0, errno, gettext ("cannot open input file")); in main()
161 ERROR (gettext ("cannot generate Elf descriptor: %s\n"), in main()
180 ERROR (gettext ("error while closing Elf descriptor: %s\n"), in main()
184 puts (gettext ("No errors")); in main()
219 fputs (gettext ("Missing file name.\n"), stderr); in parse_opt()
284 ERROR (gettext (" error while freeing sub-ELF descriptor: %s\n"), in process_file()
292 ERROR (gettext ("\ in process_file()
357 ERROR (gettext ("e_ident[%d] == %d is no known class\n"), in check_elf_header()
362 ERROR (gettext ("e_ident[%d] == %d is no known data encoding\n"), in check_elf_header()
366 ERROR (gettext ("unknown ELF header version number e_ident[%d] == %d\n"), in check_elf_header()
[all …]
Delfcmp.c141 fputs (gettext ("Invalid number of parameters.\n"), stderr); in main()
172 error (2, 0, gettext ("cannot get ELF header of '%s': %s"), in main()
177 error (2, 0, gettext ("cannot get ELF header of '%s': %s"), in main()
203 error (0, 0, gettext ("%s %s diff: ELF header"), fname1, fname2); in main()
210 error (2, 0, gettext ("cannot get section count of '%s': %s"), in main()
213 error (2, 0, gettext ("cannot get section count of '%s': %s"), in main()
218 error (0, 0, gettext ("%s %s diff: section count"), fname1, fname2); in main()
225 error (2, 0, gettext ("cannot get program header count of '%s': %s"), in main()
228 error (2, 0, gettext ("cannot get program header count of '%s': %s"), in main()
233 error (0, 0, gettext ("%s %s diff: program header count"), in main()
[all …]
Dreadelf.c311 /* Looked up once with gettext in main. */
328 yes_str = gettext ("yes"); in main()
329 no_str = gettext ("no"); in main()
346 error (0, errno, gettext ("cannot open input file")); in main()
518 fprintf (stderr, gettext ("Unknown DWARF debug section `%s'.\n"), in parse_opt()
545 fputs (gettext ("Missing file name.\n"), stderr); in parse_opt()
550 fputs (gettext ("No operation specified.\n"), stderr); in parse_opt()
589 error (0, 0, gettext ("cannot generate Elf descriptor: %s"), in open_input_section()
596 error (0, 0, gettext ("cannot determine number of sections: %s"), in open_input_section()
605 error (0, 0, gettext ("cannot get section header string table index")); in open_input_section()
[all …]
/external/python/cpython3/Doc/library/
Dgettext.rst1 :mod:`gettext` --- Multilingual internationalization services
4 .. module:: gettext
10 **Source code:** :source:`Lib/gettext.py`
14 The :mod:`gettext` module provides internationalization (I18N) and localization
16 GNU ``gettext`` message catalog API and a higher level, class-based API that may
25 GNU :program:`gettext` API
28 The :mod:`gettext` module defines the following API, which is very similar to
29 the GNU :program:`gettext` API. If you use this API you will affect the
40 :mod:`gettext` will look for binary :file:`.mo` files for the given domain using
64 .. index:: single: _ (underscore); gettext
[all …]
/external/clang/unittests/AST/
DCommentLexer.cpp138 ASSERT_EQ(StringRef(" Meow"), Toks[0].getText()); in TEST_F()
158 ASSERT_EQ(StringRef(" Meow"), Toks[0].getText()); in TEST_F()
181 ASSERT_EQ(StringRef(" Aaa"), Toks[0].getText()); in TEST_F()
183 ASSERT_EQ(StringRef("\\"), Toks[1].getText()); in TEST_F()
187 ASSERT_EQ(StringRef(" Bbb"), Toks[3].getText()); in TEST_F()
189 ASSERT_EQ(StringRef("\\"), Toks[4].getText()); in TEST_F()
191 ASSERT_EQ(StringRef(" "), Toks[5].getText()); in TEST_F()
195 ASSERT_EQ(StringRef(" Ccc?" "?/"), Toks[7].getText()); in TEST_F()
219 ASSERT_EQ(StringRef(" Aaa"), Toks[0].getText()); in TEST_F()
223 ASSERT_EQ(StringRef(" Bbb"), Toks[2].getText()); in TEST_F()
[all …]
/external/python/cpython2/Doc/library/
Dgettext.rst1 :mod:`gettext` --- Multilingual internationalization services
4 .. module:: gettext
9 **Source code:** :source:`Lib/gettext.py`
13 The :mod:`gettext` module provides internationalization (I18N) and localization
15 GNU ``gettext`` message catalog API and a higher level, class-based API that may
24 GNU :program:`gettext` API
27 The :mod:`gettext` module defines the following API, which is very similar to
28 the GNU :program:`gettext` API. If you use this API you will affect the
39 :mod:`gettext` will look for binary :file:`.mo` files for the given domain using
51 :func:`gettext` family of functions. If *codeset* is omitted, then the current
[all …]
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_embeddertest.cpp95 EXPECT_TRUE(GetCPWLEdit()->GetText().IsEmpty()); in TEST_F()
100 EXPECT_STREQ(L"abc", GetCPWLEdit()->GetText().c_str()); in TEST_F()
159 EXPECT_TRUE(GetCPWLEdit()->GetText().IsEmpty()); in TEST_F()
171 GetCPWLEdit()->GetText().c_str()); in TEST_F()
183 GetCPWLEdit()->GetText().c_str()); in TEST_F()
195 GetCPWLEdit()->GetText().c_str()); in TEST_F()
204 GetCPWLEdit()->GetText().c_str()); in TEST_F()
210 EXPECT_STREQ(L"Hello", GetCPWLEdit()->GetText().c_str()); in TEST_F()
222 EXPECT_STREQ(L"HelloABCDEFGHIJ", GetCPWLEdit()->GetText().c_str()); in TEST_F()
236 EXPECT_STREQ(L"ABCDEHelloFGHIJ", GetCPWLEdit()->GetText().c_str()); in TEST_F()
[all …]
/external/antlr/gunit/src/main/antlr3/org/antlr/gunit/
DgUnit.g190 STRING : '"' ( ESC | ~('\\'|'"') )* '"' {setText(getText().substring(1, getText().length()-1));}
209 int oldEndIndex = getText().length()-2;
212 front = getText().substring(2, 3);
213 end = getText().substring(getText().length()-3, getText().length()-2);
215 newEndIndex = getText().length()-3;
218 front = getText().substring(2, 4);
219 end = getText().substring(getText().length()-4, getText().length()-2);
221 newEndIndex = getText().length()-4;
227 if ( newline.length()==1 && getText().length()==5 ) temp = "";
228 else if ( newline.length()==2 && getText().length()==6 ) temp = "";
[all …]
/external/libexif/auto-m4/
Dgettext.m41 # gettext.m4 serial 28 (gettext-0.13)
11 dnl License but which still want to provide support for the GNU gettext
13 dnl Please note that the actual code of the GNU gettext library is covered
15 dnl gettext package package is covered by the GNU General Public License.
22 dnl Macro to add for using GNU gettext.
34 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
37 dnl 'need-formatstring-macros', then GNU gettext implementations that don't
43 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
47 dnl 2) GNU gettext has been found in the system's C library.
55 dnl GNU format catalogs when building on a platform with an X/Open gettext),
[all …]
/external/clang/unittests/Tooling/
DFixItTest.cpp16 using tooling::fixit::getText;
35 TEST(FixItTest, getText) { in TEST() argument
39 EXPECT_EQ("foo(x, y)", getText(*CE, *Context)); in TEST()
40 EXPECT_EQ("foo(x, y)", getText(CE->getSourceRange(), *Context)); in TEST()
44 EXPECT_EQ("x", getText(*P0, *Context)); in TEST()
45 EXPECT_EQ("y", getText(*P1, *Context)); in TEST()
50 EXPECT_EQ("APPLY(foo, x, y)", getText(*CE, *Context)); in TEST()
60 EXPECT_EQ("F OO", getText(*CE, *Context)); in TEST()
63 EXPECT_EQ("", getText(*P0, *Context)); in TEST()
64 EXPECT_EQ("", getText(*P1, *Context)); in TEST()
[all …]
/external/pdfium/xfa/fde/
Dcfde_texteditengine_unittest.cpp58 EXPECT_STREQ(L"", engine()->GetText().c_str()); in TEST_F()
61 EXPECT_STREQ(L"", engine()->GetText().c_str()); in TEST_F()
65 EXPECT_STREQ(L"Hello", engine()->GetText().c_str()); in TEST_F()
69 EXPECT_STREQ(L"Hello World", engine()->GetText().c_str()); in TEST_F()
73 EXPECT_STREQ(L"Hello New World", engine()->GetText().c_str()); in TEST_F()
76 EXPECT_STREQ(L"Hello New World Cat", engine()->GetText().c_str()); in TEST_F()
86 EXPECT_STREQ(L"Hello", engine()->GetText().c_str()); in TEST_F()
90 EXPECT_STREQ(L"Hello Wo", engine()->GetText().c_str()); in TEST_F()
104 EXPECT_STREQ(L"Hello", engine()->GetText().c_str()); in TEST_F()
110 EXPECT_STREQ(L"Hello Wo", engine()->GetText().c_str()); in TEST_F()
[all …]
/external/libchrome/third_party/jinja2/
Dext.py28 # the only real useful gettext functions for a Jinja template. Note
29 # that ugettext must be assigned to gettext as Jinja doesn't support
31 GETTEXT_FUNCTIONS = ('_', 'gettext', 'ngettext')
134 return __context.call(__context.resolve('gettext'), *args, **kwargs)
139 def gettext(__context, __string, **variables): function
144 return gettext
159 """This extension adds gettext support to Jinja2."""
166 # something is called twice here. One time for the gettext value and
182 gettext = getattr(translations, 'ugettext', None)
183 if gettext is None:
[all …]
/external/python/cpython3/Lib/
Dgettext.py4 support for your Python programs by providing an interface to the GNU gettext
18 # gettext.py implementation.
24 # James Henstridge, who also wrote a gettext.py module, which has some
43 # you'll need to study the GNU gettext code to do this.
58 'dgettext', 'dngettext', 'gettext', 'lgettext', 'ldgettext',
66 # The gettext library supports a small subset of C syntax. The only
70 # https://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms
71 # http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext-runtime/intl/plural.y
271 def gettext(self, message): member in NullTranslations
273 return self._fallback.gettext(message)
[all …]
/external/antlr/tool/src/test/java/org/antlr/test/
DTestCommonTokenStream.java56 String result = tokens.LT(1).getText(); in testFirstToken()
77 String result = tokens.LT(2).getText(); in test2ndToken()
161 assertEquals("x", t.getText()); in testLookback()
166 assertEquals("x", t.getText()); in testLookback()
168 assertEquals(" ", t.getText()); in testLookback()
170 assertEquals("=", t.getText()); in testLookback()
206 assertEquals("x", tokens.LT(1).getText()); // must skip first off channel token in testOffChannel()
208 assertEquals("=", tokens.LT(1).getText()); in testOffChannel()
209 assertEquals("x", tokens.LT(-1).getText()); in testOffChannel()
212 assertEquals("34", tokens.LT(1).getText()); in testOffChannel()
[all …]
/external/e2fsprogs/intl/
DMakefile.in1 # Makefile for directory with message catalog handling library of GNU gettext
37 gettextsrcdir = $(datadir)/gettext/intl
123 gettext.c \
148 gettext.$lo \
172 DISTFILES.gettext = COPYING.LIB-2.0 COPYING.LIB-2.1 libintl.glibc \
176 COPYING.LIB-2 gettext.h libgettext.h plural-eval.c libgnuintl.h
200 # Before making a gettext release, the gettext maintainer must change this
227 gettext.lo: $(srcdir)/gettext.c
228 $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/gettext.c
299 # system which has the GNU gettext() function in its C library or in a
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DTimestampTagTest.java31 getText("canonical: 2001-12-15T02:59:43.1Z", "canonical")); in testTimestamp()
34 getText("canonical: 2001-12-15T02:59:43.000Z", "canonical")); in testTimestamp()
36 getText("valid iso8601: 2001-12-14t21:59:43.10-05:00", "valid iso8601")); in testTimestamp()
39 getText("valid iso8601: 2001-12-14t21:59:43.10-0:30", "valid iso8601")); in testTimestamp()
42 getText("valid iso8601: 2001-12-14t21:59:43.10+2:00", "valid iso8601")); in testTimestamp()
44 getText("space separated: 2001-12-14 21:59:43.10 -5", "space separated")); in testTimestamp()
46 getText("no time zone (Z): 2001-12-15 2:59:43.10", "no time zone (Z)")); in testTimestamp()
48 getText("date (00:00:00Z): 2002-12-14", "date (00:00:00Z)")); in testTimestamp()
50 getText("milliseconds: 2010-05-16 03:06:11.003", "milliseconds")); in testTimestamp()
52 getText("milliseconds: 2010-05-16 03:06:11.0068", "milliseconds")); in testTimestamp()
[all …]
/external/e2fsprogs/
DABOUT-NLS10 assume that the distributed package does use GNU `gettext' internally,
12 need to install GNU `gettext' prior to configuring, installing or using
22 `gettext' which is used. The information can be found in the
31 ./configure --with-included-gettext
36 the `gettext' implementation in the GNU C library version 2 provides as
40 of a `catgets' implementation. Future versions of GNU `gettext' will
42 to change to GNU `gettext' as soon as possible.
45 you have installed a recent copy of the GNU gettext package with the
53 Most such packages use GNU `gettext'. Other packages have their own
54 ways to internationalization, predating GNU `gettext'.
[all …]
/external/python/cpython2/Lib/
Dgettext.py4 support for your Python programs by providing an interface to the GNU gettext
18 # gettext.py implementation.
24 # James Henstridge, who also wrote a gettext.py module, which has some
43 # you'll need to study the GNU gettext code to do this.
56 'dgettext', 'dngettext', 'gettext', 'lgettext', 'ldgettext',
64 # The gettext library supports a small subset of C syntax. The only
68 # https://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms
69 # http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext-runtime/intl/plural.y
266 def gettext(self, message): member in NullTranslations
268 return self._fallback.gettext(message)
[all …]
/external/antlr/tool/src/main/java/org/antlr/tool/
DNameSpaceChecker.java125 String ruleName = tok.getText(); in lookForReferencesToUndefinedSymbols()
143 String tokenID = tok.getText(); in lookForReferencesToUndefinedSymbols()
156 Grammar scopeG = grammar.composite.getGrammar(scopeAST.getText()); in lookForReferencesToUndefinedSymbols()
158 String ruleName = refAST.getText(); in lookForReferencesToUndefinedSymbols()
163 scopeAST.getText(), in lookForReferencesToUndefinedSymbols()
172 scopeAST.getText(), in lookForReferencesToUndefinedSymbols()
216 if ( grammar.getGlobalScope(label.getText())!=null ) { in checkForLabelConflict()
219 else if ( grammar.getRule(label.getText())!=null ) { in checkForLabelConflict()
222 else if ( grammar.getTokenType(label.getText())!=Label.INVALID ) { in checkForLabelConflict()
225 else if ( r.ruleScope!=null && r.ruleScope.getAttribute(label.getText())!=null ) { in checkForLabelConflict()
[all …]
/external/libexif/
DABOUT-NLS10 assume that the distributed package does use GNU `gettext' internally,
12 need to install GNU `gettext' prior to configuring, installing or using
22 `gettext' which is used. The information can be found in the
31 ./configure --with-included-gettext
36 the `gettext' implementation in the GNU C library version 2 provides as
40 of a `catgets' implementation. Future versions of GNU `gettext' will
42 to change to GNU `gettext' as soon as possible.
45 you have installed a recent copy of the GNU gettext package with the
53 packages use GNU `gettext'. Other packages have their own ways to
54 internationalization, predating GNU `gettext'.
[all …]

12345678910>>...44