Searched refs:eval_file (Results 1 – 8 of 8) sorted by relevance
/external/python/pybind11/include/pybind11/ |
D | eval.h | 89 object eval_file(str, object, object) { in eval_file() function 93 object eval_file(str, object) { in eval_file() function 97 object eval_file(str) { in eval_file() function 102 object eval_file(str fname, object global = globals(), object local = object()) {
|
/external/python/pybind11/tests/ |
D | test_eval.cpp | 70 auto result = py::eval_file(filename, global, local); in TEST_SUBMODULE() 85 py::eval_file("non-existing file"); in TEST_SUBMODULE()
|
/external/python/pybind11/docs/advanced/pycpp/ |
D | utilities.rst | 95 pybind11 provides the `eval`, `exec` and `eval_file` functions to evaluate 119 py::eval_file("script.py", scope); 138 `eval` and `eval_file` accept a template parameter that describes how the 143 `eval_file` defaults to ``eval_statements`` and `exec` is just a shortcut
|
/external/python/pybind11/tests/test_cmake_build/ |
D | embed.cpp | 20 py::eval_file(test_py_file, py::globals()); in main()
|
/external/python/pybind11/docs/advanced/ |
D | embedding.rst | 51 `exec` or `eval_file`, as explained in :ref:`eval`. Here is a quick example in
|
/external/python/cpython2/Lib/test/ |
D | test_decimal.py | 223 def eval_file(self, file): member in DecimalTest 2338 tester = lambda self, f=filename: self.eval_file(directory + f)
|
/external/python/pybind11/docs/ |
D | changelog.rst | 133 * ``py::exec``, ``py::eval``, and ``py::eval_file`` now add the builtins module 1341 * Added ``eval`` and ``eval_file`` functions for evaluating expressions and
|
/external/python/cpython3/Lib/test/ |
D | test_decimal.py | 285 def eval_file(self, file): member in IBMTestCases 5711 tester = lambda self, f=filename: self.eval_file(directory + f)
|