Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/distutils/command/
Dinstall_lib.py164 for py_file in py_filenames:
168 ext = os.path.splitext(os.path.normcase(py_file))[1]
172 bytecode_files.append(py_file + "c")
174 bytecode_files.append(py_file + "o")
/external/python/cpython3/Lib/distutils/command/
Dinstall_lib.py160 for py_file in py_filenames:
164 ext = os.path.splitext(os.path.normcase(py_file))[1]
169 py_file, optimization=''))
172 py_file, optimization=self.optimize))
/external/llvm-project/lldb/bindings/python/
Dpython-typemaps.swig384 PythonFile py_file(PyRefType::Borrowed, $input);
385 if (!py_file) {
389 auto sp = unwrapOrSetPythonException(py_file.ConvertToFile());
396 PythonFile py_file(PyRefType::Borrowed, $input);
397 if (!py_file) {
401 auto sp = unwrapOrSetPythonException(py_file.ConvertToFileForcingUseOfScriptingIOMethods());
408 PythonFile py_file(PyRefType::Borrowed, $input);
409 if (!py_file) {
413 auto sp = unwrapOrSetPythonException(py_file.ConvertToFile(/*borrowed=*/true));
420 PythonFile py_file(PyRefType::Borrowed, $input);
[all …]
/external/python/cffi/cffi/
Dsetuptools_ext.py157 def generate_mod(py_file): argument
158 log.info("generating cffi module %r" % py_file)
159 mkpath(os.path.dirname(py_file))
160 updated = recompiler.make_py_source(ffi, module_name, py_file)
/external/llvm-project/lldb/unittests/ScriptInterpreter/Python/
DPythonDataObjectsTests.cpp588 auto py_file = PythonFile::FromFile(*file.get(), "r"); in TEST_F() local
589 ASSERT_THAT_EXPECTED(py_file, llvm::Succeeded()); in TEST_F()
590 EXPECT_TRUE(PythonFile::Check(py_file.get().get())); in TEST_F()
/external/libxml2/python/
Dlibxml.c3017 PyObject *py_file = NULL; in libxml_saveNodeTo() local
3029 &py_file, &encoding, &format)) in libxml_saveNodeTo()
3035 output = PyFile_Get(py_file); in libxml_saveNodeTo()
3689 PyObject *py_file; in libxml_C14NDocSaveTo() local
3710 &py_file)) in libxml_C14NDocSaveTo()
3719 output = PyFile_Get(py_file); in libxml_C14NDocSaveTo()