Searched refs:is_none (Results 1 - 8 of 8) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_eval.cpp60 return result.is_none() && x == 42;
71 return val_out == 43 && result.is_none();
H A Dtest_sequences_and_iterators.cpp324 return std::count_if(o.begin(), o.end(), [](py::handle h) { return h.is_none(); });
328 auto it = std::find_if(o.begin(), o.end(), [](py::handle h) { return h.is_none(); });
329 return it->is_none();
H A Dtest_pytypes.cpp140 d["is_none"] = o.attr("basic_attr").is_none();
/gem5/ext/pybind11/include/pybind11/
H A Dfunctional.h26 if (src.is_none()) {
H A Dpybind11.h304 else if (!rec->sibling.is_none() && rec->name[0] != '_')
524 if (arg_rec && !arg_rec->none && arg.is_none()) {
1439 if (!comment.is_none())
1481 PYBIND11_ENUM_OP_CONV_LHS("__eq__", !b.is_none() && a.equal(b));
1482 PYBIND11_ENUM_OP_CONV_LHS("__ne__", b.is_none() || !a.equal(b));
1602 if (patient.is_none() || nurse.is_none())
2073 if (d["self"].is_none())
H A Dcast.h642 if (src.is_none()) {
1063 if (src && src.is_none())
1082 } else if (h.is_none()) {
1130 if (src.is_none()) {
1284 if (src.is_none()) {
H A Dstl.h276 } else if (src.is_none()) {
H A Dpytypes.h116 bool is_none() const { return derived().ptr() == Py_None; } function in class:object_api

Completed in 21 milliseconds