Home
last modified time | relevance | path

Searched refs:is_const (Results 1 – 25 of 93) sorted by relevance

1234

/third_party/rust/crates/bindgen/bindgen/codegen/
Dserialize.rs177 if self.is_const() { in serialize()
183 if self.is_const() { in serialize()
189 if self.is_const() { in serialize()
218 if self.is_const() { in serialize()
229 if self.is_const() { in serialize()
243 if self.is_const() { in serialize()
257 if self.is_const() { in serialize()
291 if self.is_const() { in serialize()
297 if self.is_const() { in serialize()
305 if self.is_const() { in serialize()
/third_party/rust/crates/bindgen/bindgen/ir/
Dvar.rs45 is_const: bool, field
55 is_const: bool, in new()
63 is_const, in new()
68 pub fn is_const(&self) -> bool { in is_const() method
69 self.is_const in is_const()
102 if self.is_const { in dot_attributes()
298 let is_const = ty.is_const() || in parse() localVariable
302 .map_or(false, |element| element.is_const())); in parse()
363 let var = Var::new(name, mangling, ty, value, is_const); in parse()
Dlayout.rs104 let is_const = ty.is_const(); in from_clang_ty() localVariable
105 Type::new(None, Some(layout), ty_kind, is_const) in from_clang_ty()
Dty.rs35 is_const: bool, field
68 is_const: bool, in new()
74 is_const, in new()
188 pub fn is_const(&self) -> bool { in is_const() method
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() localVariable
1220 .map_or(false, |element| element.is_const())); in from_clang_ty()
1222 let ty = Type::new(name, layout, kind, is_const); in from_clang_ty()
Dcomp.rs84 is_const: bool, field
92 is_const: bool, in new()
97 is_const, in new()
130 pub fn is_const(&self) -> bool { in is_const() method
131 self.is_const in is_const()
1525 let is_const = cur.method_is_const(); in from_ty() localVariable
1537 Method::new(method_kind, signature, is_const); in from_ty()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_param_list_test.cc32 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()
Dparser_impl_global_constant_decl_test.cc34 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()
Dparser_impl_for_stmt_test.cc62 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/cef/tools/
Dcef_parser.py1221 if isinstance(self, obj_function_virtual) and self.is_const():
1235 if type.is_const():
1279 if isinstance(self, obj_function_virtual) and self.is_const():
1342 def is_const(self): member in obj_function_virtual
1359 if self.type.is_const():
1399 not self.type.is_const()
1441 if self.type.is_const():
1458 if self.type.is_const():
1464 if self.type.is_const():
1487 if self.type.is_const():
[all …]
/third_party/ltp/tools/sparse/sparse-src/validation/expand/
Dbuiltin_constant_inline0.c1 static inline int is_const(long size) in is_const() function
8 return is_const(42); in foo()
/third_party/skia/third_party/externals/abseil-cpp/absl/types/internal/
Dspan.h86 typename std::enable_if<!std::is_const<T>::value, int>::type;
90 static_assert(std::is_const<T>::value, "");
98 static_assert(std::is_const<T>::value, "");
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_interfaces.cpp145 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()
Dvalidate_constants.cpp171 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/spirv-tools/source/val/
Dvalidate_interfaces.cpp145 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()
350 bool is_const = false; in GetLocationsForVariable() local
356 std::tie(is_int, is_const, array_size) = in GetLocationsForVariable()
358 if (!is_int || !is_const) array_size = 1; in GetLocationsForVariable()
Dvalidate_constants.cpp170 bool is_const; in ValidateConstantComposite() local
172 std::tie(is_int32, is_const, value) = _.EvalInt32IfConst(length->id()); in ValidateConstantComposite()
173 if (is_int32 && is_const && value != constituent_count) { in ValidateConstantComposite()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_interfaces.cpp145 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/skia/third_party/externals/tint/src/ast/
Dvariable.h118 bool is_const,
142 const bool is_const; variable
Dvariable.cc38 is_const(constant), in Variable()
72 declared_access, ty, is_const, ctor, decos); in Clone()
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_peephole.cpp130 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()
Dsb_expr.cpp203 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()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtree_iterator.h44 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/
Dsimplify_pointers.cc114 var->Declaration()->is_const && // in Reduce()
165 if (!let->variable->is_const) { in Run()
/third_party/spirv-tools/source/opt/
Dtree_iterator.h44 typename std::conditional<std::is_const<NodeTy>::value,
138 typename std::conditional<std::is_const<NodeTy>::value,
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dtree_iterator.h44 typename std::conditional<std::is_const<NodeTy>::value,
138 typename std::conditional<std::is_const<NodeTy>::value,
/third_party/json/include/nlohmann/detail/iterators/
Diter_impl.hpp42 …using other_iter_impl = iter_impl<typename std::conditional<std::is_const<BasicJsonType>::value, t…
69 using pointer = typename std::conditional<std::is_const<BasicJsonType>::value,
74 typename std::conditional<std::is_const<BasicJsonType>::value,

1234