/dports/devel/estd/estd-0.4.0/include/estd/result/ |
H A D | traits.hpp | 37 template<typename> struct is_result : std::false_type {}; struct 39 template<typename T, typename E> struct is_result<result<T, E>> : std::true_type {}; struct 53 template<typename R> constexpr bool is_result = detail::is_result<R>::value; variable
|
/dports/devel/estd/estd-0.4.0/test/result/ |
H A D | traits.cpp | 37 static_assert(is_result<int> == false); 38 static_assert(is_result<result<int, int>> == true);
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/methods/ |
H A D | map_unwrap_or.rs | 26 let is_result = is_type_diagnostic_item(cx, cx.typeck_results().expr_ty(recv), sym::Result); in check() localVariable 28 if is_result && !meets_msrv(msrv, &msrvs::RESULT_MAP_OR_ELSE) { in check() 32 if is_option || is_result { in check()
|
H A D | unwrap_or_else_default.rs | 23 let is_result = is_type_diagnostic_item(cx, recv_ty, sym::Result); in check() localVariable 26 if is_option || is_result; in check()
|
H A D | unnecessary_lazy_eval.rs | 22 let is_result = is_type_diagnostic_item(cx, cx.typeck_results().expr_ty(recv), sym::Result); in check() localVariable 24 if is_option || is_result { in check()
|
H A D | option_map_or_none.rs | 23 let is_result = is_type_diagnostic_item(cx, cx.typeck_results().expr_ty(recv), sym::Result); in check() localVariable 30 if !is_option && !is_result { in check()
|
H A D | filter_map.rs | 123 if let Some(is_result) = if cx.tcx.is_diagnostic_item(sym::Option, opt_ty.did) { in check() 130 if path.ident.name.as_str() == if is_result { "is_ok" } else { "is_some" }; in check() 168 let to_opt = if is_result { ".ok()" } else { "" }; in check()
|
/dports/math/octave-forge-image/image-2.12.0/src/ |
H A D | configure.ac | 95 bool is_result; 96 is_result = foo.iscomplex (); 97 is_result = foo.isempty (); 98 is_result = foo.isfloat (); 99 is_result = foo.islogical (); 100 is_result = foo.isnumeric (); 101 is_result = foo.isreal ();])],
|
/dports/astro/siril/siril/src/algos/ |
H A D | plateSolver.c | 106 static image_solved is_result; variable 1186 update_coordinates(is_result.image_center); in end_plate_solver() 1293 is_result.px_size = image_size; in match_catalog() 1294 is_result.x = image_size.x / 2.0; in match_catalog() 1295 is_result.y = image_size.y / 2.0; in match_catalog() 1296 is_result.pixel_size = args->pixel_size; in match_catalog() 1298 apply_match(&is_result, trans); in match_catalog() 1302 is_result.px_size.x *= inv; in match_catalog() 1303 is_result.px_size.y *= inv; in match_catalog() 1304 is_result.x = is_result.px_size.x / 2.0; in match_catalog() [all …]
|
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/tdtl/td/tl/ |
H A D | tl_simple.h | 139 void do_mark(const Type *type, bool is_result) { in do_mark() argument 141 return do_mark(type->vector_value_type, is_result); in do_mark() 147 auto &was = is_result ? custom->is_result_ : custom->is_query_; in do_mark() 154 do_mark(arg.type, is_result); in do_mark()
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/thrift/compiler/cpp/src/thrift/generate/ |
H A D | t_php_generator.cc | 140 bool is_result = false); 997 generate_php_struct_reader(out, tstruct, is_result); in generate_php_struct_definition() 999 generate_php_struct_writer(out, tstruct, is_result); in generate_php_struct_definition() 1000 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_definition() 1004 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_definition() 1028 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1127 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1153 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_writer() 1272 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_json_serialize() 1331 return (validate_ && !is_result && !tstruct->is_union() in needs_php_write_validator() [all …]
|
/dports/net/storj/storj-1.45.3/vendor/github.com/apache/thrift/compiler/cpp/src/thrift/generate/ |
H A D | t_php_generator.cc | 136 bool is_result = false); 904 generate_php_struct_reader(out, tstruct, is_result); in generate_php_struct_definition() 906 generate_php_struct_writer(out, tstruct, is_result); in generate_php_struct_definition() 907 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_definition() 911 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_definition() 935 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1034 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1060 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_writer() 1179 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_json_serialize() 1238 return (validate_ && !is_result && !tstruct->is_union() in needs_php_write_validator() [all …]
|
H A D | t_go_generator.cc | 132 bool is_result = false, 140 bool is_result = false); 144 bool is_result = false); 148 bool is_result = false); 152 bool is_result = false, 1446 bool is_result) { in generate_isset_helpers() argument 1447 (void)is_result; in generate_isset_helpers() 1486 (void)is_result; in generate_countsetfields_helper() 1525 (void)is_result; in generate_go_struct_reader() 1679 bool is_result, in generate_go_struct_writer() argument [all …]
|
/dports/devel/py-thrift/thrift-0.14.0/compiler/cpp/src/thrift/generate/ |
H A D | t_php_generator.cc | 140 bool is_result = false); 997 generate_php_struct_reader(out, tstruct, is_result); in generate_php_struct_definition() 999 generate_php_struct_writer(out, tstruct, is_result); in generate_php_struct_definition() 1000 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_definition() 1004 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_definition() 1028 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1127 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1153 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_writer() 1272 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_json_serialize() 1331 return (validate_ && !is_result && !tstruct->is_union() in needs_php_write_validator() [all …]
|
/dports/www/fabio/fabio-1.5.14/vendor/github.com/apache/thrift/thrift-da1169d75b15/compiler/cpp/src/thrift/generate/ |
H A D | t_php_generator.cc | 136 bool is_result = false); 904 generate_php_struct_reader(out, tstruct, is_result); in generate_php_struct_definition() 906 generate_php_struct_writer(out, tstruct, is_result); in generate_php_struct_definition() 907 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_definition() 911 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_definition() 935 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1034 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1060 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_writer() 1179 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_json_serialize() 1238 return (validate_ && !is_result && !tstruct->is_union() in needs_php_write_validator() [all …]
|
H A D | t_go_generator.cc | 132 bool is_result = false, 140 bool is_result = false); 144 bool is_result = false); 148 bool is_result = false); 152 bool is_result = false, 1446 bool is_result) { in generate_isset_helpers() argument 1447 (void)is_result; in generate_isset_helpers() 1486 (void)is_result; in generate_countsetfields_helper() 1525 (void)is_result; in generate_go_struct_reader() 1679 bool is_result, in generate_go_struct_writer() argument [all …]
|
/dports/devel/thrift-c_glib/thrift-0.14.0/compiler/cpp/src/thrift/generate/ |
H A D | t_php_generator.cc | 140 bool is_result = false); 997 generate_php_struct_reader(out, tstruct, is_result); in generate_php_struct_definition() 999 generate_php_struct_writer(out, tstruct, is_result); in generate_php_struct_definition() 1000 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_definition() 1004 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_definition() 1028 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1127 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1153 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_writer() 1272 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_json_serialize() 1331 return (validate_ && !is_result && !tstruct->is_union() in needs_php_write_validator() [all …]
|
/dports/devel/thrift-cpp/thrift-0.14.0/compiler/cpp/src/thrift/generate/ |
H A D | t_php_generator.cc | 140 bool is_result = false); 997 generate_php_struct_reader(out, tstruct, is_result); in generate_php_struct_definition() 999 generate_php_struct_writer(out, tstruct, is_result); in generate_php_struct_definition() 1000 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_definition() 1004 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_definition() 1028 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1127 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1153 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_writer() 1272 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_json_serialize() 1331 return (validate_ && !is_result && !tstruct->is_union() in needs_php_write_validator() [all …]
|
/dports/devel/thrift/thrift-0.14.0/compiler/cpp/src/thrift/generate/ |
H A D | t_php_generator.cc | 140 bool is_result = false); 997 generate_php_struct_reader(out, tstruct, is_result); in generate_php_struct_definition() 999 generate_php_struct_writer(out, tstruct, is_result); in generate_php_struct_definition() 1000 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_definition() 1004 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_definition() 1028 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1127 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1153 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_writer() 1272 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_json_serialize() 1331 return (validate_ && !is_result && !tstruct->is_union() in needs_php_write_validator() [all …]
|
/dports/misc/concourse/concourse-6.7.2/vendor/github.com/apache/thrift/compiler/cpp/src/thrift/generate/ |
H A D | t_php_generator.cc | 136 bool is_result = false); 904 generate_php_struct_reader(out, tstruct, is_result); in generate_php_struct_definition() 906 generate_php_struct_writer(out, tstruct, is_result); in generate_php_struct_definition() 907 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_definition() 911 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_definition() 935 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1034 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1060 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_writer() 1179 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_json_serialize() 1238 return (validate_ && !is_result && !tstruct->is_union() in needs_php_write_validator() [all …]
|
H A D | t_go_generator.cc | 133 bool is_result = false, 141 bool is_result = false); 145 bool is_result = false); 149 bool is_result = false); 153 bool is_result = false, 1482 bool is_result) { in generate_isset_helpers() argument 1483 (void)is_result; in generate_isset_helpers() 1522 (void)is_result; in generate_countsetfields_helper() 1561 (void)is_result; in generate_go_struct_reader() 1715 bool is_result, in generate_go_struct_writer() argument [all …]
|
/dports/devel/node-thrift/thrift-0.14.0/compiler/cpp/src/thrift/generate/ |
H A D | t_php_generator.cc | 140 bool is_result = false); 997 generate_php_struct_reader(out, tstruct, is_result); in generate_php_struct_definition() 999 generate_php_struct_writer(out, tstruct, is_result); in generate_php_struct_definition() 1000 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_definition() 1004 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_definition() 1028 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1127 if (needs_php_read_validator(tstruct, is_result)) { in generate_php_struct_reader() 1153 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_writer() 1272 if (needs_php_write_validator(tstruct, is_result)) { in generate_php_struct_json_serialize() 1331 return (validate_ && !is_result && !tstruct->is_union() in needs_php_write_validator() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/enterprise/connectors/ |
H A D | content_analysis_dialog.cc | 122 if (dialog()->is_result()) { in Update() 141 if (dialog()->is_result()) { in Update() 343 DCHECK(is_result()); in UpdateDialog() 393 DCHECK(is_result()); in Resize() 554 DCHECK(is_result()); in GetSideImageBackgroundColor()
|
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/generate/ |
H A D | t_go_generator.cc | 1402 bool is_result, in generate_go_struct_definition() argument 1441 if (is_result) { in generate_go_struct_definition() 1622 bool is_result) { in generate_isset_helpers() argument 1623 (void)is_result; in generate_isset_helpers() 1665 bool is_result) { in generate_go_struct_builder() argument 1666 (void)is_result; in generate_go_struct_builder() 1757 (void)is_result; in generate_go_struct_setters() 1814 (void)is_result; in generate_countsetfields_helper() 1851 (void)is_result; in generate_go_struct_reader() 2008 bool is_result, in generate_go_struct_writer() argument [all …]
|
/dports/devel/caf/actor-framework-0.18.5/libcaf_core/caf/ |
H A D | result.hpp | 248 struct is_result : std::false_type {}; struct 251 struct is_result<result<Ts...>> : std::true_type {}; struct
|