Home
last modified time | relevance | path

Searched refs:make_test_source (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Tools/iobench/
Diobench.py330 def make_test_source(name, size): function
334 lambda fn: open(os.devnull, "wb"), make_test_source)
339 def make_test_source(name, size): function
343 lambda fn: text_open(os.devnull, "w"), make_test_source)
348 def make_test_source(name, size): function
352 lambda fn: open(fn, "r+b"), make_test_source)
357 def make_test_source(name, size): function
361 lambda fn: text_open(fn, "r+"), make_test_source)
/external/python/cpython3/Tools/iobench/
Diobench.py341 def make_test_source(name, size): function
345 lambda fn: open(os.devnull, "wb"), make_test_source)
350 def make_test_source(name, size): function
354 lambda fn: text_open(os.devnull, "w"), make_test_source)
359 def make_test_source(name, size): function
363 lambda fn: open(fn, "r+b"), make_test_source)
368 def make_test_source(name, size): function
372 lambda fn: text_open(fn, "r+"), make_test_source)