Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.cpp982 auto io_module = PythonModule::Import("io"); in Check() local
983 if (!io_module) { in Check()
984 llvm::consumeError(io_module.takeError()); in Check()
987 auto iobase = io_module.get().Get("IOBase"); in Check()
1462 auto io_module = PythonModule::Import("io"); in ConvertToFileForcingUseOfScriptingIOMethods() local
1463 if (!io_module) in ConvertToFileForcingUseOfScriptingIOMethods()
1464 return io_module.takeError(); in ConvertToFileForcingUseOfScriptingIOMethods()
1465 auto textIOBase = io_module.get().Get("TextIOBase"); in ConvertToFileForcingUseOfScriptingIOMethods()
1468 auto rawIOBase = io_module.get().Get("RawIOBase"); in ConvertToFileForcingUseOfScriptingIOMethods()
1471 auto bufferedIOBase = io_module.get().Get("BufferedIOBase"); in ConvertToFileForcingUseOfScriptingIOMethods()
/external/python/cpython3/Tools/iobench/
Diobench.py468 if options.io_module:
469 globals()['open'] = __import__(options.io_module, {}, {}, ['open']).open
/external/python/cpython3/Modules/
D_zoneinfo.c2648 PyObject *io_module = PyImport_ImportModule("io"); in zoneinfomodule_exec() local
2649 if (io_module == NULL) { in zoneinfomodule_exec()
2653 io_open = PyObject_GetAttrString(io_module, "open"); in zoneinfomodule_exec()
2654 Py_DECREF(io_module); in zoneinfomodule_exec()