Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/bindings/python/
H A Dpython-typemaps.swig377 PythonFile py_file(PyRefType::Borrowed, $input);
378 if (!py_file) {
382 auto sp = unwrapOrSetPythonException(py_file.ConvertToFile());
389 PythonFile py_file(PyRefType::Borrowed, $input);
390 if (!py_file) {
395 py_file.ConvertToFileForcingUseOfScriptingIOMethods());
402 PythonFile py_file(PyRefType::Borrowed, $input);
403 if (!py_file) {
408 unwrapOrSetPythonException(py_file.ConvertToFile(/*borrowed=*/true));
415 PythonFile py_file(PyRefType::Borrowed, $input);
[all …]
/llvm-project-15.0.7/lldb/unittests/ScriptInterpreter/Python/
H A DPythonDataObjectsTests.cpp560 auto py_file = PythonFile::FromFile(*file.get(), "r"); in TEST_F() local
561 ASSERT_THAT_EXPECTED(py_file, llvm::Succeeded()); in TEST_F()
562 EXPECT_TRUE(PythonFile::Check(py_file.get().get())); in TEST_F()