Home
last modified time | relevance | path

Searched refs:c2py (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_gettext.py236 f = gettext.c2py('0')
242 f = gettext.c2py('n != 1')
248 f = gettext.c2py('n>1')
254 f = gettext.c2py('n==1 ? 0 : n==2 ? 1 : 2')
261 f = gettext.c2py('n==1 ? 0 : (n==2 ? 1 : 2)')
267 f = gettext.c2py('n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2')
273 …f = gettext.c2py('n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2…
279 f = gettext.c2py('n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2')
285 f = gettext.c2py('n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3')
292 raises(ValueError, gettext.c2py, "os.chmod('/etc/passwd',0777)")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dgettext.py77 def c2py(plural): function
318 self.plural = c2py(plural)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dgettext.py75 def c2py(plural): function
315 self.plural = c2py(plural)