/third_party/node/deps/v8/src/torque/ |
H A D | type-oracle.cc | 85 const Type* reference_type, bool* is_const) { in MatchReferenceGeneric() 88 if (is_const) *is_const = false; in MatchReferenceGeneric() 93 if (is_const) *is_const = true; in MatchReferenceGeneric() 84 MatchReferenceGeneric( const Type* reference_type, bool* is_const) MatchReferenceGeneric() argument
|
H A D | type-oracle.h | 84 static GenericType* GetReferenceGeneric(bool is_const) { in GetReferenceGeneric() argument 87 is_const ? CONST_REFERENCE_TYPE_STRING in GetReferenceGeneric() 98 const Type* reference_type, bool* is_const = nullptr); 122 bool is_const) { in GetReferenceType() 123 return GetGenericTypeInstance(GetReferenceGeneric(is_const), in GetReferenceType() 121 GetReferenceType(const Type* referenced_type, bool is_const) GetReferenceType() argument
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | var.rs | 45 is_const: bool, 55 is_const: bool, in new() 63 is_const, in new() 68 pub fn is_const(&self) -> bool { in is_const() functions 69 self.is_const in is_const() 102 if self.is_const { in dot_attributes() 298 let is_const = ty.is_const() || in parse() 302 .map_or(false, |element| element.is_const())); in parse() 363 let var = Var::new(name, mangling, ty, value, is_const); in parse() [all...] |
H A D | ty.rs | 35 is_const: bool, 68 is_const: bool, in new() 74 is_const, in new() 188 pub fn is_const(&self) -> bool { in is_const() functions 189 self.is_const in is_const() 423 if self.is_const { in dot_attributes() 1050 if canonical_pointee.is_const() != pointee.is_const() { in from_clang_ty() 1217 let is_const = ty.is_const() || in from_clang_ty() [all...] |
H A D | comp.rs | 84 is_const: bool, 92 is_const: bool, in new() 97 is_const, in new() 130 pub fn is_const(&self) -> bool { in is_const() functions 131 self.is_const in is_const() 1525 let is_const = cur.method_is_const(); in from_ty() 1537 Method::new(method_kind, signature, is_const); in from_ty()
|
/third_party/ltp/tools/sparse/sparse-src/validation/expand/ |
H A D | builtin_constant_inline0.c | 1 static inline int is_const(long size) in is_const() function 8 return is_const(42); in foo() 19 # call %r1 <- is_const, $42
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_param_list_test.cc | 32 EXPECT_TRUE(e.value[0]->is_const); in TEST_F() 50 EXPECT_TRUE(e.value[0]->is_const); in TEST_F() 59 EXPECT_TRUE(e.value[1]->is_const); in TEST_F() 70 EXPECT_TRUE(e.value[2]->is_const); in TEST_F() 108 EXPECT_TRUE(e.value[0]->is_const); in TEST_F() 122 EXPECT_TRUE(e.value[1]->is_const); in TEST_F()
|
H A D | parser_impl_global_constant_decl_test.cc | 34 EXPECT_TRUE(e->is_const); in TEST_F() 62 EXPECT_TRUE(e->is_const); in TEST_F() 116 EXPECT_TRUE(e->is_const); in TEST_F() 148 EXPECT_TRUE(e->is_const); in TEST_F()
|
H A D | parser_impl_for_stmt_test.cc | 62 EXPECT_FALSE(var->is_const); in TEST_F() 79 EXPECT_FALSE(var->is_const); in TEST_F() 95 EXPECT_TRUE(var->is_const); in TEST_F()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/types/internal/ |
H A D | span.h | 86 typename std::enable_if<!std::is_const<T>::value, int>::type; 90 static_assert(std::is_const<T>::value, ""); in EqualImpl() 98 static_assert(std::is_const<T>::value, ""); in LessThanImpl()
|
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | variable.h | 90 /// Setting is_const: 109 /// @param is_const true if the variable is const 118 bool is_const, 142 const bool is_const; member in tint::ast::Variable
|
H A D | variable.cc | 38 is_const(constant), in Variable() 72 declared_access, ty, is_const, ctor, decos); in Clone()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
H A D | validate_interfaces.cpp | 145 bool is_const = false; in NumConsumedLocations() local 148 std::tie(is_int, is_const, value) = in NumConsumedLocations() 150 if (is_int && is_const) *num_locations *= value; in NumConsumedLocations() 337 bool is_const = false; in GetLocationsForVariable() local 343 std::tie(is_int, is_const, array_size) = in GetLocationsForVariable() 345 if (!is_int || !is_const) array_size = 1; in GetLocationsForVariable()
|
H A D | validate_constants.cpp | 171 bool is_const; in ValidateConstantComposite() local 173 std::tie(is_int32, is_const, value) = _.EvalInt32IfConst(length->id()); in ValidateConstantComposite() 174 if (is_int32 && is_const && value != constituent_count) { in ValidateConstantComposite()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
H A D | validate_interfaces.cpp | 145 bool is_const = false; in NumConsumedLocations() local 148 std::tie(is_int, is_const, value) = in NumConsumedLocations() 150 if (is_int && is_const) *num_locations *= value; in NumConsumedLocations() 337 bool is_const = false; in GetLocationsForVariable() local 343 std::tie(is_int, is_const, array_size) = in GetLocationsForVariable() 345 if (!is_int || !is_const) array_size = 1; in GetLocationsForVariable()
|
/third_party/mesa3d/src/gallium/drivers/r600/sb/ |
H A D | sb_peephole.cpp | 130 if (a->src[0]->is_const() && a->src[0]->literal_value == literal(0)) { in optimize_cc_op2() 138 if (swapped || (a->src[1]->is_const() && in optimize_cc_op2() 259 if (d->src[0]->is_const() && d->src[0]->literal_value == literal(0)) in optimize_CNDcc_op() 261 else if ((d->src[1]->is_const() && in optimize_CNDcc_op()
|
H A D | sb_bc_finalize.cpp | 329 if (d && d->is_rel() && d->rel && !d->rel->is_const()) { in finalize_alu_group() 388 if (!v->rel->is_const()) { in finalize_alu_src() 502 } else if (v->is_const()) { in copy_fetch_src() 609 } else if (v->is_const()) { in finalize_fetch() 733 } else if (v->is_const()) { in finalize_cf()
|
H A D | sb_expr.cpp | 203 bool isc0 = v0->is_const(); in fold_setcc() 204 bool isc1 = v1->is_const(); in fold_setcc() 386 if (!v0->is_const()) { in fold_alu_op1() 638 if (v1->is_const()) { in fold_assoc() 666 if (v0->is_const()) { in fold_assoc() 791 bool isc0 = v0->is_const(); in fold_alu_op2() 792 bool isc1 = v1->is_const(); in fold_alu_op2() 954 bool isc0 = v0->is_const(); in fold_alu_op3() 955 bool isc1 = v1->is_const(); in fold_alu_op3() 956 bool isc2 = v2->is_const(); in fold_alu_op3() [all...] |
/third_party/spirv-tools/source/val/ |
H A D | validate_interfaces.cpp | 148 bool is_const = false; in NumConsumedLocations() local 151 std::tie(is_int, is_const, value) = in NumConsumedLocations() 153 if (is_int && is_const) *num_locations *= value; in NumConsumedLocations() 372 bool is_const = false; in GetLocationsForVariable() local 378 std::tie(is_int, is_const, array_size) = in GetLocationsForVariable() 380 if (!is_int || !is_const) array_size = 1; in GetLocationsForVariable()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | tree_iterator.h | 44 typename std::conditional<std::is_const<NodeTy>::value, 138 typename std::conditional<std::is_const<NodeTy>::value,
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | tree_iterator.h | 44 typename std::conditional<std::is_const<NodeTy>::value, 138 typename std::conditional<std::is_const<NodeTy>::value,
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | simplify_pointers.cc | 114 var->Declaration()->is_const && // in Reduce() 165 if (!let->variable->is_const) { in Run()
|
/third_party/spirv-tools/source/opt/ |
H A D | tree_iterator.h | 44 typename std::conditional<std::is_const<NodeTy>::value, 138 typename std::conditional<std::is_const<NodeTy>::value,
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
H A D | resolver_validation.cc | 205 std::string decl = var->is_const ? "let" : "var"; in ValidateVariableConstructorOrCast() 213 if (!var->is_const) { in ValidateVariableConstructorOrCast() 455 if (decl->is_const) { in ValidateGlobalVariable() 609 if (!decl->is_const) { in ValidateGlobalVariable() 671 auto* kind = var->Declaration()->is_const ? "let" : "var"; in ValidateVariable() 681 if (!decl->is_const && !IsStorable(storage_ty)) { in ValidateVariable() 687 if (decl->is_const && !var->Is<sem::Parameter>() && in ValidateVariable() 715 if (var->Is<sem::LocalVariable>() && !decl->is_const && in ValidateVariable() 1635 if (var->Declaration()->is_const) { in ValidateFunctionCall() 2358 if (decl->is_const) { in ValidateAssignment() [all...] |
/third_party/json/include/nlohmann/detail/iterators/ |
H A D | iter_impl.hpp | 12 #include <type_traits> // conditional, is_const, remove_const 50 using other_iter_impl = iter_impl<typename std::conditional<std::is_const<BasicJsonType>::value, typename std::remove_const<BasicJsonType>::type, const BasicJsonType>::type>; 80 using pointer = typename std::conditional<std::is_const<BasicJsonType>::value, 85 typename std::conditional<std::is_const<BasicJsonType>::value,
|