Home
last modified time | relevance | path

Searched refs:has_args (Results 1 – 5 of 5) sorted by relevance

/external/pigweed/pw_assert/public/pw_assert/internal/
Dcheck_impl.h157 #define _PW_CHECK_SELECT_MACRO(condition, has_args, ...) \ argument
158 _PW_CHECK_SELECT_MACRO_EXPANDED(condition, has_args, __VA_ARGS__)
161 #define _PW_CHECK_SELECT_MACRO_EXPANDED(condition, has_args, ...) \ argument
162 _PW_CHECK_HAS_MSG_##has_args(condition, __VA_ARGS__)
184 has_args, \ argument
192 has_args, \
202 has_args, \ argument
204 _PW_CHECK_BINARY_COMPARISON_HAS_MSG_##has_args(argument_a_str, \
304 status_expr_str, status_value_str, has_args, ...) \ argument
306 status_expr_str, status_value_str, has_args, __VA_ARGS__)
[all …]
/external/python/pybind11/include/pybind11/
Dattr.h144 is_operator(false), is_method(false), has_args(false),
187 bool has_args : 1;
546 constexpr bool expected_num_args(size_t nargs, bool has_args, bool has_kwargs) {
547 return named == 0 || (self + named + size_t(has_args) + size_t(has_kwargs)) == nargs;
Dpybind11.h166 …static_assert(expected_num_args<Extra...>(sizeof...(Args), cast_in::has_args, cast_in::has_kwargs), in PYBIND11_NAMESPACE_BEGIN()
207 has_args = any_of<std::is_same<args, Args>...>::value, in PYBIND11_NAMESPACE_BEGIN()
211 …static_assert(!(has_args && has_kw_only_args), "py::kw_only cannot be combined with a py::args arg… in PYBIND11_NAMESPACE_BEGIN()
222 if (cast_in::has_args) rec->has_args = true; in PYBIND11_NAMESPACE_BEGIN()
605 if (func.has_args) --num_args; // (but don't count py::args in PYBIND11_NAMESPACE_BEGIN()
609 if (!func.has_args && n_args_in > pos_args) in PYBIND11_NAMESPACE_BEGIN()
719 if (func.has_args) { in PYBIND11_NAMESPACE_BEGIN()
Dcast.h2004 static constexpr bool has_args = args_pos < 0;
/external/rust/crates/clap/src/app/
Dparser.rs468 pub fn has_args(&self) -> bool { in has_args() function
905 let has_args = self.has_args(); in get_matches_with() localVariable
1177 } else if !has_args || self.is_set(AS::InferSubcommands) && self.has_subcommands() { in get_matches_with()