/external/python/cpython2/Lib/test/ |
test_strop.py | 2 warnings.filterwarnings("ignore", "strop functions are obsolete;", 9 strop = test_support.import_module("strop") variable 15 self.assertTrue(strop.atoi(" 1 ") == 1) 16 self.assertRaises(ValueError, strop.atoi, " 1x") 17 self.assertRaises(ValueError, strop.atoi, " x1 ") 20 self.assertTrue(strop.atol(" 1 ") == 1L) 21 self.assertRaises(ValueError, strop.atol, " 1x") 22 self.assertRaises(ValueError, strop.atol, " x1 ") 25 self.assertTrue(strop.atof(" 1 ") == 1.0 [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_strop.py | 2 warnings.filterwarnings("ignore", "strop functions are obsolete;",
5 import strop
13 self.assertTrue(strop.atoi(" 1 ") == 1)
14 self.assertRaises(ValueError, strop.atoi, " 1x")
15 self.assertRaises(ValueError, strop.atoi, " x1 ")
18 self.assertTrue(strop.atol(" 1 ") == 1L)
19 self.assertRaises(ValueError, strop.atol, " 1x")
20 self.assertRaises(ValueError, strop.atol, " x1 ")
23 self.assertTrue(strop.atof(" 1 ") == 1.0)
24 self.assertRaises(ValueError, strop.atof, " 1x") [all...] |
/external/ltp/testcases/lib/ |
tst_kvcmp.c | 133 const char *strop = argv[i++]; local 137 enum op op = strtop(strop); 154 strop); 165 strop);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
_localemodule.c | 95 PyObject *mods, *strop, *string, *ulo;
local 99 /* find the string and strop modules */
106 strop=PyDict_GetItemString(mods, "strop");
107 if (strop)
108 strop = PyModule_GetDict(strop);
109 if (!string && !strop)
123 if (strop)
124 PyDict_SetItemString(strop, "uppercase", ulo); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
_localemodule.c | 95 PyObject *mods, *strop, *string, *ulo;
local 99 /* find the string and strop modules */
106 strop=PyDict_GetItemString(mods, "strop");
107 if (strop)
108 strop = PyModule_GetDict(strop);
109 if (!string && !strop)
123 if (strop)
124 PyDict_SetItemString(strop, "uppercase", ulo); [all...] |
/external/python/cpython2/Modules/ |
_localemodule.c | 96 PyObject *mods, *strop, *string, *ulo; local 100 /* find the string and strop modules */ 107 strop=PyDict_GetItemString(mods, "strop"); 108 if (strop) 109 strop = PyModule_GetDict(strop); 110 if (!string && !strop) 124 if (strop) 125 PyDict_SetItemString(strop, "uppercase", ulo) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
stringold.py | 6 # called strop, but strop is now obsolete itself.
416 # library, which uses strop for many more things than just the few outlined
423 # Try importing optional built-in module "strop" -- if it exists,
429 from strop import maketrans, lowercase, uppercase, whitespace
|
string.py | 6 a built-in module called strop, but strop is now obsolete itself.
522 # Try importing optional built-in module "strop" -- if it exists,
528 from strop import maketrans, lowercase, uppercase, whitespace
|
/external/python/cpython2/Lib/ |
stringold.py | 6 # called strop, but strop is now obsolete itself. 416 # library, which uses strop for many more things than just the few outlined 423 # Try importing optional built-in module "strop" -- if it exists, 429 from strop import maketrans, lowercase, uppercase, whitespace
|
string.py | 6 a built-in module called strop, but strop is now obsolete itself. 524 # Try importing optional built-in module "strop" -- if it exists, 530 from strop import maketrans, lowercase, uppercase, whitespace
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
string.py | 6 a built-in module called strop, but strop is now obsolete itself.
524 # Try importing optional built-in module "strop" -- if it exists,
530 from strop import maketrans, lowercase, uppercase, whitespace
|
/external/python/cpython2/RISCOS/ |
Makefile | 294 @.^.Lib.strop/pyd: @.^.Modules.o.stropmodule s.linktab 295 $(MAKEDLK) -d @.^.Lib.strop/pyd -s s.linktab -o @.^.Modules.o.stropmodule -e initstrop
|