Lines Matching refs:first
375 // need to append a newline first:
455 // We do this in two passes: in the first pass, we load arguments with `convert=false`;
614 // We're in the first no-convert pass, so swap out the conversion flags for a
660 // if we'd encountered this failure in the first-pass loop.
759 bool first = true;
761 if (first) first = false;
763 msg += pybind11::str("{}={!r}").format(kwarg.first, kwarg.second);
1380 /// Dual-argument factory function: the first function is called when no alias is needed, the second
1411 return pybind11::str("{}.{}").format(type_name, kv.first);
1422 return pybind11::str(kv.first);
1436 auto key = std::string(pybind11::str(kv.first));
1450 m[kv.first] = kv.second[int_(0)];
1538 m_parent.attr(kv.first) = kv.second[int_(0)];
1667 /// Makes a python iterator from a first and past-the-end C++ InputIterator.
1673 iterator make_iterator(Iterator first, Sentinel last, Extra &&... extra) {
1692 return cast(state{first, last, true});
1695 /// Makes an python iterator over the keys (`.first`) of a iterator over pairs from a
1696 /// first and past-the-end InputIterator.
1700 typename KeyType = decltype((*std::declval<Iterator>()).first),
1702 iterator make_key_iterator(Iterator first, Sentinel last, Extra &&... extra) {
1717 return (*s.it).first;
1721 return cast(state{first, last, true});
1731 /// Makes an iterator over the keys (`.first`) of a stl map-like container supporting
2084 :this_ptr: The pointer to the object the overload should be retrieved for. This should be the first