Searched refs:arg_v (Results 1 – 9 of 9) sorted by relevance
/external/python/pybind11/tests/ |
D | test_constants_and_functions.cpp | 147 … py::arg_v("x", 42), py::arg_v("y", 42, "<the answer>"), py::arg_v("z", default_value)); in TEST_SUBMODULE()
|
D | test_stl.cpp | 199 }, py::arg_v("x", std::nullopt, "None")); in TEST_SUBMODULE() 202 }, py::arg_v("x", std::nullopt, "None")); in TEST_SUBMODULE() 228 }, py::arg_v("x", std::experimental::nullopt, "None")); in TEST_SUBMODULE() 231 }, py::arg_v("x", std::experimental::nullopt, "None")); in TEST_SUBMODULE()
|
D | test_custom_type_casters.cpp | 110 …py::arg{}.noconvert(false), py::arg_v(nullptr, ArgInspector1()).noconvert(true), py::arg() = ArgAl… in TEST_SUBMODULE()
|
/external/python/pybind11/include/pybind11/ |
D | attr.h | 397 template <> struct process_attribute<arg_v> : process_attribute_default<arg_v> { 398 static void init(const arg_v &a, function_record *r) {
|
D | cast.h | 1873 template <typename T> arg_v operator=(T &&value) const; 1886 struct arg_v : arg { 1889 arg_v(arg &&base, T &&x, const char *descr = nullptr) 1910 arg_v(const char *name, T &&x, const char *descr = nullptr) 1911 : arg_v(arg(name), std::forward<T>(x), descr) { } 1915 arg_v(const arg &base, T &&x, const char *descr = nullptr) 1916 : arg_v(arg(base), std::forward<T>(x), descr) { } 1919 arg_v &noconvert(bool flag = true) { arg::noconvert(flag); return *this; } 1922 arg_v &none(bool flag = true) { arg::none(flag); return *this; } 1945 arg_v arg::operator=(T &&value) const { return {std::move(*this), std::forward<T>(value)}; } [all …]
|
D | pytypes.h | 23 struct arg; struct arg_v;
|
/external/ltp/pan/ |
D | ltp-pan.c | 1043 char **arg_v; in run_child() local 1045 arg_v = (char **)splitstr(c_cmdline, NULL, NULL); in run_child() 1047 execvp(arg_v[0], arg_v); in run_child() 1050 panname, arg_v[0], colle->name, errno, in run_child()
|
/external/rust/crates/clap/src/app/ |
D | help.rs | 216 let mut arg_v = Vec::with_capacity(10); in write_args_unsorted() localVariable 222 arg_v.push(arg) in write_args_unsorted() 225 for arg in arg_v { in write_args_unsorted()
|
/external/python/pybind11/docs/advanced/ |
D | functions.rst | 349 default argument manually using the ``arg_v`` notation: 354 .def("myFunction", py::arg_v("arg", SomeType(123), "SomeType(123)"));
|