Searched refs:text_open (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Tools/iobench/ |
D | iobench.py | 24 def text_open(fn, mode, encoding=None): function 325 run_test_family(read_tests, "b", text_files, lambda fn: text_open(fn, "r")) 340 with text_open(name, "r") as f: 343 lambda fn: text_open(os.devnull, "w"), make_test_source) 358 with text_open(name, "r") as f: 361 lambda fn: text_open(fn, "r+"), make_test_source) 374 with text_open(__file__, "rU", encoding='utf8') as f:
|
/external/python/cpython3/Tools/iobench/ |
D | iobench.py | 23 def text_open(fn, mode, encoding=None): function 336 run_test_family(read_tests, "b", text_files, lambda fn: text_open(fn, "r")) 351 with text_open(name, "r") as f: 354 lambda fn: text_open(os.devnull, "w"), make_test_source) 369 with text_open(name, "r") as f: 372 lambda fn: text_open(fn, "r+"), make_test_source) 385 with text_open(__file__, "r", encoding='utf8') as f:
|
/external/icu/icu4c/source/test/cintltst/ |
D | ucnvseltst.c | 226 text_open(TestText *tt) { in text_open() function 388 if (!text_open(&text)) { in TestSelector()
|