Home
last modified time | relevance | path

Searched refs:IsDefault (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_switch_stmt_test.cc34 EXPECT_FALSE(e->body[0]->IsDefault()); in TEST_F()
35 EXPECT_FALSE(e->body[1]->IsDefault()); in TEST_F()
63 ASSERT_FALSE(e->body[0]->IsDefault()); in TEST_F()
64 ASSERT_TRUE(e->body[1]->IsDefault()); in TEST_F()
65 ASSERT_FALSE(e->body[2]->IsDefault()); in TEST_F()
Dparser_impl_switch_body_test.cc30 EXPECT_FALSE(e->IsDefault()); in TEST_F()
46 EXPECT_FALSE(e->IsDefault()); in TEST_F()
131 EXPECT_FALSE(e->IsDefault()); in TEST_F()
176 EXPECT_TRUE(e->IsDefault()); in TEST_F()
/third_party/protobuf/src/google/protobuf/
Darenastring.h116 GOOGLE_DCHECK(!IsDefault(default_value)); in ReleaseNonDefault()
194 if (IsDefault(default_value) && other->IsDefault(default_value)) { in Swap()
277 if (IsDefault(default_value)) { in SetNoArena()
306 GOOGLE_DCHECK(!IsDefault(default_value)); in ReleaseNonDefaultNoArena()
353 inline bool IsDefault(const ::std::string* default_value) const { in IsDefault() function
Dinlined_string_field.h156 bool IsDefault(const std::string* /*default_value*/) { return false; } in IsDefault() function
/third_party/skia/third_party/externals/tint/src/ast/
Dcase_statement_test.cc76 EXPECT_TRUE(c->IsDefault()); in TEST_F()
84 EXPECT_FALSE(c->IsDefault()); in TEST_F()
Dswitch_statement.h41 bool IsDefault() const { return condition == nullptr; } in IsDefault() function
Dcase_statement.h46 bool IsDefault() const { return selectors.empty(); } in IsDefault() function
/third_party/protobuf/csharp/src/Google.Protobuf/
DFieldCodec.cs834 if (!IsDefault(value))
877 …public int CalculateSizeWithTag(T value) => IsDefault(value) ? 0 : ValueSizeCalculator(value) + ta…
879 private bool IsDefault(T value) => EqualityComparer.Equals(value, DefaultValue);
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl.cc897 if (stmt->IsDefault()) { in EmitCase()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl.cc2419 if (stmt->IsDefault()) { in EmitCase()
3273 TINT_ASSERT(Writer, stmt->body.size() == 1 && stmt->body[0]->IsDefault()); in EmitDefaultOnlySwitch()
3306 if (stmt->body.size() == 1 && stmt->body[0]->IsDefault()) { in EmitSwitch()
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_validation.cc2286 if (case_stmt->IsDefault()) { in ValidateSwitch()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder.cc3627 if (item->IsDefault()) { in GenerateSwitchStatement()
3666 if (item->IsDefault()) { in GenerateSwitchStatement()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.cc1409 if (stmt->IsDefault()) { in EmitCase()
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl.cc1375 if (stmt->IsDefault()) { in EmitCase()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dstylo.hpp161565 bool IsDefault() const in IsDefault() function
174932 bool IsDefault() const { return mOrientation == 0; } in IsDefault() function